A topic in the Open Knowledge Graph — a free, open map of 15,495 topics and the order to learn them in.

Orthogonal Projections

College Depth 91 in the knowledge graph ☐ I know this ☆ Set as goal
1,195topics build on this
350prerequisites beneath it
See this on the map →
Dot Product (Inner Product in R^n)Inner Product Spaces+1 more→→Gram-Schmidt Orthogonalization ProcessLeast Squares Approximation and Normal Equations+1 more
orthogonal-projection projection nearest-point

Core Idea

The orthogonal projection of vector b onto a subspace W is the unique point proj_W(b) ∈ W closest to b. For a subspace spanned by orthonormal vectors u₁, ..., uₖ, proj_W(b) = (⟨b,u₁⟩u₁ + ... + ⟨b,uₖ⟩uₖ). Projections are fundamental to least-squares and Gram–Schmidt.

How It's Best Learned

Project b = (3, 1, 2) onto the line through u = (1, 1, 0)/√2. Since ⟨b, u⟩ = 4/√2, the projection is (2, 2, 0) and the error is (1, −1, 2), which is perpendicular to u. Then repeat with the unnormalized v = (1, 1, 0) in the same formula. You get (4, 4, 0), and its error is not perpendicular to v, which shows why unit length matters.

Common Misconceptions

Explainer

The orthogonal projection of b onto a subspace W is the unique vector in W that is closest to b. This idea connects directly to your knowledge of inner product spaces: the inner product measures "how much" one vector aligns with another, so the projection formula extracts the W-component of b by taking inner products with basis vectors of W.

To understand why the formula works, start with the 1D case. If W is spanned by a single unit vector u, then proj_W(b) = ⟨b, u⟩u. The inner product ⟨b, u⟩ is a scalar saying how far b extends in the u-direction; multiplying by u converts that scalar back into a vector. The formula for projecting onto a higher-dimensional subspace with orthonormal basis u₁, ..., uₖ just repeats this independently for each basis vector and sums: proj_W(b) = ⟨b, u₁⟩u₁ + ... + ⟨b, uₖ⟩uₖ.

The key geometric insight is that b decomposes into exactly two orthogonal pieces: the projection proj_W(b) lying in W, and the error vector b - proj_W(b) lying in W⊥ (the orthogonal complement). These two pieces are perpendicular by construction. The fact that the error lives in W⊥ is precisely why proj_W(b) is the *closest* point in W to b: any other w ∈ W would require adding some W-component to the error, which by the Pythagorean theorem only increases the distance.

This decomposition drives two major applications. In least-squares approximation, Ax = b has no exact solution when b is not in the column space of A, so you project b onto the column space and solve the projected system — producing the best possible approximation. In Gram-Schmidt, you iteratively subtract projections onto previously found directions: each new vector has all prior directions projected out, leaving only the genuinely new component. Both applications rely on the same geometric core — decomposing a vector into the part that lives in a subspace and the part that is orthogonal to it.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Combining Small Groups Within 5 → Number Bonds Within 5 → Number Bonds to 10 → Tens and Ones Place Value → Reading and Writing Three-Digit Numbers → Comparing Three-Digit Numbers → Comparing and Ordering Three-Digit Quantities → Comparing and Ordering Whole Numbers → Comparing Numbers 1 to 20 → Ordering Numbers to 20 → Number Line 0 to 20 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Opposites and Additive Inverses → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Multiplying Binomials (FOIL) → Factoring Trinomials → Factoring Completely → Introduction to Rational Expressions → Simplifying Radical Expressions → Segments and Distance → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Similar Right Triangles and the Geometric Mean → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Special Right Triangles: 30-60-90 → Trigonometric Ratios Review → Vectors in Two Dimensions → Vectors in R^n → Vector Addition and Subtraction → Vector Spaces → Inner Product Spaces → Orthogonality → Orthogonal Projections

Longest path: 92 steps · 350 total prerequisite topics

Prerequisites (3)

Leads To (3)