Place the landing vectors into matrix columnsSince multiplying a matrix by [32] combines 3 of the first column with 2 of the second column, the landing spots of [10] and [01] become the two columns of the standard matrix:
[2−114][32]=3[2−1]+2[14]=[85]
So the standard matrix of T is [2−114], and multiplying it by [32] sends the vector to [85].
Wherever the landing spots T([10]) and T([01]) are on the grid, their coordinates form the two columns of the matrix, and T([32]) always stays at 3 steps of the first column plus 2 steps of the second.
Each column of the matrix is just where a basis vector lands, and the output always stays at 3 of the first column plus 2 of the second.
2
When You Aren't Given the Standard Basis
Putting the given outputs straight into matrix columns only works when the inputs are [10] and [01]. Now suppose we are only told where T sends two other vectors:
T([11])T([12])=[21]=[13]
We want to find where T sends [45], and then find the standard matrix of T.
We cannot take 4 of the first output plus 5 of the second, because 4 and 5 are coordinates for [10] and [01], not for [11] and [12].
When You Aren't Given the Standard Basis
Text solution
Write [45] in terms of the given vectorsTreat [11] and [12] as our basis, find how many of each build [45], and apply those same coordinates to their outputs:
Build [10] from the given vectors for column 1Write [10] as a combination of [11] and [12], then use those coordinates on the outputs:
[10]=2[11]−1[12]
T([10])=2[21]−1[13]=[42]−[13]=[3−1]
Build [01] from the given vectors for column 2Write [01] in terms of [11] and [12], and combine the outputs the same way:
[01]=−1[11]+1[12]
T([01])=−1[21]+1[13]=[−2−1]+[13]=[−12]
Putting the two landing spots together gives the standard matrix [3−1−12], which sends [45] directly to [3−1−12][45]=[76]. With small 2D numbers you can usually spot the combinations for [10] and [01] right away, though on a test you can always write out the two equations if the numbers aren't obvious.
On the grid lined with [11] and [12], the steps that reach a target vector are the same steps along [21] and [13] that build its output. Aiming at [10] and [01] gives the two columns of the standard matrix.
Steps along the given vectors become the exact same steps along their outputs, and finding those steps for the standard basis vectors gives the two columns of the standard matrix.
3
The Derivative as a Matrix
Now let's step outside of 2D arrows to polynomials up to degree 2, such as 2+5x+3x2. Using the standard basis {1,x,x2}, we want to write the derivative dxd as a 3×3 matrix and use it to take the derivative of 2+5x+3x2.
In the basis {1,x,x2}, every polynomial is recorded by the column of its three coefficients, and the derivative is a linear map because it splits across sums and pulls out constants:
dxd(f+g)dxd(cf)=dxdf+dxdg=cdxdf
The Derivative as a Matrix
dxd=?????????
2+5x+3x2
Text solution
Differentiate each basis vector to get the three columnsApply dxd to 1,x, and x2 one at a time, and write each result in coordinates for the basis {1,x,x2}:
Multiply the derivative matrix by the polynomial's coordinatesPut the three columns into a matrix and multiply by 253, the coordinate column for 2+5x+3x2:
Turning the output column 560 back into a polynomial using {1,x,x2} gives 5(1)+6(x)+0(x2)=5+6x, which is the derivative of 2+5x+3x2. You can differentiate 2+5x+3x2 in your head to check the answer, and a test asks for the matrix to see that you can turn each basis vector's output into a coordinate column.
4
Any Input Basis, Any Output Basis
In the derivative example, the input and output were both polynomials in the same basis {1,x,x2}. Now suppose a linear map takes a polynomial p(x)=a+bx+cx2 and outputs a 2D vector by plugging in x=0 and x=1:
T(p(x))=[p(0)p(1)]
We want to find the matrix for T using the input basis {1,x,x2} and the output basis {[11],[01]}.
Any Input Basis, Any Output Basis
Text solution
Plug in 1 and write the result in the output basis for column 1Evaluate the first input basis vector p(x)=1 at x=0 and x=1, then break the resulting 2D vector into the output basis {[11],[01]}:
T(1)=[11]=1[11]+0[01]⟶[10]
Plug in x and write the result in the output basis for column 2Evaluate p(x)=x at x=0 and x=1, and write that vector in the output basis:
T(x)=[01]=0[11]+1[01]⟶[01]
Plug in x2 and write the result in the output basis for column 3Evaluate p(x)=x2 at x=0 and x=1, and write that vector in the output basis:
T(x2)=[01]=0[11]+1[01]⟶[01]
Putting the three columns together gives the 2×3 matrix [100101], which takes the coordinates of p(x) in {1,x,x2} and outputs the coordinates of T(p(x)) in {[11],[01]}.
Key concepts
Building the matrix of a linear map T always comes down to one question: where do the input basis vectors land, written in the output basis?
If a problem already gives you where the standard basis lands in standard coordinates, such as T([10])=[2−1] and T([01])=[14], there is nothing to solve: put those outputs straight into the columns to get [2−114].
If you are instead given where non-standard vectors land, such as T([11])=[21] and T([12])=[13], don't put those outputs into the matrix. First write the basis vector you need in terms of the given vectors, like [10]=2[11]−1[12], so that you can apply those same coordinates to the outputs: T([10])=2[21]−1[13]=[3−1].
When the input and output have their own bases, whether polynomials in {1,x,x2} or 2D vectors in {[11],[01]}, plug each input basis vector into T and write the result in the output basis. Those coordinates form that input vector's column: for T(1)=[11]=1[11]+0[01], the column is [10].
5
Practice
1
A linear map T in 2D sends [10] to [3−2] and [01] to [−15]. What is the standard matrix of T, and where does T send [24]?
Do the landing spots of [10] and [01] go into the matrix as rows or as columns?
The landing spots of [10] and [01] form the columns of the standard matrix (watch out for the common mistake of putting them in as rows to get [3−1−25], which would send [24] to [−218]):
[3−2−15]
Multiply this matrix by [24] by combining the columns with coordinates 2 and 4:
T([24])=2[3−2]+4[−15]=[6−4]+[−420]=[216]
2
A linear map T in 2D satisfies T([11])=[31] and T([23])=[45]. Find the standard matrix of T, and use it to find T([43]).
Because the given inputs are not the standard basis, don't put [31] and [45] directly into the columns (that gives the wrong matrix [3145] and the wrong output [2419]).
The given inputs are not [10] and [01]. How many of [11] and [23] do you need to combine to build [10], and then [01]?
Because the given inputs are not the standard basis, don't put [31] and [45] directly into the columns (that gives the wrong matrix [3145] and the wrong output [2419]). Instead, write [10] and [01] as combinations of [11] and [23]:
[10][01]=3[11]−1[23]=−2[11]+1[23]
Apply those same coordinates to the outputs [31] and [45] to get the two columns:
On the space of polynomials up to degree 2 with standard basis {1,x,x2}, let T(p(x))=p(x)+dxd(p(x)). Find the 3×3 matrix for T in this basis, and use it to find T(4−x+3x2).
Plug each basis vector into T(p(x))=p(x)+dxd(p(x)) (being careful not to leave out the p(x) term, which would give the derivative matrix 000100020 and the wrong answer −1+6x).
Plug 1,x, and x2 into p(x)+dxd(p(x)) one by one, and remember that the map adds the original polynomial to its derivative.
Plug each basis vector into T(p(x))=p(x)+dxd(p(x)) (being careful not to leave out the p(x) term, which would give the derivative matrix 000100020 and the wrong answer −1+6x):
Let T take a polynomial p(x) up to degree 2 and output the 2D vector T(p(x))=[p(0)p(2)]. Find the matrix of T using the input basis {1,x,x2} and the output basis {[10],[11]}.
First plug the three input basis vectors into T(p(x))=[p(0)p(2)], and then rewrite each result in the output basis {[10],[11]} (don't stop early and put the outputs [11],[02], and [04] straight into the columns to get [110204], because those are in standard coordinates).
After finding T(1),T(x), and T(x2), notice that the output basis is {[10],[11]}. How many of [10] and [11] build each output vector?
First plug the three input basis vectors into T(p(x))=[p(0)p(2)], and then rewrite each result in the output basis {[10],[11]} (don't stop early and put the outputs [11],[02], and [04] straight into the columns to get [110204], because those are in standard coordinates):
Putting the three coordinate columns together gives:
[01−22−44]
5
A linear map T in 2D has the standard matrix [2013]. Find the matrix of T using the input basis {[11],[10]} and the output basis {[11],[01]}.
Multiply the standard matrix by each input basis vector to see where it lands, then rewrite each resulting vector as a combination of the output basis {[11],[01]}.
First multiply the standard matrix [2013] by the two input basis vectors [11] and [10]:
Now write those outputs in the output basis {[11],[01]} (watch out for leaving [33] and [20] in standard coordinates to get [3320], or accidentally rewriting them in the input basis {[11],[10]} to get [3002]):