Unit 7 explained answers · unfinished learning resource. Attempt the Unit 7 tasks first. Equivalent orthonormal eigenbases, including changed signs or consistently reordered columns/eigenvalues, are valid. A bare eigenvalue list does not supply the requested justification. These rubrics are unpiloted learning aids, not validated grading standards, course credit or a completion certificate. The general n-dimensional spectral theorem is used but not proved in the learner text; its 2×2 case is proved there.
Readiness
R1. v·w=−2+2=0, and both norms are sqrt(5). The normalized vectors are (2,1)/sqrt(5) and (−1,2)/sqrt(5). They are nonzero and orthogonal, hence independent; two independent vectors in R² form a basis. Their square column matrix has QᵀQ=I, so Q⁻¹=Qᵀ.
R2. det(zI−S)=(z−5)(z−2)−4=z²−7z+6=(z−6)(z−1). S(2,1)=(12,6)=6(2,1). This directly checks one eigenvector, not yet the full diagonalization.
R3. The expansion is (u²+2uv+v²)+(u²−2uv+v²)=2u²+2v². Opposite mixed coefficients cancel; the squared individual terms add rather than cancel.
R4. AᵀA=[2 1;1 2]. Its determinant is 3, so its kernel is {0}; alternatively 2u+v=0 and u+2v=0 imply u=v=0. Unit 6 proves ker(AᵀA)=ker A and that full column rank gives unique least-squares coefficients for every b. This rectangular A has no determinant of its own.
Guided work
G1. The columns have squared norms (4+1)/5=1 and dot product (−2+2)/5=0. Multiplication gives Sq₁=6q₁ and Sq₂=q₂, hence SQ=QD. For x=(3,4), y=Qᵀx=(10/sqrt(5),5/sqrt(5)). Qy=(3,4), and both squared norms are 25. The squared coordinate values are 20 and 5.
G2. E₃=span{(1,1,0),(0,0,1)} and E₁=span{(1,−1,0)}. Starting with v=(1,1,0), subtract from w=(1,1,1) its projection (w·v)/(v·v)v=v, leaving (0,0,1). Thus choose q₁=(1,1,0)/sqrt(2), q₂=(0,0,1), q₃=(1,−1,0)/sqrt(2), with D=diag(3,3,1). Dot products verify orthonormality; Tq₁=3q₁, Tq₂=3q₂ and Tq₃=q₃ verify TQ=QD. One verified matrix is an example, not an existence proof for every symmetric matrix.
G3. S=(B+Bᵀ)/2=[2 3;3 2]. The form is 2u²+6uv+2v², with symmetric eigenvalues 5 along (1,1) and −1 along (1,−1). At (1,−1) the value is −2; at (1,1) it is 10, so the form is indefinite. B is nonsymmetric. Its two positive eigenvalues describe B's map, not the sign of the symmetric representative's form. The maps B and S differ even though their scalar quadratic expressions agree.
G4. diag(−2,−5) is negative definite, hence negative semidefinite, with no nonzero zero direction. [2 −2;−2 2] has q=2(u−v)² and eigenvalues 4,0; it is positive semidefinite but not definite, with zero set span{(1,1)}. [0 2;2 0] has q=4uv, taking 4 at (1,1) and −4 at (1,−1); it is indefinite. Its zero vectors include nonzero axis vectors, but its kernel is {0}. The zero matrix has q=0 everywhere and is both positive and negative semidefinite, neither definite nor indefinite.
G5. Unit eigenvectors are q₊=(1,1)/sqrt(2) and q₋=(1,−1)/sqrt(2), with eigenvalues 3,1. Writing a unit x=αq₊+βq₋ gives α²+β²=1 and q=3α²+β², between 1 and 3. Maximum occurs only at x=±q₊; minimum only at x=±q₋. The level q=3 has semiaxes 1 along q₊ and sqrt(3) along q₋, centered at zero.
G6. AᵀA=[2 1;1 2], Aᵀb=(3,2), and multiplying the proposed x*=(4/3,1/3) gives that right-hand side. Ax*−b=(1/3,1/3,−1/3), whose squared norm is 1/3 and whose product with Aᵀ is zero. The sum/difference unit vectors have eigenvalues 3,1. For h=(1,0), hᵀSh=2. For (1,1) it is 6; for (1,−1) it is 2. The latter two h have norm sqrt(2), not 1. Dividing them by sqrt(2) divides their form values by 2, giving the unit-direction increases 3 and 1. The first displacement is already unit length.
Independent practice
I1. For S=[4 −1;−1 4], q₊=(1,1)/sqrt(2) has eigenvalue 3 and q₋=(1,−1)/sqrt(2) has eigenvalue 5. These unit vectors form Q with D=diag(3,5). The form is 4u²−2uv+4v²=3y₊²+5y₋², hence positive definite. Its unit minimum 3 occurs at ±q₊ and maximum 5 at ±q₋.
I2. S=[2 3;3 5]. Complete the square to get 2(u+3v/2)²+v²/2. Both coefficients are positive and both squares vanish together only at zero, so the form is positive definite. Trace 7 and determinant 1 give eigenvalues λ₊=(7+3sqrt(5))/2 and λ₋=(7−3sqrt(5))/2. Both are positive because 49>45. The semiaxes for q=1 are 1/sqrt(λ₊) and 1/sqrt(λ₋), along their respective orthonormal eigendirections. Equivalently their lengths are sqrt((7−3sqrt(5))/2) and sqrt((7+3sqrt(5))/2), since λ₊λ₋=1. The nonorthogonal square-completion coordinates do not by themselves give Euclidean semiaxis lengths.
I3. [0 0;0 4] gives 4v², so is positive semidefinite but not definite; the u-axis is its zero/kernel direction. [0 1;1 0] gives 2uv, takes both signs, and is indefinite and invertible. [−1 0;0 −3] gives −u²−3v² and is negative definite. A formula involving b/a is undefined in the first two cases. Direct expressions, eigenvalues or the separately proved a=0 criterion handle them.
I4. Along q₊=(1,1)/sqrt(2), the eigenvalue is t+1; along q₋=(1,−1)/sqrt(2), it is t−1. For t>1 the matrix is positive definite. At t=1 it is positive semidefinite but not definite, with kernel span{(1,−1)}. For −1<t<1 it is indefinite. At t=−1 it is negative semidefinite but not definite, with kernel span{(1,1)}. For t<−1 it is negative definite. Include the corresponding semidefinite label for each definite case under our inclusive definitions.
I5. The maximum is 4, attained by exactly (u,v,0) with u²+v²=1. The minimum is −2, attained by (0,0,±1). This is an entire maximum eigenspace intersected with the unit sphere, not merely the two coordinate axes. For x=(1,0,sqrt(2)), q=4−4=0 but Sx=(4,0,−2sqrt(2))≠0. Positive and negative contributions cancel.
I6. Put s=u+v. The objective is (s−3)²+(2s−7)²=5s²−34s+58=1/5+5(s−17/5)². Every minimizer is (17/5−t,t), t∈R. The common fit is (17/5,34/5), residual Bx−b=(2/5,−1/5) and minimum 1/5. BᵀB=[5 5;5 5] has unit sum/difference eigenvectors with eigenvalues 10,0. Moving along (1,−1) changes coefficients without changing Bx, so the fit is unique but coefficients are not.
Homework
H1. For [a b;b c], derive the characteristic polynomial and discriminant (a−c)²+4b². When positive, the two real roots each give nonzero kernel vectors; the identity (Su)·v=u·Sv makes them orthogonal, and normalization gives a basis. When zero, b=0 and a=c, so S=aI and every orthonormal basis works. In every dimension the text proves distinct-eigenvalue orthogonality, explains Gram–Schmidt within an existing eigenspace, and proves orthogonal diagonalization implies symmetry. It does not prove that an arbitrary larger real symmetric matrix supplies enough real eigenvectors. That existence assertion is the accepted general theorem. Do not claim the 2×2 discriminant calculation proves it for all n.
H2. Write B=S+K with Sᵀ=S and Kᵀ=−K. The real scalar xᵀKx equals its transpose and also its negative, so it is zero. Consequently xᵀBx=xᵀSx. G3 gives B eigenvalues 2,2 but S eigenvalues 5,−1, refuting the map/eigenvalue claim. For PSD S, in orthonormal eigenvector coordinates every λ_i y_i² is nonnegative. A zero sum forces every coordinate with λ_i>0 to vanish, precisely the kernel condition. The converse follows directly from Sx=0. For diag(1,−1), (1,1) has zero form value without being a kernel vector.
H3. Set r=Ax*−b. The normal equation is Aᵀr=0. Expanding ||r+Ah||² gives ||r||²+2hᵀAᵀr+||Ah||²=F(x*)+hᵀAᵀAh. Its minimum is attained exactly when Ah=0. Hence all minimizers are x*+ker A and uniqueness is equivalent to full column rank. A small positive eigenvalue gives a small increase for unit displacement in its eigendirection, but not a perfectly flat direction. A zero eigenvalue gives a genuine unchanged-fit direction. An exact negative eigenvalue of AᵀA is impossible because vᵀAᵀAv=||Av||²≥0; testing a unit eigenvector would otherwise give a negative square. A reported small negative value from a numerical computation calls for checking approximation/data/implementation, not treating it as an exact theorem violation or diagnosing its cause from its sign alone.
Quiz key and rubric: 30 points
Q1 (8). Eigenvalues are 6 and 1. Choose q₁=(2,−1)/sqrt(5), q₂=(1,2)/sqrt(5), Q=(1/sqrt(5))[2 1;−1 2] and D=diag(6,1). Dot products give QᵀQ=I; multiplying gives Sq₁=6q₁ and Sq₂=q₂, so SQ=QD. With y=Qᵀx the form is 6y₁²+y₂² and is positive definite. Rubric: 2 for eigenvalues/eigenspaces, 2 for normalized orthogonal columns, 2 for ordered verification, 1 for transformed form, 1 for justified classification.
Q2 (8). [3 3;3 3] has eigenvalues 6,0 and form 3(u+v)²: PSD but not definite, zero/kernel line u+v=0. [−2 1;1 −2] has eigenvalues −1 along (1,1) and −3 along (1,−1), so it is negative definite, hence NSD; zero occurs only at the origin. [1 3;3 1] gives −4 at (1,−1) and 8 at (1,1), so it is indefinite despite positive diagonal entries. Rubric: 3 for first matrix including kernel, 3 for second including absence of a nonzero zero direction, 2 for witnesses and the failed criterion.
Q3 (8). Maximum unit value 6 occurs at ±(2,−1)/sqrt(5); minimum 1 at ±(1,2)/sqrt(5). The level set is centered at zero, with those two perpendicular axis lines. Its semiaxes are sqrt(2) along the eigenvalue-6 direction and sqrt(12)=2sqrt(3) along the eigenvalue-1 direction. For a level c>0, λy²=c at an axis intercept gives length sqrt(c/λ); a smaller positive λ therefore allows a larger displacement. Rubric: 3 for extreme values and all unit equality cases, 3 for center/axes/lengths, 2 for this algebraic explanation. A scaled coordinate formula must still describe physical distances using unit axes.
Q4 (6). The objective is (u−2)²+(2u−3)²=1/5+5(u−8/5)², independent of v. All coefficients are (8/5,t), t∈R. Fit (8/5,16/5), residual (−2/5,1/5), minimum 1/5. BᵀB=diag(5,0) has kernel span{(0,1)}, exactly the flat direction. Every listed coefficient has the same fitted vector, and a minimizer cannot have another u. Rubric: 2 for the complete family, 2 for fit/residual/minimum, 2 for Gram/kernel interpretation and fitted-vector uniqueness.
Project key and rubric: 40 points
P1 (10). The first two exact records would force u+v=3, contradicting the sum record 4. A=[1 0;0 1;1 1] and b=(2,1,4). AᵀA=[2 1;1 2], Aᵀb=(6,5), so x*=(7/3,4/3). Fit (7/3,4/3,11/3), residual (1/3,1/3,−1/3), F(x*)=1/3. Aᵀr=0 verifies the normal equations. Gram eigenvalues 3 and 1, or the positive-definite 2×2 test, prove coefficient uniqueness. Rubric: 2 for the exact inconsistency explanation, 2 for A,b and normal equations, 2 for solution, 2 for fit/residual/minimum, 2 for justified uniqueness.
P2 (10). Use h=y₊(1,1)/sqrt(2)+y₋(1,−1)/sqrt(2). The expansion is F(x*+h)=1/3+3y₊²+y₋². The region is 3y₊²+y₋²≤2, centered at (7/3,4/3), with boundary equality. Semiaxes are sqrt(2/3) along the unit sum direction and sqrt(2) along the unit difference direction. For ||h||=1, y₊²+y₋²=1, so the increase ranges from 1 to 3, attained exactly at the signed difference and sum unit vectors respectively. A threshold on a chosen deterministic objective supplies no probability coverage, error distribution or cause of disagreement. Rubric: 3 for the translated identity and orthonormal coordinates, 3 for the full region, 2 for bounds and equality cases, 2 for the modelling limits.
P3 (10). Expanding gives S_ρ=[2+ρ 1−ρ;1−ρ 2+ρ]. Its sum-direction eigenvalue is 3; its difference-direction eigenvalue is 1+2ρ. Therefore ρ>−1/2 gives positive definite, ρ=−1/2 gives PSD but not definite with kernel span{(1,−1)}, and ρ<−1/2 gives indefinite. Negative semidefiniteness and negative definiteness never occur because the sum-direction value is positive. The displayed weights are all nonnegative exactly when ρ≥0. Positivity alone does not imply that: ρ=−1/4 gives eigenvalues 3 and 1/2 despite a negative displayed coefficient. Below −1/2, E_ρ(t,−t)=2(1+2ρ)t² is negative for t≠0 and tends without bound downward as |t| grows, so it cannot be a nonnegative squared-error penalty. Rubric: 2 for matrix, 2 for eigenvalues/directions, 3 for all parameter cases and boundary kernel, 2 for weight versus positivity distinction, 1 for an explicit negative-direction argument. The unboundedness observation is useful but not required for that last point.
P4 (10). Put s=u+v. The new objective J=(s−3)²+(2s−7)²=1/5+5(s−17/5)². Its minimizers are (17/5−t,t), t∈R; the common fit is (17/5,34/5), residual (2/5,−1/5) and minimum 1/5. The coefficient direction (1,−1) is unmeasured, with Gram eigenvalue zero. The region J≤6/5 is the closed infinite strip |u+v−17/5|≤1/sqrt(5), between the two parallel boundary lines. Measured perpendicular to its center line, its half-width is 1/sqrt(10); it is unbounded along the difference direction. The old full-column-rank logger selected one coefficient pair, whereas the replacement does not; both select a unique fitted observation vector for their respective objectives. A suitable conclusion says these exact fictitious equations show inconsistency and identify the chosen fits/uncertainty directions, but do not identify a faulty sensor, physical reliability or probability of being near a true value. Rubric: 3 for complete family/fit/residual/minimum, 2 for unmeasured direction and Gram interpretation, 2 for correct strip geometry, 1 for uniqueness comparison, 2 for an accessible conclusion with model limits. An exact strip inequality with its directions is acceptable instead of a drawing.
Delayed follow-through
D1. Let h=x−c. Unit sum q₊ has eigenvalue 1 and unit difference q₋ has eigenvalue 3. Thus y₊²+3y₋²≤6 is a filled ellipse centered at (1,−2), with semiaxis sqrt(6) along q₊ and sqrt(2) along q₋. At x=(2,−1), h=(1,1) and q=2≤6, inside. At x=(3,−4), h=(2,−2) and q=24>6, outside. These are exact tests, not visual guesses.
D2. For the first clause, diag(−1,−2) has determinant 2 but is negative definite. A real symmetric 2×2 matrix is PD iff its first diagonal entry and determinant are both positive. For the second, diag(1,−1) at (1,1) has form value zero but nonzero output. The implication is valid for PSD or NSD symmetric matrices because nonzero spectral terms cannot cancel; it is false in general. A personal correction is acceptable if it identifies the exact unsupported step, replaces it with a justified one and rechecks an affected conclusion.
Using the feedback
Award credit for sound equivalent reasoning, not conformity to a preferred eigenvector sign. Avoid counting one arithmetic slip repeatedly when the subsequent method is correctly applied to that slip; separately identify conceptual errors such as a false uniqueness or probability claim. No empirical reliability for this rubric is claimed. Reattempt an altered problem after correction. Unit 8 and the larger validation/release work remain unfinished.