MAT1041 · Week 11 · - The Kernel and Range of a Linear Transformation
Kernel and range of a linear transformation
You learn to find the kernel and the range of a linear transformation, to compute their bases and dimensions (nullity, rank), the dimension theorem, and to test whether a transformation is one-to-one, onto or an isomorphism.
kernelrange (image)rank of a transformationnullity of a transformationdimension theorem (rank-nullity)one-to-one (injective)onto (surjective)isomorphismisomorphic spaces
Last week we looked at what a linear transformation does. This week we ask two questions: What does it lose? and Where can it reach? The answer to the first is the kernel (everything that goes to zero), the answer to the second is the range (all outputs). For matrix transformations these are the null space and the column space of week 9; so the computation is completely familiar. The new language: one-to-one, onto, isomorphism, and the dimension theorem that ties them together with a single equation of numbers.
Golden rules:
The kernel lives in the domain, the range lives in the codomain.
For a matrix transformation: kernel = null space, range = column space. A single RREF gives both.
Dimension theorem: rank + nullity = the dimension of the domain.
One-to-one ⟺ the kernel is {0}. Onto ⟺ rank = the dimension of the codomain.
Definitions
Let T:V→W be linear.
Kernel: kerT={v∈V:T(v)=0}.
Range: rangeT={T(v):v∈V}.
Both are subspaces. For the kernel: T(0)=0; if T(u)=T(v)=0 then T(u+v)=0 and T(cu)=0. For the range: the sum of two images T(u)+T(v)=T(u+v) is again an image.
Their dimensions have special names: nullityT=dimkerT, rankT=dimrangeT.
The range is a plane in R3. Its equation: when [A∣b] is reduced with the same operations, b3−b2+2b1 is left on the right of the last row, so the range is b3=b2−2b1. For example (1,3,1) is an image of some vector but (1,0,0) is not in the range.
Check: 2+2=4=dimR4.
The dimension theorem
If V is finite-dimensional and T:V→W is linear, then
rankT+nullityT=dimV.
Intuition: every dimension of the domain is either “crushed” in the kernel or “lives” in the range. For matrices this is the same as the rank-nullity theorem of week 9 (n = number of columns = dimV).
On the exam, often only numbers are given (Q4, Q5): if one dimension is given, the other follows from the theorem.
One-to-one, onto, isomorphism
Concept
Definition
Test
One-to-one
T(u)=T(v)⇒u=v
kerT={0}, nullity 0
Onto
every w∈W is an image
rankT=dimW
Isomorphism
one-to-one and onto
both
Why one-to-one ⟺ zero kernel?T(u)=T(v)⟺T(u−v)=0⟺u−v∈kerT. If the kernel contains only 0, then u=v.
For a matrix transformation T(x)=Ax, A being m×n:
Condition
One-to-one
rankA=n (a pivot in every column, columns independent)
Onto
rankA=m (a pivot in every row, columns span Rm)
Isomorphism
m=n and detA=0
In the example the rank is 2: n=4=2, not one-to-one; m=3=2, not onto.
TIP · if the dimensions are equal one test is enough. If dimV=dimW=n, the dimension theorem says: nullity 0 ⟺ rank n. That is, one-to-one ⟺ onto. For a square matrix a single determinant calculation answers both (Q7).
Dimension obstructions
dimV<dimW: rank ≤dimV<dimW, cannot be onto (R3→R4).
dimV>dimW: nullity ≥dimV−dimW>0, cannot be one-to-one (R4→R3).
Isomorphic spaces
If there is an isomorphism from V to W, then V and W are isomorphic: the same structure in different clothes. Theorem: two finite-dimensional spaces are isomorphic ⟺ their dimensions are equal. This is why P3, M2,2 and R4 are “the same” space; it is why converting polynomial and matrix questions to coefficient vectors is legitimate.
Kernel and range in abstract spaces
Method: write the condition in terms of the coefficients, solve the equation.
D:P3→P2 derivative: the kernel is the constants (nullity 1), rank 4−1=3, onto.
T:M2,2→R, T(A)=trA: the kernel is the matrices with trace zero (dimension 3), rank 1, onto.
T(A)=A−AT: the kernel is the symmetric matrices (dimension 3), the range is the skew-symmetric matrices (dimension 1). Q8.
Common mistakes
Wrong
Right
Looking for the kernel in the codomain
The kernel is in V: the v‘s with T(v)=0
Writing the RREF columns as the range basis
The original pivot columns
Using dimW in the dimension theorem
dimV (the domain)
Looking at the nullity for “onto”
Compare the rank with dimW
Looking for injectivity for R4→R3
Dimension obstruction: impossible
Writing the basis of kerT={0} as {0}
The basis is the empty set, dimension 0
Saying one-to-one because 0 is in the kernel
The kernel must contain only0
Test yourself
Exam-style questions. Solve them on paper first, then reveal the answer.
Question 1easy
Find the kernel of T:R2→R2, T(x,y)=(x−y,2x−2y).
Show answer
kerT=span{(1,1)}
T(x,y)=(0,0): x−y=0 and 2x−2y=0, both are the same equation. y=t, x=t. The kernel is the line y=x. Nullity 1.
Question 2medium
Let T(x)=Ax with A=[12−2−314]. Find a basis for kerT.
Rank = number of pivots = 2. The range is a 2-dimensional subspace of R2, that is, R2 itself. Onto. Dimension theorem: rank+nullity=2+1=3=dimR3.
Question 4medium
T:R4→R3 is linear and rankT=2. Find nullityT. Is T one-to-one?
Show answer
Nullity 2; not one-to-one
Dimension theorem: nullity=dim(domain)−rank=4−2=2. The kernel is larger than zero, so it is not one-to-one.
Question 5medium
T:R5→R3 is linear with nullityT=2. Is T onto?
Show answer
Yes
rank=5−2=3=dimR3. The range is a 3-dimensional subspace of R3, that is, all of it. Onto.
Question 6medium
Let D:P3→P2, D(p)=p′. Find kerD, nullityD and rankD.
Show answer
kerD = constant polynomials; nullity 1, rank 3
p′=0⟺p is constant. The kernel has basis {1}, nullity 1.dimP3=4, by the dimension theorem: rank =4−1=3=dimP2. So D is onto: every polynomial of degree at most 2 is the derivative of some polynomial.
Question 7medium
Is T:R3→R3, T(x,y,z)=(x+y,y+z,x+z) an isomorphism?
Show answer
Yes
The standard matrix is 101110011, det=1(1−0)−1(0−1)+0=2=0. Square and invertible: the kernel is {0} (one-to-one), the range is R3 (onto). An isomorphism.
Question 8hard
Let T:M2,2→M2,2, T(A)=A−AT. Find dimkerT and dimrangeT.
Show answer
dimkerT=3, dimrangeT=1
T(A)=O⟺A=AT: the kernel is the symmetric matrices, with basis {[1000],[0110],[0001]}, dimension 3. Dimension theorem: rank =4−3=1. Indeed T[acbd]=(b−c)[0−110].
Question 9hard
Let T:P2→R, T(p)=p(1). Find a basis for kerT and determine whether T is onto.
Show answer
Basis {x−1,x2−1}; onto
p=a+bx+cx2, p(1)=a+b+c=0. a=−b−c: p=b(x−1)+c(x2−1). Nullity 2. Rank =3−2=1=dimR: onto. (The constant polynomial p=r gives every r.)
Question 10medium
True or false: There is a linear transformation from R3 onto R4.
Show answer
False
rankT≤dim(domain)=3<4. The range is at most 3-dimensional, it can't fill R4. In general: if dimV<dimW it can't be onto; if dimV>dimW it can't be one-to-one.
Question 11hard
For which k is T(x)=Ax one-to-one, where A=1322k4?
Show answer
k=6
One-to-one ⟺ the kernel is {0}⟺ the columns are independent. Two columns are dependent if and only if one is a multiple of the other.(2,k,4)=2(1,3,2) only when k=6. For k=6: rank 2, one-to-one.
Question 12medium
Let T(x,y)=(x,y,x+y). Is w=(1,2,3) in the range of T?
Show answer
Yes, w=T(1,2)
T(x,y)=(1,2,3): x=1, y=2, and the third component x+y=3 holds. For (1,2,4) it would not hold: the range is the plane z=x+y.
Verification: The kernel bases were found in node as null spaces from the exact RREF with BigInt fractions, and the range bases from the pivot columns; the condition for membership in the range was checked by exact solution for many w vectors, and rank/nullity and injectivity in the parametric question at many values of k; the M₂₂ and P₂ transformations were computed by representing them with a matrix on coefficient vectors (verify/MAT1041/11.mjs).
Review card
ker T = {v : T(v) = 0} ⊆ V (in the DOMAIN), a subspace.
range T = {T(v)} ⊆ W (in the CODOMAIN), a subspace.
If T(x) = Ax: ker T = null(A), range T = col(A).
ker basis: solve Ax = 0. range basis: the ORIGINAL PIVOT COLUMNS.
nullity T = dim ker, rank T = dim range.
DIMENSION THEOREM: rank T + nullity T = dim V (the domain).
One-to-one ⇔ ker T = {0} ⇔ nullity 0.
Onto ⇔ range T = W ⇔ rank T = dim W.
Isomorphism = one-to-one + onto. dim V = dim W ⇔ isomorphic.
If dim V = dim W: one-to-one ⇔ onto (one is enough). Square A: det ≠ 0 ⇔ isomorphism.
dim V < dim W → cannot be onto; dim V > dim W → cannot be one-to-one.
w ∈ range? → solve the system T(v) = w.
Derivative P_n → P_{n-1}: ker = constants, onto.