Orthogonal Projections & Least Squares

Orthogonal Projections & Least Squares

Orthogonal Projections & Least Squares Practice Quiz with a Step-by-Step Interactive 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.

Jawab rangkaian soal dan tinjau kesalahanmu di akhir.

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
Jelajahi tema lain

Set latihan

Soal latihan Proyeksi ortogonal & kuadrat terkecil dengan skor langsung

Jawab semua 10 soal di bawah ini, lalu lihat skor akhir dan tinjauan kesalahan agar kamu tahu persis apa yang perlu diperbaiki.

0 / 10 dijawab
Soal 1 Belum dijawab

Apa proyeksi ortogonal dari \((1,2)\) ke sumbu \(x\)?

Soal 2 Belum dijawab

Jika \(u\) adalah vektor satuan, proyeksi \(v\) ke \(\operatorname{span}(u)\) adalah:

Soal 3 Belum dijawab

Apa proyeksi dari \((1,0)\) ke garis yang direntang oleh \((1,1)\)?

Soal 4 Belum dijawab

Untuk proyeksi ortogonal \(P\), identitas apa yang selalu berlaku?

Soal 5 Belum dijawab

Untuk matriks proyeksi ortogonal \(P\), sifat simetri mana yang berlaku?

Soal 6 Belum dijawab

Solusi kuadrat terkecil untuk \(Ax\approx b\) memenuhi:

Soal 7 Belum dijawab

Dalam kuadrat terkecil, residual \(b-Ax\) ortogonal terhadap:

Soal 8 Belum dijawab

Vektor terdekat dalam subruang \(S\) ke vektor \(v\) adalah:

Soal 9 Belum dijawab

Apa proyeksi dari \((2,2)\) ke garis \(y=x\)?

Soal 10 Belum dijawab

Jika \(v=p+r\), dengan \(p\in S\) dan \(r\perp S\), apakah \(p\)?