Independent study guide

Eigenvectors and Eigenvalues: See the Geometry

Find eigenvalues and eigenspaces, then diagonalize a matrix and calculate its powers. Four worked examples and eleven questions with hints and explained solutions.

Nablio · 55 minPublished

Return to McGill MATH 133 course guide

Stuck on a step? Text us Email us Request a lesson

A matrix usually changes both the length and direction of a vector. An eigenvector is a nonzero input that stays on its own line through the origin. Its eigenvalue tells you how the matrix scales it, including whether the arrow reverses or collapses to zero.

By the end, you should be able to recognize an eigenvector geometrically, find eigenvalues and eigenspaces for a small matrix, and check every proposed answer in the original equation. You will work through two examples, compare repeated eigenvalues, then try five questions with optional hints and explained answers.

You should know matrix–vector multiplication, a two-by-two determinant and how to solve a homogeneous linear system. Revisit row operations and solution sets if needed. We use real matrices, real eigenvalues and real column vectors in this lesson; the last question explains why that choice matters.

1. What stays the same?

For a square matrix AA, a vector v\mathbf v is an eigenvector with eigenvalue λ\lambda when

Av=λv,v≠0.A\mathbf v=\lambda\mathbf v,\qquad \mathbf v\ne\mathbf0.

Here AvA\mathbf v is matrix–vector multiplication and λv\lambda\mathbf v multiplies every component of the vector by the same real number. For example, v=(xy)\mathbf v=\begin{pmatrix}x\\y\end{pmatrix} is a column vector; its image under AA is another column vector.

  • If λ>0\lambda>0, the output points the same way as the input.
  • If λ<0\lambda<0, the output points the opposite way, along the same line.
  • If λ=0\lambda=0, the output is the zero vector, which has no direction. The input can still be an eigenvector.

The length is multiplied by ∣λ∣|\lambda|. It grows when ∣λ∣>1|\lambda|>1, shrinks when 0<∣λ∣<10<|\lambda|<1, and is unchanged when ∣λ∣=1|\lambda|=1. Thus “preserves direction” needs care: the line is preserved, but the arrow can reverse, and a zero output has no arrow direction.

For the diagonal matrix below, the horizontal and vertical axes are eigendirections:

D=(200−1).D=\begin{pmatrix}2&0\\0&-1\end{pmatrix}.

Three equal-scale coordinate panels for D with diagonal entries 2 and negative 1. The vector (1,0) maps to (2,0) on the same horizontal line. The vector (0,1) maps to (0,negative 1) on the same vertical line with reversed orientation. The vector (1,1) maps to (2,negative 1), leaving its original line.
Blue arrows are inputs; orange arrows are outputs. Solid and dashed strokes also distinguish them. Every arrow begins at the origin. The third pair shows why an arbitrary vector need not be an eigenvector.

Indeed, D(11)=(2−1)D\begin{pmatrix}1\\1\end{pmatrix}=\begin{pmatrix}2\\-1\end{pmatrix}. No single multiplier changes both input components to those outputs, so this vector is not an eigenvector.

If v\mathbf v is an eigenvector, every nonzero multiple cvc\mathbf v is one too, with the same eigenvalue, because A(cv)=cAv=λ(cv)A(c\mathbf v)=cA\mathbf v=\lambda(c\mathbf v). An eigenvector therefore need not be a unit vector, and there is usually no single preferred length.

2. Find the number, then the vectors

Rearrange the eigenvector equation using the identity matrix II, which leaves a vector unchanged:

Av=λv  ⟺  (A−λI)v=0.A\mathbf v=\lambda\mathbf v\iff(A-\lambda I)\mathbf v=\mathbf0.

For an nn-by-nn matrix, this homogeneous system has a nonzero solution exactly when A−λIA-\lambda I is singular, meaning it is not invertible. The determinant detects that condition:

det⁡(A−λI)=0.\boxed{\det(A-\lambda I)=0.}

This is the characteristic equation. It finds eigenvalues, not eigenvectors. Subtract λ\lambda only from the diagonal entries. In two dimensions,

A=(abcd)A=\begin{pmatrix}a&b\\c&d\end{pmatrix}

gives

det⁡(A−λI)=(a−λ)(d−λ)−bc.\begin{aligned}&\det(A-\lambda I)\\&=(a-\lambda)(d-\lambda)-bc.\end{aligned}

  1. Find the eigenvalues. Solve the characteristic equation.
  2. Find the vectors for each value. Substitute that value into (A−λI)v=0(A-\lambda I)\mathbf v=\mathbf0, then solve the system. Keep the free parameters.
  3. Separate the space from its eigenvectors. The solution set Eλ=ker⁡(A−λI)E_\lambda=\ker(A-\lambda I) is the eigenspace. The kernel means all vectors sent to zero by that matrix. The eigenspace includes zero; its nonzero vectors are the eigenvectors.
  4. Check in the original matrix. Compute AvA\mathbf v and λv\lambda\mathbf v independently. All components must agree, and v\mathbf v must be nonzero.

3. Worked example: two eigendirections

Find all eigenvalues and eigenvectors of

A=(3113).A=\begin{pmatrix}3&1\\1&3\end{pmatrix}.

  1. Find the two eigenvalues

    det⁡(A−λI)=(3−λ)2−1=(λ−4)(λ−2).\begin{aligned}\det(A-\lambda I)&=(3-\lambda)^2-1\\&=(\lambda-4)(\lambda-2).\end{aligned}

    Setting this to zero gives λ=4\lambda=4 and λ=2\lambda=2.

  2. Solve the system for each eigenvalue

    For λ=4\lambda=4,

    (A−4I)v=(−111−1)(xy)=0.\begin{aligned}&(A-4I)\mathbf v\\&=\begin{pmatrix}-1&1\\1&-1\end{pmatrix}\begin{pmatrix}x\\y\end{pmatrix}=\mathbf0.\end{aligned}

    Both equations say y=xy=x, so

    E4={t(11):t∈R}.E_4=\left\{t\begin{pmatrix}1\\1\end{pmatrix}:t\in\mathbb R\right\}.

    For λ=2\lambda=2,

    (A−2I)v=(1111)(xy)=0.(A-2I)\mathbf v=\begin{pmatrix}1&1\\1&1\end{pmatrix}\begin{pmatrix}x\\y\end{pmatrix}=\mathbf0.

    Now both equations say y=−xy=-x, so

    E2={t(1−1):t∈R}.E_2=\left\{t\begin{pmatrix}1\\-1\end{pmatrix}:t\in\mathbb R\right\}.

    Each eigenspace is a line through the origin. To list its eigenvectors, require t≠0t\ne0. The parameter can be positive or negative.

  3. Check one nonzero vector on each line

    A(11)=(44)=4(11),A\begin{pmatrix}1\\1\end{pmatrix}=\begin{pmatrix}4\\4\end{pmatrix}=4\begin{pmatrix}1\\1\end{pmatrix},

    A(1−1)=(2−2)=2(1−1).A\begin{pmatrix}1\\-1\end{pmatrix}=\begin{pmatrix}2\\-2\end{pmatrix}=2\begin{pmatrix}1\\-1\end{pmatrix}.

    Linearity extends each check to every scalar multiple on that line. These are all eigenvectors, because the characteristic equation has no other roots and each associated system has been solved completely.

Equal-scale axes show the eigenspaces y equals x and y equals negative x for A. The input v1=(1,1) maps to Av1=(4,4), four times as far along its line. The input v2=(1,negative 1) maps to Av2=(2,negative 2), twice as far along its line. All arrows start at the origin.
The eigenvalues describe scaling along two different lines. They are not the coordinates of the eigenvectors. The axes use the same unit length. Blue solid arrows are inputs; orange dashed arrows are outputs.

The vector (10)\begin{pmatrix}1\\0\end{pmatrix} is not on either line. Its image (31)\begin{pmatrix}3\\1\end{pmatrix} is not a scalar multiple of it. Two eigendirections do not make every vector an eigenvector.

4. Worked example: a zero eigenvalue

Projection onto the horizontal axis is represented by

P=(1000),P=\begin{pmatrix}1&0\\0&0\end{pmatrix},

P(xy)=(x0).P\begin{pmatrix}x\\y\end{pmatrix}=\begin{pmatrix}x\\0\end{pmatrix}.

The characteristic equation is (1−λ)(−λ)=0(1-\lambda)(-\lambda)=0, so the eigenvalues are 11 and 00.

  • For λ=1\lambda=1, solve (P−I)v=0(P-I)\mathbf v=\mathbf0. It gives y=0y=0: every nonzero horizontal vector stays unchanged.
  • For λ=0\lambda=0, solve Pv=0P\mathbf v=\mathbf0. It gives x=0x=0: every nonzero vertical vector collapses to the origin.

For example,

P(02)=(00)=0(02).P\begin{pmatrix}0\\2\end{pmatrix}=\begin{pmatrix}0\\0\end{pmatrix}=0\begin{pmatrix}0\\2\end{pmatrix}.

The input is nonzero, so it qualifies. The zero output has no direction; we do not call it an eigenvector. More generally, zero is an eigenvalue of a square matrix exactly when the matrix is singular. Its eigenspace for eigenvalue zero is its kernel.

Projection does not make every input an eigenvector: P(11)=(10)P\begin{pmatrix}1\\1\end{pmatrix}=\begin{pmatrix}1\\0\end{pmatrix}, which is not a multiple of the input.

5. What a repeated eigenvalue does not tell you

In the plane, two nonzero vectors are linearly independent when neither is a scalar multiple of the other. A basis of a space is a set of independent vectors whose scalar multiples can be added to produce every vector in that space, uniquely. One nonzero vector forms a basis of a line; two independent vectors form a basis of the plane. Their dimensions are one and two, respectively.

Compare

B=(2102),B=\begin{pmatrix}2&1\\0&2\end{pmatrix},

C=(2002).C=\begin{pmatrix}2&0\\0&2\end{pmatrix}.

Both have characteristic equation (2−λ)2=0(2-\lambda)^2=0. The root 22 occurs twice, so its algebraic multiplicity is two. That does not tell you how many independent eigenvectors exist.

  • For BB, the system (B−2I)v=0(B-2I)\mathbf v=\mathbf0 gives y=0y=0. Its eigenspace is one line, with basis {(10)}\left\{\begin{pmatrix}1\\0\end{pmatrix}\right\}.
  • For CC, the matrix C−2IC-2I is zero. Every real vector solves the system, so its eigenspace is the whole plane. Every nonzero vector is an eigenvector.

The dimension of an eigenspace is the eigenvalue’s geometric multiplicity: one for BB, two for CC. There are infinitely many eigenvectors in each case; the difference is the maximum number of linearly independent eigenvectors you can choose from that eigenspace. You must solve the system to find it.

Diagonalization means choosing a basis in which the same linear map has a diagonal matrix. A two-by-two real matrix can be diagonalized over the real numbers exactly when it has two linearly independent real eigenvectors. Thus BB cannot be diagonalized, while CC is already diagonal. A repeated eigenvalue alone settles neither outcome.

6. Five questions to try

Keep the answers closed at first. Start with direct checks, then find a complete eigenspace, diagnose a misleading shortcut and try a rotation. The hints are separate from the answers.

Question 1: one multiplier for the whole vector

For D=(−2003)D=\begin{pmatrix}-2&0\\0&3\end{pmatrix}, decide which inputs below are eigenvectors. For each one that qualifies, give its eigenvalue.

a=(10),b=(0−2),\mathbf a=\begin{pmatrix}1\\0\end{pmatrix},\quad\mathbf b=\begin{pmatrix}0\\-2\end{pmatrix},

c=(11),d=(00).\mathbf c=\begin{pmatrix}1\\1\end{pmatrix},\quad\mathbf d=\begin{pmatrix}0\\0\end{pmatrix}.

Show a hint for question 1

Compute every output. A negative component in the input does not by itself make the eigenvalue negative. Exclude the zero input before comparing vectors.

Show the answer and reasoning for question 1

Da=(−20)=−2aD\mathbf a=\begin{pmatrix}-2\\0\end{pmatrix}=-2\mathbf a, so a\mathbf a has eigenvalue −2-2. Also Db=(0−6)=3bD\mathbf b=\begin{pmatrix}0\\-6\end{pmatrix}=3\mathbf b, so b\mathbf b has eigenvalue 33; the output points the same way as this downward input.

For c\mathbf c, the output is (−23)\begin{pmatrix}-2\\3\end{pmatrix}. The first component would require multiplier −2-2, the second 33, so there is no eigenvalue for that input. The vector d\mathbf d is excluded by definition.

Question 2: find and check both eigenspaces

Find all eigenvalues and eigenvectors of T=(1203)T=\begin{pmatrix}1&2\\0&3\end{pmatrix}. Explain why the second coordinate axis is not an eigendirection, even though the matrix is triangular.

Show a hint for question 2

The determinant is the product of the diagonal entries of T−λIT-\lambda I. For each root, solve both equations and retain a free parameter.

Show the answer and reasoning for question 2

det⁡(T−λI)=(1−λ)(3−λ)\det(T-\lambda I)=(1-\lambda)(3-\lambda), so the eigenvalues are 11 and 33. For λ=1\lambda=1, the system gives y=0y=0. For λ=3\lambda=3, it gives −2x+2y=0-2x+2y=0, hence y=xy=x.

All eigenvectors are t(10)t\begin{pmatrix}1\\0\end{pmatrix} for eigenvalue 11, or t(11)t\begin{pmatrix}1\\1\end{pmatrix} for eigenvalue 33, with t≠0t\ne0. Direct checks give T(10)=(10)T\begin{pmatrix}1\\0\end{pmatrix}=\begin{pmatrix}1\\0\end{pmatrix} and T(11)=(33)T\begin{pmatrix}1\\1\end{pmatrix}=\begin{pmatrix}3\\3\end{pmatrix}.

But T(01)=(23)T\begin{pmatrix}0\\1\end{pmatrix}=\begin{pmatrix}2\\3\end{pmatrix}, which leaves the vertical axis. For a triangular matrix, the diagonal entries are its eigenvalues; the coordinate vectors need not all be eigenvectors.

Question 3: can a whole plane collapse?

For the two-by-two zero matrix ZZ, find all eigenvalues and eigenvectors. Is its zero-eigenspace just the zero vector?

Show a hint for question 3

For a nonzero input, solve 0=λv\mathbf0=\lambda\mathbf v. Then distinguish the full solution space from the allowed eigenvectors.

Show the answer and reasoning for question 3

Every input maps to zero. Since v≠0\mathbf v\ne\mathbf0, the equation forces λ=0\lambda=0, the only eigenvalue. Its eigenspace is all of R2\mathbb R^2, and its eigenvectors are all nonzero real two-component vectors. The eigenspace includes zero, but the eigenvector list does not. Here the root has algebraic and geometric multiplicity two.

Question 4: two vectors or two independent directions?

A student finds the repeated eigenvalue 22 for BB from section 5 and proposes (10)\begin{pmatrix}1\\0\end{pmatrix} and (20)\begin{pmatrix}2\\0\end{pmatrix} as “two independent eigenvectors.” Check the vectors and correct the conclusion about diagonalization.

Show a hint for question 4

Both vectors can pass the eigenvector equation while failing a different requirement. Can one be made by scaling the other?

Show the answer and reasoning for question 4

Both are eigenvectors with eigenvalue 22, but the second is twice the first. They are linearly dependent. Since (B−2I)v=0(B-2I)\mathbf v=\mathbf0 forces y=0y=0, every eigenvector lies on this same line. No second independent eigenvector exists, so BB cannot be diagonalized. Choosing another length cannot create another independent direction.

Question 5: a rotation with no real eigendirection

The matrix R=(0−110)R=\begin{pmatrix}0&-1\\1&0\end{pmatrix} rotates the plane by a quarter-turn counterclockwise. Does it have a real eigenvalue? Explain with both its characteristic equation and its geometry.

Show a hint for question 5

Find det⁡(R−λI)\det(R-\lambda I). A nonzero arrow rotated by a quarter-turn cannot stay on its original line.

Show the answer and reasoning for question 5

det⁡(R−λI)=λ2+1\det(R-\lambda I)=\lambda^2+1, which is positive for every real λ\lambda. There are no real roots, so there are no real eigenvalues or real eigenvectors. Geometrically, every nonzero arrow turns onto a perpendicular line; none collapses to zero. Over the complex numbers the roots are ii and −i-i, where i2=−1i^2=-1, but complex eigenvectors are outside the real-plane picture used here.

Diagonalization workshop: build the basis, check the factorization, use the powers

Continue after the five core questions. Diagonalization turns the eigendirections you found into a coordinate system for the same transformation. This original workshop adds two worked examples and six progressive exercises. Review the bases and coordinates workshop if matrix order or coordinate columns are unfamiliar. Allow additional study time beyond the core lesson.

McGill’s departmental description of MATH 133 lists eigenvalues and diagonalization. These are selected practice tasks, not a complete exam syllabus or a prediction of assessed questions. Follow your section’s current instructions. All matrices and bases here are real.

Why the factorization works

For an nn-by-nn matrix AA, choose nn linearly independent eigenvectors v1,…,vnv_1,\ldots,v_n. Put their standard coordinates in the columns of SS, and put their matching eigenvalues in the same order on the diagonal of DD:

S=[v1 ⋯ vn],D=diag⁡(λ1,…,λn).S=[v_1\ \cdots\ v_n],\qquad D=\operatorname{diag}(\lambda_1,\ldots,\lambda_n).

The jjth column of ASAS is AvjAv_j. The jjth column of SDSD is λjvj\lambda_jv_j. The eigenvector equations therefore give

AS=SD.AS=SD.

Independence makes SS invertible. Multiplying this equation on the appropriate side gives both useful forms:

S−1AS=D,A=SDS−1.S^{-1}AS=D,\qquad A=SDS^{-1}.

Read the second formula from right to left: S−1S^{-1} finds eigenbasis coordinates, DD scales each coordinate separately, and SS reconstructs the output in standard coordinates. The matrix DD represents the same linear transformation in the eigenbasis. Changing coordinates does not itself apply the transformation.

Conversely, if SS is invertible and S−1ASS^{-1}AS is diagonal, multiplying by SS shows that the columns of S are independent eigenvectors. Thus diagonalization over the reals is possible exactly when there is a full real eigenbasis. Having nn distinct real eigenvalues is sufficient, but not necessary. A repeated eigenvalue requires checking its eigenspace.

Return to the existing comparison of B and C: every eigenvector of B lies on one line, so every attempted two-column eigenvector matrix is singular. There is no inverse to use. Choosing a different nonzero multiple cannot repair the missing direction. For C, two independent directions are available despite the repeated eigenvalue.

Worked example 1: complete the geometric example

Section 3 found the eigenpairs of AA. Now turn them into a checked factorization:

A=[3113],v1=[11],v2=[1−1].A=\begin{bmatrix}3&1\\1&3\end{bmatrix},\quad v_1=\begin{bmatrix}1\\1\end{bmatrix},\quad v_2=\begin{bmatrix}1\\-1\end{bmatrix}.

The eigenvalues are 44 for v1v_1 and 22 for v2v_2. Therefore

S=[111−1],D=[4002].S=\begin{bmatrix}1&1\\1&-1\end{bmatrix},\qquad D=\begin{bmatrix}4&0\\0&2\end{bmatrix}.

First check the basis: det⁡S=−2≠0\det S=-2\ne0. The two-by-two inverse formula gives

S−1=12[111−1].S^{-1}=\frac12\begin{bmatrix}1&1\\1&-1\end{bmatrix}.

Next check the column equations and then the diagonal result:

AS=[424−2]=SD.AS=\begin{bmatrix}4&2\\4&-2\end{bmatrix}=SD.

S−1AS=12[8004]=D.S^{-1}AS=\frac12\begin{bmatrix}8&0\\0&4\end{bmatrix}=D.

This verifies the order of the factors as well as the arithmetic. Here the columns of S are orthogonal but not unit vectors, so its inverse is half of S, not its transpose.

What happens to x=(3,1)Tx=(3,1)^T? The superscript TT means transpose, so this notation describes a column. Compute the three stages:

c=S−1x=[21],Dc=[82].c=S^{-1}x=\begin{bmatrix}2\\1\end{bmatrix},\qquad Dc=\begin{bmatrix}8\\2\end{bmatrix}.

Ax=S(Dc)=8v1+2v2=[106].Ax=S(Dc)=8v_1+2v_2=\begin{bmatrix}10\\6\end{bmatrix}.

Direct multiplication by A also gives (10,6)T(10,6)^T. The input was 2v1+v22v_1+v_2: the first coefficient was multiplied by 4 and the second by 2. The coefficients changed because the transformation was applied; neither basis vector had to be a standard coordinate axis.

Worked example 2: a power without repeated matrix multiplication

Consider the nonsymmetric matrix

M=[230−1].M=\begin{bmatrix}2&3\\0&-1\end{bmatrix}.

Its characteristic equation is (2−λ)(−1−λ)=0(2-\lambda)(-1-\lambda)=0. For λ=2\lambda=2, the eigenvector equations force y=0y=0; choose u1=(1,0)Tu_1=(1,0)^T. For λ=−1\lambda=-1, they give x+y=0x+y=0; choose u2=(−1,1)Tu_2=(-1,1)^T. These vectors are independent. Use a new S and D for this example:

S=[1−101],S−1=[1101],D=[200−1].S=\begin{bmatrix}1&-1\\0&1\end{bmatrix},\quad S^{-1}=\begin{bmatrix}1&1\\0&1\end{bmatrix},\quad D=\begin{bmatrix}2&0\\0&-1\end{bmatrix}.

The determinant of S is 1, and Mu1=2u1Mu_1=2u_1, Mu2=−u2Mu_2=-u_2. Thus MS=SDMS=SD and M=SDS−1M=SDS^{-1}. This basis is not orthogonal; diagonalization does not require orthogonality.

In a power, adjacent inverse factors cancel:

M2=SD(S−1S)DS−1=SD2S−1.M^2=SD(S^{-1}S)DS^{-1}=SD^2S^{-1}.

Repeating this argument gives Mn=SDnS−1M^n=SD^nS^{-1} for every nonnegative integer nn, including n=0n=0, where both sides are the identity. Only the diagonal entries need powers:

Dn=[2n00(−1)n].D^n=\begin{bmatrix}2^n&0\\0&(-1)^n\end{bmatrix}.

Multiplication yields

Mn=[2n2n−(−1)n0(−1)n].M^n=\begin{bmatrix}2^n&2^n-(-1)^n\\0&(-1)^n\end{bmatrix}.

This is an ordinary matrix power, not a power applied to each entry of M. For example, the upper-right entry at n=3n=3 is 8−(−1)=98-(-1)=9, not 333^3.

For the recurrence xk+1=Mxkx_{k+1}=Mx_k, starting at x0=(1,2)Tx_0=(1,2)^T, the initial eigenbasis coordinates are S−1x0=(3,2)TS^{-1}x_0=(3,2)^T. Therefore

xn=3⋅2nu1+2(−1)nu2.x_n=3\cdot2^n u_1+2(-1)^n u_2.

At n=3n=3, this gives x3=(26,−2)Tx_3=(26,-2)^T. A direct check gives x1=(8,−2)Tx_1=(8,-2)^T, x2=(10,2)Tx_2=(10,2)^T, then the same x3x_3. The second eigenbasis coefficient changes sign at each step, while the first coefficient doubles.

Boundary: negative integer powers additionally require the matrix to be invertible, so all its eigenvalues must be nonzero. A zero eigenvalue does not prevent diagonalization or positive powers. Exercise 5 separates these ideas.

Six progressive exercises

Use A from worked example 1 and M from worked example 2 where named. Each question has a separate hint and full explanation. Questions 1–2 build and check a factorization, 3–4 use it, and 5–6 test the conditions.

1. Change the column order, then change a length

For A, put v2v_2 before v1v_1 in a matrix R. What diagonal matrix E makes AR=REAR=RE? If instead you use the columns 3v1,v23v_1,v_2, do the eigenvalues change?

Hint for diagonalization question 1

Match each diagonal entry to its own column. A nonzero scalar multiple remains an eigenvector with the same eigenvalue.

Full solution to diagonalization question 1

R=[11−11],E=[2004].R=\begin{bmatrix}1&1\\-1&1\end{bmatrix},\qquad E=\begin{bmatrix}2&0\\0&4\end{bmatrix}.

The first column has eigenvalue 2 and the second has eigenvalue 4. Directly, AR=RE=[24−24]AR=RE=\begin{bmatrix}2&4\\-2&4\end{bmatrix}. Keeping the old diagonal order would fail both column checks.

For the columns 3v1,v23v_1,v_2, the diagonal entries stay 4,2, because A(3v1)=4(3v1)A(3v_1)=4(3v_1). Scaling a column changes the coordinate conversion and its inverse, not its eigenvalue. The new determinant is −6≠0-6\ne0, so the columns still form a basis. Scaling by zero would destroy it.

2. Construct a new diagonalization

Diagonalize H=[4202]H=\begin{bmatrix}4&2\\0&2\end{bmatrix}. Find the eigenspaces, give an invertible S and diagonal D, and check HS=SDHS=SD.

Hint for diagonalization question 2

The eigenvalues are the diagonal entries of this triangular matrix. The second standard coordinate vector is not an eigenvector; solve the system for eigenvalue 2.

Full solution to diagonalization question 2

The equation (4−λ)(2−λ)=0(4-\lambda)(2-\lambda)=0 gives 4 and 2. For 4, the system gives y=0y=0. For 2, it gives x+y=0x+y=0. Thus E4=span⁡{(1,0)T}E_4=\operatorname{span}\{(1,0)^T\} and E2=span⁡{(1,−1)T}E_2=\operatorname{span}\{(1,-1)^T\}.

S=[110−1],D=[4002].S=\begin{bmatrix}1&1\\0&-1\end{bmatrix},\quad D=\begin{bmatrix}4&0\\0&2\end{bmatrix}.

Here det⁡S=−1\det S=-1, and S−1=SS^{-1}=S, which can be checked by multiplying S by itself. Also

HS=[420−2]=SD.HS=\begin{bmatrix}4&2\\0&-2\end{bmatrix}=SD.

Therefore S−1HS=DS^{-1}HS=D and H=SDS−1H=SDS^{-1}. Other nonzero choices on these eigenlines also work, provided the diagonal order matches.

3. Find a matrix power and one output

Find A3A^3 using worked example 1, then compute A3(1,0)TA^3(1,0)^T. Why is cubing each entry of A incorrect?

Hint for diagonalization question 3

Cube the two eigenvalues in D, then multiply by S and its inverse. The first column of a matrix is its output for the first standard basis vector.

Full solution to diagonalization question 3

A3=S[64008]S−1=[36282836].A^3=S\begin{bmatrix}64&0\\0&8\end{bmatrix}S^{-1}=\begin{bmatrix}36&28\\28&36\end{bmatrix}.

The requested output is (36,28)T(36,28)^T. As a direct check, A2=[106610]A^2=\begin{bmatrix}10&6\\6&10\end{bmatrix}; multiplying once more by A gives the same result. Entrywise cubing would give [271127]\begin{bmatrix}27&1\\1&27\end{bmatrix}, which ignores the sums of products required by matrix multiplication.

4. Solve a recurrence from a different initial vector

For xk+1=Mxkx_{k+1}=Mx_k and x0=(2,−1)Tx_0=(2,-1)^T, derive a formula for xnx_n, then check n=0n=0 and n=1n=1.

Hint for diagonalization question 4

First find the coefficients of the new initial vector in the eigenbasis of M. Do not reuse the coefficients from the worked example.

Full solution to diagonalization question 4

The new coefficients are S−1x0=(1,−1)TS^{-1}x_0=(1,-1)^T, so x0=u1−u2x_0=u_1-u_2. Hence

xn=2nu1−(−1)nu2=[2n+(−1)n−(−1)n].x_n=2^n u_1-(-1)^n u_2=\begin{bmatrix}2^n+(-1)^n\\-(-1)^n\end{bmatrix}.

For n=0n=0, this gives (2,−1)T(2,-1)^T, the required initial vector. For n=1n=1, it gives (1,1)T(1,1)^T, also obtained from Mx0Mx_0. Each eigenbasis coefficient follows its own multiplier; the visible standard components combine them.

5. Diagonalizable but not invertible

For N=[1100]N=\begin{bmatrix}1&1\\0&0\end{bmatrix}, construct a diagonalization. Find NnN^n for positive integers n. What are N0N^0 and N−1N^{-1}?

Hint for diagonalization question 5

Try eigenvalues 1 and 0. A zero eigenvalue describes a collapsed eigendirection; it does not mean the eigenvector matrix must be singular.

Full solution to diagonalization question 5

For 1, the eigenspace is generated by (1,0)T(1,0)^T. For 0, the equation x+y=0x+y=0 gives generator (−1,1)T(-1,1)^T. They are independent, so

S=[1−101],D=[1000],N=SDS−1.S=\begin{bmatrix}1&-1\\0&1\end{bmatrix},\quad D=\begin{bmatrix}1&0\\0&0\end{bmatrix},\quad N=SDS^{-1}.

For every positive integer n, Dn=DD^n=D, hence Nn=NN^n=N. Direct multiplication also gives N2=NN^2=N. By definition N0=IN^0=I, not N; treat the zeroth power separately instead of using an undefined scalar expression involving zero.

The inverse N−1N^{-1} does not exist because det⁡N=0\det N=0. The independent eigenvectors make S invertible; they do not make N invertible. These are different requirements.

6. A repeated eigenvalue in three dimensions

Determine whether K=[201020003]K=\begin{bmatrix}2&0&1\\0&2&0\\0&0&3\end{bmatrix} is diagonalizable over the reals. Build S and D if it is. Explain why the repeated root does not settle the answer by itself.

Hint for diagonalization question 6

For each distinct eigenvalue, solve the homogeneous system. You need three independent eigenvectors in total, not three different eigenvalues.

Full solution to diagonalization question 6

The characteristic equation is (2−λ)2(3−λ)=0(2-\lambda)^2(3-\lambda)=0. For 2, the equations force z=0z=0, leaving x and y free. Thus E2=span⁡{(1,0,0)T,(0,1,0)T}E_2=\operatorname{span}\{(1,0,0)^T,(0,1,0)^T\}, a plane. For 3, the equations give z=xz=x, y=0y=0, so E3=span⁡{(1,0,1)T}E_3=\operatorname{span}\{(1,0,1)^T\}.

Choose

S=[101010001],D=[200020003].S=\begin{bmatrix}1&0&1\\0&1&0\\0&0&1\end{bmatrix},\qquad D=\begin{bmatrix}2&0&0\\0&2&0\\0&0&3\end{bmatrix}.

Since det⁡S=1\det S=1, the three columns form a basis. Column checks give KS=SD=[203020003]KS=SD=\begin{bmatrix}2&0&3\\0&2&0\\0&0&3\end{bmatrix}, proving the diagonalization. Eigenvalue 2 has algebraic and geometric multiplicity two; eigenvalue 3 contributes the third independent direction. Compare with B in section 5, where the repeated root supplied only one independent direction.

A final check before you move on

  1. Find all eigenvalues and solve each eigenspace, keeping the field of scalars clear.
  2. Count independent eigenvectors. Do not count different lengths as different directions.
  3. Put the vectors in columns and match the diagonal order.
  4. Check that S is invertible, then verify the column identity before using an inverse.
  5. For powers, state the allowed integers and check a small power or the initial condition independently.

For another explanation of the factorization and powers, see MIT OpenCourseWare: diagonalization and powers of A. This is mathematical background, not a statement of McGill assessment scope. Return to MATH 133 or MATH 204 to choose your next course topic.

7. Check your reasoning and choose a next step

  • Can you say what the sign and magnitude of an eigenvalue do to a nonzero input?
  • Did you subtract the eigenvalue only on the diagonal and solve the resulting homogeneous system?
  • Did you give the full eigenspace, then exclude zero when listing eigenvectors?
  • Did you verify each representative using the original matrix, rather than only the determinant?
  • For a repeated root, did you count independent vectors by solving the system?

If the multiplication or free parameters caused difficulty, return to matrix and vector fundamentals. If the computations worked, explain the contrast between BB and CC without looking at section 5, then complete the diagonalization workshop and use your course materials for further practice.

For wider course context, see the guides for Concordia MATH 204 and McGill MATH 133.

Course context and further reading

This original lesson supports the eigenvalue and eigenvector topics in MATH 204 at Concordia and MATH 133 at McGill. Use your own course outline for the scope assigned to you. The links below establish topic relevance and provide further explanation.

Useful for

Work on the step you’re missing.

Tell us the subject and your preferred time. Nablio confirms the details by text or email.

Request a lesson