Tutorials › Linear Algebra › Geometric Action Along Orthogonal Eigenvectors

Symmetric Matrices and the Spectral Theorem · Tutorial 746 of 1000

Geometric Action Along Orthogonal Eigenvectors

Learn to decompose a vector into perpendicular eigen-directions and compute how a symmetric matrix changes each component.

Advanced 9 min read

What You'll Learn

  • Express a vector as a sum of its components along an orthonormal eigenbasis.
  • Compute the image by scaling each eigenvector component by its eigenvalue.
  • Interpret positive, negative, and zero eigenvalues as geometric actions.
  • Derive formulas for the image’s norm and for distances between images.
  • Check computations by multiplying the matrix by the original vector.

Seeing a Symmetric Matrix Act in Perpendicular Directions

A real symmetric matrix can be understood by separating a vector into components along mutually perpendicular directions. Those directions are eigenvectors: applying the matrix to one of them changes its length by a scalar factor, without turning it toward another direction. Once a vector is expressed in an orthonormal eigenbasis, its image is found by scaling each component separately. This gives a geometric interpretation of matrix multiplication and a direct way to compute images.

Here, \(\mathbf{A}\in\mathbb{R}^{n\times n}\) is symmetric, meaning \(\mathbf{A}^{\top}=\mathbf{A}\). An eigenvector \(\mathbf{q}\) is a nonzero vector satisfying \(\mathbf{A}\mathbf{q}=\lambda\mathbf{q}\), where \(\lambda\in\mathbb{R}\) is its eigenvalue. A list \(\mathbf{q}_1,\dots,\mathbf{q}_n\) is an orthonormal basis if its vectors span \(\mathbb{R}^n\), each has length \(1\), and distinct vectors in the list are perpendicular.

Spectral Theorem for Real Symmetric Matrices: Every real symmetric \(n\times n\) matrix has an orthonormal basis of eigenvectors. Equivalently, there are an orthogonal matrix \(\mathbf{Q}\), with \(\mathbf{Q}^{\top}\mathbf{Q}=\mathbf{I}_n\), and a real diagonal matrix \(\boldsymbol{\Lambda}\) such that \(\mathbf{A}=\mathbf{Q}\boldsymbol{\Lambda}\mathbf{Q}^{\top}\). This is the standard Spectral Theorem established in the earlier material on symmetric matrices.

Write the columns of \(\mathbf{Q}\) as \(\mathbf{q}_1,\dots,\mathbf{q}_n\), and write the diagonal entries of \(\boldsymbol{\Lambda}\) as \(\lambda_1,\dots,\lambda_n\). Then \(\mathbf{A}\mathbf{q}_i=\lambda_i\mathbf{q}_i\). Because these vectors are an orthonormal basis, any \(\mathbf{x}\in\mathbb{R}^n\) has a unique expansion \(\mathbf{x}=c_1\mathbf{q}_1+\cdots+c_n\mathbf{q}_n\), where \(c_i=\mathbf{q}_i^{\top}\mathbf{x}\). These \(c_i\) are the coordinates of \(\mathbf{x}\) in the eigenbasis.

Theorem (Action along an orthonormal eigenbasis): If \(\mathbf{A}\) is real symmetric with orthonormal eigenbasis \(\mathbf{q}_1,\dots,\mathbf{q}_n\) and corresponding eigenvalues \(\lambda_1,\dots,\lambda_n\), then for every \(\mathbf{x}=\sum_{i=1}^n c_i\mathbf{q}_i\), $$ \mathbf{A}\mathbf{x}=\sum_{i=1}^n \lambda_i c_i\mathbf{q}_i. $$

Proof. By linearity of matrix multiplication and the eigenvector equations,

$$ \mathbf{A}\mathbf{x} =\mathbf{A}\left(\sum_{i=1}^n c_i\mathbf{q}_i\right) =\sum_{i=1}^n c_i\mathbf{A}\mathbf{q}_i =\sum_{i=1}^n c_i\lambda_i\mathbf{q}_i =\sum_{i=1}^n \lambda_i c_i\mathbf{q}_i. $$

This proves the formula for every vector, including \(\mathbf{x}=\mathbf{0}\), for which all \(c_i=0\) and the image is \(\mathbf{0}\). \(\square\)

What the Eigenvalues Do Geometrically

The theorem says to follow each component separately. The component \(c_i\mathbf{q}_i\) becomes \(\lambda_i c_i\mathbf{q}_i\). If \(\lambda_i>0\), its direction is unchanged and its length is multiplied by \(\lambda_i\). If \(\lambda_i<0\), its length is multiplied by \(|\lambda_i|\), and its direction is reversed along that eigenvector line. If \(\lambda_i=0\), that component is sent to \(\mathbf{0}\). Because the basis directions are perpendicular, the output components remain perpendicular to one another.

Thus the matrix need not preserve the length of a general vector, and it need not preserve angles between different vectors. It does, however, act without mixing the coordinates in this particular basis: each input coordinate is multiplied by its corresponding eigenvalue. If several orthogonal directions have the same eigenvalue, every vector in their span is scaled by that same factor. In particular, when an eigenvalue is repeated, the geometric action on its eigenspace is uniform, even though there may be many choices of orthonormal directions within that space.

Worked Example: Scaling Two Perpendicular Components

Let \(\mathbf{A}=\begin{bmatrix}3&1\\1&3\end{bmatrix}\). Use an orthonormal eigenbasis to compute \(\mathbf{A}\mathbf{x}\) for \(\mathbf{x}=\begin{bmatrix}2\\0\end{bmatrix}\), and compare with direct multiplication.

The unit vectors \(\mathbf{q}_1=\tfrac{1}{\sqrt{2}}\begin{bmatrix}1\\1\end{bmatrix}\) and \(\mathbf{q}_2=\tfrac{1}{\sqrt{2}}\begin{bmatrix}1\\-1\end{bmatrix}\) are perpendicular. Multiplying by \(\mathbf{A}\) gives \(\mathbf{A}\mathbf{q}_1=4\mathbf{q}_1\) and \(\mathbf{A}\mathbf{q}_2=2\mathbf{q}_2\). The coordinates of \(\mathbf{x}\) in this basis are

$$ c_1=\mathbf{q}_1^{\top}\mathbf{x}=\frac{2}{\sqrt{2}}=\sqrt{2}, \qquad c_2=\mathbf{q}_2^{\top}\mathbf{x}=\frac{2}{\sqrt{2}}=\sqrt{2}. $$

So \(\mathbf{x}=\sqrt{2}\mathbf{q}_1+\sqrt{2}\mathbf{q}_2\). Scale the first component by \(4\) and the second by \(2\):

$$ \mathbf{A}\mathbf{x} =4\sqrt{2}\mathbf{q}_1+2\sqrt{2}\mathbf{q}_2 =4\begin{bmatrix}1\\1\end{bmatrix} +2\begin{bmatrix}1\\-1\end{bmatrix} =\begin{bmatrix}6\\2\end{bmatrix}. $$

Check: Direct multiplication gives \(\begin{bmatrix}3&1\\1&3\end{bmatrix}\begin{bmatrix}2\\0\end{bmatrix} =\begin{bmatrix}6\\2\end{bmatrix}\), the same image.

Lengths and Distances After Applying the Matrix

Orthonormal coordinates also make the length of an image easy to calculate. The squared length of a vector expressed in an orthonormal basis is the sum of the squares of its coordinates. Since the output coordinates are \(\lambda_i c_i\), the squared length after applying \(\mathbf{A}\) is \(\sum_{i=1}^n\lambda_i^2c_i^2\). The sign of an eigenvalue affects the direction, but not the contribution to this squared length.

Theorem (Length formula): Under the hypotheses of the action theorem, if \(\mathbf{x}=\sum_{i=1}^n c_i\mathbf{q}_i\), then $$ \|\mathbf{A}\mathbf{x}\|^2=\sum_{i=1}^n\lambda_i^2c_i^2. $$

Proof. The action theorem gives \(\mathbf{A}\mathbf{x}=\sum_{i=1}^n\lambda_i c_i\mathbf{q}_i\). For any vector expressed in an orthonormal basis, its squared length is the sum of the squares of its coordinates: the cross terms vanish because \(\mathbf{q}_i^{\top}\mathbf{q}_j=0\) for \(i\ne j\), and \(\mathbf{q}_i^{\top}\mathbf{q}_i=1\). Therefore \(\|\mathbf{A}\mathbf{x}\|^2=\sum_{i=1}^n(\lambda_i c_i)^2=\sum_{i=1}^n\lambda_i^2c_i^2\). If \(\mathbf{x}=\mathbf{0}\), all terms are zero and the formula still holds. \(\square\)

The same reasoning compares two vectors. If \(\mathbf{x}=\sum c_i\mathbf{q}_i\) and \(\mathbf{y}=\sum d_i\mathbf{q}_i\), their images have coordinates \(\lambda_i c_i\) and \(\lambda_i d_i\). Their inner product is \(\sum_{i=1}^n\lambda_i^2c_id_i\). Taking \(\mathbf{x}-\mathbf{y}\) in the length formula gives the distance formula \(\|\mathbf{A}\mathbf{x}-\mathbf{A}\mathbf{y}\|^2=\sum_{i=1}^n\lambda_i^2(c_i-d_i)^2\). These formulas show that the action on lengths and distances depends on the magnitudes of the eigenvalues.

Worked Example: Scaling, Reversing, and Collapsing

Consider the orthonormal directions \(\mathbf{q}_1=\tfrac{1}{\sqrt{2}}\begin{bmatrix}1\\1\\0\end{bmatrix}\), \(\mathbf{q}_2=\tfrac{1}{\sqrt{2}}\begin{bmatrix}1\\-1\\0\end{bmatrix}\), and \(\mathbf{q}_3=\begin{bmatrix}0\\0\\1\end{bmatrix}\). Suppose the corresponding eigenvalues are \(2,-1,0\). The matrix with these eigenvectors and eigenvalues is \(\mathbf{A}=\begin{bmatrix}\tfrac12&\tfrac32&0\\\tfrac32&\tfrac12&0\\0&0&0\end{bmatrix}\). Compute its action on \(\mathbf{x}=\begin{bmatrix}1\\2\\3\end{bmatrix}\).

First find the coordinates by taking inner products:

$$ c_1=\mathbf{q}_1^{\top}\mathbf{x}=\frac{3}{\sqrt{2}}, \qquad c_2=\mathbf{q}_2^{\top}\mathbf{x}=-\frac{1}{\sqrt{2}}, \qquad c_3=\mathbf{q}_3^{\top}\mathbf{x}=3. $$

The eigenbasis formula multiplies these coordinates by \(2,-1,0\), respectively. Hence

$$ \mathbf{A}\mathbf{x} =3\sqrt{2}\mathbf{q}_1+\frac{1}{\sqrt{2}}\mathbf{q}_2+0\mathbf{q}_3 =\begin{bmatrix}3\\3\\0\end{bmatrix} +\begin{bmatrix}\tfrac12\\-\tfrac12\\0\end{bmatrix} =\begin{bmatrix}\tfrac72\\\tfrac52\\0\end{bmatrix}. $$

The first component is doubled, the second is reversed and kept at its original length, and the third is erased. Check: Direct multiplication gives \(\mathbf{A}\mathbf{x}=\begin{bmatrix}\tfrac12+3\\\tfrac32+1\\0\end{bmatrix} =\begin{bmatrix}\tfrac72\\\tfrac52\\0\end{bmatrix}\). The length formula also gives \(\|\mathbf{A}\mathbf{x}\|^2=2^2(\tfrac{9}{2})+(-1)^2(\tfrac12)+0^2(9)=\tfrac{37}{2}\). The computed image has squared length \(\tfrac{49}{4}+\tfrac{25}{4}=\tfrac{37}{2}\), as required.

Using an Orthonormal Eigenbasis in Practice

A reliable calculation separates finding coordinates from applying the matrix. If the eigenvectors are the columns of \(\mathbf{Q}\), then the coordinate vector is \(\mathbf{Q}^{\top}\mathbf{x}\); after multiplying each coordinate by its eigenvalue, convert back to standard coordinates by multiplying by \(\mathbf{Q}\). In matrix form, this is \(\mathbf{A}\mathbf{x}=\mathbf{Q}\boldsymbol{\Lambda}\mathbf{Q}^{\top}\mathbf{x}\). The order matters: first move to eigenbasis coordinates, then scale, then return to standard coordinates.

1
Find the eigenbasis coordinates.
Compute \(c_i=\mathbf{q}_i^{\top}\mathbf{x}\) for each unit eigenvector.
2
Scale each coordinate.
Replace \(c_i\) with \(\lambda_i c_i\); a zero eigenvalue makes that component zero.
3
Return to standard coordinates.
Add the scaled vectors \(\lambda_i c_i\mathbf{q}_i\), or multiply the resulting coordinate vector by \(\mathbf{Q}\).
4
Check the image.
Multiply \(\mathbf{A}\mathbf{x}\) directly and compare the result with the eigenbasis calculation.

Worked Example: A Repeated Eigenvalue

Let \(\mathbf{A}=\begin{bmatrix}5&0&0\\0&5&0\\0&0&-2\end{bmatrix}\) and \(\mathbf{x}=\begin{bmatrix}3\\4\\1\end{bmatrix}\). The first two standard basis vectors are orthonormal eigenvectors with eigenvalue \(5\); the third is an eigenvector with eigenvalue \(-2\). Thus \(\mathbf{x}=3\mathbf{e}_1+4\mathbf{e}_2+\mathbf{e}_3\), and its image is

$$ \mathbf{A}\mathbf{x} =15\mathbf{e}_1+20\mathbf{e}_2-2\mathbf{e}_3 =\begin{bmatrix}15\\20\\-2\end{bmatrix}. $$

The first two coordinates together lie in the eigenspace for \(5\), so the entire component \(\begin{bmatrix}3\\4\\0\end{bmatrix}\) is scaled by \(5\), regardless of which orthonormal basis is chosen within that plane. The third component is reversed and doubled in length. Check: direct multiplication gives \(\begin{bmatrix}5&0&0\\0&5&0\\0&0&-2\end{bmatrix}\begin{bmatrix}3\\4\\1\end{bmatrix} =\begin{bmatrix}15\\20\\-2\end{bmatrix}\). The squared length is \(15^2+20^2+(-2)^2=629\); the formula gives \(5^2(3^2+4^2)+(-2)^2(1^2)=625+4=629\).

Common Mistake: Confusing Eigenbasis Coordinates with Vector Entries

The numbers \(c_i=\mathbf{q}_i^{\top}\mathbf{x}\) are coordinates relative to the eigenbasis, not generally the entries of \(\mathbf{x}\) in standard coordinates. A frequent error is to scale those numbers by the eigenvalues and then report the resulting list as the standard-coordinate image without converting back. In the first example, the eigenbasis coordinates of \(\mathbf{x}\) are \((\sqrt{2},\sqrt{2})\), and scaling them gives \((4\sqrt{2},2\sqrt{2})\). These are still eigenbasis coordinates; they are not the entries of the image. The correct conversion is \(4\sqrt{2}\mathbf{q}_1+2\sqrt{2}\mathbf{q}_2=\begin{bmatrix}6\\2\end{bmatrix}\).

A related error is to assume that every symmetric matrix simply multiplies every vector by one number. That conclusion holds only when all eigenvalues are equal. For example, in the first example the two perpendicular components are scaled by \(4\) and \(2\), so the total vector does not undergo one uniform scaling. The eigenbasis method avoids both mistakes by keeping the basis coordinates and standard coordinates distinct.

Eigenvalue on a directionEffect on its componentEffect on length
\(\lambda_i>0\)Direction along the eigenvector is retainedMultiplied by \(\lambda_i\)
\(\lambda_i<0\)Direction along the eigenvector is reversedMultiplied by \(|\lambda_i|\)
\(\lambda_i=0\)Component is sent to zeroBecomes zero
Equal eigenvalues on a subspaceEvery component in that subspace has the same scalingUniformly scaled by the absolute eigenvalue

The geometric viewpoint is useful whenever a matrix is given by an orthogonal diagonalization: it turns a matrix-vector product into a sequence of coordinate changes and independent one-dimensional scalings. It also makes length calculations transparent and reveals exactly which components are reversed or lost. The standard-coordinate matrix product remains the final check, but the eigenbasis explains why the result has the shape it does.

Check Your Understanding

Use the eigenbasis formula, and verify numerical images by direct multiplication when a matrix is given.

  1. If \(\mathbf{x}=2\mathbf{q}_1-\mathbf{q}_2\), with orthonormal eigenvectors having eigenvalues \(3\) and \(-4\), write \(\mathbf{A}\mathbf{x}\) in the same basis.
  2. For eigenvalues \(2,0,-3\) and eigenbasis coordinates \(1,5,-2\), compute the image’s eigenbasis coordinates and its squared length.
  3. Explain why a zero eigenvalue erases only the component in its eigendirection, not necessarily the whole vector.
  4. For \(\mathbf{A}=\begin{bmatrix}4&0\\0&-2\end{bmatrix}\) and \(\mathbf{x}=\begin{bmatrix}1\\3\end{bmatrix}\), compute the image and verify its squared length in two ways.
  5. Why must scaled eigenbasis coordinates be converted back before they can be reported as standard coordinates?

Test yourself: Linear Algebra final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon