Let algebra and geometry check each other
Calculate a plane projection, distinguish orthogonal and oblique projections, and track the inner product through a change of basis.
A picture can suggest the right operation; an equation can tell you which parts of the picture survive a change of coordinates. Develop both descriptions on the same object. Two unrelated pages of calculations and drawings will not automatically meet.
Take the line spanned by in the Euclidean plane. For , the nearest point on that line is
Draw the residual . Its coordinates sum to zero, so it is perpendicular to . The algebra identifies the right angle that the sketch suggests. Conversely, requiring the residual to be perpendicular to the line determines the coefficient of and produces the formula.
Three checks on the same projection
First compute . Applying the projection a second time does nothing because the first result already lies on . Next find its image and kernel: they are the spans of and respectively. Finally check . This last identity uses the standard Euclidean inner product and standard orthonormal coordinates.
These checks distinguish two meanings that are easy to blur. The matrix
also satisfies . Its image is the horizontal axis and its kernel is the line spanned by . These lines are not perpendicular. It projects along a slanted direction. Idempotence alone therefore does not establish orthogonal projection. For real matrices in standard Euclidean coordinates, idempotence together with symmetry does.
To see why nearest points enter, let . The vectors and are perpendicular, so Pythagoras gives
The second summand is nonnegative and vanishes exactly when . A geometric observation has become a proof of existence and uniqueness of the nearest point.
Change the coordinates, then ask what changed
Choose a basis that is not orthonormal. The linear map remains the same, but ordinary coordinate dot products no longer represent the original inner product. If its Gram matrix is , the coordinate formula is ; self-adjointness of a real matrix becomes . Plain symmetry can disappear while the underlying geometric property remains.
For practice, use the basis . Compute the matrices of and the inner product in that basis, then verify this identity. A useful note should connect each matrix entry to a geometric statement you can explain.
Sheldon Axler's Linear Algebra Done Right, fourth edition, §6C, printed pages 211 onward, develops orthogonal complements and minimization. Definitions and examples 6.55–6.56 are on printed page 214. Read those after doing the plane calculation, then attempt the same reasoning for a plane in . Keeping the setting finite-dimensional here lets you concentrate on the connection without importing unspoken closure assumptions from Hilbert space theory.
Linear Algebra · Proofs & Mathematical Writing
Sources and further reading
- Linear Algebra Done Right, fourth edition — Sheldon Axler.Section 6C, Orthogonal Complements and Minimization Problems, printed pp. 211–217; 6.55–6.57 on projection and 6.61 on minimization; section begins at PDF page 225 · Checked 2026-10-17
Writing and reuse
This guide was prepared with AI-assisted drafting and source review. It does not describe Jiayu Chen’s personal experience. Original editorial text: CC BY-SA 4.0; cited works retain their own terms.