5: Matrix Transformations as Functions
A matrix transformation (or linear transformation) is a function T:RnโRm defined by:
T(x)=Ax
where A is an mรn matrix.
Key Properties:
- T(u+v)=T(u)+T(v) (preserves addition)
- T(cv)=cT(v) (preserves scalar multiplication)
These properties mean T(c1โv1โ+c2โv2โ)=c1โT(v1โ)+c2โT(v2โ) for any scalars and vectors.
When we write T(x)=Ax, weโre treating matrix multiplication as a function:
- Domain: Rn (all possible input vectors)
- Codomain: Rm (the space where outputs live)
- Range (Image): {yโRmโฃy=Axย forย someย x}
The range is the set of all possible outputs,itโs the column space of A.
Range(T)=Col(A)=span{columnsย ofย A}
Injectivity (One-to-One)
(Injective / One-to-One)
A transformation T:RnโRm is injective (one-to-one) if:
T(x1โ)=T(x2โ)โนx1โ=x2โ
Equivalently: Different inputs produce different outputs.
Equivalently: T(x)=0 has only the trivial solution x=0.
(Testing for Injectivity)
For T(x)=Ax where A is mรn:
Tย isย injectiveโบAx=0ย hasย onlyย theย trivialย solution
Equivalently:
- The columns of A are linearly independent
- Nul(A)={0} (null space contains only zero vector)
- rref(A) has a pivot in every column
- rank(A)=n (number of columns)
Geometric Intuition: Injective transformations donโt โcollapseโ dimensions,they preserve distinctness.
Example: Testing Injectivity
Is T(x)=โ130โ261โโx injective?
Solution: Check if Ax=0 has only the trivial solution:
โ130โ261โโโโ100โ010โโ
Pivot in every column โ Yes, injective.
Surjectivity (Onto)
(Surjective / Onto)
A transformation T:RnโRm is surjective (onto) if:
Range(T)=Rm
Equivalently: For every bโRm, there exists some xโRn such that T(x)=b.
Equivalently: Every vector in the codomain is โhitโ by some input.
(Testing for Surjectivity)
For T(x)=Ax where A is mรn:
Tย isย surjectiveโบAx=bย hasย aย solutionย forย everyย bโRm
Equivalently:
- The columns of A span Rm
- Col(A)=Rm
- rref(A) has a pivot in every row
- rank(A)=m (number of rows)
Geometric Intuition: Surjective transformations โcoverโ the entire codomain,no gaps.
Example: Testing Surjectivity
Is T(x)=[13โ26โ01โ]x surjective (as a map R3โR2)?
Solution: Check if rref has a pivot in every row:
[13โ26โ01โ]โ[10โ20โ01โ]
Pivot in every row โ Yes, surjective.
Bijectivity (One-to-One and Onto)
(Bijective)
A transformation is bijective if it is both injective and surjective.
Properties of Bijections:
- Every output has exactly one input that produces it
- The transformation is invertible (has an inverse function Tโ1)
- T establishes a perfect โpairingโ between domain and codomain
For T(x)=Ax:
Tย isย bijectiveโบAย isย squareย andย invertible
Equivalently:
- A is an nรn matrix with rank(A)=n
- rref(A)=Inโ (the identity matrix)
- det(A)๎ =0
- Columns of A form a basis for Rn
Note: For non-square matrices:
- If m<n (more columns than rows), T cannot be injective
- If m>n (more rows than columns), T cannot be surjective
Is T(x)=[13โ27โ]x bijective (R2โR2)?
Solution: Check if A is invertible:
rref[13โ27โ]=[10โ01โ]
Identity matrix โ Yes, bijective (and A has an inverse).
Summary Table
| Property | Condition on A (mรn) | Geometric Meaning |
|---|
| Injective | Pivot in every column | No dimension collapse |
| Surjective | Pivot in every row | Covers entire codomain |
| Bijective | Square + invertible (m=n, full rank) | Perfect correspondence |
Connecting to Linear Systems
Given T(x)=Ax:
- Injective โ Ax=b has at most one solution for any b
- Surjective โ Ax=b has at least one solution for any b
- Bijective โ Ax=b has exactly one solution for any b
Visual Intuition
Injective but not Surjective
R2A3ร2โโR3
Imagine embedding a plane into 3D space,points donโt overlap (injective), but not all of 3D is covered (not surjective).
Surjective but not Injective
R3A2ร3โโR2
Imagine projecting 3D onto a plane,every point on the plane is hit (surjective), but many 3D points map to the same plane point (not injective).
Bijective
RnAnรnโโRn
A rotation, reflection, or scaling in Rn,every point has a unique pre-image and every point is reached.