Linear maps: homomorphisms, kernel and range
Homomorphisms and isomorphisms, the null space and range space, rank, nullity and the rank-nullity theorem, and the matrix that represents a linear map with respect to chosen bases.
Course notes: Syllabus ch. 4 (Maps Between Spaces), first half · Exercise sessions: Sheets 5 and 6, second bonus test · About 60 minutes
Homomorphisms (linear maps)Important
A map h : V → W between vector spaces is a homomorphism (a linear map) when it preserves the two operations: h(u + v) = h(u) + h(v) and h(r v) = r h(v) for all vectors and scalars. Both conditions together say that h preserves linear combinations:
A quick necessary test: a linear map sends 0 to 0. So (x, y) ↦ (x + 1, y) is not linear. Products of variables, squares, absolute values and constants added to a component all break linearity: (x, y) ↦ (xy, x) fails because h(2(1, 1)) = (4, 2) while 2h(1, 1) = (2, 2).
A linear map is completely fixed by what it does to a basis: if v = c1b1 + ... + cnbn, then h(v) = c1h(b1) + ... + cnh(bn). This is the key to many short exam questions.
Image of a vector from the images of a basis
h : ℝ3 → ℝ2 is linear with h(e1) = (2, −1), h(e2) = (0, 3), h(e3) = (1, 1). Find h(3, 1, −2).
Write the vector in the basis
Use linearity
Compute
h(3, 1, −2) = (4, −2). If the given basis is not the standard one, first find the coordinates of the vector in that basis.
What a linear map does to pictures: the origin stays put, straight lines go to straight lines (or collapse to a point), parallel lines stay parallel and a grid of parallelograms goes to a grid of parallelograms. To draw the image of a vector, just compute it: the shear g(x, y) = (x + 2y, y) sends (1, 1) to (3, 1) and (0, 1) to (2, 1).
IsomorphismsNeutral
An isomorphism is a linear map that is also a bijection: one-to-one (different inputs give different outputs) and onto (every element of W is reached). Isomorphic spaces are the same space with different labels. The central theorem: two finite-dimensional spaces are isomorphic exactly when they have the same dimension. In particular every n-dimensional space is isomorphic to ℝn, via v ↦ RepB(v).
Polynomials as vectors
P2 and ℝ3.
The map
Linear
Bijective
P2 ≅ ℝ3, both of dimension 3. An isomorphism sends any basis to a basis.
For a square matrix the quickest isomorphism test is the determinant (chapter 6): the map x ↦ A x is an isomorphism exactly when det A ≠ 0.
Kernel, range and the rank-nullity theoremImportant
The null space or kernel N(h) = {v ∈ V | h(v) = 0} is a subspace of the domain; its dimension is the nullity. The range space R(h) = {h(v) | v ∈ V} is a subspace of the codomain; its dimension is the rank. The two are tied together:
| Property | Equivalent condition |
|---|---|
| h is one-to-one (injective) | N(h) = {0}, nullity 0 |
| h is onto (surjective) | R(h) = W, rank = dim W |
| h is an isomorphism | both; this needs dim V = dim W |
Method with a matrix H: row reduce H. The kernel is the solution set of H x = 0 (free variables give its basis). The range is spanned by the columns of H; the pivot columns of the original H form a basis of it.
A map from ℝ4 to ℝ3
h(x) = H x with H = 1201011−11310.
Row reduce
Kernel
Basis of the kernel
Range
Check
h is not one-to-one (nullity 2) and not onto (rank 2 < 3). Check a kernel vector by multiplying: H (2, −1, 1, 0) = (0, 0, 0).
A map on polynomials
h : P2 → ℝ2, h(a + bx + cx2) = (a + b + c, b).
Kernel
Rank by the theorem
h is onto but not one-to-one. Note that the kernel contains polynomials, not columns.
The matrix of a linear mapImportant
Choose a basis B = 〈b1, ..., bn〉 of V and a basis D of W. The matrix RepB,D(h) has as its i-th column RepD(h(bi)). It turns coordinates into coordinates:
A map from an n-dimensional space to an m-dimensional space has an m × n matrix (rows = dimension of the codomain). With the standard bases the columns are simply h(e1), ..., h(en).
Standard matrix from values on another basis
h : ℝ2 → ℝ2 is linear with h(1, 1) = (3, 1) and h(1, −1) = (1, −1). Find the standard matrix H.
Write e1 and e2 in the basis
Images
Matrix
Check
In matrix form H = [h(b1) h(b2)] B−1, where B has the basis vectors as columns.
Composition of maps corresponds to the product of their matrices (chapter 4), and the matrix of the identity map with respect to two different bases is a change of basis matrix (chapter 7).
Key takeaways
- Linear: h(c1v1 + c2v2) = c1h(v1) + c2h(v2); a linear map sends 0 to 0.
- A linear map is fixed by the images of a basis.
- Kernel in the domain, range in the codomain; rank + nullity = dim domain.
- One-to-one means kernel {0}; onto means rank = dim codomain.
- Spaces are isomorphic exactly when their dimensions agree.
- Column i of RepB,D(h) is RepD(h(bi)); size m × n for V of dimension n and W of dimension m.
True or false (5)
The map (x, y) ↦ (2x − y, 0, x) is linear.
The map (x, y) ↦ (x2, y) is linear.
A linear map h : ℝ3 → ℝ3 with nullity 0 is an isomorphism.
P3 is isomorphic to ℝ3.
If h : ℝ4 → ℝ4 has rank 4, its kernel is {0}.
Multiple choice (7)
A linear h : ℝ6 → ℝ4 has rank 3. Its nullity is...
h(e1) = (1, 2) and h(e2) = (0, −1). Then h(2, 3) equals...
Which map is linear?
The kernel of (x, y, z) ↦ (x + y, y + z) is spanned by...
The matrix of h : P2 → P1, p ↦ p′, in the standard bases has size...
A linear map h : ℝ3 → ℝ3 with h(1, 0, 0) = h(0, 1, 0) is...
Rank of the 3 × 3 matrix whose rows are (1, 2, 3), (2, 4, 6), (1, 0, 1)?
Exam-style open questions (3)
Kernel and range with rank-nullity
h : ℝ3 → ℝ3, h(x, y, z) = (x + 2y − z, 2x + 4y + z, 3x + 6y). Find a basis of the null space and of the range space and check the dimension theorem.
Show a model answer outline
- Matrix rows (1, 2, −1), (2, 4, 1), (3, 6, 0); R2 − 2R1 = (0, 0, 3), R3 − 3R1 = (0, 0, 3), then R3 − R2 = 0.
- Pivots in columns 1 and 3; y = t free, z = 0, x = −2t: kernel span{(−2, 1, 0)}, nullity 1.
- Range: columns 1 and 3 of the original matrix, span{(1, 2, 3), (−1, 1, 0)}, rank 2.
- 2 + 1 = 3 = dim ℝ3. Not an isomorphism.
A map known on a non-standard basis
h : ℝ2 → ℝ3 is linear with h(1, 2) = (1, 0, 4) and h(0, 1) = (2, 1, 1). Find h(3, 4) and the standard matrix.
Show a model answer outline
- (3, 4) = 3(1, 2) − 2(0, 1), so h(3, 4) = 3(1, 0, 4) − 2(2, 1, 1) = (−1, −2, 10).
- e2 = (0, 1): h(e2) = (2, 1, 1). e1 = (1, 2) − 2(0, 1): h(e1) = (1, 0, 4) − 2(2, 1, 1) = (−3, −2, 2).
- Standard matrix with columns (−3, −2, 2) and (2, 1, 1); check: it sends (3, 4) to (−9 + 8, −6 + 4, 6 + 4) = (−1, −2, 10).
Design a map
Write down a linear map t : ℝ3 → ℝ3 with nullity exactly 1, and give a basis of its range.
Show a model answer outline
- Many answers. For example t(x, y, z) = (x, y, 0): the kernel is the z-axis, nullity 1.
- Range = {(a, b, 0)}, basis (1, 0, 0), (0, 1, 0), rank 2.
- Check 2 + 1 = 3. Its standard matrix has determinant 0, as it must for a map that is not an isomorphism.
LabKernel, range and rank-nullity lab
The default is the worked example; try a 3 × 3 matrix with determinant 0.
LabMatrix of a map from values on a basis
Start with the worked example in ℝ2.
LabLinear or not?
Test h(0) = 0 first, then look for products, powers and constants.