The Spectral Theorem
Every real symmetric matrix has real eigenvalues and perpendicular eigenvectors, so it is just stretching along perpendicular axes.
Needs a step first: 12
If , you can always choose an orthonormal basis of eigenvectors, so with orthogonal and diagonal. Geometrically: turn, stretch along the axes, turn back. Symmetric matrices appear wherever something is measured in pairs: covariance matrices, second derivatives (the Hessian), quadratic forms. The complex version, for Hermitian matrices, is why quantum observables take real values and their distinct states are perpendicular.
Where it shows up: PCA diagonalises a covariance matrix this way, and the eigenvalues of the Hessian tell an optimiser whether it sits in a valley or at a saddle.
How to hold it: In your head
See a symmetric matrix as turn, stretch along perpendicular axes, turn back, and know why covariance matrices, Hessians and quantum observables all have this form.
What knowing it looks like
- Orthogonally diagonalise a symmetric matrix as .
- Use the eigenvalues to classify a quadratic form and name the curve .
- Explain why eigenvectors of a symmetric matrix for different eigenvalues must be perpendicular.
Test yourself
Write as with orthogonal, and say what curve is.
Show the worked answer
Needs a step first: 12
Learn it with an AI
Copy this prompt into any AI assistant. It will take you through step by step at your level and finish with the test above.
Be my maths tutor. I'm learning "The Spectral Theorem" (Undergraduate II tier): Every real symmetric matrix has real eigenvalues and perpendicular eigenvectors, so it is just stretching along perpendicular axes.
I already know: Eigenvalues and Eigenvectors, Orthogonality and Projections.
Teach it Socratically: first ask what I already know; then explain the core idea with one concrete example and why it's true; then give me three problems, one at a time, easy to hard. Wait for my answer, check every step, and point out mistakes without giving the answer away.
Finish by testing me with this: Write $A=\begin{pmatrix}2&2\\2&-1\end{pmatrix}$ as $Q\Lambda Q^{\mathsf T}$ with $Q$ orthogonal, and say what curve $2x^2+4xy-y^2=6$ is.
Use LaTeX for formulas. When you say where it's used later (machine learning, quantum mechanics), be specific.Needs first
- Eigenvalues and EigenvectorsThe directions a matrix only stretches and never turns, and the factor by which it stretches each one.Undergraduate I · Linear Algebra
- Orthogonality and ProjectionsPerpendicular vectors, and how to split any vector into a part inside a subspace and a part at right angles to it.Undergraduate I · Linear Algebra
Leads to
- Singular Value DecompositionEvery matrix, of any shape, is a rotation, then a stretch along perpendicular axes, then another rotation.Undergraduate II · Linear Algebra
- Hilbert Spaces and OperatorsVector spaces whose vectors are functions, with an inner product given by an integral, and the linear operators that act on them.Undergraduate II · Linear Algebra
- The Multivariate NormalThe bell curve in many dimensions, set by a mean vector and a covariance matrix, with elliptical contours.Undergraduate II · Probability & Statistics
On the way to
Recommended
- MIT 18.06SC Linear AlgebraGilbert Strang, MIT OpenCourseWare · CourseGilbert Strang's famous linear algebra lectures with recitation videos, problem sets and solutions, from elimination to eigenvalues and the SVD.
- Linear Algebra Done RightSheldon Axler · BookThe standard proof-based second course in linear algebra, built on linear maps rather than determinants; the 4th edition is free to read, also in Chinese.
- Mathematics for Machine LearningDeisenroth, Faisal and Ong (Cambridge University Press) · BookA free book that gathers exactly the linear algebra, vector calculus, probability and optimisation machine learning uses, then applies them to regression, PCA and classification.
- 宋浩老师官方宋浩(山东财经大学) · Videos · 中文Full university courses in calculus, linear algebra and probability by a Shandong University of Finance and Economics lecturer, clear and good-humoured; a new calculus series came out in October 2026.