Linear-Algebra-Done-Right · Unit 7 · Video 4 · Interactive Practice

The Matrix of a Vector: M(Tv)=M(T)M(v)\mathcal{M}(Tv) = \mathcal{M}(T)\mathcal{M}(v)

IKey Formulas

FormulaNameSetting
M(v)=(b1⋮bn)\mathcal{M}(v) = \begin{pmatrix} b_1 \\ \vdots \\ b_n \end{pmatrix} where v=b1v1+⋯+bnvnv = b_1 v_1 + \cdots + b_n v_nMatrix of a vectorBasis v1,…,vnv_1, \dots, v_n of VV; M:V→Fn,1\mathcal{M} : V \to \mathbf{F}^{n,1} is an isomorphism
M(T)⋅,k=M(Tvk)\mathcal{M}(T)_{\cdot,k} = \mathcal{M}(Tv_k)Column kk of M(T)\mathcal{M}(T)T∈L(V,W)T \in \mathcal{L}(V,W); coordinates with respect to w1,…,wmw_1, \dots, w_m
M(Tv)=M(T) M(v)\mathcal{M}(Tv) = \mathcal{M}(T)\,\mathcal{M}(v)Linear map = matrix times columnSame bases on both sides
dim⁡range⁡T=column rank of M(T)\dim \operatorname{range} T = \text{column rank of } \mathcal{M}(T)Rank from the matrixV,WV, W finite-dimensional; any bases

Key Insight: Once bases are chosen, every vector becomes a column of coordinates, and applying TT becomes multiplying that column by M(T)\mathcal{M}(T).

IICoordinates Depend on the Basis

One vector v∈R2v \in \mathbf{R}^2 generally has a different column M(v)\mathcal{M}(v) for each basis: the unique weights in v=b1v1+b2v2v = b_1 v_1 + b_2 v_2.

IIITwo Routes to the Same Column

For D:P4(R)→P3(R)D : \mathcal{P}_4(\mathbf{R}) \to \mathcal{P}_3(\mathbf{R}), differentiating then taking coordinates equals multiplying M(p)\mathcal{M}(p) by M(D)\mathcal{M}(D).

IVBuilding M(T)\mathcal{M}(T) Column by Column

Column kk of M(T)\mathcal{M}(T) is M(Tvk)\mathcal{M}(Tv_k), and the dimension of their span is dim⁡range⁡T\dim \operatorname{range} T.

💡 range⁡T\operatorname{range} T is defined without any basis, so although M(T)\mathcal{M}(T) can change when the bases of P3(R)\mathcal{P}_3(\mathbf{R}) and R3\mathbf{R}^3 change, its column rank never does.

VQuiz Questions

Problem 1 · Coordinates of a Polynomial

Given: p=4x−x3+6∈P3(R)p = 4x - x^3 + 6 \in \mathcal{P}_3(\mathbf{R}) with the standard basis 1,x,x2,x31, x, x^2, x^3 — find M(p)\mathcal{M}(p).

✅ Correct! One entry per basis vector, in the order 1,x,x2,x31, x, x^2, x^3, with 00 for the missing x2x^2 term.
❌ Not quite. The entries follow the basis 1,x,x2,x31, x, x^2, x^3, not the order in which the terms are written — and dim⁡P3(R)=4\dim \mathcal{P}_3(\mathbf{R}) = 4, so M(p)\mathcal{M}(p) is 44-by-11.
❌ Not quite. That column lists the coefficients from x3x^3 down to 11; entry kk must be the coefficient of the kk-th basis vector, starting with 11.
❌ Close, but… there is no x2x^2 term, yet x2x^2 is still a basis vector: its coefficient 00 keeps its place, so M(p)\mathcal{M}(p) is 44-by-11.
Show solution

Write pp as a linear combination of the basis 1,x,x2,x31, x, x^2, x^3:

p=6⋅1+4⋅x+0⋅x2+(−1)⋅x3.p = 6 \cdot 1 + 4 \cdot x + 0 \cdot x^2 + (-1) \cdot x^3.

The coefficients, in basis order, form the column

M(p)=(640−1).\mathcal{M}(p) = \begin{pmatrix} 6 \\ 4 \\ 0 \\ -1 \end{pmatrix}.

Problem 2 · Same Vector, Other Basis

Given: the basis v1=(2,1)v_1 = (2, 1), v2=(3,2)v_2 = (3, 2) of R2\mathbf{R}^2 and v=(4,3)v = (4, 3) — find M(v)\mathcal{M}(v) with respect to v1,v2v_1, v_2.

✅ Correct! −1⋅(2,1)+2(3,2)=(4,3)-1 \cdot (2, 1) + 2(3, 2) = (4, 3), so the coordinates of vv in this basis are −1-1 and 22.
❌ Not quite. (4,3)(4, 3) is M(v)\mathcal{M}(v) for the standard basis. M(v)\mathcal{M}(v) depends on the basis: you need b1,b2b_1, b_2 with b1(2,1)+b2(3,2)=(4,3)b_1 (2, 1) + b_2 (3, 2) = (4, 3).
❌ Not quite. Those weights solve 2b1+b2=42b_1 + b_2 = 4, 3b1+2b2=33b_1 + 2b_2 = 3, which treats v1,v2v_1, v_2 as the rows of the system; check: 5(2,1)−6(3,2)=(−8,−7)≠(4,3)5(2, 1) - 6(3, 2) = (-8, -7) \neq (4, 3).
❌ Close, but… the order matters: entry 11 is the coefficient of v1v_1. Check: 2(2,1)−1⋅(3,2)=(1,0)2(2, 1) - 1 \cdot (3, 2) = (1, 0).
Show solution

Find the unique b1,b2b_1, b_2 with b1(2,1)+b2(3,2)=(4,3)b_1 (2, 1) + b_2 (3, 2) = (4, 3):

2b1+3b2=4,b1+2b2=3.2b_1 + 3b_2 = 4, \qquad b_1 + 2b_2 = 3.

Subtract twice the second equation from the first: −b2=4−6=−2-b_2 = 4 - 6 = -2, so b2=2b_2 = 2 and b1=3−4=−1b_1 = 3 - 4 = -1. Check: −1⋅(2,1)+2(3,2)=(−2+6, −1+4)=(4,3)-1 \cdot (2, 1) + 2(3, 2) = (-2 + 6,\ -1 + 4) = (4, 3). Hence

M(v)=(−12).\mathcal{M}(v) = \begin{pmatrix} -1 \\ 2 \end{pmatrix}.

Problem 3 · Columns, Then the Product

Given: T∈L(P2(R),R2)T \in \mathcal{L}\big(\mathcal{P}_2(\mathbf{R}), \mathbf{R}^2\big) defined by Tp=(p(0)+p(1), p′(1))Tp = \big(p(0) + p(1),\ p'(1)\big), with the standard bases 1,x,x21, x, x^2 and e1,e2e_1, e_2 — find column 22 of M(T)\mathcal{M}(T), then M(Tp)\mathcal{M}(Tp) for p=3−x+2x2p = 3 - x + 2x^2.

Column 2 of M(T)?

M(Tp)?

✅ Correct! Column 22 is M(Tx)=(1,1)\mathcal{M}(Tx) = (1, 1), and M(T)M(p)=(7,3)\mathcal{M}(T)\mathcal{M}(p) = (7, 3) — the same column as computing Tp=(3+4, 3)Tp = (3 + 4,\ 3) directly.
❌ Not quite. That is row 22 of M(T)\mathcal{M}(T). Column kk is M(Tvk)\mathcal{M}(Tv_k), an mm-by-11 column — here 22-by-11.
❌ Not quite. (2,0)=M(T1)(2, 0) = \mathcal{M}(T1) is column 11. The second basis vector is v2=xv_2 = x, so column 22 is M(Tx)\mathcal{M}(Tx).
❌ Check column 2. Column 22 is M(Tv2)\mathcal{M}(Tv_2) with v2=xv_2 = x: compute x(0)+x(1)x(0) + x(1) and the derivative of xx at 11.
❌ Not quite. That multiplies M(T)\mathcal{M}(T) by (2,−1,3)(2, -1, 3), the coefficients of pp read from x2x^2 down. In the basis 1,x,x21, x, x^2, M(p)=(3,−1,2)\mathcal{M}(p) = (3, -1, 2).
❌ Check the product. M(Tp)=M(T)M(p)\mathcal{M}(Tp) = \mathcal{M}(T)\mathcal{M}(p) with M(p)=(3,−1,2)\mathcal{M}(p) = (3, -1, 2); both entries of TpTp must be included: p(0)+p(1)p(0) + p(1), then p′(1)p'(1).
Show solution

The columns. Column kk of M(T)\mathcal{M}(T) is M(Tvk)\mathcal{M}(Tv_k):

T1=(1+1, 0)=(2,0),Tx=(0+1, 1)=(1,1),Tx2=(0+1, 2)=(1,2),T1 = (1 + 1,\ 0) = (2, 0), \quad Tx = (0 + 1,\ 1) = (1, 1), \quad Tx^2 = (0 + 1,\ 2) = (1, 2), M(T)=(211012).\mathcal{M}(T) = \begin{pmatrix} 2 & 1 & 1 \\ 0 & 1 & 2 \end{pmatrix}.

So column 22 is (11)\begin{pmatrix} 1 \\ 1 \end{pmatrix}.

The product. M(p)=(3,−1,2)\mathcal{M}(p) = (3, -1, 2) as a column, so

M(Tp)=M(T)M(p)=3(20)−1(11)+2(12)=(73).\mathcal{M}(Tp) = \mathcal{M}(T)\mathcal{M}(p) = 3\begin{pmatrix} 2 \\ 0 \end{pmatrix} - 1\begin{pmatrix} 1 \\ 1 \end{pmatrix} + 2\begin{pmatrix} 1 \\ 2 \end{pmatrix} = \begin{pmatrix} 7 \\ 3 \end{pmatrix}.

Check directly: p(0)=3p(0) = 3, p(1)=3−1+2=4p(1) = 3 - 1 + 2 = 4, p′(x)=−1+4xp'(x) = -1 + 4x so p′(1)=3p'(1) = 3. Thus Tp=(7,3)Tp = (7, 3), whose coordinates in e1,e2e_1, e_2 are (7,3)(7, 3). ✓

Problem 4 · Range From the Matrix

Given: T∈L(V,W)T \in \mathcal{L}(V, W) with dim⁡V=4\dim V = 4, dim⁡W=3\dim W = 3, and with respect to some bases of VV and WW

M(T)=(12032417−1−21−2).\mathcal{M}(T) = \begin{pmatrix} 1 & 2 & 0 & 3 \\ 2 & 4 & 1 & 7 \\ -1 & -2 & 1 & -2 \end{pmatrix}.

Find dim⁡range⁡T\dim \operatorname{range} T and dim⁡null⁡T\dim \operatorname{null} T.

dim range T?

dim null T?

✅ Correct! Only two columns are independent, so dim⁡range⁡T=2\dim \operatorname{range} T = 2, and dim⁡null⁡T=4−2=2\dim \operatorname{null} T = 4 - 2 = 2 — whatever bases were used.
❌ Not quite. 44 counts the columns, but the column rank counts only linearly independent ones, and column 22 is twice column 11.
❌ Not quite. 3=dim⁡W3 = \dim W would mean TT is surjective; the columns are dependent — column 2=2⋅2 = 2 \cdot column 11 and column 4=3⋅4 = 3 \cdot column 1+1 + column 33.
❌ Check the column rank. dim⁡range⁡T\dim \operatorname{range} T is the column rank: find how many columns are linearly independent.
❌ Not quite. The fundamental theorem of linear maps uses the domain: dim⁡V=dim⁡null⁡T+dim⁡range⁡T\dim V = \dim \operatorname{null} T + \dim \operatorname{range} T, and dim⁡V=4\dim V = 4, not 33.
❌ Check the null space. Use dim⁡V=dim⁡null⁡T+dim⁡range⁡T\dim V = \dim \operatorname{null} T + \dim \operatorname{range} T with dim⁡V=4\dim V = 4.
Show solution

Call the columns c1,c2,c3,c4c_1, c_2, c_3, c_4. Then c2=2c1c_2 = 2c_1, and

3c1+c3=(36−3)+(011)=(37−2)=c4.3c_1 + c_3 = \begin{pmatrix} 3 \\ 6 \\ -3 \end{pmatrix} + \begin{pmatrix} 0 \\ 1 \\ 1 \end{pmatrix} = \begin{pmatrix} 3 \\ 7 \\ -2 \end{pmatrix} = c_4.

So the span of the columns is span⁡(c1,c3)\operatorname{span}(c_1, c_3), and c1,c3c_1, c_3 are linearly independent (neither is a scalar multiple of the other: c3c_3 has first entry 00 but is not zero). The column rank is 22, so

dim⁡range⁡T=column rank of M(T)=2.\dim \operatorname{range} T = \text{column rank of } \mathcal{M}(T) = 2.

By the fundamental theorem of linear maps, dim⁡null⁡T=dim⁡V−dim⁡range⁡T=4−2=2\dim \operatorname{null} T = \dim V - \dim \operatorname{range} T = 4 - 2 = 2. Neither answer depends on which bases produced M(T)\mathcal{M}(T).

Solved: 0 / 4