Unit 8 explained answers · unfinished learning resource. Attempt the Unit 8 tasks before consulting this key. Equivalent bases, consistent sign/order choices and alternative justified methods are valid. All residuals below mean predicted minus observed. Local quiz and project totals are each 60 points; they are separate formative groups, not a combined course mark or automatic allocation of the retained semester weights. These rubrics and the 22-hour budget are unpiloted. No specialist, learner or degree-credit validation is claimed.
Readiness
R1. Put x₁=t. Then x₂=t+2 and x₃=t+1, so the family is (0,2,1)+t(1,1,1). The free direction shifts every level equally and leaves both differences unchanged. One solution alone would hide this ambiguity.
R2. Zero is in W. If x,y each sum to zero, then x+y and cx also sum to zero for every real c. The proposed vectors have dot product zero and squared norms 2,6. Both lie in W, are nonzero and independent, and W has dimension 2 because x₃=−x₁−x₂. Hence they form a basis. Divide them by sqrt(2) and sqrt(6) respectively to normalize.
R3. The two columns are independent, so AᵀA is invertible and least-squares coefficients exist uniquely for every b. The image is the plane b₃=b₁+b₂; a b outside it has no exact preimage. Projection gives a least-squares prediction whether or not b is in the image. Exact consistency and existence of an approximate minimizer are different questions.
R4. T^k x=3q₀+2(1/2)^k q₁−(1/2)^k q₂, with limit 3q₀. The unchanged eigenvalue-1 mode remains. Decay of the other modes does not remove the unchanged q₀ component; this arbitrary q₀ need not have equal coordinates.
Guided tasks
G1. The data sum to zero, so they are consistent. The family is (t,t+4,t+2), and zero mean sets t=−2, giving (−2,2,0). A kernel basis is {(1,1,1)}; an image basis is {(1,−1,0),(0,1,−1)}. These observation-space vectors are independent and span the sum-zero plane. Rank 2 plus nullity 1 equals the three input dimensions. det B=0 rules out invertibility, not feasibility of this b.
G2. The new matrix is [−1 1 0;0 −1 1;−1 0 1], with data (4,−2,2). The relation is y₁+y₂−y₃=0 because the first two differences add to x₃−x₁. If the observed third value remains −2, the relation becomes 4−2−(−2)=4≠0. That manufactured inconsistency is a sign-convention mistake, not evidence of a new physical discrepancy.
G3. The projection p=(8/3,−1/3,−7/3) sums to zero and p−b=−(1/3)1. Bx_c=p for x_c=(−5/3,1,2/3); its coordinates sum to zero. Multiplication gives L=3I−11ᵀ. The two contrast basis vectors sum to zero, so Lq₁=3q₁,Lq₂=3q₂; the constant vector gives Lq₀=0. Their dot products verify an orthonormal eigenbasis. The coordinates of x_c are (−4sqrt(2)/3,−sqrt(6)/3,0) in the stated q₁,q₂,q₀ order. Residual squares total 3·(1/9)=1/3; direct substitution in the three squared errors gives the same result. Bᵀr=0 since Bᵀ1=0.
G4. Every unconstrained minimizer is x_c+t1. Requiring its first coordinate to be 10 sets t=35/3, selecting (10,38/3,37/3). For γ>0, F(x)+γ(x₁−10)² is at least F_min because both terms beyond that lower bound are nonnegative. This chosen vector attains F_min while making the anchor term zero, so it is the unique soft-objective minimizer as well, independent of γ. Equality requires both an original minimizer and x₁=10. This relies on one free offset and one compatible absolute reference; several inconsistent anchors could force a tradeoff.
G5. Relative to x_c, the mean-zero error is multiplied by I−ηL. For η=1/6 the two contrast modes both multiply by 1/2, so e_k=−2^(−k)x_c and x_k=(1−2^(−k))x_c. Since x_c≠0, the requested norm ratio is 2^(−k)≤1/8, first true at k=3; k=0,1,2 give 1,1/2,1/4. For η=1/3, x₁=x_c and later states stay there. For η=2/3 the error alternates ±x_c without shrinking. For η=1 the multiplier is −2 and the nonzero error grows as 2^k. These statements concern this start, not the exceptional initial minimizer.
G6. At zero, g=−Bᵀb=(5,−3,−2), so ||g||²=38. F(0)=3²+0²+(−2)²=13, and F(0)−1/3=38/3=||g||²/3. Adding 100·1 leaves Bx, r, g and F unchanged, but shifts every absolute coordinate by 100 and changes the mean-matched reference minimizer. The calculation can certify a contrast error under the declared matrix, not the actual absolute offset.
Independent practice
I1. β=7, so p=b−(7/3)1=(−4/3,−1/3,5/3). The zero-mean preimage is x_c=(1,−1/3,−2/3); all minimizers add t1. Residual is −(7/3)1 and minimum 49/3. Direct differences give p, and Bᵀr=0. The large discrepancy still does not identify its real cause.
I2. σ=1+1+1/2=5/2, giving residual (−2/5,−2/5,−1/5), fit (13/5,−2/5,−11/5), and zero-mean levels (−8/5,1,3/5). Wr=−(2/5)1, so BᵀWr=0. This fit has weighted objective 2/5 and unweighted objective 9/25. The old equal-weight fit has unweighted objective 1/3 and weighted objective 4/9. Thus 1/3<9/25 and 2/5<4/9: each fit wins under its own criterion. Do not compare 1/3 directly with 2/5 as if they used the same ruler.
I3. The retained two rows have rank 2 and kernel span{1}. Every solution is (t,t+3,t+3). The implied third difference is −3; its recorded −2 reveals disagreement, but the third row vanishes on the same constant kernel. A genuine absolute observation such as x₁=10 removes the free shift, giving (10,13,13) for the two-row exact system. A naming convention alone supplies no new physical information.
I4. The matrix is [−1 1 0 0;0 0 −1 1]. It has rank 2 and kernel span{(1,1,0,0),(0,0,1,1)}. Each disconnected pair can shift independently. One reference at a single node fixes only its pair. References x₁=0 and x₃=5 fix both shifts and give (0,2,5,4). More generally, a single scalar linear observation cannot eliminate a two-dimensional kernel, although it may constrain a combination of the two offsets.
I5. The mean is preserved at 2. Since 1−3η=−1/2, x_k=2·1+(1−(−1/2)^k)x_c, where x_c=(−5/3,1,2/3) is the zero-mean fitted vector. The limit is 2·1+x_c. The contrast error is −(−1/2)^k x_c: it changes side each step but shrinks geometrically. Its norm ratio is 2^(−k), first at most 1/16 for k=4. Oscillation can coexist with convergence; the multiplier's absolute value determines decay.
I6. The changed residual's third coordinate is doubled, so an unweighted new objective is r₁²+r₂²+4r₃². It does not preserve the old one. New weights (1,1,1/4) restore r₁²+r₂²+r₃². Scaling a row and its recorded value changes units/representation, not physical information, provided both are scaled consistently; choosing not to adjust weights changes the optimization criterion.
Homework
H1. For the four-cycle, Ax=0 gives x₂=x₁,x₃=x₂,x₄=x₃ and hence all levels equal. Thus the kernel basis is {1₄}. Every Ax sums to zero. Conversely, for y with sum zero choose x=(0,y₁,y₁+y₂,y₁+y₂+y₃); its last predicted difference is −y₁−y₂−y₃=y₄. The image is exactly the sum-zero subspace, with basis {(1,−1,0,0),(0,1,−1,0),(0,0,1,−1)}. These are independent by inspecting coordinates successively. Image dimension 3 and kernel dimension 1 sum to 4. This directly proves the statements for this matrix rather than importing a general graph result.
H2. Positive w_i imply σ>0. Define r_i=−β/(σw_i); then Σr_i=−β, so p=b+r is feasible. Every other feasible residual differs by h with zero sum. Since Wr=−(β/σ)1, the cross term is zero and the objective excess is hᵀWh, strictly positive for nonzero h. The unique p therefore minimizes, with rᵀWr=β²/σ. At β=0 the residual is zero and b is itself feasible. A zero weight makes the displayed reciprocal formula undefined and removes strict positivity in that coordinate; a negative weight breaks the nonnegative squared-norm argument. This alone does not establish what every zero/negative-weight problem does; it invalidates this proof's hypotheses. Unequal residuals reflect the chosen weights, not verified actual reliability.
H3. Multiply the update by 1ᵀ and use B1=0 to prove mean preservation. Subtract a same-mean minimizer, use Bᵀ(b−Bx†)=0, then obtain e_(k+1)=(I−ηL)e_k. Since e has no constant component, its multiplier is 1−3η. All such errors converge to zero for 0<η<2/3; they remain bounded for 0≤η≤2/3. At η=0 a nonzero error is fixed, and at η=2/3 it alternates, so boundedness is not convergence to the minimizer. Outside that interval every nonzero contrast error grows; initially zero error remains zero for any η. No update changes the constant component, so relative data cannot supply an absolute offset.
H4. A suitable critique explains that a singular square matrix lacks a unique inverse, while a particular right-hand side may be either inconsistent or have infinitely many solutions. For this triangle, inspect whether the observations sum to zero. Least squares minimizes a declared squared-error objective; it does not establish which observation or physical component caused the conflict. Verify the fitted observations and residual orthogonality rather than assigning blame. A small normal-equation residual shows closeness to a stationary/optimal prediction only with applicable rank/spectral bounds; a common offset may remain completely invisible. For the triangle, use ||contrast error||=||g||/3, not a claim about true absolute levels. A separately calibrated absolute reference can constrain the offset; repeated measurements or independent instrument checks are needed to assess actual error mechanisms. Accept other precise critiques within the requested length that correct all three clauses and give concrete checks.
Cumulative quiz key and rubric: 60 points
Q1 (10). Row 3 is row 1 plus row 2, so observations must satisfy d₃=d₁+d₂=20. The original 21 is inconsistent. C has rank 2; the original augmented matrix has rank 3. After the supplied correction, all solutions are (t−2,8−2t,t), with kernel basis {(1,−2,1)}. Nonnegativity requires t∈[2,4]. This is a hypothetical changed dataset, not permission to silently edit a record to fit the model. Rubric: 2 for rank/dependence, 2 for inconsistency, 2 for full family/kernel, 2 for the complete nonnegative interval, 2 for the data-change distinction.
Q2 (10). Each coordinate is a fixed linear combination, so additivity and real homogeneity hold. C=[2 1;1 −1], det C=−3, and C⁻¹=(1/3)[1 1;1 −2]. With V=[1 1;1 −1], the matrix in the ordered input/output basis is V⁻¹CV=[3/2 3/2;3/2 −1/2]. For standard x=(1,0), its basis coordinates are (1/2,1/2). The transformed matrix sends these to (3/2,1/2), which reconstruct to (2,1)=Cx. Coordinates changed while T's input-output relation stayed the same. Rubric: 2 for linearity/matrix, 2 for determinant/inverse, 3 for correct basis transformation and result, 2 for a consistent nonzero verification, 1 for interpretation.
Q3 (10). Use A=[1 −1;1 0;1 1]. An exact line would require equal successive increments, but these readings have increments 2 and 3. AᵀA=diag(3,2), Aᵀb=(7,5), so (c,m)=(7/3,5/2). Fit (−1/6,7/3,29/6), residual (−1/6,1/3,−1/6), with Aᵀr=0 and squared error 1/6. The columns are independent, so the coefficient fit is unique. Rubric: 2 for exact diagnosis and map, 2 for objective/normal equations, 2 for coefficients/predictions, 2 for residual/minimum/orthogonality, 2 for rank-based uniqueness. The fitted negative value at t=−1 is allowed by this unrestricted real model.
Q4 (10). Eigenvectors (1,1),(1,−1) have eigenvalues 1,1/2. Initial (8,0)=4(1,1)+4(1,−1), so x_k=(4,4)+4·2^(−k)(1,−1). Thus x₂=(5,3), limit (4,4). The first component's error is 4·2^(−k)≤1/4 exactly for integers k≥4; k=3 fails with error 1/2. Column sums are 1, so (1,1)Mx=(1,1)x for every x, proving total conservation under this model. The fixed fractions, absence of external inputs and accuracy of actual observations would still need evidence. Rubric: 2 for eigenbasis, 2 for derived trajectory, 2 for x₂/limit/conservation, 2 for least k with failure of smaller k, 2 for real-model limits.
Q5 (10). Sum and difference directions have eigenvalues 1+γ and 1−γ. For |γ|<1, both are positive: PD (hence PSD). At γ=1, PSD but not definite, kernel span{(1,−1)}. At γ=−1, PSD but not definite, kernel span{(1,1)}. For |γ|>1 the form is indefinite. It is never ND or NSD because its trace is 2. Unit minimum is 1−|γ| and maximum is 1+|γ|. For γ>0 the signed normalized sum directions maximize and difference directions minimize; for γ<0 the roles switch. At γ=0 every unit vector attains both values 1. Determinant 1−γ² is useful here along with known diagonal signs and dimension, but e.g. diag(−1,−2) has positive determinant and is ND. Rubric: 4 for all classification intervals/boundaries/kernels, 3 for extrema and all equality cases including γ=0, 2 for derivation by eigenbasis, 1 for the determinant caveat/counterexample.
Q6 (10). The original matrix H=[1 0 1;0 1 1] has rank 2, kernel span{(−1,−1,1)}, and solutions (4−t,5−t,t). Adding 2a+2c=8 only doubles the first row/right-hand side, so the full family remains. Adding a+b=5 gives 9−2t=5, hence t=2 and x=(2,3,2). The augmented square coefficient matrix [1 0 1;0 1 1;1 1 0] has determinant −2, independently verifying uniqueness. An exact fit establishes agreement of the stated equations, not truth or accuracy of their real-world measurements. Rubric: 3 for initial rank/kernel/family, 2 for duplicate-row reasoning, 3 for new-row solution and uniqueness, 2 for the remaining evidence limit.
Project key and rubric: 60 points
P1 (10). A=[−1 1 0 0;0 −1 1 0;0 0 −1 1;1 0 0 −1]. Unknowns are four unrestricted real scaled levels; output coordinates are the four head-minus-tail differences in the stated order. H1 proves ker A=span{1₄}, image A={y:Σy_i=0}, and rank 3. Here Σb_i=1, so the exact equations conflict. Equal squared residuals are the initial approximation choice. Common shifts remain unmeasured, and no defective instrument is identified. An accessible graph description names the four nodes and ordered arrows around the loop. Rubric: 2 for correctly signed matrix/data meanings, 3 for justified rank/kernel/image, 2 for exact inconsistency, 2 for assumptions/claim boundary, 1 for a usable graph description. Specific evidence, not a copied graph theorem, supports the reasoning.
P2 (10). Project b onto the sum-zero hyperplane: p=b−(1/4)1₄=(7/4,3/4,−5/4,−5/4). Residual r=−(1/4)1₄ gives minimum 1/4. A zero-mean preimage is x*=(-11/8,3/8,9/8,−1/8); all minimizers are x*+t1₄. Direct differences reproduce p and Aᵀr=0. Projection gives a unique p, while the kernel gives all coefficient shifts. Rubric: 2 for justified projection, 2 for p/residual/minimum, 2 for zero-mean preimage, 2 for complete family and verification, 2 for the two uniqueness claims.
P3 (10). L=[2 −1 0 −1;−1 2 −1 0;0 −1 2 −1;−1 0 −1 2]. Take q₀=(1,1,1,1)/2, q_a=(1,0,−1,0)/sqrt(2), q_b=(0,1,0,−1)/sqrt(2), q_c=(1,−1,1,−1)/2. Dot products show orthonormality; multiplication gives eigenvalues 0,2,2,4 in that order. Write h=z₀q₀+z_aq_a+z_bq_b+z_cq_c. Then F(x*+h)=1/4+2z_a²+2z_b²+4z_c². The excess-at-most-one region is an infinite elliptic cylinder along q₀; in the zero-mean three-dimensional subspace it is a solid ellipsoid centered at x*, with semiaxes 1/sqrt(2),1/sqrt(2),1/2 along q_a,q_b,q_c. Any orthonormal basis of the repeated eigenvalue-2 eigenspace is also valid. No error distribution is supplied, so this is an objective threshold, not probability coverage. Rubric: 3 for L/eigenbasis verification, 2 for translated identity, 3 for geometry/directions/lengths, 2 for the repeated-eigenspace and probability limitations.
P4 (10). Mean preservation follows from A1₄=0. Around the mean-matched minimizer, the contrast multipliers are 1−2η,1−2η,1−4η. Requiring both absolute values below 1 gives 0<η<1/2. At η=0 the state is fixed, not necessarily fitted. At η=1/2 the eigenvalue-2 errors vanish after one step, but any eigenvalue-4 error alternates forever; if that latter coefficient is zero, convergence does occur. Initially fitted states stay fixed for every η. Outside the interval not every start is guaranteed to converge; avoid claiming every special trajectory diverges.
At η=1/4, x₁=(−3/4,1/4,1/2,0), x₂=(−17/16,5/16,13/16,−1/16). The coordinates of x* in the q₀,q_a,q_b,q_c order are (0,−5sqrt(2)/4,sqrt(2)/4,−1/4). For k≥1,
x_k−x*=2^(−k)[(5sqrt(2)/4)q_a−(sqrt(2)/4)q_b].
The q_c error disappears at the first update; at k=0 it is 1/4 and must be included separately, avoiding an unexplained 0⁰. The limit is x*. At η=1/3 the four-cycle's multipliers are 1/3,1/3,−1/3, so it converges but does not remove every contrast in one step. Rubric: 3 for recurrence/mean/valid interval, 2 for endpoints and exceptional states, 2 for exact x₁/x₂, 2 for mode formula/limit, 1 for the triangle comparison.
P5 (10). W=diag(1,1,1,4), β=1, σ=13/4. The residual is r_W=(−4/13,−4/13,−4/13,−1/13), giving p_W=(22/13,9/13,−17/13,−14/13) and minimum weighted error 4/13. One zero-mean preimage is (−67/52,21/52,57/52,−11/52); all others add a constant. Its successive differences give p_W. Wr_W=−(4/13)1₄, so AᵀWr_W=0. Under the unweighted objective, old fit=1/4 and new fit=49/169; under the weighted objective, old fit=7/16 and new fit=4/13. Thus each minimizes its own objective, with 1/4<49/169 and 4/13<7/16. The change assigns greater numerical penalty to disagreement in row 4; it is not evidence that row 4 is actually more reliable. Rubric: 3 for derived weighted fit/residual/minimum, 2 for zero-mean preimage and checks, 3 for both cross-objective comparisons, 2 for the reliability distinction. An equivalent exact derivation by weighted normal equations is acceptable.
P6 (10). The equal-weight minimizer family x*+t1₄ meets x₁=10 when t=91/8, selecting (10,47/4,25/2,45/4). Every original difference remains p, and the anchor removes the sole constant kernel direction. It is an added value assumed exact, whereas zero mean is only a coordinate/reference convention unless separately measured. In I4, x₁=10 anchors only the first pair; the second still shifts freely.
A suitable 150–250-word conclusion reports that the equal-weight relative records do not agree exactly because their loop sum is one, and that the declared least-squares reconciliation has the fitted differences p and squared discrepancy 1/4. It states that absolute levels remain ambiguous until an independent reference is supplied. With x₁=10 the fitted levels are the stated four numbers; those values inherit the exact-reference assumption. It identifies a useful next check, such as an independently calibrated reference in each disconnected component or repeated readings to investigate discrepancies. It does not infer which instrument is wrong or turn the threshold region into a confidence statement. Before real use, measurement units, direction conventions, reference accuracy, changing conditions and numerical implementation would need evidence. The report can make a precise algebraic claim while leaving these empirical questions open. Rubric: 3 for anchored solution/uniqueness, 2 for convention versus evidence and disconnected comparison, 3 for an accessible conclusion with verified result/limit, 2 for a justified additional check and empirical-use caution.
Delayed follow-through
D1. The map is C=[1 1 0;0 1 1;1 0 1], with determinant 2 and kernel {0}. Solving a+b=3,b+c=4,c+a=5 gives (a,b,c)=(2,1,3). A common shift by t changes every output by 2t; it is not invisible. The previous loop sum-zero relation does not apply to pair sums. Matrix construction, exact verification and kernel-based identifiability still apply; conclusions tied specifically to signed differences do not.
D2. An acceptable audit identifies an actual unsupported step or a concrete false H4 claim, preserves it, and explains a correction with a fresh calculation. For example, changing a directed edge without changing the observation sign creates a false conflict; test the repaired sign on a different vector, not only the original answer. A useful improvement goal is “I can compute the kernel and explain whether a new row removes it on three changed maps,” rather than “my score proves mastery.” This task has no separate numerical rubric and does not certify attainment.
Marking and next learning work
Credit valid alternative bases and proofs. Distinguish an arithmetic slip from an unsupported premise; avoid repeated penalties when later correct reasoning consistently follows one slip, while separately flagging claims of false uniqueness, statistical coverage or causal diagnosis. Ask for the first unverified inference and a changed-data retry. All eight planned content slots have manuscripts, but a completed validated course, reliable assessment service and observed learner success have not been established.