Linear Algebra Checkpoint

Connect systems, spaces, projections and spectral methods in a single set of problems.

Builds on Pseudoinverses, Low Rank and Conditioning

The bigger question: Which parts of a matrix carry the strongest signal?

On this page

Check connections, not just arithmetic

Work these problems without immediately opening the solutions. For each answer, name the space involved and check matrix shapes. A good solution explains existence, uniqueness and sensitivity where relevant, rather than only presenting a number.

The course has two recurring questions: which outputs are reachable, and how can an input be recovered? Elimination answers them algebraically, subspaces organize them geometrically, and QR or SVD supplies useful numerical tools.

Visual guide

VISUAL GUIDESmall singular values amplify inverse sensitivity
The map diag(1, 0.2) flattens the unit circle. Reconstructing an input from its output must multiply the vertical component by 5, including any vertical measurement error. The condition number here is 5.-1.5-1.5-0.75-0.75000.750.751.51.5xy
  • Unit circle
  • Flattened image
The map diag(1, 0.2) flattens the unit circle. Reconstructing an input from its output must multiply the vertical component by 5, including any vertical measurement error. The condition number here is 5.

Problems

  1. Describe every solution of x+2y+z=3x+2y+z=3, 2x+4y+2z=62x+4y+2z=6.
  2. For its 2×32\times3 coefficient matrix, give rank, nullity and left nullity.
  3. Project b=(4,0)Tb=(4,0)^T onto the line spanned by (1,1)T(1,1)^T, and verify the residual is orthogonal.
  4. Fit a constant to measurements 1,2,61,2,6 using a normal equation.
  5. Diagonalize A=(2112)A=\begin{pmatrix}2&1\\1&2\end{pmatrix} and describe Ak(1,−1)TA^k(1,-1)^T.
  6. Does B=(1101)B=\begin{pmatrix}1&1\\0&1\end{pmatrix} admit a diagonalization? Explain using its eigenspace.
  7. For C=diag⁡(3,0)C=\operatorname{diag}(3,0) and b=(6,5)Tb=(6,5)^T, find the minimum-norm least-squares solution and residual.
  8. A matrix has singular values 8,2,0.018,2,0.01. State its condition number and the spectral error of its best rank-two approximation.

Worked solutions

Show worked solutions
  1. The second equation is redundant. With y=s,z=ty=s,z=t, all solutions are (3−2s−t,s,t)(3-2s-t,s,t). The two free directions form the null space; (3,0,0)(3,0,0) is one particular solution.
  2. Rank is one, input nullity is 3−1=23-1=2, and left nullity is 2−1=12-1=1. The left-null vector (−2,1)T(-2,1)^T gives a consistency test on the right-hand side.
  3. Projection coefficient is 4/2=24/2=2, so p=(2,2)Tp=(2,2)^T and r=(2,−2)Tr=(2,-2)^T. The dot product with (1,1)T(1,1)^T is zero.
  4. The design matrix is a column of three ones. The normal equation is 3c=1+2+6=93c=1+2+6=9, giving c=3c=3. Residuals −2,−1,3-2,-1,3 sum to zero.
  5. Take columns of VV as (1,1)T,(1,−1)T(1,1)^T,(1,-1)^T and D=diag⁡(3,1)D=\operatorname{diag}(3,1). Then A=VDV−1A=VDV^{-1}. The given vector belongs to eigenvalue one, so every power leaves it unchanged.
  6. No. Its only eigenvalue is one and N(B−I)N(B-I) is one-dimensional, so it lacks two independent eigenvectors.
  7. C+=diag⁡(1/3,0)C^+=\operatorname{diag}(1/3,0), so x∗=(2,0)Tx_*=(2,0)^T. The fitted vector is (6,0)T(6,0)^T and residual is (0,5)T(0,5)^T. Other minimizing coefficients differ by a vertical null-space vector and have larger norm.
  8. The spectral condition number is 8/0.01=8008/0.01=800. Discarding the smallest singular contribution gives spectral approximation error 0.010.01.
PAUSE & THINKA quick check, not a grade

Try it yourself.

Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.

Your measurements give an inconsistent system Ax=b. Which method produces a best fit in Euclidean residual length?

Hint 1 · Find a starting point

An exact solution is unavailable, so minimize a discrepancy.

Hint 2 · Take the next step

Minimize ||Ax−b||² over x.

Show the reasoning

Answer: Least squares

Least squares projects b onto the column space. QR or SVD can compute the fit without requiring exact consistency.

Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.

Where to use these tools next

Differential-equation systems use eigenvectors and matrix dynamics. Multivariable calculus uses gradients, Hessians and quadratic forms. Engineering data fitting uses least squares and conditioning. Return to the relevant unit when a calculation works mechanically but its geometric meaning is still unclear.

MAKE IT YOURS

Pause before the next idea.

Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.

Optional marks, not a grade. Saved in this browser only. Open notebook →