Normalize and put . The two vectors are an orthonormal basis of a plane invariant under , since and . Its orthogonal complement is also invariant: for and ,Apply the spectral theorem for real symmetric matrices to the restriction of to . Any remaining negative eigenvalue supplies another orthonormal pair by the same construction. Induction leaves only the kernel. Thus every nonzero eigenvalue of has even multiplicity. The pairs can share an eigenvalue, so this does not assert distinctness of the different .
The spectral theorem for real symmetric matrices supplies real eigenvalues and an orthonormal eigenbasis. Compute eigenvectors, normalize them, and within each repeated-eigenvalue eigenspace choose an orthonormal basis. Distinct eigenspaces are already orthogonal because symmetry gives for eigenvectors with eigenvalues .
Use the resulting basis vectors as columns of . ThenThe order and signs of the columns can be chosen freely; rotations within a repeated-eigenvalue eigenspace are also allowed.
By the spectral theorem for real symmetric matrices, choose an orthonormal eigenbasis corresponding to , with . Write and . This orthogonal change of coordinates givesThe plane constraint is therefore . On that plane the quadratic form vanishes exactly whenConsequently the entire set isThe two direction vectors are nonzero and not parallel, since are linearly independent. An invertible orthogonal transformation maps each full line to a full line. Thus the set consists of precisely two infinite lines through the origin.
The plane spanned by is an invariant subspace for , sinceIts orthogonal complement is also invariant: for orthogonal to both, and . The restriction of the real symmetric matrix to this nonempty complement therefore has a unit eigenvector , by the spectral theorem for real symmetric matrices.
If its eigenvalue is , the argument in part (b) shows that is a unit eigenvector orthogonal to . It also lies in the same complement; explicitly,Repeating the construction decomposes every negative eigenspace into orthogonal pairs. The zero eigenspace has dimension for some number of pairs, and therefore has the same parity as . This is the paired eigenspaces of the square of a real skew-symmetric matrix property.
For , there can be distinct negative eigenvalues and no zero, or at most negative ones plus zero, because a nonempty zero eigenspace has dimension at least two. For , there are at most distinct negative ones plus the mandatory zero. HenceThe bound is attained by skew two-by-two blocks with distinct positive parameters, adding one zero direction when is odd.
For a real symmetric matrix , find its real eigenvalues from , then solve for the corresponding eigenspaces. Distinct eigenspaces are orthogonal. Within each repeated eigenspace, apply the Gram-Schmidt process and normalize to obtain an orthonormal basis of eigenvectors.
Put these vectors in the columns of . The spectral theorem for real symmetric matrices guarantees a full basis, so andThis is the orthogonal diagonalization of and the associated orthogonal change of coordinates.
Choose a real unit eigenvector of the real symmetric matrix , with eigenvalue . Its orthogonal complement is an invariant subspace: for any with ,The restriction of to this -dimensional space is again real and symmetric. Applying the same argument inductively produces an orthonormal basis of real eigenvectors. The base case is immediate. This proves the spectral theorem for real symmetric matrices without assuming that distinct eigenvalues are available.
One can also check that eigenvectors with different eigenvalues are automatically orthogonal: . Within a repeated eigenspace, the Gram-Schmidt process preserves the eigenvector property. Thus repeated eigenvalues cause no obstruction, and .
Principal moment of inertia Created 2026-10-03 Updated 2026-10-14
The principal moments of inertia about a specified point are the eigenvalues of the inertia tensor . Their associated unit vectors that are eigenvectors specify principal axes through . The spectral theorem for real symmetric matrices guarantees an orthonormal basis of these eigenvectors, even for an irregular rigid body. Choose their signs to make a right-handed basis and collect them as the columns of an orthogonal matrix :Thus diagonalization removes the off-diagonal coupling in the rotational kinetic energy. The eigenvalues belong to the mass distribution and reference point, independently of which orthonormal basis initially describes them. [ref]
In this principal body frame, write angular velocity as . ThenUse these as total angular momentum and kinetic energy only under the reference-point conditions stated under inertia tensor. Along a single principal axis with , angular momentum is parallel to angular velocity. For a mixture of directions with different principal moments of inertia, it generally is not. A principal axis need not be a geometric symmetry axis: it is selected by the complete mass distribution. A principal axis also need not give stable free rotation; for three distinct principal moments of inertia, the intermediate axis theorem supplies the stability distinction.
For any unit vector ,The axial moment of inertia is a weighted average of the principal moments of inertia. At fixed angular speed, the least and greatest rotational kinetic energies occur in the corresponding eigenspaces. At fixed nonzero angular momentum magnitude , instead, , so the largest principal moment of inertia gives the smallest rotational kinetic energy. These comparisons hold the reference point fixed.
There is an additional physical restriction beyond positive semidefiniteness. In principal axes coordinates,with two analogous cyclic inequalities. Therefore three arbitrary positive numbers do not always represent a possible inertia tensor. For a distribution in the plane through , , as in the planar inertia tensor of paired point masses. A uniform solid ellipsoid of mass and semiaxes supplies a continuous three-dimensional example: using its mass second-moment tensor, its central principal moments of inertia are , , . Setting recovers the moment of inertia of a uniform solid sphere.
Real spectral theorem Created 2026-09-24 Updated 2026-10-14
The real case of the finite-dimensional spectral theorem says that a self-adjoint operator on a finite-dimensional real inner product space has a real orthonormal eigenbasis. In orthonormal coordinates this is the spectral theorem for real symmetric matrices, . The worked ellipse under finite-dimensional spectral theorem shows why both orthogonal diagonalization and orthogonality matter: the new coordinates separate the quadratic form into squares without distorting lengths or angles.
A real normal matrix need not have real eigenvalues. For example, the quarter-turn is an orthogonal matrix, but its characteristic polynomial is and its eigenvalues are . Over the complex numbers it has an orthonormal eigenbasis; over the real numbers it has no eigenvector. Self-adjointness supplies the reality conclusion in the real spectral theorem.
Sample principal component Created 2026-09-29 Updated 2026-10-14
Let the columns of a centered design matrix be variables and write by the spectral theorem for real symmetric matrices. The columns of are the sample principal-component score vectors. They satisfy , so distinct score vectors have zero sample covariance and has sample variance under the divisor- convention.
Two-by-two positive-definiteness test 2026-10-14
For a real symmetric matrix , completing the square gives, when ,Thus is a positive-definite matrix exactly when and . For necessity, test first, then ; for sufficiency, the displayed two positive squares give the result. These are the first two leading principal minors in Sylvester's criterion. A positive determinant alone is insufficient: has determinant but is a negative-definite matrix.
The eigenvalues provide an equivalent test under the same real-symmetric hypothesis:The spectral theorem for real symmetric matrices supplies coordinates in an orthonormal basis in which . More generally, a complex Hermitian matrix has an orthonormal eigenbasis and , so it is a Hermitian positive-definite matrix exactly when every eigenvalue is positive. This is a short proof outline: test the eigenvectors for necessity, and sum the positive squared absolute values for sufficiency.[ref]
Convex Optimization by Stephen Boyd and Lieven Vandenberghe. Appendix A.5.2, pp. 646–647: symmetric eigenvalue decomposition and definiteness
For a real positive semidefinite matrix, the condition is instead for all vectors, equivalent here to , , and . If , the same completing the square proves this; if , nonnegativity forces and leaves with . Merely replacing the strict inequalities on the leading principal minors by nonstrict ones fails: has both leading principal minors zero yet gives . An indefinite quadratic form takes both positive and negative values; its real symmetric matrix has eigenvalues of both signs.