Skip to content

Matrix Representation of a Linear Map


Definition

Let VV and WW be finite-dimensional vector spaces over the same field, with an ordered basis B=(v1,…,vn)\mathcal{B}=(\boldsymbol{v}_1,\ldots,\boldsymbol{v}_n) of VV and an ordered basis C=(w1,…,wm)\mathcal{C}=(\boldsymbol{w}_1,\ldots,\boldsymbol{w}_m) of WW. For a linear map A ⁣:V→WA\colon V\to W, write each image of a basis vector in the basis C\mathcal{C}:

Avj=∑i=1maij wi,j=1,…,n.A\boldsymbol{v}_j=\sum_{i=1}^{m}a_{ij}\,\boldsymbol{w}_i,\qquad j=1,\ldots,n.

The matrix representation of AA with respect to B\mathcal{B} and C\mathcal{C} is the m×nm\times n matrix [A]C,B=(aij)[A]_{\mathcal{C},\mathcal{B}}=(a_{ij}). Its jj-th column is the coordinate vector [Avj]C[A\boldsymbol{v}_j]_{\mathcal{C}}. When V=WV=W and B=C\mathcal{B}=\mathcal{C}, one writes [A]B[A]_{\mathcal{B}}.


Interpretation

A linear map is fixed by its values on a basis, so the nn columns [Avj]C[A\boldsymbol{v}_j]_{\mathcal{C}} carry all the information about AA. The matrix turns the abstract map into arithmetic on coordinates: [Av]C=[A]C,B [v]B[A\boldsymbol{v}]_{\mathcal{C}}=[A]_{\mathcal{C},\mathcal{B}}\,[\boldsymbol{v}]_{\mathcal{B}} for every v∈V\boldsymbol{v}\in V.

A square diagram for differentiation from P2 to P1: p = a + bt + ct^2 maps to p' = b + 2ct, and the coordinate vector (a,b,c) maps to (b,2c) under the matrix [D].

The figure uses the differentiation example below, with B=(1,t,t2)\mathcal{B}=(1,t,t^2) and C=(1,t)\mathcal{C}=(1,t). Going right along the top applies the map DD itself; going down takes coordinates. Both paths from pp to (b,2c)⊤(b,2c)^{\top} agree: differentiating and then taking coordinates gives the same vector as taking coordinates and then multiplying by [D][D].

The matrix depends on the map and on both chosen bases, including their order. A frequent mistake is to put the coordinates of AvjA\boldsymbol{v}_j in rows instead of columns, or to write them in the standard basis when C\mathcal{C} is a different basis. For a map Rn→Rm\mathbb{R}^n\to\mathbb{R}^m with the standard bases the representation is the standard matrix from Math II.

The idea matters for eigenvalue problems, which are basis-free questions about a map: choosing a basis of eigenvectors makes the representing matrix diagonal, which is the content of diagonalization.


Key Results

  • For fixed bases, A↦[A]C,BA\mapsto[A]_{\mathcal{C},\mathcal{B}} is a bijective linear map from L(V,W)\mathcal{L}(V,W) onto the m×nm\times n matrices; hence dim⁡L(V,W)=mn\dim\mathcal{L}(V,W)=mn.
  • Composition becomes matrix multiplication: for B ⁣:U→VB\colon U\to V and basis D\mathcal{D} of UU, [AB]C,D=[A]C,B[B]B,D[AB]_{\mathcal{C},\mathcal{D}}=[A]_{\mathcal{C},\mathcal{B}}[B]_{\mathcal{B},\mathcal{D}} (see product of linear maps).
  • For the identity map on VV and two ordered bases B,C\mathcal{B},\mathcal{C} of VV, [I]C,B[I]_{\mathcal{C},\mathcal{B}} equals the identity matrix InI_n if and only if C=B\mathcal{C}=\mathcal{B}; otherwise it converts B\mathcal{B}-coordinates into C\mathcal{C}-coordinates (see change of basis).
  • If PP is the invertible matrix whose columns are the B\mathcal{B}-coordinates of a second basis B′\mathcal{B}' of VV, then [A]B′=P−1[A]BP[A]_{\mathcal{B}'}=P^{-1}[A]_{\mathcal{B}}P. Representations of one operator are therefore similar and share determinant, trace and eigenvalues.
  • An operator on VV is invertible if and only if one (equivalently every) representing matrix is invertible.

Examples

A map R2→R3\mathbb{R}^2\to\mathbb{R}^3. For A(x,y)=(x, y, x+y)A(x,y)=(x,\,y,\,x+y) with standard bases, Ae1=(1,0,1)⊤A\boldsymbol{e}_1=(1,0,1)^{\top} and Ae2=(0,1,1)⊤A\boldsymbol{e}_2=(0,1,1)^{\top}, so

[A]=(100111).[A]=\begin{pmatrix}1&0\\0&1\\1&1\end{pmatrix}.

Differentiation. Let D ⁣:P2→P1D\colon P_2\to P_1, p↦p′p\mapsto p', with bases (1,t,t2)(1,t,t^2) and (1,t)(1,t). Then D1=0D1=0, Dt=1Dt=1, Dt2=2tDt^2=2t, so [D]=(010002)[D]=\begin{pmatrix}0&1&0\\0&0&2\end{pmatrix}. Check: p=a+bt+ct2p=a+bt+ct^2 has coordinates (a,b,c)⊤(a,b,c)^{\top} and [D] (a,b,c)⊤=(b,2c)⊤[D]\,(a,b,c)^{\top}=(b,2c)^{\top}, i.e. p′=b+2ctp'=b+2ct.

Same operator, two bases. The operator with standard matrix A=(2112)A=\begin{pmatrix}2&1\\1&2\end{pmatrix} satisfies A(1,1)⊤=(3,3)⊤A(1,1)^{\top}=(3,3)^{\top} and A(1,−1)⊤=(1,−1)⊤A(1,-1)^{\top}=(1,-1)^{\top}. In the basis B′=((1,1)⊤,(1,−1)⊤)\mathcal{B}'=\big((1,1)^{\top},(1,-1)^{\top}\big) its representation is (3001)\begin{pmatrix}3&0\\0&1\end{pmatrix}: same map, same eigenvalues 33 and 11, simpler matrix.


Prerequisites



Sources

Aliases: matrix of a linear map, matrix of a linear transformation, representing matrix Keywords: [A]_{C,B}, standard matrix, coordinate vector, columns are images of basis vectors Symbols: element of, real numbers, sum

Last updated: 14 October 2026 08:21