Every x=(x1,…,xn) can be written x=x1e1+⋯+xnen, so by linearity T(x)=x1T(e1)+⋯+xnT(en). That is exactly a matrix–vector product:
Theorem 10 (Lay §1.9): Let T:Rn→Rm be linear. Then there is a uniquem×n matrix A such that T(x)=Ax for all x in Rn. In fact,
A=[T(e1)T(e2)⋯T(en)]A is called the standard matrix for T.
Recipe: “find the standard matrix” = find where each ej goes, and write those images as the columns, in order.
Geometric transformations of R2 (brief)
Use the recipe: just track where e1=(1,0) and e2=(0,1) land.
Transformation
T(e1)
T(e2)
Standard matrix
Rotation by φ (counterclockwise)
(cosφ,sinφ)
(−sinφ,cosφ)
[cosφsinφ−sinφcosφ]
Horizontal shear, e2↦e2+ke1
(1,0)
(k,1)
[10k1]
Vertical shear, e1↦e1+ke2
(1,k)
(0,1)
[1k01]
Reflection through x1-axis
(1,0)
(0,−1)
[100−1]
Projection onto x1-axis
(1,0)
(0,0)
[1000]
One-to-One and Onto
Definitions (Lay §1.9): A mapping T:Rn→Rm is
ontoRm if eachb in Rm is the image of at least onex in Rn (range = codomain; an existence question);
one-to-one if each b in Rm is the image of at most onex in Rn (a uniqueness question).
Theorem 11 (Lay §1.9): Let T:Rn→Rm be linear. Then T is one-to-one if and only if the equation T(x)=0 has only the trivial solution.
(Why: if T(u)=T(v) then T(u−v)=0; if only 0 maps to 0, then u=v.)
Theorem 12 (Lay §1.9): Let T:Rn→Rm be linear with standard matrix A. Then:
(a) T maps RnontoRm if and only if the columns of A span Rm;
(b) T is one-to-one if and only if the columns of A are linearly independent.
In practice everything reduces to one computation — find an echelon form of A:
T is one-to-one
T is ontoRm
pivot in every column of A
pivot in every row of A
columns of A linearly independent
columns of A span Rm
T(x)=0 has only the trivial solution
Ax=b has a solution for everyb in Rm
needs n≤m
needs n≥m
Shape shortcuts (from counting pivots): a 3×2 matrix (T:R2→R3) has at most 2 pivots, so it can never be ontoR3. A 2×3 matrix (T:R3→R2) has a column without a pivot, so it can never be one-to-one. A square matrix can be both, one, or neither — you must row reduce.
Mini-example
T(x1,x2)=(3x1+x2,5x1+7x2,x1+3x2) has standard matrix A=351173. The two columns are not multiples of each other → independent → T is one-to-one. But A is 3×2, so at most 2 pivots in 3 rows → T is not ontoR3.
Solved Examples (Textbook Questions)
Exercise 1
(Adapted from Lay §1.9, Exercises 1–6)
Assume T is a linear transformation. Find the standard matrix of T.
T:R2→R2 rotates points (about the origin) through 3π/2 radians (counterclockwise).
T:R2→R2 rotates points (about the origin) through −π/4 radians (clockwise). Hint: T(e1)=(1/2,−1/2).
T:R2→R2 is a vertical shear that maps e1 into e1−2e2 but leaves e2 unchanged.
T:R2→R2 is a horizontal shear that leaves e1 unchanged and maps e2 into e2+3e1.
Show solution ↓Hide solution ↑
Solution
Theorem 10: A=[T(e1)⋯T(en)]. Size check: T:Rn→Rm gives an m×n matrix.
1. (4×2) A=3131−5200
2. (2×3) A=[134−7−54]
3. Rotating e1=(1,0) by 3π/2 (three quarter-turns counterclockwise) lands on (0,−1)=−e2; rotating e2=(0,1) lands on (1,0)=e1. (Check with the formula: cos23π=0, sin23π=−1.)
A=[−e2e1]=[0−110]
4. Use the rotation formula with φ=−π/4: cosφ=1/2, sinφ=−1/2. So T(e1)=(cosφ,sinφ)=(1/2,−1/2) and T(e2)=(−sinφ,cosφ)=(1/2,1/2):
A=[1/2−1/21/21/2]
5.T(e1)=e1−2e2=(1,−2), T(e2)=e2=(0,1):
A=[1−201]
6.T(e1)=e1=(1,0), T(e2)=e2+3e1=(3,1):
A=[1031]
Images go in as columns, not rows. In Exercise 2, writing T(e1),T(e2),T(e3) as rows would give a 3×2 matrix — the wrong shape for a map R3→R2.
Exercise 2
(Adapted from Lay §1.9, Exercises 37–40 — conceptual; the row reduction is done by software)
T is the linear transformation with the given standard matrix. In 37 and 38, decide if T is one-to-one. In 39 and 40, decide if T maps R5 onto R5.
These are “to get an idea” problems: the point is reading the answer off the reduced echelon form, not doing the arithmetic by hand. Recall: one-to-one ⇔ pivot in every column; onto ⇔ pivot in every row.
37. Software gives
A∼10000100001044/3579/3586/350
No pivot in column 4 → Ax=0 has a nontrivial solution → by Theorem 11, T is not one-to-one.
38. Software gives
A∼100001007−9000010
No pivot in column 3 → T is not one-to-one. (You can verify by hand: column 3 =7⋅column 1 −9⋅column 2, e.g. 7(7)−9(5)=4 ✓. So the columns are dependent.)
39. Software gives
A∼10000010000010051−20000010
Only 4 pivots — row 5 has no pivot → the columns do not span R5 → by Theorem 12, T does not map R5 onto R5.
40. Software gives
A∼100000100000100000105−4010
Again only 4 pivots, no pivot in row 5 → not ontoR5.
For a square matrix, “pivot in every row” and “pivot in every column” are the same thing (both mean n pivots). So in 39 and 40, T is also not one-to-one; and in 37 and 38, T is also not onto R4.