Skip to content

Eigenvectors

Sweep an arrow round a circle, find the directions a matrix only stretches and never turns, and read each stretch factor from the picture.

Helps to know firstA gallery of linear maps

Helps to know first
This topic

First, the picture

Does a matrix turn every arrow? Guess first, then watch an arrow sweep round a circle while its image sweeps beside it.

Arrows that only stretch

A = [1.5 1; 0.5 1]. v runs round the unit circle, and Av round the oval A makes of it.

A unit arrow v and its image Av. Do the two ever lie on one line?

angle between v and Av
18.4°
0.00 / 10.80 s
Describe this picture

One panel with a dotted unit circle, and a dotted oval round which Av\mathbf{A}\mathbf{v} runs. The matrix A=[1.510.51]\mathbf{A}=\begin{bmatrix}1.5&1\\0.5&1\end{bmatrix} stays the same for the whole page. An arrow v\mathbf{v} of length 1 sweeps once round the circle in 8 s, and its image Av\mathbf{A}\mathbf{v} sweeps beside it. Whenever the two lie on one line through the origin, that line flashes and stays drawn, labelled with the stretch factor, ×2\times2 or ×0.5\times0.5. It happens four times: at 26.57° with factor 2, at 135° with factor 0.5, at 206.57° with factor 2 and at 315° with factor 0.5. So two lines are drawn in all, and the clip holds on them. A readout gives the angle between v\mathbf{v} and Av\mathbf{A}\mathbf{v}; on the two lines it reads 0°. The tip of v\mathbf{v} can be dragged round the circle, or turned with the arrow keys a degree at a time, which stops the sweep; it snaps onto a line when it comes within 1.5° of it.

Arrows that only stretch

Most arrows come out of a matrix turned. The picture at the top of the page shows it: as v\mathbf{v} goes round, its image Av\mathbf{A}\mathbf{v} runs ahead of it or lags behind, at an angle to it.

But not always. Twice in each half turn, the image lies on the same line as the arrow. At 26.57°, which is 0.4636 radians, the image points the same way and is twice as long. At 135°, or 3π/43\pi/4 radians, it points the same way and is half as long. On those two lines the matrix does not turn anything. It only stretches or shrinks.

Did you guess that such lines exist? Many people guess “never”, because most arrows turn. After the clip, drag v\mathbf{v} round the circle yourself and try to line it up with its image. The angle readout falls to 0° only on the two drawn lines.

Name it

Let me check the first line with numbers. The arrow at 26.57° points along (2,1)(2,1), because its slope is 1/21/2. The matrix sends it to

A[21]=[1.5⋅2+1⋅10.5⋅2+1⋅1]=[42]=2[21].\mathbf{A}\begin{bmatrix}2\\1\end{bmatrix}=\begin{bmatrix}1.5\cdot2+1\cdot1\\0.5\cdot2+1\cdot1\end{bmatrix}=\begin{bmatrix}4\\2\end{bmatrix}=2\begin{bmatrix}2\\1\end{bmatrix}.

The image is the arrow itself, twice as long. The arrow at 135° points along (1,−1)(1,-1), and A (1,−1)=(1.5−1, 0.5−1)=(0.5,−0.5)\mathbf{A}\,(1,-1)=(1.5-1,\ 0.5-1)=(0.5,-0.5), which is 0.5 (1,−1)0.5\,(1,-1): half as long, same direction.

An arrow that a matrix only stretches is called an eigenvector of the matrix, from the German eigen, “its own”. The stretch factor is its eigenvalue, written λ\lambda:

Av=λv,v≠0.\mathbf{A}\mathbf{v}=\lambda\mathbf{v},\qquad \mathbf{v}\neq\mathbf{0}.

So (2,1)(2,1) is an eigenvector of A\mathbf{A} with eigenvalue λ=2\lambda=2, and (1,−1)(1,-1) is one with λ=0.5\lambda=0.5.

An eigenvector is really a whole line, not one arrow. If Av=λv\mathbf{A}\mathbf{v}=\lambda\mathbf{v}, then for any number cc the rule from A matrix moves the plane gives

A(c v)=c Av=λ (c v).\mathbf{A}(c\,\mathbf{v})=c\,\mathbf{A}\mathbf{v}=\lambda\,(c\,\mathbf{v}).

So (4,2)(4,2) works too: A (4,2)=(8,4)=2 (4,2)\mathbf{A}\,(4,2)=(8,4)=2\,(4,2). That is why the picture draws lines, not arrows. Every arrow on the line, long or short, pointing either way, is stretched by the same factor.

Why leave out the zero vector? Because A0=0=λ0\mathbf{A}\mathbf{0}=\mathbf{0}=\lambda\mathbf{0} for every matrix and every λ\lambda. It would be an “eigenvector” of everything, with every factor, and tell us nothing.

Now an arrow that is not an eigenvector. Take (1,0)(1,0). The matrix sends it to (1.5,0.5)(1.5,0.5), which is not a multiple of (1,0)(1,0): its second entry is not zero. The image has turned from 0° to 18.43°.

The factor can be any number. A factor of 2 doubles the arrow; 0.5 halves it. A factor of 1 leaves the arrow exactly where it was. A factor of 0 crushes the whole line to the origin. A negative factor flips the arrow to point the other way along its line, so the angle readout would show 180°, not 0°. This matrix has no negative factor, which is why its readout reaches 0° on both lines.

Four pictures

Does every matrix have two such lines? Here are four matrices, each a simple map of the plane, to test the question on. For each, think about which arrows keep their line before you look.

  • A projection drops every point straight onto a line, here the line through (1,1)(1,1): Aproj=[0.50.50.50.5]\mathbf{A}_\text{proj}=\begin{bmatrix}0.5&0.5\\0.5&0.5\end{bmatrix}.
  • A reflection mirrors the plane in the same line: Arefl=[0110]\mathbf{A}_\text{refl}=\begin{bmatrix}0&1\\1&0\end{bmatrix}.
  • A rotation by 90° turns every arrow a quarter turn: Arot=[0−110]\mathbf{A}_\text{rot}=\begin{bmatrix}0&-1\\1&0\end{bmatrix}.
  • A shear slides each row of the grid sideways, by its height: Ashear=[1101]\mathbf{A}_\text{shear}=\begin{bmatrix}1&1\\0&1\end{bmatrix}.

Four pictures

Projection, reflection, rotation and shear, each from the square grid.

Four maps, one after another. Which arrows will keep their line under each?

tip of e_1
(1, 0)
tip of e_2
(0, 1)
0.00 / 24.20 s
Describe this picture

The same square panel, stepping through the four maps in turn: projection, reflection, rotation and shear. Each map moves the grid from its square starting place and then draws the lines its arrows keep, with each line’s factor. The projection draws the line through (1,1)(1,1) with factor 1 and the line through (1,−1)(1,-1) with factor 0. The reflection draws the same two lines, with factors 1 and −1-1. The rotation draws no line. The shear draws one line, through (1,0)(1,0), with factor 1. The reflection gets there by folding the plane across a dotted mirror line, through (1,1)(1,1): halfway it lies flat on the line for a moment, then opens out mirrored. A transport plays, pauses and steps through the four; there is no other control.

Projection. An arrow along (1,1)(1,1) is already on the line, so it stays: Aproj(1,1)=(1,1)\mathbf{A}_\text{proj}(1,1)=(1,1), factor 1. An arrow along (1,−1)(1,-1) sits at a right angle to the line, so it drops onto the origin: Aproj(1,−1)=(0,0)\mathbf{A}_\text{proj}(1,-1)=(0,0), factor 0.

Reflection. The mirror line keeps its arrows: Arefl(1,1)=(1,1)\mathbf{A}_\text{refl}(1,1)=(1,1), factor 1. An arrow at a right angle to the mirror flips: Arefl(1,−1)=(−1,1)\mathbf{A}_\text{refl}(1,-1)=(-1,1), factor −1-1. These are the projection’s two lines, with different factors.

Rotation. Every arrow turns by 90°, so no arrow stays on its own line. With numbers: Arot\mathbf{A}_\text{rot} sends (a,b)(a,b) to (−b,a)(-b,a). Multiply matching entries and add, a⋅(−b)+b⋅a=0a\cdot(-b)+b\cdot a=0, the right-angle test of Length and the dot product. The image is always at a right angle to the arrow, so this matrix has no real eigenvector at all. (Complex eigenvalues returns to this.)

Shear. The shear sends (x,y)(x,y) to (x+y, y)(x+y,\,y). An arrow on the horizontal axis has y=0y=0, so it stays: (1,0)(1,0) goes to (1,0)(1,0), factor 1. Any arrow with y≠0y\neq0 is pushed sideways off its line. So the shear has one line, not two.

So the answer is no. A 2×2 matrix can have two lines, one line, none, or, for a multiple of the identity, every line. And the two lines do not have to meet at a right angle. They do for the projection and the reflection, but the first matrix of this page has lines at 26.57° and 135°, which meet at 71.57°.

Worked example

Take A=[1.510.51]\mathbf{A}=\begin{bmatrix}1.5&1\\0.5&1\end{bmatrix}, the matrix of the first picture.

  1. The first line. A (2,1)=(3+1, 1+1)=(4,2)=2 (2,1)\mathbf{A}\,(2,1)=(3+1,\ 1+1)=(4,2)=2\,(2,1), so λ=2\lambda=2.
  2. The second line. A (1,−1)=(1.5−1, 0.5−1)=(0.5,−0.5)=0.5 (1,−1)\mathbf{A}\,(1,-1)=(1.5-1,\ 0.5-1)=(0.5,-0.5)=0.5\,(1,-1), so λ=0.5\lambda=0.5.
  3. Not an eigenvector. A (1,0)=(1.5,0.5)\mathbf{A}\,(1,0)=(1.5,0.5). It is not a multiple of (1,0)(1,0); it has turned by 18.43°.
  4. The whole line. A (4,2)=(8,4)=2 (4,2)\mathbf{A}\,(4,2)=(8,4)=2\,(4,2).
  5. Where the sweep lights. Two arrows (a,b)(a,b) and (c,d)(c,d) lie on one line when one is a multiple of the other, which is when ad−bc=0ad-bc=0. For v=(cos⁡θ,sin⁡θ)\mathbf{v}=(\cos\theta,\sin\theta) at angle θ\theta, the image is (1.5cos⁡θ+sin⁡θ, 0.5cos⁡θ+sin⁡θ)(1.5\cos\theta+\sin\theta,\ 0.5\cos\theta+\sin\theta), and the test gives 0.5cos⁡2θ−0.5sin⁡θcos⁡θ−sin⁡2θ=00.5\cos^2\theta-0.5\sin\theta\cos\theta-\sin^2\theta=0. Divide by −cos⁡2θ-\cos^2\theta: tan⁡2θ+0.5tan⁡θ−0.5=0\tan^2\theta+0.5\tan\theta-0.5=0, so tan⁡θ=0.5\tan\theta=0.5 or tan⁡θ=−1\tan\theta=-1. Those are the angles 26.57° and 135°, and half a turn later, 206.57° and 315°.
  6. Why the lines are worth finding. Write (5,1)(5,1) as steps along the two lines: (5,1)=2 (2,1)+1 (1,−1)(5,1)=2\,(2,1)+1\,(1,-1). The matrix only stretches each piece, so
A[51]=2⋅2[21]+0.5[1−1]=[84]+[0.5−0.5]=[8.53.5].\mathbf{A}\begin{bmatrix}5\\1\end{bmatrix}=2\cdot2\begin{bmatrix}2\\1\end{bmatrix}+0.5\begin{bmatrix}1\\-1\end{bmatrix}=\begin{bmatrix}8\\4\end{bmatrix}+\begin{bmatrix}0.5\\-0.5\end{bmatrix}=\begin{bmatrix}8.5\\3.5\end{bmatrix}.

The direct way agrees: (1.5⋅5+1, 0.5⋅5+1)=(8.5,3.5)(1.5\cdot5+1,\ 0.5\cdot5+1)=(8.5,3.5). Once an arrow is split along the eigenvectors, the matrix is only two stretches. The page Diagonalisation and matrix powers builds on this.

Try these before you read the answers.

  • Is (1,1)(1,1) an eigenvector of [2112]\begin{bmatrix}2&1\\1&2\end{bmatrix}? Yes: it goes to (3,3)=3 (1,1)(3,3)=3\,(1,1).
  • If Av=3v\mathbf{A}\mathbf{v}=3\mathbf{v}, what is A(2v)\mathbf{A}(2\mathbf{v})? It is 6v6\mathbf{v}, because the whole line stretches by 3.
  • Which directions does [300−2]\begin{bmatrix}3&0\\0&-2\end{bmatrix} keep, and with which factors? The horizontal axis, with 3, and the vertical axis, with −2-2: (0,1)(0,1) goes to (0,−2)(0,-2), flipped.

Notice one more thing about the first matrix. Its diagonal entries add up to 1.5+1=2.51.5+1=2.5, and its two factors add up to 2+0.5=2.52+0.5=2.5 too. That is not luck. The page Finding eigenvalues explains it.

Where you’ll meet this

A guitar body or a bridge vibrates in a few special shapes, called modes. Each mode is an eigenvector of the matrix that describes how the parts push on one another, and its eigenvalue sets how fast that mode vibrates.

Whether a feedback system settles down or runs away is read from its eigenvalues. A web search engine once ranked pages by the eigenvector with eigenvalue 1 of a matrix built from the links between pages.

In signal processing · frequency response

A spinning point ejΩne^{j\Omega n} goes into a linear time-invariant system and comes out as the same spinning point times one number, H(ejΩ)H(e^{j\Omega}). That is Av=λv\mathbf{A}\mathbf{v}=\lambda\mathbf{v} again: the spinning point is an eigenvector of every stable system of this kind, and the frequency response is its eigenvalue. The page Properties of LTI systems shows it, and the page Frequency response of discrete-time systems measures the factor at every Ω\Omega.

Reference card

QuantityFormulaNotes
EigenvectorAv=λv\mathbf{A}\mathbf{v}=\lambda\mathbf{v}, v≠0\mathbf{v}\neq\mathbf{0}a direction the matrix only stretches
Eigenvalueλ\lambda, the stretch factor2 doubles, 0.5 halves, 0 crushes, negative flips
Whole lineA(cv)=λ(cv)\mathbf{A}(c\mathbf{v})=\lambda(c\mathbf{v})every multiple works
Example[1.510.51]\begin{bmatrix}1.5&1\\0.5&1\end{bmatrix}(2,1)(2,1) with 2; (1,−1)(1,-1) with 0.5
ProjectionAproj=[0.50.50.50.5]\mathbf{A}_\text{proj}=\begin{bmatrix}0.5&0.5\\0.5&0.5\end{bmatrix}(1,1)(1,1) with 1; (1,−1)(1,-1) with 0
ReflectionArefl=[0110]\mathbf{A}_\text{refl}=\begin{bmatrix}0&1\\1&0\end{bmatrix}(1,1)(1,1) with 1; (1,−1)(1,-1) with −1-1
Rotation by 90°Arot=[0−110]\mathbf{A}_\text{rot}=\begin{bmatrix}0&-1\\1&0\end{bmatrix}no real eigenvector
ShearAshear=[1101]\mathbf{A}_\text{shear}=\begin{bmatrix}1&1\\0&1\end{bmatrix}one line, (1,0)(1,0) with 1

Keep reading with a free account.

By creating an account you accept the terms of use.

Sign in

Already have an account? Use the service you signed up with.

Or keep reading: get new lessons by email

Are you 13 or over?

Accounts and email updates are for people aged 13 or over. We keep only your answer, never your date of birth.

End of the lesson

Where to go next.

Phasorium

Account

Sign inKeep your place on any device

Subjects

Site

Look