A progressive guide to linear transformations, their kernels and images, matrix representations, composition, change of basis, and the rank-nullity theorem.
Linear transformations: definition and basis determination
A is a function between vector spaces that preserves linear combinations. For vectors u,v and scalars a,b,
T(au+bv)=aT(u)+bT(v).
This implies preservation of addition and scalar multiplication:
T(u+v)=T(u)+T(v),T(cu)=cT(u).
It also implies T(0)=0. Examples include matrix multiplication, differentiation on a polynomial space, integration with a fixed lower limit, and rotations, reflections, or projections through the origin.
A is completely determined by its values on a basis. If B={v1,…,vn} and
v=c1v1+⋯+cnvn,
then
T(v)=c1T(v1)+⋯+cnT(vn).
Takeaway: Understanding the images of the basis vectors determines the transformation everywhere.
and
The records the input vectors that disappear under the transformation:
kerT={v∈V:T(v)=0}.
The records every output that can be produced:
imT={T(v):v∈V}.
Both sets are subspaces. For a matrix transformation TA(x)=Ax, the is the solution space of Ax=0, and the is the column space of A.
Consider
T:R3→R2,T(x,y,z)=(x+y,y+z).
Solving T(x,y,z)=(0,0) gives x+y=0 and y+z=0, so
(x,y,z)=t(−1,1,−1)
and
kerT=span{(−1,1,−1)}.
The matrix columns are (1,0) and (1,1), which are linearly independent and span R2. Therefore,
imT=R2.
Takeaway: The describes lost input directions, while the describes attainable outputs.
and
means that distinct inputs have distinct outputs. For a , this is equivalent to having only the zero vector in the :
T is injective⟺kerT={0}.
means that every vector in the codomain is reached:
T is surjective⟺imT=W.
For the example T:R3→R2, the contains the nonzero vector (−1,1,−1), so the transformation is not injective. Its is all of R2, so it is surjective.
Dimension gives useful tests. If dimV>dimW, no from V to W can be injective. If dimV<dimW, no from V to W can be surjective. When the domain and codomain have equal finite dimensions, and are equivalent.
Takeaway: Test through the and through the .
Matrix representations
A depends on ordered bases. If B={v1,…,vn} is an input basis and C is an output basis, then
[T]C←B=[[T(v1)]C⋯[T(vn)]C].
The matrix equation is
[T(v)]C=[T]C←B[v]B.
Thus, there is one column for each input basis vector and one row for each output coordinate.
For example, if T:R2→R2 satisfies
T(1,0)=(2,1),T(0,1)=(−1,3),
then, using standard bases,
[T]=[21−13].
For an arbitrary input, this gives
T(x,y)=(2x−y,x+3y).
Takeaway: Build a transformation matrix by placing the images of the input-basis vectors into its columns.
and matrix multiplication
The of two transformations applies one transformation first and the next transformation second. If U:U0→V and T:V→W, then
(T∘U)(x)=T(U(x)).
If A represents U and B represents T, then
[T∘U]=BA.
The rightmost matrix acts first, so the order of multiplication follows the order of application. In general,
BA=AB.
The and also satisfy useful inclusions:
kerU⊆ker(T∘U)
because a vector sent to zero by U remains zero after applying T, and
im(T∘U)⊆imT
because every output of the is an output of T.
Takeaway: For compositions, track the domains and the order, then multiply matrices from right to left.
and similarity
A alters coordinate descriptions without changing the underlying vector or transformation. If B and B′ are bases for the same space, then
[v]B=PB←B′[v]B′.
The columns of PB←B′ are the vectors of B′ written in the coordinates of B.
For a linear operator on one vector space, let A be its matrix in the old basis and A′ its matrix in the new basis. If P=PB←B′, then
A′=P−1AP.
This is a similarity relation. The entries of the matrix may change, but rank, nullity, determinant, and eigenvalues remain unchanged.
For example, with the standard basis E and basis B′={(1,1),(1,−1)},
PE←B′=[111−1].
Thus, if [v]B′=(2,3)T, then
[v]E=[111−1][23]=[5−1].
Takeaway: Coordinate changes modify the matrix description, not the underlying linear operator.
and problem-solving procedure
The connects the dimensions of the domain, , and :
dimV=rank(T)+nullity(T).
Here,
rank(T)=dim(imT)
and
nullity(T)=dim(kerT).
For an m×n matrix viewed as a transformation from Rn to Rm, the formula becomes
rank(A)+nullity(A)=n.
The number on the right is the number of columns because it is the dimension of the domain. For the transformation T(x,y,z)=(x+y,y+z), the has dimension 1 and the has dimension 2. Therefore,
nullity(T)+rank(T)=1+2=3=dimR3.
This explains why one independent input direction is lost while two independent output directions remain.
Practical procedure
Solve Ax=0 to find the .
Count free variables to find the nullity.
Row-reduce A and count pivots to find the rank.
Use the original pivot columns as a basis for the .
Verify rank(A)+nullity(A)=n.
For compositions, multiply matrices in application order from right to left.
For new bases, use the appropriate change-of-coordinate matrices on the left and right.
Takeaway: Rank-nullity provides both a dimension theorem and a reliable check on computations.