Tutorials › Linear Algebra › One Operator, Different Matrices

Similarity and Change of Basis for Operators · Tutorial 466 of 1000

One Operator, Different Matrices

Learn to build and check the matrix of one linear operator in different ordered bases by expressing the images of basis vectors in coordinates.

Intermediate 9 min read

What You'll Learn

  • Distinguish a linear operator from its matrix in a chosen basis
  • Construct a matrix by finding the coordinates of each basis vector’s image
  • Compute the same operator’s matrix in the standard basis and two other bases of R²
  • Verify a coordinate calculation by reconstructing the vector in R²
  • Avoid using standard coordinates as though they were coordinates in another basis

One Map, More Than One Matrix

A linear operator is a function from a vector space to itself. Its action on vectors does not depend on how we choose to describe those vectors. A matrix, however, records that action using coordinates, and coordinates depend on the basis. Consequently, the same operator can be represented by different matrices without changing the operator itself.

We will make this distinction concrete for an operator on \(\mathbb{R}^2\). First we will use the standard basis, then two other ordered bases. In each case, the matrix will be built from the coordinates of the images of the basis vectors. The order of the basis matters: it determines the order of the coordinates and hence the order of the matrix columns.

Definition: A linear operator on a real vector space \(V\) is a linear map \(T:V\to V\). An ordered basis \(\mathcal{B}=(\mathbf{b}_1,\dots,\mathbf{b}_n)\) is a spanning, linearly independent list. Each \(\mathbf{v}\in V\) has a unique expression \(\mathbf{v}=c_1\mathbf{b}_1+\cdots+c_n\mathbf{b}_n\); its coordinate vector is \([\mathbf{v}]_{\mathcal{B}}=(c_1,\dots,c_n)^{\top}\). The matrix of \(T\) in \(\mathcal{B}\), written \([T]_{\mathcal{B}}\), has column \(j\) equal to \([T(\mathbf{b}_j)]_{\mathcal{B}}\).

The uniqueness of coordinates follows directly from independence: if \(\mathbf{v}\) had two expansions, subtracting them would give a linear combination of the basis vectors equal to \(\mathbf{0}\); independence forces every coefficient in that difference to be zero. In particular, coordinates in a basis are not usually the same as the standard coordinates of a vector. The entries in column \(j\) of \([T]_{\mathcal{B}}\) describe \(T(\mathbf{b}_j)\) using the basis \(\mathcal{B}\), not using the standard basis.

Building the Matrix Column by Column

Consider the linear operator \(T:\mathbb{R}^2\to\mathbb{R}^2\) defined by \(T(x,y)=(2x+y,\;x+2y)\). It is linear because each output coordinate is a linear combination of \(x\) and \(y\). The operator \(T\) is the rule itself; its matrix is a coordinate description of that rule in a specified basis.

Worked Example: The Standard Basis Representation

Let \(\mathcal{E}=(\mathbf{e}_1,\mathbf{e}_2)\), where \(\mathbf{e}_1=(1,0)\) and \(\mathbf{e}_2=(0,1)\). Find \([T]_{\mathcal{E}}\).

Apply \(T\) to each basis vector. Since standard coordinates are the coordinates in \(\mathcal{E}\), the resulting vectors can be placed directly as columns:

$$ T(\mathbf{e}_1)=T(1,0)=(2,1),\qquad T(\mathbf{e}_2)=T(0,1)=(1,2), $$
$$ [T]_{\mathcal{E}} = \begin{bmatrix}2&1\\1&2\end{bmatrix}. $$

Check the representation on \(\mathbf{x}=(3,-1)\). Its standard coordinate vector is \([\mathbf{x}]_{\mathcal{E}}=(3,-1)^{\top}\), so

$$ [T]_{\mathcal{E}}[\mathbf{x}]_{\mathcal{E}} = \begin{bmatrix}2&1\\1&2\end{bmatrix} \begin{bmatrix}3\\-1\end{bmatrix} = \begin{bmatrix}6-1\\3-2\end{bmatrix} = \begin{bmatrix}5\\1\end{bmatrix}. $$

Directly, \(T(3,-1)=(2\cdot3-1,\;3+2(-1))=(5,1)\), so the matrix calculation agrees with the operator.

Now keep the operator fixed and change the ordered basis. To find the new matrix, we still apply \(T\) to each basis vector. The difference is that we must then express each image as a combination of the new basis vectors.

Worked Example: A Nonstandard Basis

Let \(\mathcal{B}=(\mathbf{b}_1,\mathbf{b}_2)\), with \(\mathbf{b}_1=(1,0)\) and \(\mathbf{b}_2=(1,1)\). These vectors form a basis: if \(a\mathbf{b}_1+b\mathbf{b}_2=\mathbf{0}\), then \((a+b,b)=(0,0)\), so \(b=0\) and then \(a=0\); and any \((x,y)\) equals \((x-y)\mathbf{b}_1+y\mathbf{b}_2\).

For the first column, calculate the image and rewrite it using \(\mathcal{B}\):

$$ T(\mathbf{b}_1)=T(1,0)=(2,1) =1(1,0)+1(1,1) =\mathbf{b}_1+\mathbf{b}_2. $$

Thus \([T(\mathbf{b}_1)]_{\mathcal{B}}=(1,1)^{\top}\). For the second column,

$$ T(\mathbf{b}_2)=T(1,1)=(3,3) =0(1,0)+3(1,1) =0\mathbf{b}_1+3\mathbf{b}_2. $$

Thus \([T(\mathbf{b}_2)]_{\mathcal{B}}=(0,3)^{\top}\), and the matrix is

$$ [T]_{\mathcal{B}} = \begin{bmatrix}1&0\\1&3\end{bmatrix}. $$

Check the first column by converting its coordinates back to a vector: \(1\mathbf{b}_1+1\mathbf{b}_2=(1,0)+(1,1)=(2,1)=T(\mathbf{b}_1)\). For the second, \(0\mathbf{b}_1+3\mathbf{b}_2=(3,3)=T(\mathbf{b}_2)\). Both columns therefore record the required images.

The two matrices found so far are different, but both describe \(T\). They differ because their entries answer different coordinate questions. The standard-basis matrix uses \(\mathcal{E}\)-coordinates for both the basis vectors being acted on and their images. The \(\mathcal{B}\)-matrix uses \(\mathcal{B}\)-coordinates instead.

A Second Coordinate Description

A further basis gives another representation of the same operator. This provides a useful check that the method is about the chosen ordered basis, not about a special property of the first nonstandard basis.

Worked Example: A Third Matrix for the Same Operator

Let \(\mathcal{C}=(\mathbf{c}_1,\mathbf{c}_2)\), where \(\mathbf{c}_1=(1,1)\) and \(\mathbf{c}_2=(0,1)\). These vectors form a basis because \(a(1,1)+b(0,1)=(a,a+b)\); for any \((x,y)\), the choice \(a=x\) and \(b=y-x\) gives \((x,y)\).

For the first column,

$$ T(\mathbf{c}_1)=T(1,1)=(3,3) =3(1,1)+0(0,1) =3\mathbf{c}_1+0\mathbf{c}_2. $$

For the second column,

$$ T(\mathbf{c}_2)=T(0,1)=(1,2) =1(1,1)+1(0,1) =\mathbf{c}_1+\mathbf{c}_2. $$

Therefore the coordinate columns are \((3,0)^{\top}\) and \((1,1)^{\top}\), giving

$$ [T]_{\mathcal{C}} = \begin{bmatrix}3&1\\0&1\end{bmatrix}. $$

Check by reconstructing both images: \(3\mathbf{c}_1+0\mathbf{c}_2=(3,3)\), and \(\mathbf{c}_1+\mathbf{c}_2=(1,1)+(0,1)=(1,2)\). These equal \(T(\mathbf{c}_1)\) and \(T(\mathbf{c}_2)\), respectively.

For any basis \(\mathcal{B}\), matrix multiplication has the defining coordinate property \([T(\mathbf{v})]_{\mathcal{B}}=[T]_{\mathcal{B}}[\mathbf{v}]_{\mathcal{B}}\). The next result proves why the column construction gives this property for every vector, rather than only for the basis vectors.

Theorem: Let \(V\) be a finite-dimensional real vector space, let \(\mathcal{B}=(\mathbf{b}_1,\dots,\mathbf{b}_n)\) be an ordered basis, and let \(T:V\to V\) be linear. The matrix whose \(j\)th column is \([T(\mathbf{b}_j)]_{\mathcal{B}}\) satisfies \([T(\mathbf{v})]_{\mathcal{B}}=[T]_{\mathcal{B}}[\mathbf{v}]_{\mathcal{B}}\) for every \(\mathbf{v}\in V\), and it is the unique matrix with this property.

Proof. Write \([\mathbf{v}]_{\mathcal{B}}=(c_1,\dots,c_n)^{\top}\). By the definition of coordinates, \(\mathbf{v}=\sum_{j=1}^{n}c_j\mathbf{b}_j\). Linearity gives \(T(\mathbf{v})=\sum_{j=1}^{n}c_jT(\mathbf{b}_j)\). Taking \(\mathcal{B}\)-coordinates, which respects sums and scalar multiples, gives \([T(\mathbf{v})]_{\mathcal{B}}=\sum_{j=1}^{n}c_j[T(\mathbf{b}_j)]_{\mathcal{B}}\). The right-hand side is exactly the matrix with these coordinate columns multiplied by \((c_1,\dots,c_n)^{\top}\), proving the asserted property. For uniqueness, suppose a matrix \(\mathbf{M}\) also has the property for every \(\mathbf{v}\). Set \(\mathbf{v}=\mathbf{b}_j\). Its coordinate vector is the \(j\)th standard coordinate vector, so \(\mathbf{M}[\mathbf{b}_j]_{\mathcal{B}}\) is column \(j\) of \(\mathbf{M}\). The property says this column equals \([T(\mathbf{b}_j)]_{\mathcal{B}}\). This holds for every \(j\), so \(\mathbf{M}\) has exactly the constructed columns and must equal \([T]_{\mathcal{B}}\). \(\square\)

Checking the Same Input in Different Coordinates

The representation formula can also be checked on a vector that is not a basis vector. This is particularly useful for catching a mismatch between a coordinate vector and the actual vector it describes.

Worked Example: Apply the Operator Using the New Matrix

Use \(\mathcal{B}=((1,0),(1,1))\) and the vector \(\mathbf{x}=(3,2)\). First find its \(\mathcal{B}\)-coordinates. Solving \((3,2)=a(1,0)+b(1,1)=(a+b,b)\) gives \(b=2\) and \(a=1\). Hence \([\mathbf{x}]_{\mathcal{B}}=(1,2)^{\top}\).

Apply the matrix already computed in this basis:

$$ [T]_{\mathcal{B}}[\mathbf{x}]_{\mathcal{B}} = \begin{bmatrix}1&0\\1&3\end{bmatrix} \begin{bmatrix}1\\2\end{bmatrix} = \begin{bmatrix}1\\7\end{bmatrix}. $$

This is the coordinate vector of the output, not the output written in standard coordinates. Reconstruct the vector: \(1\mathbf{b}_1+7\mathbf{b}_2=(1,0)+7(1,1)=(8,7)\). Direct evaluation gives \(T(3,2)=(2\cdot3+2,\;3+2\cdot2)=(8,7)\), agreeing with the reconstruction.

Proposition: Let \(V\) be a finite-dimensional real vector space and fix an ordered basis \(\mathcal{B}\). Two linear operators \(T,S:V\to V\) have the same matrix in \(\mathcal{B}\) if and only if \(T=S\).

Proof. If \(T=S\), then \(T(\mathbf{b}_j)=S(\mathbf{b}_j)\) for every basis vector, so the coordinate columns defining their matrices agree and \([T]_{\mathcal{B}}=[S]_{\mathcal{B}}\). Conversely, suppose \([T]_{\mathcal{B}}=[S]_{\mathcal{B}}\). For any \(\mathbf{v}\in V\), the theorem gives \([T(\mathbf{v})]_{\mathcal{B}}=[T]_{\mathcal{B}}[\mathbf{v}]_{\mathcal{B}}=[S]_{\mathcal{B}}[\mathbf{v}]_{\mathcal{B}}=[S(\mathbf{v})]_{\mathcal{B}}\). Uniqueness of coordinates implies \(T(\mathbf{v})=S(\mathbf{v})\). This holds for every \(\mathbf{v}\), so \(T=S\). \(\square\)

Common Pitfall: Mixing Coordinate Systems

A frequent error is to compute \(T(\mathbf{b}_j)\) in standard coordinates and put those entries directly into a matrix claimed to be \([T]_{\mathcal{B}}\). For the basis \(\mathcal{B}=((1,0),(1,1))\), this would incorrectly use \((2,1)^{\top}\) as the first column because \(T(1,0)=(2,1)\) in standard coordinates. But that column would assert that \(T(\mathbf{b}_1)=2\mathbf{b}_1+1\mathbf{b}_2=(3,1)\), which is false. The correct \(\mathcal{B}\)-coordinates are \((1,1)^{\top}\), since \(1\mathbf{b}_1+1\mathbf{b}_2=(2,1)\).

The check is straightforward: multiply a proposed matrix by the coordinate vector of a basis vector, then reconstruct the resulting vector using that basis. If the reconstructed vector is not the actual image under \(T\), the column is wrong. This keeps three objects distinct: the operator \(T\), a vector such as \(T(\mathbf{b}_j)\), and the coordinate column representing that vector in a chosen basis.

Check Your Understanding

For each question, keep track of which basis is being used for the coordinate vector.

  1. For \(T(x,y)=(2x+y,\;x+2y)\), find \([T]_{\mathcal{E}}\) from the images of the standard basis vectors.
  2. In the basis \(\mathcal{B}=((1,0),(1,1))\), find \([T(\mathbf{b}_2)]_{\mathcal{B}}\) by expressing \(T(\mathbf{b}_2)\) as a combination of the basis vectors.
  3. Using \([T]_{\mathcal{B}}\), compute the \(\mathcal{B}\)-coordinate vector of \(T(2,1)\), then reconstruct the output in standard coordinates.
  4. Explain why the matrix of an operator is uniquely determined once an ordered basis is fixed.
  5. A proposed first column for \([T]_{\mathcal{B}}\) is \((2,1)^{\top}\). Reconstruct the vector it represents and decide whether it equals \(T(\mathbf{b}_1)\).

Test yourself: Linear Algebra final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon