Maths WorkshopMaths problems with full solutions
Exercise 2178Linear algebra › Matrices and linear systemsL1Added 3 Nov 2026

Diagonalizability depending on a parameter

#diagonalization#parameter#characteristic polynomial

Statement

For which real values of aa is the matrix
A=(1a02)A = \begin{pmatrix} 1 & a \\ 0 & 2 \end{pmatrix}
diagonalizable?

Hint

The matrix is upper triangular, so the eigenvalues are 11 and 22. Since they are distinct, AA is always diagonalizable.

Show solutionHide solution

Solution

Eigenvalues. Since AA is upper triangular, the characteristic polynomial is (1−λ)(2−λ)(1-\lambda)(2-\lambda), so the eigenvalues are 11 and 22.

Diagonalizability. The two eigenvalues are distinct, so their eigenspaces each have dimension 11, and the sum is 22. By the criterion, AA is diagonalizable for all a∈Ra \in \mathbb{R}.

Explicit diagonalization. For λ=1\lambda = 1, solve (A−I)v=0(A-I)v = 0: v1=(1,0)v_1 = (1,0). For λ=2\lambda = 2, solve (A−2I)v=0(A-2I)v = 0: v2=(a,1)v_2 = (a,1) (or (a,1)(a,1) if a≠0a \neq 0, (0,1)(0,1) if a=0a=0). These two eigenvectors are linearly independent for all aa, so A=PDP−1A = PDP^{-1} with
P=(1a01),D=(1002).P = \begin{pmatrix} 1 & a \\ 0 & 1 \end{pmatrix}, \qquad D = \begin{pmatrix} 1 & 0 \\ 0 & 2 \end{pmatrix}.