One-to-One & Onto
Linear Transformations
Understand when a function maps distinct inputs to distinct outputs and when it covers every element of the codomain: the two pillars of invertibility.
Quick Refresher: Functions
A function \( f : A \to B \) assigns to every element of the domain \( A \) exactly one element of the codomain \( B \). The set of all actual outputs is the range (or image), which may be smaller than \( B \).
What Does One-to-One Mean?
A function \( f : A \to B \) is one-to-one (injective) if different inputs always produce different outputs:
On the right, inputs 1 and 2 both map to a: that collision violates injectivity.
What Does Onto Mean?
A function \( f : A \to B \) is onto (surjective) if every element of \( B \) is hit by at least one element of \( A \):
On the right, element c in \( B \) has no arrow pointing to it: the function fails to be surjective.
Why Do These Matter?
The Matrix Conditions
Let \( T(\mathbf{x}) = A\mathbf{x} \) where \( A \) is an \( m \times n \) matrix. The properties of \( T \) are encoded in \( A \):
Reading Pivots from Row Echelon Form
One-to-One vs. Onto: Side by Side
| One-to-One (Injective) | Onto (Surjective) | |
|---|---|---|
| Question asked | Do different inputs always give different outputs? | Is every output in \( B \) actually reached? |
| Formal test | \( f(x_1)=f(x_2) \Rightarrow x_1=x_2 \) | \( \forall\, b \in B,\; \exists\, a: f(a)=b \) |
| Matrix test | Pivot in every column | Pivot in every row |
| Dimension need | \( m \geq n \) | \( n \geq m \) |
| Kernel test | \( \ker(T) = \{\mathbf{0}\} \) | \( \text{range}(T) = \mathbb{R}^m \) |
The Dimension Constraint
For \( T : \mathbb{R}^n \to \mathbb{R}^m \) (an \( m \times n \) matrix), the number of pivots is at most \( \min(m,n) \). This forces constraints:
How to Check the Conditions
Example 1: A Square Matrix
Let \( A = \begin{bmatrix} 1 & 2 \\ 3 & 7 \end{bmatrix} \). Is \( T(\mathbf{x}) = A\mathbf{x} \) one-to-one? Onto?
Example 2: More Columns than Rows
Let \( A = \begin{bmatrix} 1 & 0 & 2 \\ 0 & 1 & 3 \end{bmatrix} \). This maps \( \mathbb{R}^3 \to \mathbb{R}^2 \).
Example 3: More Rows than Columns
Let \( A = \begin{bmatrix} 1 & 2 \\ 0 & 1 \\ 0 & 0 \end{bmatrix} \). This maps \( \mathbb{R}^2 \to \mathbb{R}^3 \).
Connection to Kernel and Range
Common Mistakes to Avoid
Question 1 of 5
A linear transformation \( T : \mathbb{R}^3 \to \mathbb{R}^3 \) has the matrix \( A = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix} \). Which statement is true?
Question 2 of 5
If an \( m \times n \) matrix \( A \) has \( n > m \), which is impossible for \( T(\mathbf{x}) = A\mathbf{x} \)?
Question 3 of 5
The matrix \( A = \begin{bmatrix} 1 & 3 \\ 2 & 6 \end{bmatrix} \) row reduces to \( \begin{bmatrix} 1 & 3 \\ 0 & 0 \end{bmatrix} \). What can we conclude?
Question 4 of 5
For a square matrix \( A \), which statement is equivalent to "\( T \) is one-to-one"?
Question 5 of 5
A \( 3 \times 2 \) matrix \( A \) has pivot positions in both columns. Which is true?