The idea
Key formulas
Eigenvector equation
Characteristic equation
Eigenspace
Loading lessons…
Just a moment, getting everything ready. The first load can take up to a minute.
Linear algebra
Find directions that a matrix preserves, changing only their scale.
Each colored line marks a direction preserved by the transformation; its eigenvalue gives the stretch.
A matrix usually changes both a vector's direction and its length. An eigenvector is a nonzero vector whose direction is unchanged by a square matrix . Its defining equation is
The number is the corresponding eigenvalue. If , the vector is stretched; if , it is shortened; if , its direction is reversed as well as scaled. If , the vector is collapsed to zero. Eigenvectors describe invariant directions, not a single arrow: every nonzero scalar multiple of an eigenvector is also an eigenvector for the same eigenvalue. The zero vector is excluded because for every and so it reveals no direction.
One way to find eigenvalues is to rearrange the defining equation:
For a nonzero solution to exist, the matrix must be singular. For a square matrix this is equivalent to
Solving this equation gives the eigenvalues, and solving for each one gives its eigenvectors. The determinant expression expands into a polynomial in , called the characteristic polynomial. A two-dimensional matrix produces a quadratic, so its eigenvalues may be real or complex. A rotation by an angle other than or , for example, has no real eigenvector: it turns every nonzero real direction rather than keeping one fixed.
The eigenspace for consists of all solutions of , including the zero vector; its nonzero members are eigenvectors. This distinction is useful: an eigenspace is a whole subspace of possible directions. A matrix may have repeated eigenvalues, but this alone does not say how many independent eigenvectors it has. When a matrix has a basis of eigenvectors, the matrix can be expressed in that eigenvector basis as a diagonal matrix. In that coordinate system each coordinate is simply scaled by its eigenvalue.
For a real symmetric matrix, the situation is especially orderly: its eigenvalues are real and it has perpendicular eigenvectors that can be chosen as a basis. The symmetric matrix in the demo therefore has two perpendicular eigen-directions. A positive eigenvalue stretches along its direction; a negative one would reverse and stretch. The perpendicular directions can be understood as natural axes for the transformation.
The symmetry condition matters. If , then for eigenvectors and with different eigenvalues and , symmetry gives
Since , this forces . That is why distinct eigen-directions of a real symmetric matrix are perpendicular. When eigenvalues repeat, a suitable perpendicular basis can still be chosen within the associated eigenspace. This result is valuable in practice because it allows a symmetric transformation to be understood as independent scaling along perpendicular axes.
Eigenvectors can also be used to simplify calculations. If the columns of are a basis of eigenvectors, then , where is diagonal with the corresponding eigenvalues. Thus , and raising the diagonal matrix to a power simply raises each eigenvalue to that power. This is one reason the eigenbasis makes repeated transformations easier to analyze.
Take any candidate vector, multiply by , and ask whether the result is parallel to the original. If is a scalar multiple of , then is an eigenvector and the multiplier is the eigenvalue. If the output points in a different direction, it is not an eigenvector. The test includes sign: an output pointing exactly backward is still on the same line and corresponds to a negative eigenvalue.