There are many methods to obtain a diagonalisable matrix.

Using Eigenvectors and Eigenvalues

We can use eigenvectors to make things easier:

Diagonalisable Matrices using Eigenvectors ^theorem

A matrix, is diagonalisable over the field ( must be or ) if and only if it has linearly independent eigenvectors. Then:

\boldsymbol{D} = \begin{bmatrix} \lambda_{1} & 0 & 0 & 0 \\

0 & \lambda_{2} & 0 & 0 \ 0 & 0 & \ddots & 0 \ 0 & 0 & 0 & \lambda_{i}\end{bmatrix} = \text{diag}(\lambda_{1}, \lambda_{2}, \dots, \lambda_{i})

Where each eigenvector corresponds to a unique eigenvalue. Alternatively, for every eigenvalue, the algebraic multiplicity must equal the geometric multiplicity

Note that this requires obtaining the eigenvectors from a matrix.

Using Orthogonal Matrices

If is both real and a symmetric matrix, then the diagonalising matrix, is an orthogonal matrix

Orthogonal Diagonalisation ^theorem2

If is a real symmetric matrix of size , it can be diagonalised in , with the inner product being the dot product:

  1. All eigenvalues of are real:
  2. Each eigenvector that corresponds to the eigenvalue is orthonormal. The set of these eigenvectors is an orthonormal basis.
  3. is diagonalisable with:

where:

\boldsymbol{Q} = \begin{bmatrix} {\vec{v}_{\lambda}}_{1} & {\vec{v}_{\lambda}}_{2} & \dots & {\vec{v}_{\lambda}}_{n}

\end{bmatrix}