5: Matrix Transformations as Functions
Matrix Transformations
(Linear Transformation)
A matrix transformation (or linear transformation) is a function defined by:
where is an matrix.
Key Properties:
- (preserves addition)
- (preserves scalar multiplication)
These properties mean for any scalars and vectors.
Viewing Transformations as Functions
When we write , we’re treating matrix multiplication as a function:
- Domain: (all possible input vectors)
- Codomain: (the space where outputs live)
- Range (Image):
The range is the set of all possible outputs,it’s the column space of .
Injectivity (One-to-One)
(Injective / One-to-One)
A transformation is injective (one-to-one) if:
Equivalently: Different inputs produce different outputs.
Equivalently: has only the trivial solution .
(Testing for Injectivity)
For where is :
Equivalently:
- The columns of are linearly independent
- (null space contains only zero vector)
- has a pivot in every column
- (number of columns)
Geometric Intuition: Injective transformations don’t “collapse” dimensions,they preserve distinctness.
Example: Testing Injectivity
Is injective?
Solution: Check if has only the trivial solution:
Pivot in every column → Yes, injective.
Surjectivity (Onto)
(Surjective / Onto)
A transformation is surjective (onto) if:
Equivalently: For every , there exists some such that .
Equivalently: Every vector in the codomain is “hit” by some input.
(Testing for Surjectivity)
For where is :
Equivalently:
- The columns of span
- has a pivot in every row
- (number of rows)
Geometric Intuition: Surjective transformations “cover” the entire codomain,no gaps.
Example: Testing Surjectivity
Is surjective (as a map )?
Solution: Check if rref has a pivot in every row:
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 )
- establishes a perfect “pairing” between domain and codomain
(When is a Matrix Transformation Bijective?)
For :
Equivalently:
- is an matrix with
- (the identity matrix)
- Columns of form a basis for
Note: For non-square matrices:
- If (more columns than rows), cannot be injective
- If (more rows than columns), cannot be surjective
Example: Bijective Transformation
Is bijective ()?
Solution: Check if is invertible:
Identity matrix → Yes, bijective (and has an inverse).
Summary Table
| Property | Condition on () | Geometric Meaning |
|---|---|---|
| Injective | Pivot in every column | No dimension collapse |
| Surjective | Pivot in every row | Covers entire codomain |
| Bijective | Square + invertible (, full rank) | Perfect correspondence |
Connecting to Linear Systems
Given :
- Injective ⇔ has at most one solution for any
- Surjective ⇔ has at least one solution for any
- Bijective ⇔ has exactly one solution for any
Visual Intuition
Injective but not Surjective
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
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
A rotation, reflection, or scaling in ,every point has a unique pre-image and every point is reached.