Maths WorkshopMaths problems with full solutions
Exercise 1197Linear algebra › Vector spaces and subspacesL1Added 3 Nov 2026

The canonical basis and matrix representation

#canonical basis#matrix representation#linear map

Statement

Let f:R2→R2f:\mathbb{R}^2\to\mathbb{R}^2 be defined by f(x,y)=(2x+y,x−y)f(x,y)=(2x+y, x-y). Write the matrix of ff in the canonical basis, and in the basis B=((1,1),(1,−1))\mathcal{B}=((1,1),(1,-1)).

Hint

The columns of the matrix in the canonical basis are the images of the canonical basis vectors. For the new basis, compute P−1APP^{-1}AP.

Show solutionHide solution

Solution

Canonical matrix.
A=(211−1).A = \begin{pmatrix} 2 & 1 \\ 1 & -1 \end{pmatrix}.

Transition matrix.
P=(111−1),P−1=12(111−1).P = \begin{pmatrix} 1 & 1 \\ 1 & -1 \end{pmatrix}, \qquad P^{-1} = \frac12\begin{pmatrix} 1 & 1 \\ 1 & -1 \end{pmatrix}.

New matrix.
P−1AP=12(111−1)(211−1)(111−1).P^{-1}AP = \frac12\begin{pmatrix} 1 & 1 \\ 1 & -1 \end{pmatrix}\begin{pmatrix} 2 & 1 \\ 1 & -1 \end{pmatrix}\begin{pmatrix} 1 & 1 \\ 1 & -1 \end{pmatrix}.
Compute:
(211−1)(111−1)=(3102).\begin{pmatrix} 2 & 1 \\ 1 & -1 \end{pmatrix}\begin{pmatrix} 1 & 1 \\ 1 & -1 \end{pmatrix} = \begin{pmatrix} 3 & 1 \\ 0 & 2 \end{pmatrix}.
Then
12(111−1)(3102)=12(333−1)=(3/23/23/2−1/2).\frac12\begin{pmatrix} 1 & 1 \\ 1 & -1 \end{pmatrix}\begin{pmatrix} 3 & 1 \\ 0 & 2 \end{pmatrix} = \frac12\begin{pmatrix} 3 & 3 \\ 3 & -1 \end{pmatrix} = \begin{pmatrix} 3/2 & 3/2 \\ 3/2 & -1/2 \end{pmatrix}.

Conclusion. In B\mathcal{B}, the matrix of ff is (3/23/23/2−1/2)\begin{pmatrix} 3/2 & 3/2 \\ 3/2 & -1/2 \end{pmatrix}.