This post was translated from Korean into English by AI.
The Spectral Theorem is a very important concept in linear algebra that is used across a wide range of fields. Some time ago, I found it extremely useful while solving a problem and wanted to write up a summary, but I kept putting it off for lack of time. I am finally getting around to it now.
Basic Concepts
Simply put, the spectral theorem states that matrices with "nice properties" can be decomposed completely into mutually orthogonal eigenvectors. In other words, a matrix with the appropriate properties admits the following decomposition.
Here, is a matrix whose columns are orthonormal eigenvectors, and is a diagonal matrix consisting of the corresponding eigenvalues. Since is an orthogonal matrix, .
For real matrices, the "nice property" required here is simply symmetry. That is, if , a decomposition of the form above is always possible.
Why This Is Useful
Symmetric matrices arise in many linear algebra problems. For example, graph Laplacians in graph theory and covariance matrices in statistics are necessarily symmetric. A decomposition like this is therefore always possible in those cases. In particular,
which has the advantage of making matrix powers easy to compute. This leads to the following benefits.
We can determine whether a matrix power converges and, if so, what it converges to.
In particular, since is an orthogonal matrix that defines an orthonormal basis, multiplying by it does not change the "volume" of the space. Therefore,
Moreover, since , we need only examine the powers of the individual eigenvalues, , to determine easily whether the matrix powers converge and, if they do, what they converge to.
Quadratic forms become easier to work with.
Expressions of the form arise very frequently in optimization problems. If can be decomposed in this way, then for any column vector , we can set , yielding
Thus, rather than treating a quadratic form as a complicated matrix equation, we can work with it as a sum of squared coordinates. It also follows naturally that is positive definite if all its eigenvalues are positive, and positive semidefinite if all its eigenvalues are nonnegative.
An interesting consequence is that every real quadratic form can be transformed, through an appropriate rotation, into a form containing only squared terms. For example, consider the following quadratic form.
This can be written as follows for the vector :
If we let
then
so we can easily construct the following symmetric matrix.
Therefore, by the spectral theorem, it can be decomposed as . If we define a new coordinate system by , then the expression above becomes a function containing only pure square terms in .
This explains why, when we graph in two dimensions, we always obtain a "rotated" conic section.