Linear AlgebraLinear Transformations1 of 7
Linear Transformations · 1

Transformations That Keep Grids Straight

When a transformation moves every point on a grid to a new spot all at once, we want a simple way to figure out where every point lands without tracking an infinite number of points one by one.

1

Keeping the Grid Straight

A transformation (or map) takes each point on the grid and moves it to a new spot. In linear algebra, we focus on transformations that keep the grid lines straight, parallel, and evenly spaced, with the center (0,0)(0, 0) pinned in place.

(0,0)(0, 0)
[10]\htmlClass{lc-green}{\begin{bmatrix} 1 \\ 0 \end{bmatrix}}
[01]\htmlClass{lc-pink}{\begin{bmatrix} 0 \\ 1 \end{bmatrix}}
(3,2)\htmlClass{lc-blue}{(3, 2)}
(0,0)(0, 0)
[21]\htmlClass{lc-green}{\begin{bmatrix} 2 \\ 1 \end{bmatrix}}
[−12]\htmlClass{lc-pink}{\begin{bmatrix} -1 \\ 2 \end{bmatrix}}
where (3,2) lands\htmlClass{lc-blue}{\text{where } (3, 2) \text{ lands}}
Keeping the Grid Straight
[10]\htmlClass{lc-green}{\begin{bmatrix} 1 \\ 0 \end{bmatrix}}
[01]\htmlClass{lc-pink}{\begin{bmatrix} 0 \\ 1 \end{bmatrix}}
(3,2)\htmlClass{lc-blue}{(3, 2)}

Because the grid never bends or bunches up unevenly, the point (3,2)\built{(3, 2)} is reached by the exact same steps before and after the move:

Before: 3 green arrows+2 pink arrows⟶After: 3 new green arrows+2 new pink arrows\displaystyle \begin{aligned} \text{Before: } &\arrowone{3}\arrowone{\text{ green arrows}} \\ &+ \arrowtwo{2}\arrowtwo{\text{ pink arrows}} \\[6pt] \longrightarrow \quad \text{After: } &\arrowone{3}\arrowone{\text{ new green arrows}} \\ &+ \arrowtwo{2}\arrowtwo{\text{ new pink arrows}} \end{aligned}
2

Where Every Point Lands

Now we want to find the exact coordinates where the vector [32]\built{\begin{bmatrix} 3 \\ 2 \end{bmatrix}} lands when the green arrow [10]\arrowone{\begin{bmatrix} 1 \\ 0 \end{bmatrix}} lands at [21]\arrowone{\begin{bmatrix} 2 \\ 1 \end{bmatrix}} and the pink arrow [01]\arrowtwo{\begin{bmatrix} 0 \\ 1 \end{bmatrix}} lands at [−12]\arrowtwo{\begin{bmatrix} -1 \\ 2 \end{bmatrix}}.

Where Every Point Lands
(0,0)(0, 0)
[21]\htmlClass{lc-green}{\begin{bmatrix} 2 \\ 1 \end{bmatrix}}
[−12]\htmlClass{lc-pink}{\begin{bmatrix} -1 \\ 2 \end{bmatrix}}
(3,2)\htmlClass{lc-blue}{(3, 2)}
?\htmlClass{lc-orange}{?}
Text solution
Break the starting vector into arrowsWrite [32]\built{\begin{bmatrix} 3 \\ 2 \end{bmatrix}} as 3\arrowone{3} green arrows plus 2\arrowtwo{2} pink arrows:
[32]=3[10]+2[01]\displaystyle \built{\begin{bmatrix} 3 \\ 2 \end{bmatrix}} = \arrowone{3}\arrowone{\begin{bmatrix} 1 \\ 0 \end{bmatrix}} + \arrowtwo{2}\arrowtwo{\begin{bmatrix} 0 \\ 1 \end{bmatrix}}
Replace with the landed arrows and addTake 3\arrowone{3} of the new green arrow plus 2\arrowtwo{2} of the new pink arrow to find where [32]\built{\begin{bmatrix} 3 \\ 2 \end{bmatrix}} lands:
3[21]+2[−12]=[63]+[−24]=[47]\displaystyle \arrowone{3}\arrowone{\begin{bmatrix} 2 \\ 1 \end{bmatrix}} + \arrowtwo{2}\arrowtwo{\begin{bmatrix} -1 \\ 2 \end{bmatrix}} = \arrowone{\begin{bmatrix} 6 \\ 3 \end{bmatrix}} + \arrowtwo{\begin{bmatrix} -2 \\ 4 \end{bmatrix}} = \built{\begin{bmatrix} 4 \\ 7 \end{bmatrix}}
Pack the landed arrows into a matrixPut the new green arrow into the first column and the new pink arrow into the second column to write the move as a matrix multiplying [32]\built{\begin{bmatrix} 3 \\ 2 \end{bmatrix}}:
[2−112]⏟landed arrows[32]=[47]\displaystyle \underbrace{\begin{bmatrix} \arrowone{2} & \arrowtwo{-1} \\ \arrowone{1} & \arrowtwo{2} \end{bmatrix}}_{\text{landed arrows}}\built{\begin{bmatrix} 3 \\ 2 \end{bmatrix}} = \built{\begin{bmatrix} 4 \\ 7 \end{bmatrix}}

So the point (3,2)\built{(3, 2)} lands at (4,7)\built{(4, 7)}, and the two columns of the matrix record where the green and pink arrows land.

Try dragging the green and pink arrows around (0,0)(0, 0) to see how (3,2)\built{(3, 2)} and the matrix columns follow them, even if you line the two arrows up and squish the whole grid onto a single line.

Where the green and pink arrows land sets the two columns of the matrix and fixes where every point on the grid lands, always at the same combination of those two arrows.
3

The Two Rules of Linearity

When we aren't given a picture of a grid, or when we work with vectors that don't live on a 2D grid, we need a way to tell from a formula whether a transformation T\themap{T} follows these straight-grid rules. A linear transformation is a transformation T\themap{T} where adding vectors and scaling vectors work the exact same way before and after the move.

The Two Rules of Linearity
(0,0)(0, 0)
v\htmlClass{lc-blue}{v}
T\htmlClass{lc-violet}{T}
T(v)\htmlClass{lc-violet}{T}(\htmlClass{lc-blue}{v})

To be a linear transformation, T\themap{T} must obey two rules for all vectors u,vu, v and any scaling number cc:

Rule 1 (Adding):T(u+v)=T(u)+T(v)Rule 2 (Scaling):T(cv)=cT(v)\displaystyle \begin{aligned} \text{Rule 1 (Adding):} & \\ \themap{T}(u + v) &= \themap{T}(u) + \themap{T}(v) \\[8pt] \text{Rule 2 (Scaling):} & \\ \themap{T}(cv) &= c\themap{T}(v) \end{aligned}

These two rules are what let us break [32]\built{\begin{bmatrix} 3 \\ 2 \end{bmatrix}} into building blocks inside T\themap{T}, split the addition, and pull the scaling numbers out front:

T(3(green)+2(pink))  =Rule 1  T(3(green))+T(2(pink))  =Rule 2  3T(green)+2T(pink)\displaystyle \begin{aligned} &\themap{T}\big(\arrowone{3}(\arrowone{\text{green}}) + \arrowtwo{2}(\arrowtwo{\text{pink}})\big) \\ &\quad\;\overset{\text{Rule 1}}{=}\; \themap{T}\big(\arrowone{3}(\arrowone{\text{green}})\big) + \themap{T}\big(\arrowtwo{2}(\arrowtwo{\text{pink}})\big) \\ &\quad\;\overset{\text{Rule 2}}{=}\; \arrowone{3}\themap{T}(\arrowone{\text{green}}) + \arrowtwo{2}\themap{T}(\arrowtwo{\text{pink}}) \end{aligned}

Because the grid lines stay straight, parallel, and evenly spaced, the parallelogram made by uu and vv tilts and stretches without coming apart, so T(u+v)\themap{T}(u + v) still lands at the tip of T(u)+T(v)\themap{T}(u) + \themap{T}(v).

Because the grid lines stay straight, parallel, and evenly spaced, the parallelogram tilts and stretches without coming apart, so adding two vectors before transforming always lands on the exact same spot as transforming them first and adding them afterward.
4

Testing Formulas for Linearity

Given a formula for T([xy])\themap{T}\left(\begin{bmatrix} x \\ y \end{bmatrix}\right), we want to test whether it is a linear transformation. Setting c=0c = 0 in the scaling rule T(cv)=cT(v)\themap{T}(cv) = c\themap{T}(v) gives a quick Zero Check to try before anything else:

T([00])=[00]\displaystyle \themap{T}\left(\begin{bmatrix} 0 \\ 0 \end{bmatrix}\right) = \begin{bmatrix} 0 \\ 0 \end{bmatrix}
(0,0)(0, 0)
(5,0)\htmlClass{lc-orange}{(5, 0)}
Testing Formulas for Linearity
T ⁣([xy])=[x+5y]T ⁣([xy])=[x2y]T ⁣([xy])=[2x−yx+2y]\displaystyle \begin{aligned} \themap{T}\!\left(\begin{bmatrix} x \\ y \end{bmatrix}\right) &= \begin{bmatrix} x + 5 \\ y \end{bmatrix} \\[14pt] \themap{T}\!\left(\begin{bmatrix} x \\ y \end{bmatrix}\right) &= \begin{bmatrix} x^2 \\ y \end{bmatrix} \\[14pt] \themap{T}\!\left(\begin{bmatrix} x \\ y \end{bmatrix}\right) &= \begin{bmatrix} 2x - y \\ x + 2y \end{bmatrix} \end{aligned}
Which are linear?\displaystyle \text{Which are linear?}
Text solution
Test a shift using the Zero Check: T([xy])=[x+5y]\themap{T}\left(\begin{bmatrix} x \\ y \end{bmatrix}\right) = \begin{bmatrix} x + 5 \\ y \end{bmatrix}Plug in [00]\begin{bmatrix} 0 \\ 0 \end{bmatrix} to see if the origin stays pinned:
T([00])=[0+50]=[50]≠[00]\displaystyle \themap{T}\left(\begin{bmatrix} 0 \\ 0 \end{bmatrix}\right) = \begin{bmatrix} 0 + 5 \\ 0 \end{bmatrix} = \broken{\begin{bmatrix} 5 \\ 0 \end{bmatrix}} \broken{\neq} \begin{bmatrix} 0 \\ 0 \end{bmatrix}
So T([xy])=[x+5y]\themap{T}\left(\begin{bmatrix} x \\ y \end{bmatrix}\right) = \begin{bmatrix} x + 5 \\ y \end{bmatrix} is not linear because it moves the origin to (5,0)\broken{(5, 0)}.
Test a squared coordinate using a counterexample: T([xy])=[x2y]\themap{T}\left(\begin{bmatrix} x \\ y \end{bmatrix}\right) = \begin{bmatrix} x^2 \\ y \end{bmatrix}Even though T([00])=[00]\themap{T}\left(\begin{bmatrix} 0 \\ 0 \end{bmatrix}\right) = \begin{bmatrix} 0 \\ 0 \end{bmatrix}, stretching v=[10]v = \begin{bmatrix} 1 \\ 0 \end{bmatrix} by c=3c = 3 before applying T\themap{T} does not match applying T\themap{T} first and stretching by 33 afterward:
T(3[10])=T([30])=[320]=[90]≠3T([10])=3[10]=[30]\displaystyle \begin{aligned} \themap{T}\left(3\begin{bmatrix} 1 \\ 0 \end{bmatrix}\right) &= \themap{T}\left(\begin{bmatrix} 3 \\ 0 \end{bmatrix}\right) \\ &= \begin{bmatrix} 3^2 \\ 0 \end{bmatrix} = \built{\begin{bmatrix} 9 \\ 0 \end{bmatrix}} \\ &\broken{\neq} 3\themap{T}\left(\begin{bmatrix} 1 \\ 0 \end{bmatrix}\right) \\ &= 3\begin{bmatrix} 1 \\ 0 \end{bmatrix} = \built{\begin{bmatrix} 3 \\ 0 \end{bmatrix}} \end{aligned}
So T([xy])=[x2y]\themap{T}\left(\begin{bmatrix} x \\ y \end{bmatrix}\right) = \begin{bmatrix} x^2 \\ y \end{bmatrix} is not linear because squaring stretches the grid spacing unevenly.
Prove both rules hold for all vectors: T([xy])=[2x−yx+2y]\themap{T}\left(\begin{bmatrix} x \\ y \end{bmatrix}\right) = \begin{bmatrix} 2x - y \\ x + 2y \end{bmatrix}First check scaling on a general vector [cxcy]\begin{bmatrix} cx \\ cy \end{bmatrix} by factoring cc out of every row:
T([cxcy])=[2(cx)−cycx+2(cy)]=c[2x−yx+2y]=cT([xy])\displaystyle \begin{aligned} \themap{T}\left(\begin{bmatrix} cx \\ cy \end{bmatrix}\right) &= \begin{bmatrix} 2(cx) - cy \\ cx + 2(cy) \end{bmatrix} \\ &= c\begin{bmatrix} 2x - y \\ x + 2y \end{bmatrix} \\ &= c\themap{T}\left(\begin{bmatrix} x \\ y \end{bmatrix}\right) \end{aligned}
Check adding on two general vectors and write the matrixPlug in u+v=[x1+x2y1+y2]u + v = \begin{bmatrix} x_1 + x_2 \\ y_1 + y_2 \end{bmatrix}, group the x1,y1x_1, y_1 terms and the x2,y2x_2, y_2 terms into separate vectors, and match the formula to a matrix product:
T([x1+x2y1+y2])=[2(x1+x2)−(y1+y2)(x1+x2)+2(y1+y2)]=[2x1−y1x1+2y1]+[2x2−y2x2+2y2]=T(u)+T(v)\displaystyle \begin{aligned} &\themap{T}\left(\begin{bmatrix} x_1 + x_2 \\ y_1 + y_2 \end{bmatrix}\right) \\ &\quad= \begin{bmatrix} 2(x_1 + x_2) - (y_1 + y_2) \\ (x_1 + x_2) + 2(y_1 + y_2) \end{bmatrix} \\ &\quad= \begin{bmatrix} 2x_1 - y_1 \\ x_1 + 2y_1 \end{bmatrix} + \begin{bmatrix} 2x_2 - y_2 \\ x_2 + 2y_2 \end{bmatrix} \\ &\quad= \themap{T}(u) + \themap{T}(v) \end{aligned}
T([xy])=[2x−yx+2y]=[2−112][xy]\displaystyle \begin{aligned} \themap{T}\left(\begin{bmatrix} x \\ y \end{bmatrix}\right) &= \begin{bmatrix} \arrowone{2x} - \arrowtwo{y} \\ \arrowone{x} + \arrowtwo{2y} \end{bmatrix} \\ &= \begin{bmatrix} \arrowone{2} & \arrowtwo{-1} \\ \arrowone{1} & \arrowtwo{2} \end{bmatrix}\begin{bmatrix} x \\ y \end{bmatrix} \end{aligned}

So T([xy])=[2x−yx+2y]\themap{T}\left(\begin{bmatrix} x \\ y \end{bmatrix}\right) = \begin{bmatrix} 2x - y \\ x + 2y \end{bmatrix} is a linear transformation. In fact, because matrix multiplication obeys A(u+v)=Au+Av\themap{A}(u + v) = \themap{A}u + \themap{A}v and A(cv)=c(Av)\themap{A}(cv) = c(\themap{A}v), you can spot right away that any formula that can be written as Av\themap{A}v (with no added constants like +5+5 or powers like x2x^2) is linear. Still, when you need to prove linearity from the rules, write out the steps with [cxcy]\begin{bmatrix} cx \\ cy \end{bmatrix} and [x1+x2y1+y2]\begin{bmatrix} x_1 + x_2 \\ y_1 + y_2 \end{bmatrix}.

Try moving v\built{v} under T([xy])=[x2y]\themap{T}\left(\begin{bmatrix} x \\ y \end{bmatrix}\right) = \begin{bmatrix} x^2 \\ y \end{bmatrix} to see how the uneven horizontal spacing pulls T(2v)\themap{T}(2\built{v}) away from 2T(v)2\themap{T}(\built{v}) whenever v\built{v} has a non-zero xx-coordinate, even though (0,0)(0, 0) stays pinned.

Even when the origin stays put, unevenly spaced grid lines mean doubling the input no longer just doubles the output.
5

Linear Transformations on Polynomials

Polynomials like 3x2+2x+5\built{3x^2 + 2x + 5} are vectors too because we can add them together and scale them by numbers, even though there is no 2D grid to look at. We want to find what the derivative transformation D\themap{D} does to 3x2+2x+5\built{3x^2 + 2x + 5} using only where D\themap{D} sends the simple building-block polynomials 11, xx, and x2x^2:

D(1)\displaystyle \themap{D}(1) =0,D(x)\displaystyle = 0, \qquad \themap{D}(x) =1,D(x2)\displaystyle = 1, \qquad \themap{D}(x^2) =2x\displaystyle = 2x

Remember from calculus that the derivative of a sum is the sum of the derivatives, and constant multiples pull out front:

D(f+g)=D(f)+D(g)andD(cf)=cD(f)\displaystyle \begin{aligned} \themap{D}(f + g) &= \themap{D}(f) + \themap{D}(g) \\ \qquad \text{and} \qquad \themap{D}(cf) &= c\themap{D}(f) \end{aligned}

Because D\themap{D} obeys both rules of linearity, breaking an input into building blocks works the exact same way on polynomials.

Linear Transformations on Polynomials
3x2+2x+5\htmlClass{lc-blue}{3x^2 + 2x + 5}
D\htmlClass{lc-violet}{D}
?\htmlClass{lc-orange}{?}
Text solution
Break the polynomial into building blocksWrite 3x2+2x+5\built{3x^2 + 2x + 5} as a combination of the building blocks x2x^2, xx, and 11:
3x2+2x+5\displaystyle \built{3x^2 + 2x + 5} =3(x2)+2(x)+5(1)\displaystyle = 3(x^2) + 2(x) + 5(1)
Split addition and pull out the scaling numbersUse Rules 1 and 2 so D\themap{D} acts on each building block separately:
D(3x2+2x+5)=D(3x2)+D(2x)+D(5⋅1)=3D(x2)+2D(x)+5D(1)\displaystyle \begin{aligned} &\themap{D}(\built{3x^2 + 2x + 5}) \\ &\quad= \themap{D}(3x^2) + \themap{D}(2x) + \themap{D}(5 \cdot 1) \\ &\quad= 3\themap{D}(x^2) + 2\themap{D}(x) + 5\themap{D}(1) \end{aligned}
Plug in the transformed building blocksSubstitute D(x2)=2x\themap{D}(x^2) = 2x, D(x)=1\themap{D}(x) = 1, and D(1)=0\themap{D}(1) = 0:
3(2x)+2(1)+5(0)\displaystyle 3(2x) + 2(1) + 5(0) =6x+2\displaystyle = \built{6x + 2}

So D\themap{D} sends 3x2+2x+5\built{3x^2 + 2x + 5} to 6x+2\built{6x + 2}, using the same building-block method we used for arrows on a grid.

Key concepts

A linear transformation can be recognized in two ways that mean the exact same thing: visually on a grid, it keeps grid lines straight, parallel, and evenly spaced (even if squished flat onto a line) with (0,0)(0, 0) pinned; algebraically for any vectors anywhere, adding and scaling work the same before and after:

T(u+v)=T(u)+T(v)andT(cv)=cT(v)\displaystyle \begin{aligned} \themap{T}(u + v) &= \themap{T}(u) + \themap{T}(v) \\ \qquad \text{and} \qquad \themap{T}(cv) &= c\themap{T}(v) \end{aligned}
When you already know T\themap{T} is linear and want to find where an input lands

Break the input into simple building blocks ([10]\arrowone{\begin{bmatrix} 1 \\ 0 \end{bmatrix}} and [01]\arrowtwo{\begin{bmatrix} 0 \\ 1 \end{bmatrix}} on a 2D grid, or 11, xx, and x2x^2 for polynomials), pull the scaling numbers out front, and plug in where the building blocks land:

T([32])=3T([10])+2T([01]),D(3x2+2x+5)=3D(x2)+2D(x)+5D(1)\displaystyle \begin{aligned} &\themap{T}\left(\built{\begin{bmatrix} 3 \\ 2 \end{bmatrix}}\right) \\ &\quad= \arrowone{3}\themap{T}\left(\arrowone{\begin{bmatrix} 1 \\ 0 \end{bmatrix}}\right) + \arrowtwo{2}\themap{T}\left(\arrowtwo{\begin{bmatrix} 0 \\ 1 \end{bmatrix}}\right), \\[6pt] &\themap{D}(\built{3x^2 + 2x + 5}) \\ &\quad= 3\themap{D}(x^2) + 2\themap{D}(x) + 5\themap{D}(1) \end{aligned}
On a 2D grid, placing the landed green and pink arrows into the columns packs the transformation into a matrix:
T([xy])=[2−112][xy]\displaystyle \themap{T}\left(\begin{bmatrix} x \\ y \end{bmatrix}\right) = \begin{bmatrix} \arrowone{2} & \arrowtwo{-1} \\ \arrowone{1} & \arrowtwo{2} \end{bmatrix}\begin{bmatrix} x \\ y \end{bmatrix}

When you are given a formula and asked to test if it is linear

Start with the Zero Check T(0)=0\themap{T}(0) = 0. If the origin moves, as in T([xy])=[x+5y]\themap{T}\left(\begin{bmatrix} x \\ y \end{bmatrix}\right) = \begin{bmatrix} x + 5 \\ y \end{bmatrix} where T([00])=[50]\themap{T}\left(\begin{bmatrix} 0 \\ 0 \end{bmatrix}\right) = \broken{\begin{bmatrix} 5 \\ 0 \end{bmatrix}}, stop right away; you do not need to test u+vu + v or cvcv. If (0,0)(0, 0) stays pinned but the formula has exponents like T([xy])=[x2y]\themap{T}\left(\begin{bmatrix} x \\ y \end{bmatrix}\right) = \begin{bmatrix} x^2 \\ y \end{bmatrix}, do not write out general letters x1,x2x_1, x_2. Just pick one specific vector and number (such as v=[10]v = \begin{bmatrix} 1 \\ 0 \end{bmatrix} and c=3c = 3, giving T(3v)=[90]≠3T(v)=[30]\themap{T}(3v) = \built{\begin{bmatrix} 9 \\ 0 \end{bmatrix}} \broken{\neq} 3\themap{T}(v) = \built{\begin{bmatrix} 3 \\ 0 \end{bmatrix}}) to show a rule breaks. Save the full algebra with general vectors [cxcy]\begin{bmatrix} cx \\ cy \end{bmatrix} and [x1+x2y1+y2]\begin{bmatrix} x_1 + x_2 \\ y_1 + y_2 \end{bmatrix} for proving that a matrix-style formula like T([xy])=[2x−yx+2y]\themap{T}\left(\begin{bmatrix} x \\ y \end{bmatrix}\right) = \begin{bmatrix} 2x - y \\ x + 2y \end{bmatrix} obeys both rules for every vector.

6

Practice

1

A linear transformation T\themap{T} sends the green basis arrow [10]\arrowone{\begin{bmatrix} 1 \\ 0 \end{bmatrix}} to [3−1]\arrowone{\begin{bmatrix} 3 \\ -1 \end{bmatrix}} and the pink basis arrow [01]\arrowtwo{\begin{bmatrix} 0 \\ 1 \end{bmatrix}} to [14]\arrowtwo{\begin{bmatrix} 1 \\ 4 \end{bmatrix}}. Where does T\themap{T} send the vector [25]\built{\begin{bmatrix} 2 \\ 5 \end{bmatrix}}, and what matrix represents T\themap{T}?

[25]\built{\begin{bmatrix} 2 \\ 5 \end{bmatrix}} is built from how many green arrows and how many pink arrows? When you build the matrix, do the landed arrows go in the rows or the columns?

Write [25]=2[10]+5[01]\built{\begin{bmatrix} 2 \\ 5 \end{bmatrix}} = \arrowone{2}\arrowone{\begin{bmatrix} 1 \\ 0 \end{bmatrix}} + \arrowtwo{5}\arrowtwo{\begin{bmatrix} 0 \\ 1 \end{bmatrix}} and replace each basis arrow with where it lands:
T([25])=2[3−1]+5[14]=[6−2]+[520]=[1118]\displaystyle \begin{aligned} \themap{T}\left(\built{\begin{bmatrix} 2 \\ 5 \end{bmatrix}}\right) &= \arrowone{2}\arrowone{\begin{bmatrix} 3 \\ -1 \end{bmatrix}} + \arrowtwo{5}\arrowtwo{\begin{bmatrix} 1 \\ 4 \end{bmatrix}} \\ &= \arrowone{\begin{bmatrix} 6 \\ -2 \end{bmatrix}} + \arrowtwo{\begin{bmatrix} 5 \\ 20 \end{bmatrix}} = \built{\begin{bmatrix} 11 \\ 18 \end{bmatrix}} \end{aligned}
(Watch the negative sign in 2(−1)+5(4)=−2+20=18\arrowone{2(-1)} + \arrowtwo{5(4)} = \arrowone{-2} + \arrowtwo{20} = 18; dropping the minus sign gives [1122]\begin{bmatrix} 11 \\ 22 \end{bmatrix}.)
To write the matrix, put the landed arrows into the columns. Putting them into the rows is a common slip that gives the transposed matrix [3−114]\begin{bmatrix} \arrowone{3} & \arrowone{-1} \\ \arrowtwo{1} & \arrowtwo{4} \end{bmatrix} (which would send [25]\built{\begin{bmatrix} 2 \\ 5 \end{bmatrix}} to [122]\begin{bmatrix} 1 \\ 22 \end{bmatrix}):
[31−14]\displaystyle \begin{bmatrix} \arrowone{3} & \arrowtwo{1} \\ \arrowone{-1} & \arrowtwo{4} \end{bmatrix}
2

Test whether each transformation is linear: (a) T([xy])=[xy−3]\themap{T}\left(\begin{bmatrix} x \\ y \end{bmatrix}\right) = \begin{bmatrix} x \\ y - 3 \end{bmatrix} and (b) T([xy])=[xy3]\themap{T}\left(\begin{bmatrix} x \\ y \end{bmatrix}\right) = \begin{bmatrix} x \\ y^3 \end{bmatrix}. For each one that is not linear, show a specific rule it breaks.

Try the Zero Check on [00]\begin{bmatrix} 0 \\ 0 \end{bmatrix} first; if [00]\begin{bmatrix} 0 \\ 0 \end{bmatrix} stays pinned, test the scaling rule T(cv)=cT(v)\themap{T}(cv) = c\themap{T}(v) on a simple vector whose yy-coordinate isn't zero.

Neither transformation is linear.
For (a), don't be fooled by the fact that xx and yy have no exponents. Check where the origin lands:
T([00])=[00−3]=[0−3]≠[00]\displaystyle \themap{T}\left(\begin{bmatrix} 0 \\ 0 \end{bmatrix}\right) = \begin{bmatrix} 0 \\ 0 - 3 \end{bmatrix} = \broken{\begin{bmatrix} 0 \\ -3 \end{bmatrix}} \broken{\neq} \begin{bmatrix} 0 \\ 0 \end{bmatrix}
It fails the Zero Check.
For (b), T([00])=[00]\themap{T}\left(\begin{bmatrix} 0 \\ 0 \end{bmatrix}\right) = \begin{bmatrix} 0 \\ 0 \end{bmatrix} passes the Zero Check, so don't stop there. Test the scaling rule T(cv)=cT(v)\themap{T}(cv) = c\themap{T}(v) using v=[01]v = \begin{bmatrix} 0 \\ 1 \end{bmatrix} and c=2c = 2 (avoid picking v=[10]v = \begin{bmatrix} 1 \\ 0 \end{bmatrix}, because y=0y = 0 hides the y3y^3 term and makes both sides [20]\begin{bmatrix} 2 \\ 0 \end{bmatrix}):
T(2[01])=T([02])=[023]=[08]≠2T([01])=2[01]=[02]\displaystyle \begin{aligned} & \themap{T}\left(2\begin{bmatrix} 0 \\ 1 \end{bmatrix}\right) = \themap{T}\left(\begin{bmatrix} 0 \\ 2 \end{bmatrix}\right) = \begin{bmatrix} 0 \\ 2^3 \end{bmatrix} \\ &\quad = \built{\begin{bmatrix} 0 \\ 8 \end{bmatrix}} \\ &\quad \broken{\neq} 2\themap{T}\left(\begin{bmatrix} 0 \\ 1 \end{bmatrix}\right) = 2\begin{bmatrix} 0 \\ 1 \end{bmatrix} = \built{\begin{bmatrix} 0 \\ 2 \end{bmatrix}} \end{aligned}
3

Use the two rules of linearity, T(cv)=cT(v)\themap{T}(cv) = c\themap{T}(v) and T(u+v)=T(u)+T(v)\themap{T}(u + v) = \themap{T}(u) + \themap{T}(v), to prove that T([xy])=[3x+y−x+4y]\themap{T}\left(\begin{bmatrix} x \\ y \end{bmatrix}\right) = \begin{bmatrix} 3x + y \\ -x + 4y \end{bmatrix} is a linear transformation, and write T([xy])\themap{T}\left(\begin{bmatrix} x \\ y \end{bmatrix}\right) as a matrix multiplying [xy]\begin{bmatrix} x \\ y \end{bmatrix}.

Plug a general scaled vector [cxcy]\begin{bmatrix} cx \\ cy \end{bmatrix} and a general sum [x1+x2y1+y2]\begin{bmatrix} x_1 + x_2 \\ y_1 + y_2 \end{bmatrix} into the formula, then factor or regroup to match cT(v)c\themap{T}(v) and T(u)+T(v)\themap{T}(u) + \themap{T}(v).

For scaling, plug in cv=[cxcy]cv = \begin{bmatrix} cx \\ cy \end{bmatrix} and factor cc out of both rows:
T([cxcy])=[3(cx)+cy−(cx)+4(cy)]=c[3x+y−x+4y]=cT([xy])\displaystyle \begin{aligned} & \themap{T}\left(\begin{bmatrix} cx \\ cy \end{bmatrix}\right) = \begin{bmatrix} 3(cx) + cy \\ -(cx) + 4(cy) \end{bmatrix} \\ &\quad = c\begin{bmatrix} 3x + y \\ -x + 4y \end{bmatrix} = c\themap{T}\left(\begin{bmatrix} x \\ y \end{bmatrix}\right) \end{aligned}
For adding u=[x1y1]u = \begin{bmatrix} x_1 \\ y_1 \end{bmatrix} and v=[x2y2]v = \begin{bmatrix} x_2 \\ y_2 \end{bmatrix}, plug in u+v=[x1+x2y1+y2]u + v = \begin{bmatrix} x_1 + x_2 \\ y_1 + y_2 \end{bmatrix} (be careful to distribute the minus sign to both x1x_1 and x2x_2 in −(x1+x2)=−x1−x2-(x_1 + x_2) = -x_1 - x_2, or the second vector won't match T(v)\themap{T}(v)):
T(u+v)=[3(x1+x2)+(y1+y2)−(x1+x2)+4(y1+y2)]=[3x1+y1−x1+4y1]+[3x2+y2−x2+4y2]=T(u)+T(v)\displaystyle \begin{aligned} & \themap{T}(u + v) \\ &\quad = \begin{bmatrix} 3(x_1 + x_2) + (y_1 + y_2) \\ -(x_1 + x_2) + 4(y_1 + y_2) \end{bmatrix} \\ &\quad = \begin{bmatrix} 3x_1 + y_1 \\ -x_1 + 4y_1 \end{bmatrix} \\ &\quad + \begin{bmatrix} 3x_2 + y_2 \\ -x_2 + 4y_2 \end{bmatrix} \\ &\quad = \themap{T}(u) + \themap{T}(v) \end{aligned}
Both rules hold, and in matrix form (keeping the −1\arrowone{-1} coefficient on xx in the bottom-left entry):
T([xy])=[31−14][xy]\displaystyle \themap{T}\left(\begin{bmatrix} x \\ y \end{bmatrix}\right) = \begin{bmatrix} \arrowone{3} & \arrowtwo{1} \\ \arrowone{-1} & \arrowtwo{4} \end{bmatrix}\begin{bmatrix} x \\ y \end{bmatrix}
4

A linear transformation T\themap{T} on polynomials sends the building blocks 11, xx, and x2x^2 to T(1)=2\themap{T}(1) = 2, T(x)=x+1\themap{T}(x) = x + 1, and T(x2)=x2−3x\themap{T}(x^2) = x^2 - 3x. What does T\themap{T} do to the polynomial 4x2−2x+5\built{4x^2 - 2x + 5}?

Write the constant term 55 as 5(1)5(1) so you can pull the numbers out front: how does T\themap{T} act on x2x^2, xx, and 11?

Split up the addition and pull out the scaling numbers:
T(4x2−2x+5)\displaystyle \themap{T}(\built{4x^2 - 2x + 5}) =4T(x2)−2T(x)+5T(1)\displaystyle = 4\themap{T}(x^2) - 2\themap{T}(x) + 5\themap{T}(1)
Substitute the given outputs (watch out for two common slips: distribute −2-2 to both terms in T(x)=x+1\themap{T}(x) = x + 1, and multiply 55 by T(1)=2\themap{T}(1) = 2 rather than treating T\themap{T} like a derivative where T(5)=0\themap{T}(5) = 0, which would give 4x2−14x−24x^2 - 14x - 2, or leaving 55 unchanged, which would give 4x2−14x+34x^2 - 14x + 3):
4(x2−3x)−2(x+1)+5(2)=4x2−12x−2x−2+10=4x2−14x+8\displaystyle \begin{aligned} & 4(x^2 - 3x) - 2(x + 1) + 5(2) \\ &\quad = 4x^2 - 12x- 2x - 2 + 10 \\ &\quad = \built{4x^2 - 14x + 8} \end{aligned}
5

A linear transformation T\themap{T} sends [10]\arrowone{\begin{bmatrix} 1 \\ 0 \end{bmatrix}} to [23]\arrowone{\begin{bmatrix} 2 \\ 3 \end{bmatrix}} and [11]\built{\begin{bmatrix} 1 \\ 1 \end{bmatrix}} to [1−1]\built{\begin{bmatrix} 1 \\ -1 \end{bmatrix}}. Where does T\themap{T} send the pink basis arrow [01]\arrowtwo{\begin{bmatrix} 0 \\ 1 \end{bmatrix}}, and where does it send [3−2]\built{\begin{bmatrix} 3 \\ -2 \end{bmatrix}}?

Write [11]\built{\begin{bmatrix} 1 \\ 1 \end{bmatrix}} as a sum of [10]\arrowone{\begin{bmatrix} 1 \\ 0 \end{bmatrix}} and [01]\arrowtwo{\begin{bmatrix} 0 \\ 1 \end{bmatrix}}, then apply Rule 1 to solve for T([01])\themap{T}\left(\arrowtwo{\begin{bmatrix} 0 \\ 1 \end{bmatrix}}\right) first.

Because [11]=[10]+[01]\built{\begin{bmatrix} 1 \\ 1 \end{bmatrix}} = \arrowone{\begin{bmatrix} 1 \\ 0 \end{bmatrix}} + \arrowtwo{\begin{bmatrix} 0 \\ 1 \end{bmatrix}}, Rule 1 gives T([11])=T([10])+T([01])\themap{T}\left(\built{\begin{bmatrix} 1 \\ 1 \end{bmatrix}}\right) = \themap{T}\left(\arrowone{\begin{bmatrix} 1 \\ 0 \end{bmatrix}}\right) + \themap{T}\left(\arrowtwo{\begin{bmatrix} 0 \\ 1 \end{bmatrix}}\right). Subtract T([10])\themap{T}\left(\arrowone{\begin{bmatrix} 1 \\ 0 \end{bmatrix}}\right) from T([11])\themap{T}\left(\built{\begin{bmatrix} 1 \\ 1 \end{bmatrix}}\right) (don't use [1−1]\built{\begin{bmatrix} 1 \\ -1 \end{bmatrix}} directly as T([01])\themap{T}\left(\arrowtwo{\begin{bmatrix} 0 \\ 1 \end{bmatrix}}\right), and don't subtract in reverse order [23]−[1−1]=[14]\arrowone{\begin{bmatrix} 2 \\ 3 \end{bmatrix}} - \built{\begin{bmatrix} 1 \\ -1 \end{bmatrix}} = \begin{bmatrix} 1 \\ 4 \end{bmatrix}):
T([01])=[1−1]−[23]=[−1−4]\displaystyle \themap{T}\left(\arrowtwo{\begin{bmatrix} 0 \\ 1 \end{bmatrix}}\right) = \built{\begin{bmatrix} 1 \\ -1 \end{bmatrix}} - \arrowone{\begin{bmatrix} 2 \\ 3 \end{bmatrix}} = \arrowtwo{\begin{bmatrix} -1 \\ -4 \end{bmatrix}}
Now break [3−2]\built{\begin{bmatrix} 3 \\ -2 \end{bmatrix}} into 3[10]−2[01]\arrowone{3}\arrowone{\begin{bmatrix} 1 \\ 0 \end{bmatrix}} - \arrowtwo{2}\arrowtwo{\begin{bmatrix} 0 \\ 1 \end{bmatrix}} (watch the double negatives when multiplying −2\arrowtwo{-2} by [−1−4]\arrowtwo{\begin{bmatrix} -1 \\ -4 \end{bmatrix}}; subtracting instead of adding gives [41]\begin{bmatrix} 4 \\ 1 \end{bmatrix}):
T([3−2])=3T([10])−2T([01])=3[23]−2[−1−4]=[69]+[28]=[817]\displaystyle \begin{aligned} \themap{T}\left(\built{\begin{bmatrix} 3 \\ -2 \end{bmatrix}}\right) &= \arrowone{3}\themap{T}\left(\arrowone{\begin{bmatrix} 1 \\ 0 \end{bmatrix}}\right) - \arrowtwo{2}\themap{T}\left(\arrowtwo{\begin{bmatrix} 0 \\ 1 \end{bmatrix}}\right) \\ &= \arrowone{3}\arrowone{\begin{bmatrix} 2 \\ 3 \end{bmatrix}} - \arrowtwo{2}\arrowtwo{\begin{bmatrix} -1 \\ -4 \end{bmatrix}} \\ &= \arrowone{\begin{bmatrix} 6 \\ 9 \end{bmatrix}} + \arrowtwo{\begin{bmatrix} 2 \\ 8 \end{bmatrix}} = \built{\begin{bmatrix} 8 \\ 17 \end{bmatrix}} \end{aligned}