Courses / Mathematics I
Linear Algebra

Inner Product Spaces and Orthogonality

The dot product of Unit 3 gave R^n its geometry. An inner product u, v generalizes this to any vector space. It must be symmetric, linear, and positive…

Mathematics I 269 words Free to read

Abstract Geometry and Orthogonality

The dot product of Unit 3 gave Rn\mathbb{R}^n its geometry. An inner product u,v\langle u, v \rangle generalizes this to any vector space. It must be symmetric, linear, and positive definite (v,v>0\langle v, v \rangle > 0 for v0v \neq \mathbf{0}). From it come the norm v=v,v\|v\| = \sqrt{\langle v, v \rangle} (length) and the angle via cosθ=u,vuv\cos\theta = \frac{\langle u, v \rangle}{\|u\|\|v\|}.

Two vectors are orthogonal when u,v=0\langle u, v \rangle = 0. An orthonormal basis is orthogonal and every vector has length 1. In such a basis, coordinates are trivial to compute: the ii-th coordinate of vv is v,ei\langle v, e_i \rangle.

ConceptDefinitionKey Property
Orthogonal Setu,v=0\langle u, v \rangle = 0 for uvu \neq vAutomatically linearly independent
Positive Definitev,v>0\langle v, v \rangle > 0 for v0v \neq \mathbf{0}Ensures valid vector lengths
Reading off a coordinate as $\\langle v,e_i\\rangle$ reconstructs $v$

Projections and Gram-Schmidt

Orthogonal projection finds the closest point in a subspace WW to a given vector. The error vprojWvv - \operatorname{proj}_W v is orthogonal to all of WW. This drives least-squares approximation: when Ax=bA\mathbf{x} = \mathbf{b} has no exact solution, projecting b\mathbf{b} onto the column space gives the best approximate fit.

The Gram–Schmidt process systematically turns any basis into an orthonormal one by subtracting components along chosen vectors.

Common pitfall: Assuming an orthogonal projection is just truncating extra coordinates. Projection finds the nearest vector in WW via a geometric construction, and coordinates are trivial only in an orthonormal basis, not a general one.

Practise this lesson

The explanation above is free to read. The graded practice for this lesson lives in the Tryals app.

11practice questions
2interactive scenes

Linear Algebra