A7 · Lesson 41 · Symmetric matrices
Real eigenvalues and perpendicular axes
A resistor network's conductance matrix is symmetric. So is the covariance matrix of a set of noisy measurements, the stiffness matrix of a vibrating board, and the inductance matrix of coupled coils. Symmetric matrices are the best-behaved matrices there are: their eigenvalues are always real, their eigenvectors are always perpendicular, and they can always be diagonalized by a rotation. Geometrically, a symmetric matrix is a stretch along perpendicular axes, and nothing more.
- The ellipse is every with , for .
- The arrows are the eigenvectors. However you set the sliders, they stay perpendicular and point along the ellipse's axes.
- The semi-axes are : the larger eigenvalue gives the shorter axis.
Predict
Can a real symmetric matrix have complex eigenvalues, like a rotation does?
Never. For 2 × 2, the eigenvalues are , and the quantity under the root is a sum of squares, so it's never negative. A symmetric matrix stretches along perpendicular axes; it never rotates, so it has no complex eigenvalues.
Name it
The spectral theorem
Every real symmetric matrix has
- real eigenvalues, and
- orthonormal eigenvectors (eigenvectors for different eigenvalues are automatically perpendicular; for a repeated eigenvalue you can choose them perpendicular).
So is diagonalized by an orthogonal matrix:
The second form says is a sum of projections onto its eigenvectors, each weighted by its eigenvalue.
Why the eigenvectors are perpendicular
If and with , then , using . Since , .
Quadratic forms
The number is a quadratic form, such as . In the eigenvector coordinates it becomes , with no cross terms: the eigenvectors are the principal axes. The Rayleigh quotient always lies between the smallest and largest eigenvalue, reaching them along the eigenvectors.
Where they appear
- Conductance matrices of resistor networks (reciprocity, lesson 11).
- Covariance matrices of noisy data: the eigenvectors are the directions of greatest and least spread (principal components, A11 and S14).
- Energy: stored energies like in a capacitor network are quadratic forms.
Worked example
Diagonalize and write it as a sum of projections.
Show the solution
- Eigenvalues and unit eigenvectors. The eigenvalues are : with , and with .
- Sum of projections.
Answer , with and .
Worked example
Describe the curve .
Show the solution
- Write it as a quadratic form. It's for the above.
- Change to eigenvector coordinates.
- Read off the axes. It's an ellipse with semi-axis along and semi-axis 1 along .
Answer an ellipse, with semi-axis 0.577 along and 1 along .
Worked example
What are the largest and smallest values of on the unit circle?
Show the solution
- Write it as a quadratic form. It's with
- Range on the unit circle. There the quadratic form ranges between the smallest and largest eigenvalues of , which are and 3.
- Where they're reached. The maximum, 3, is reached along the eigenvector , and the minimum, , along .
- Check the first.
Answer the largest value is 3 and the smallest is .
Check
What is the larger eigenvalue of ?
Check
What is the larger eigenvalue of ?
Check
The ellipse has . How long is its longer semi-axis?
Check
What is the Rayleigh quotient for and ?
Check
has eigenvalue 5 along and 1 along . What is its off-diagonal entry?
Check
is real and symmetric with eigenvalues 2 and 5. What can you say about its eigenvectors?
Check
The quadratic form on the unit circle.
(a)
What is its largest value?
(b)
What is its smallest value?
Check
Take .
Step 1
What is the eigenvalue for ?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What is the top-left entry of ?
Explain why
Explain geometrically what a symmetric matrix does to the plane.
A symmetric matrix has two perpendicular eigenvector directions, and it simply stretches the plane along each one by its eigenvalue (flipping it if the eigenvalue is negative). There's no rotation: means rotate into the eigenvector axes, stretch along each axis, and rotate back. That's why the unit circle maps to an ellipse whose axes are the eigenvectors, and why the curve is an ellipse along those same axes when the eigenvalues are positive.
Practice
Keep practicing
9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.