From the free course Linear Algebra on Lykke

Orthogonality and Least Squares

Key concepts: Orthogonal Projections · Least Squares Approximation · Gram-Schmidt Process · QR Decomposition

Techniques for handling overdetermined systems where no exact solution exists, using projections and orthogonalization.

Orthogonality and Least Squares

Overview

When $Ax=b$ has no solution (often because there are more equations than unknowns), we look for the 'best' possible solution. This leads to the theory of least squares and orthogonal projections.

Key Concepts

  • Orthogonal Projections: Projecting a vector $b$ onto the column space $C(A)$ to find the closest point $p = A\hat{x}$.
  • Normal Equations: Solving $A^T A \hat{x} = A^T b$ to find the least squares solution.
  • Gram-Schmidt: An algorithm to convert a set of independent vectors into an orthonormal basis.
  • QR Decomposition: Factoring a matrix $A$ into an orthogonal matrix $Q$ and an upper triangular matrix $R$.

Why This Matters

Least squares is the mathematical engine behind linear regression and data fitting in statistics and machine learning.

Source Materials

Study Linear Algebra on Lykke

This course page is free to open: signed out, you can read its first two sections, and signing in, on any plan, opens the rest. The free Lykke Chrome extension syncs your own Canvas courses, so ChatGPT, Claude and Muse can answer from your classes and deadlines. It only reads Canvas.

Add the free extensionSign in to open every section

All sections of Linear Algebra · Browse more course pages

Orthogonality and Least Squares — Linear Algebra | Lykke