---
title: "Diagonalisation and Powers of a Matrix"
description: "A matrix with a basis of eigenvectors becomes diagonal in that basis. Its diagonal form lets us compute powers by raising the eigenvalues."
canonical: https://lightmysky.com/learn/mathematics/diagonalisation-and-powers-of-a-matrix-mt_w15uCVhdhX
source: https://lightmysky.com/learn/mathematics/diagonalisation-and-powers-of-a-matrix-mt_w15uCVhdhX.md
retrieved: 2026-11-12
---

> **Agent view.** This is the Markdown twin of the page, for tools and assistants.
> When to use this site, and the call that answers each job: https://lightmysky.com/agent-instructions.md
> API description (OpenAPI 3.1): https://lightmysky.com/openapi.json · Authentication: https://lightmysky.com/auth.md
> Pricing: https://lightmysky.com/pricing.md · Catalog: https://lightmysky.com/llms.txt · Full catalog: https://lightmysky.com/llms-full.txt
> Every machine-readable file on this domain: https://lightmysky.com/.well-known/ai-catalog.json
> Ask for Markdown with `Accept: text/markdown`, a `.md` address, or `?mode=agent`.

# Diagonalisation and Powers of a Matrix

A matrix with a basis of eigenvectors becomes diagonal in that basis. Its diagonal form lets us compute powers by raising the eigenvalues.

Subject: Mathematics · Area: Linear Algebra · Ages 19 to 20
Page: https://lightmysky.com/learn/mathematics/diagonalisation-and-powers-of-a-matrix-mt_w15uCVhdhX

## Ready when they can

- Diagonalise a matrix and identify the eigenvector matrix P and diagonal eigenvalue matrix D
- Compute a high power of a matrix through its diagonal form
- Give a matrix that cannot be diagonalised and say what fails

## Lesson: Eigenbases make powers easy

For real diagonalisation, write A = P D P inverse. P must be invertible, with a basis of real eigenvectors as its columns. D has their matching eigenvalues on its diagonal, in the same order. The relation A P = P D checks each column's eigenvector equation. A diagonal matrix already displays its eigenvalues: diag(5, 8) has eigenvalues 5 and 8.

For a positive integer k, A to the k = P D to the k P inverse. Each adjacent P inverse P cancels to the identity. Raise only D's diagonal entries to the kth power. Trace means the sum of diagonal entries and is unchanged by a change of basis. If D = diag(3, 4), trace(A squared) = 9 + 16 = 25.

An n by n matrix is diagonalisable over the reals exactly when it has n independent real eigenvectors. Having n distinct real eigenvalues is sufficient. Repeated eigenvalues can also work. For A = [[r, h], [0, r]] with h nonzero, the only eigenvalue is r. The equation (A minus rI)v = 0 forces v's second component to zero. Its eigenspace has dimension one, not two.

*(drawing: For A = [[3, 2], [0, 5]], keep each eigenvalue in the slot matching its eigenvector column.)*

**Example.** For A = [[3, 2], [0, 5]], A(1, 0) = 3(1, 0) and A(1, 1) = 5(1, 1). These independent columns give P = [[1, 1], [0, 1]], D = diag(3, 5), and P inverse = [[1, -1], [0, 1]]. Multiplication gives P D P inverse = A. Swapping P's columns requires swapping D's diagonal entries too.

For P = [[1, 1], [0, 1]] and D = diag(a, b), A to the k has diagonal entries a to the k and b to the k. Its top-right entry is b to the k minus a to the k. For any diagonalisable 2 by 2 A, trace(A to the k) is the sum of its eigenvalues raised to k, since changing basis preserves trace. Distinct real eigenvalues give real diagonalisation. In eigenvector coordinates, each application multiplies each coordinate by its eigenvalue.

An eigenvalue's algebraic multiplicity counts its occurrences as a root of the characteristic polynomial. Its eigenspace dimension counts independent eigenvectors for that eigenvalue and cannot exceed its multiplicity. Diagonalisation needs equality for every eigenvalue. In a 3 by 3 matrix, a double eigenvalue with eigenspace dimension one and a simple eigenvalue can supply at most two independent eigenvectors.

**Recap.** Put eigenvectors into P and eigenvalues into D, then use the diagonal form to compute powers.

*Lesson and assessment text authored for this dataset.*

## Practice

14 questions on this page, each with its working shown.

## Needs first

- [Eigenvalues and Eigenvectors](https://lightmysky.com/learn/mathematics/eigenvalues-and-eigenvectors-mt_TVqqaw11qa)

## Optional connections

- [Dimension and the Rank-Nullity Theorem](https://lightmysky.com/learn/mathematics/dimension-and-the-rank-nullity-theorem-mt_aMG8PcwPAR)

## Opens up

- [Modules: Linear Algebra Over a Ring](https://lightmysky.com/learn/mathematics/modules-linear-algebra-over-a-ring-mt_0GMVp-s8wD)
- [Systems of Differential Equations and Eigenvalue Solutions](https://lightmysky.com/learn/mathematics/systems-of-differential-equations-and-eigenvalue-solutions-mt_BbOqJ4S1ur)
- [Stationary Distributions and Long-Run Behaviour](https://lightmysky.com/learn/mathematics/stationary-distributions-and-long-run-behaviour-mt_MGfHvUGkeh)
- [Inner Products, Length and Orthogonality](https://lightmysky.com/learn/mathematics/inner-products-length-and-orthogonality-mt_X0HPRGto4W)
