In this guide
← Maths AI guides

Number & algebra · AI HL

Eigenvalues, eigenvectors and matrix powers

Identify preserved directions, diagonalise when enough eigenvectors exist, and use matrix powers to describe repeated transformations.

Course focus: AI HL · First-assessment-2021 course. The sections distinguish the mathematical idea, the calculation and its interpretation.

Before you start: Matrix multiplication, determinants, inverses and exponential growth.

Start with a small example

Build it from the beginning

HL content

Some directions stay on their original line when a matrix acts. A nonzero vector in such a direction is an eigenvector; its eigenvalue is the scale factor. This makes repeated multiplication easier because only the scale changes along that direction.

An eigenvalue changes length along a preserved directionvAvone unit along the directionAv = 3v · same direction, three times the length
For the diagonal matrix with entries 3 and 2, v=(1,0) becomes Av=(3,0). The arrows are shown on separate rows for comparison: the eigenvalue 3 scales this direction without turning it.

A first walkthrough

For \(A=\begin{pmatrix}3&0\\0&2\end{pmatrix}\), apply A to v=(1,0).

  1. Row-column multiplication gives Av=(3,0).
  2. This is 3v, so v is an eigenvector with eigenvalue 3.
  3. After n applications, this component is multiplied by \(3^n\).
Try the practice ladder after learning the methods ↓

The foundations behind the method

Understand what the symbols mean

A general vector can turn when transformed. An eigenvector singles out a direction that does not turn: only its scale changes. Once a state is expressed using independent eigendirections, repeated matrix action becomes several separate scalar growth problems. The usefulness comes from separating behaviour, not merely calculating a pair of numbers.

How the ideas connect

Changing basis is a coordinate change. P converts eigen-coordinates into ordinary coordinates, D acts independently on those eigen-coordinates, and the inverse P converts the original state before the action. This explains the order in PDP inverse and why pairing each column with its own eigenvalue is essential.

01

Start with the idea

Build your understanding

Eigenvalue

The multiplier belongs to a particular preserved direction, not every vector under the matrix.

A basis separates behaviour

Independent eigendirections let one state be decomposed into components with different growth or decay rates.

Compare the approaches

Choose by the information in the question, rather than the formula you recognise first.

Direct multiplication

When it helpsUseful for a few iterations and as a verification.

Check before using itDo not confuse an entrywise power with a matrix power.

Diagonalization

When it helpsUseful for large powers and interpreting long-run components.

Check before using itVerify that the eigenvector matrix is invertible; repeated eigenvalues require an eigenspace check.

Your method plan

  1. Solve the characteristic equation and each eigenspace.
  2. Build P and D in matching order and verify AP=PD.
  3. Compute powers and interpret the contribution of the initial state.
02

Learn the methods

Learn step by step

1. A direction that survives a transformation

An eigenvector is a nonzero vector that a square matrix sends to a scalar multiple of itself. A positive multiplier keeps its direction, a negative one reverses it, and a zero multiplier sends it to the origin rather than preserving a geometric direction. The equation \(A\mathbf v=\lambda\mathbf v\) defines its eigenvalue. The zero vector is excluded because it satisfies the equation for every scalar and supplies no direction. Multiples of a nonzero eigenvector describe the same direction. Distinguish an eigenvector from an invariant point: most points on the direction move.

2. Find candidate eigenvalues

Rearrange to \((A-\lambda I)\mathbf v=0\). A nonzero vector can solve this homogeneous system only if the coefficient matrix is singular, so solve \(\det(A-\lambda I)=0\). For a 2 by 2 matrix this is a quadratic. Technology may supply eigenvalues directly, but state the characteristic equation when asked for reasoning. A repeated eigenvalue does not automatically provide two independent eigenvectors.

Characteristic equation

Why this formula works

An invertible coefficient matrix would force the homogeneous solution to be zero. An eigenvector must be nonzero, so singularity is necessary. The determinant equation selects the scalars where a nontrivial eigenspace can exist; solving that space then supplies the directions.

The formula

\(\det(A-\lambda I)=0\), with \(A\mathbf v=\lambda\mathbf v\) and \(\mathbf v\ne0\).

Quick example

For \(A=\begin{pmatrix}2&1\\1&2\end{pmatrix}\), the equation is \((2-\lambda)^2-1=0\), so eigenvalues are 3 and 1.

3. Recover the eigendirections

For each eigenvalue, solve the homogeneous system and choose a convenient nonzero vector. Scaling is arbitrary: (1,2) and (3,6) represent the same direction. Check by multiplying A by the vector and comparing the output to lambda times that vector. Different eigenvalues have independent eigenvectors. With a repeated eigenvalue, inspect the solution space rather than writing the same direction twice.

Worked example: Find both eigendirections

For \(A=\begin{pmatrix}2&1\\1&2\end{pmatrix}\), find eigenvectors for eigenvalues 3 and 1.

  1. For 3, \((A-3I)\mathbf v=0\) gives \(-x+y=0\). Choose \((1,1)\).
  2. For 1, \((A-I)\mathbf v=0\) gives \(x+y=0\). Choose \((1,-1)\).
  3. Both vectors are nonzero and independent, so they can form P.
  4. Check \(A(1,1)^T=3(1,1)^T\) and \(A(1,-1)^T=(1,-1)^T\).

4. Diagonalise only when the directions span

Place independent eigenvectors in the columns of P and put their eigenvalues in the matching order on D’s diagonal. Then \(AP=PD\), giving \(A=PDP^{-1}\) when P is invertible. Swapping columns requires swapping diagonal entries too. A matrix without enough independent eigenvectors is not diagonalizable by this procedure. Distinct real eigenvalues for a 2 by 2 real matrix guarantee a real eigenbasis; complex cases require a different interpretation.

5. Use a power to repeat the operation

Adjacent inverse factors cancel in a repeated product, giving \(A^n=PD^nP^{-1}\). The diagonal power raises each eigenvalue to n. Decompose an initial state in the eigenbasis to see how each component evolves. For a component with eigenvalue magnitude below one, repeated discrete steps shrink it. Above one it grows; a negative eigenvalue alternates its sign. Zero removes that component after one step.

Diagonalized powers

Why this formula works

Expanding a product of two copies cancels the middle P inverse and P. Repeating the cancellation leaves one outer P, n diagonal factors, and one outer inverse. This shortcut depends on P being invertible and its columns being the correctly ordered eigenvectors.

The formula

\(A^n=PD^nP^{-1}\), when \(A=PDP^{-1}\).

Quick example

With eigenvalues 3 and 1, \(D^n=\operatorname{diag}(3^n,1)\). A state along the first eigendirection triples on each application.

Worked example: Repeat using decomposition

Apply that matrix three times to \(\mathbf u=(2,0)^T\).

  1. Decompose \((2,0)^T=(1,1)^T+(1,-1)^T\).
  2. The first component is multiplied by \(3^3=27\); the second by \(1^3=1\).
  3. The sum is \(27(1,1)^T+(1,-1)^T=(28,26)^T\).
  4. Direct iterations give (4,2), then (10,8), then (28,26), confirming the powered result.
Worked example: An expanding component dominates

A diagonal matrix has entries 0.5 and 2. Apply it three times to (0,3).

  1. The initial state has no component along the first coordinate direction.
  2. The first coordinate remains zero. The second is multiplied by \(2^3\).
  3. The result is (0,24).
  4. The eigenvalue 0.5 does not contribute because its initial component is zero. Do not average the two eigenvalues to predict the state.

6. Interpret a numerical answer

The largest eigenvalue magnitude often controls long-run behaviour, but only components actually present in the initial state contribute. An eigenvalue 1 can preserve a nonzero limiting state while smaller components die out. A repeated or complex eigenvalue requires careful handling; do not use a diagonalization that has no inverse. Check a small power by direct multiplication before using a large powered expression. Eigenvalues are algebraic information, not a guarantee that a contextual model is realistic.

Quick formula reference

For revision once you understand the methods above. Check the conditions before using a formula.

Characteristic equation

\(\det(A-\lambda I)=0\), with \(A\mathbf v=\lambda\mathbf v\) and \(\mathbf v\ne0\).

Return to the explanation →

Diagonalized powers

\(A^n=PD^nP^{-1}\), when \(A=PDP^{-1}\).

Return to the explanation →

Learn to diagnose an error

Spot the mistake

The statement below is incorrect. Identify the missing condition or reasoning before opening the explanation.

Incorrect reasoning

A repeated eigenvalue guarantees that the matrix can be diagonalised.

Explain and repair the mistake

For \(A=\begin{pmatrix}1&1\\0&1\end{pmatrix}\), the only eigenvalue is 1 and its eigenvectors satisfy y=0. There is just one independent eigendirection, so no invertible two-column eigenvector matrix exists.

03

Connect and apply

Put the ideas together

A more demanding application of this guide’s methods. This is a learning stage; any additional HL content is labelled separately.

Worked application

The dominant eigenvalue may be absent

The matrix above has eigenvalues 3 and 1. What happens to initial state (1,−1)?

  1. It lies exactly on the eigenvector with eigenvalue 1.
  2. Each application therefore leaves it unchanged.
  3. The component along the eigenvalue-3 direction is zero.
  4. A largest eigenvalue alone does not imply that every initial state grows at that rate.
Pause and explain

What changes if the initial state also contains (1,1)?

Check your reasoning

That nonzero component is multiplied by 3 on each step and eventually dominates the fixed component. The decomposition of the initial state determines which eigenvalues appear in its evolution.

Common mistakes and how to avoid them

  • For \(A=\begin{pmatrix}1&1\\0&1\end{pmatrix}\), the only eigenvalue is 1 and its eigenvectors satisfy y=0. There is just one independent eigendirection, so no invertible two-column eigenvector matrix exists.
  • Do not confuse an entrywise power with a matrix power.
  • Verify that the eigenvector matrix is invertible; repeated eigenvalues require an eigenspace check.
04

Practise independently

Build confidence, then apply it

Try each question before opening its hint or solution. If a method is new, return to the walkthrough, then try again. These learning stages describe the practice sequence; additional HL content is labelled separately.

  1. 1

    Build confidence

    HL extension

    Find the eigenvalue for w=(0,1).

    Need a starting point?

    Multiply A by w.

    Show the worked solution
    1. The output is (0,2), equal to 2w.
    2. The eigenvalue is 2.
  2. 2

    Apply and explain

    HL extension

    Find \(A^3(1,1)\).

    Need a starting point?

    Each coordinate follows its diagonal multiplier independently.

    Show the worked solution
    1. The first coordinate is multiplied by \(3^3=27\).
    2. The second is multiplied by \(2^3=8\), giving (27,8).
  3. 3

    Check your understanding

    Why is the zero vector excluded from the definition of an eigenvector?

    Show the worked solution

    It satisfies A·0=λ·0 for every λ and supplies no preserved direction. An eigenvector must be nonzero, even when its associated eigenvalue itself is zero.

  4. 4

    Use the method

    What happens under repeated steps to an eigenvector with eigenvalue −0.5?

    Show the worked solution

    After n steps it is multiplied by (−0.5)ⁿ. Its magnitude shrinks toward zero and its direction reverses each step. The negative sign does not mean growth; magnitude controls the shrinking.

Finished? Use the linked question bank below to practise selecting the method without a guide telling you which rule to use.

Using these methods in exam questions

AI Paper 1

GDC required

Short-response questions still need mathematical setup and interpretation. Choose the correct tool, enter the model or data carefully, and check units and rounding.

AI Paper 2

GDC required

Extended-response questions connect several steps. Keep intermediate values at full precision and explain how each result answers the context.

For this topic: Keep algebraic transformations visible. State restrictions before cancelling or taking logarithms, and check whether the question needs an exact expression or a rounded value.

HL only · GDC required

Paper 3: build a connected argument

Both AA HL and AI HL Paper 3 contain two extended problem-solving questions. A question develops a theme, so keep useful earlier results, test small cases and explain any proposed general rule. A calculator pattern can suggest a result; your mathematical reasoning must support it.

  1. Identify what the first part establishes and record the conditions under which it holds.
  2. When a later part introduces a new definition or model, connect it to methods you already know rather than assuming a new formula must have been memorised.
  3. Check the conclusion against an earlier numerical case and explain its meaning or limitation.

For the first-assessment-2021 courses. IB assessment reference ↗

Find a specific method or formula

Now practise the method

If you opened this guide from a question, return to that tab and try the method without looking at the example. Your answer stays in the question tab.

Practise this subtopic →

Want a broader practice session? Explore IB Maths AI HL practice questions →Try free IB Maths exam-style questions and worked solutions →

Original Arc Practice teaching notes for Maths AI. Core and HL sections are distinguished above. These notes follow the first-assessment-2021 course and are not an official IB publication or a complete syllabus checklist. IB course reference. Report a correction.