Orthogonal Projections & Least Squares

Practice set

Orthogonal Projections & Least Squares practice quiz with instant score

Answer all 10 questions below, then get your final score and a mistake review at the end so you know exactly what to improve.

0 / 10 answered
Question 1 Not answered

If \(p\) is the projection of \(v\) onto \(S\), which identity holds?

Question 2 Not answered

What is the projection of \((2,1)\) onto \(\operatorname{span}((1,0))\)?

Question 3 Not answered

What is the projection of \((0,3)\) onto the \(x\)-axis?

Question 4 Not answered

If \(v\perp S\), what is the orthogonal projection of \(v\) onto \(S\)?

Question 5 Not answered

For an orthogonal projection \(P\), \(\operatorname{Ker}(P)\) is:

Question 6 Not answered

If \(p\) is the orthogonal projection of \(v\) onto \(S\), then \(v-p\) is:

Question 7 Not answered

If \(P\) is an orthogonal projection, \(P^T\) equals:

Question 8 Not answered

Eigenvalue \(1\) of a projection corresponds to vectors:

Question 9 Not answered

If \(A\) has orthonormal columns, the projection matrix onto \(\operatorname{Col}(A)\) is:

Question 10 Not answered

If \(v\in S\), what is the orthogonal projection of \(v\) onto \(S\)?

Orthogonal Projections & Least Squares

Orthogonal Projections & Least Squares Practice Questions with Answers and a Guided Lesson

Use the question set below to practice orthogonal projections and least squares: closest vectors in subspaces, decompositions \(v=p+r\) with \(p\in S\) and \(r\perp S\), projection onto a line, projection matrices with \(P^2=P\) and \(P^T=P\), column-space formulas such as \(A(A^TA)^{-1}A^T\) when \(A\) has full column rank, normal equations \(A^TAx=A^Tb\), residual orthogonality, best constant fits, and what changes when \(A^TA\) is singular. Open the lesson for concise worked examples and quick checks.

Answer the question set and review your mistakes at the end.

How this projection and least-squares practice works

  • 1. Take the practice set: answer questions about projections, residuals, projection matrices, normal equations, and best fits.
  • 2. Open the lesson: review the formulas, recognition tests, worked examples, and single-answer checks.
  • 3. Retry: return to the question set and first decide whether the problem asks for a closest vector, a projection matrix, a residual condition, or a least-squares coefficient.

What you will learn in the orthogonal projections and least squares lesson

Orthogonal projection geometry

  • Closest vector: \(\operatorname{proj}_S(v)\) is the unique point of \(S\) closest to \(v\)
  • Orthogonal residual: \(v-\operatorname{proj}_S(v)\in S^\perp\)
  • Line formula: \(\operatorname{proj}_{\operatorname{span}(u)}(v)=\dfrac{v\cdot u}{u\cdot u}u\) for \(u≠0\)

Projection matrices

  • Orthogonal projection matrix: \(P^2=P\) and \(P^T=P\)
  • Range and kernel: \(\operatorname{Range}(P)=S\), \(\ker P=S^\perp\), and \(I-P\) projects onto \(S^\perp\)
  • Trace and rank: eigenvalues are \(0\) or \(1\), so \(\operatorname{tr}P=\operatorname{rank}P\)

Least-squares equations

  • Best approximation: \(A\hat{x}\) is the projection of \(b\) onto \(\operatorname{Col}(A)\)
  • Residual condition: \(A^T(b-A\hat{x})=0\)
  • Normal equations: \(A^TA\hat{x}=A^Tb\); if \(Q\) has orthonormal columns, then \(\hat{x}=Q^Tb\)

Full rank and rank-deficient cases

  • If \(A\) has full column rank, then \(A^TA\) is invertible and \(\hat{x}=(A^TA)^{-1}A^Tb\)
  • If columns are dependent, least-squares minimizers may not be unique, but the fitted vector is unique
  • The pseudoinverse \(A^+\) selects the minimum-norm least-squares solution when needed