A transformation (function, mapping) T from Rn to Rm, written T:Rn→Rm, assigns to each x in Rn a vector T(x) in Rm.
Range(T)={imageT(x)∈codomainRm:x∈domainRn}
DomainRn: where the inputs live.
CodomainRm: where the outputs are allowed to live.
Image of x: the output T(x).
Range: the set of all images — a subset of the codomain (possibly smaller than it).
Matrix transformations
If A is m×n, then T(x)=Ax defines T:Rn→Rm (number of columns = input size, number of rows = output size). The range of T is the set of all linear combinations of the columns of A, i.e. the span of the columns.
How to translate the typical questions about T(x)=Ax:
Question
Becomes
Find the image of u
compute Au
Find x whose image is b
solve Ax=b (row reduce [Ab])
Is there more than one such x?
does Ax=b have free variables? (unique?)
Is c in the range of T?
is Ax=cconsistent?
Linear Transformations
Definition (Lay §1.8): A transformation T is linear if
T(u+v)=T(u)+T(v) for all u,v in the domain of T;
T(cu)=cT(u) for all scalars c and all u in the domain of T.
Every matrix transformation is linear (because A(u+v)=Au+Av and A(cu)=cAu). Consequences of the definition:
T(0)=0T(cu+dv)=cT(u)+dT(v)
and more generally T(c1v1+⋯+cpvp)=c1T(v1)+⋯+cpT(vp) (the superposition principle). In words: a linear transformation preserves linear combinations. So if you know T on a few vectors, you know it on every combination of them (see Exercise 3 below).
Quick “not linear” test: if T(0)=0, then T is not linear. For example T(x1,x2)=(x1+1,x2) sends 0 to (1,0), so it is not linear. (The converse fails: T(0)=0 alone does not prove linearity.)
Solved Examples (Textbook Questions)
Exercise 1
(Adapted from Lay §1.8, Example 1)
Let A=13−1−357, u=[2−1], b=32−5, c=325, and define T:R2→R3 by T(x)=Ax.
(a) Find T(u). (b) Find an x whose image under T is b. (c) Is there more than one such x? (d) Is c in the range of T?
Show solution ↓Hide solution ↑
Solution
Translate first: (b) T(x)=b means solve Ax=b; (c) asks is that solution unique?; (d) asks is Ax=c consistent?
(a)
T(u)=Au=13−1−357[2−1]=2+36−5−2−7=51−9
(b) Row reduce [Ab]: R2←R2−3R1, R3←R3+R1; then R2←141R2, R3←R3−4R2; then R1←R1+3R2: