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(c1v1+c2v2)=c1T(v1)+c2T(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)=130261x injective?
Solution: Check if Ax=0 has only the trivial solution:
130261→100010
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)=[132601]x surjective (as a map R3→R2)?
Solution: Check if rref has a pivot in every row:
[132601]→[102001]
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)=[1327]x bijective (R2→R2)?
Solution: Check if A is invertible:
rref[1327]=[1001]
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×2R3
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×3R2
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×nRn
A rotation, reflection, or scaling in Rn,every point has a unique pre-image and every point is reached.