Skip to main content

Eigenvalues and eigenvectors

Author
Affiliation

Department of Economics, University of Houston

Published

November 30, 2026

Part of Math Camp: An Introduction to Mathematics and Statistics with Applications in Economics.
Main Stam4Econ site | View this section in the book | Author: Fan Wang | DOI: 10.5281/zenodo.24696926
Date: 2026-11-30 | HTML | PDF | QMD

1 Eigenvalues and eigenvectors

1.1 Transforming a vector, scale, rotate, and shear

Given matrix \(A\) and vector \(v\), when we multiply \(A\) by \(v\), we get another vector \(Av\). This is called a linear transformation of the vector \(v\) by the matrix \(A\). The resulting vector \(Av\) may have a different direction and magnitude than the original vector \(v\).

What does linear transformation mean? It means that the transformation preserves the operations of vector addition and scalar multiplication. Specifically, for any vectors \(u\) and \(v\), and any scalar \(c\). Suppose we are dealing with 2 dimensions. Let \(v\) be a two dimensional vector, and let \(A\) be a 2 by 2 matrix.\(v\) marks the position of a point in the 2D space, and \(Av\) marks the position of another point in the 2D space. The transformation from \(v\) to \(Av\) can be visualized as a mapping from one point to another point in the 2D space.

Suppose we have a vector \(v = [1,1]\), matrix \(A\) would be scaling the vector \(v\) if matrix \(A\) is a diagonal matrix, such as:

\[ A = \begin{bmatrix} 2 & 0 \\ 0 & 3 \end{bmatrix} \]

Then the transformation \(Av\) would be:

\[ Av = \begin{bmatrix} 2 & 0 \\ 0 & 3 \end{bmatrix} \begin{bmatrix} 1 \\ 1 \end{bmatrix} = \begin{bmatrix} 2 \\ 3 \end{bmatrix} \]

In this case, the two coordinates are scaled by different amounts, which changes both the vector’s magnitude and direction.

How do we reflect the vector \(v\) across the x-axis? We can use the following matrix:

\[ A = \begin{bmatrix} 1 & 0 \\ 0 & -1 \end{bmatrix} \]

Then the transformation \(Av\) would be:

\[ Av = \begin{bmatrix} 1 & 0 \\ 0 & -1 \end{bmatrix} \begin{bmatrix} 1 \\ 1 \end{bmatrix} = \begin{bmatrix} 1 \\ -1 \end{bmatrix} \]

This is a reflection of the vector \(v\) across the x-axis.

What do the cross-diagonal elements do? The cross-diagonal elements are responsible for shearing the vector \(v\). For example, if we have the following matrix:

\[ A = \begin{bmatrix} 1 & 1 \\ 0 & 1 \end{bmatrix} \]

Then the transformation \(Av\) would be:

\[ Av = \begin{bmatrix} 1 & 1 \\ 0 & 1 \end{bmatrix} \begin{bmatrix} 1 \\ 1 \end{bmatrix} = \begin{bmatrix} 2 \\ 1 \end{bmatrix} \]

This is a shear transformation of the vector \(v\). Shearing means that the shape of the object is distorted, but the area remains the same (\(\det(A)=1\)).

1.2 The geometries of eigenvalues, eigenvectors, and determinant

Eigen means “own” in German. So eigenvalues means ownvalues, and eigenvectors means ownvectors. The eigenvalues and eigenvectors of a square matrix \(A\) are defined as follows:

\[ A v = \lambda v \]

where \(v\) is a non-zero vector (the eigen vector), and \(\lambda\) is a scalar (the eigen value). This equation means that when we multiply the matrix \(A\) by the eigen vector \(v\), the result is a scaled version of the same vector \(v\), scaled by the eigen value \(\lambda\).

How do we use determinant to find eigenvalues? We can rearrange the equation above as follows:

\[ (A - \lambda I) v = 0 \]

where \(I\) is the identity matrix. This equation means that the matrix \((A - \lambda I)\) transforms the vector \(v\) into the zero vector. For this equation to have a non-trivial solution (i.e., a non-zero vector \(v\)), the matrix \((A - \lambda I)\) must be singular and not full-rank, which means that its determinant is zero:

\[ \text{det}(A - \lambda I) = 0 \]

How to compute the determinant of a 2 by 2 matrix? For a 2 by 2 matrix:

\[ Z = \begin{bmatrix} a & b \\ c & d \end{bmatrix} \] the determinant is given by:

\[ \text{det}(Z) = ad - bc \]

What does determinant capture? The determinant of a matrix captures the scaling factor of the area (in 2D) or volume (in 3D) when the matrix is used as a linear transformation. If the determinant is zero, it means that the transformation collapses the space into a lower dimension, resulting in zero area or volume. So determinant is how much the area or volume is scaled by the transformation.

1.3 Solving for eigenvalues and associated eigenvectors

To solve for eigenvalues, we solve for values of \(\lambda\) when the matrix \(A-\lambda I\) would be singular, with a determinant of zero. We will in the example here find two eigenvalues, \(\lambda_1\) and \(\lambda_2\), for a 2 by 2 matrix \(A\). Associated with these eigenvalues are two sets of continuum of eigenvectors that are scalar multiples of each other. It will always be the case that for each eigenvalue, there is an infinite number of eigenvectors that are scalar multiples of each other that satisfy the eigen \(A v = \lambda v\) equation.

First, suppose we have the following matrix:

\[ A = \begin{bmatrix} 4 & 2 \\ 1 & 3 \end{bmatrix} \]

To find the eigenvalues, set up the equation:

\[ \text{det}(A - \lambda I) = 0 \]

So,

\[ A - \lambda I = \begin{bmatrix} 4 - \lambda & 2 \\ 1 & 3 - \lambda \end{bmatrix} \]

Second, we solve for the determinant. The determinant is:

\[ (4 - \lambda)(3 - \lambda) - (2)(1) = 0 \]

Expanding:

\[ (4 - \lambda)(3 - \lambda) - 2 = 0 \\ (12 - 4\lambda - 3\lambda + \lambda^2) - 2 = 0 \\ \lambda^2 - 7\lambda + 10 = 0 \]

Third, we find the eigenvalues. Solving the quadratic equation:

\[ \lambda^2 - 7\lambda + 10 = 0 \]

The solutions are:

\[ \lambda = 5 \quad \text{and} \quad \lambda = 2 \]

These are the eigenvalues of \(A\). To find the corresponding eigenvectors, substitute each eigenvalue back into \((A - \lambda I)v = 0\) and solve for \(v\). The eigenvectors corresponding to each eigenvalue can be found by solving the following systems:

Fourth, for \(\lambda = 5\), we find its associated eigenvector by substituting into the equation:

\[ A - 5I = \begin{bmatrix} 4 - 5 & 2 \\ 1 & 3 - 5 \end{bmatrix} = \begin{bmatrix} -1 & 2 \\ 1 & -2 \end{bmatrix} \]

Set up the equation: \[ \begin{bmatrix} -1 & 2 \\ 1 & -2 \end{bmatrix} \begin{bmatrix} v_1 \\ v_2 \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix} \]

This gives the system: \[ -1 v_1 + 2 v_2 = 0 \\ 1 v_1 - 2 v_2 = 0 \]

Both equations are equivalent. Solving for \(v_1\) in terms of \(v_2\): \[ -1 v_1 + 2 v_2 = 0 \implies v_1 = 2 v_2 \]

So, any nonzero scalar multiple of \(\begin{bmatrix} 2 \\ 1 \end{bmatrix}\) is an eigenvector for \(\lambda = 5\).

Fifth, we find the eigenvector for \(\lambda = 2\):

\[ A - 2I = \begin{bmatrix} 4 - 2 & 2 \\ 1 & 3 - 2 \end{bmatrix} = \begin{bmatrix} 2 & 2 \\ 1 & 1 \end{bmatrix} \]

Set up the equation: \[ \begin{bmatrix} 2 & 2 \\ 1 & 1 \end{bmatrix} \begin{bmatrix} v_1 \\ v_2 \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix} \]

This gives the system: \[ 2 v_1 + 2 v_2 = 0 \\ v_1 + v_2 = 0 \]

Both equations are equivalent. Solving for \(v_1\) in terms of \(v_2\): \[ v_1 + v_2 = 0 \implies v_1 = -v_2 \]

So, any nonzero scalar multiple of \(\begin{bmatrix} -1 \\ 1 \end{bmatrix}\) is an eigenvector for \(\lambda = 2\).