The Rank-Nullity Theorem

How many solutions does a linear system have? How does that number relate to the shape of the map itself? This question sits at the heart of linear algebra. Its cleanest answer is the Rank-Nullity Theorem. It says that for a linear map TT out of a finite-dimensional vector space VV, the dimension of the domain splits exactly into two pieces. One piece is the dimension of the kernel, measuring how much information TT destroys. The other is the dimension of the image, measuring how much information survives. This theorem matters because it converts a qualitative question into an arithmetic one. Questions like "is TT injective?" or "is TT surjective?" become questions about dimensions. Instead of chasing vectors, you count. This is the mechanism behind classical facts like "a system of nn equations in nn unknowns has a unique solution for every right-hand side if and only if the only solution to the homogeneous system is zero." It is also the engine behind the entire theory of matrix rank. The big picture is this: a linear map T:V→WT: V \to W cannot lose dimension without a trace. Whatever dimension disappears from the domain into the null space reappears nowhere else. It is simply gone from the range's potential. The theorem quantifies this trade-off perfectly, with no dimension unaccounted for. It is arguably the first deep structural theorem a student meets after basis and dimension themselves. This article gives the precise statement. It includes a complete proof by extending a basis of the null space to a basis of the domain. It offers two fully worked asymmetric examples. It also gives a counterexample showing why finite-dimensionality is essential. Finally, it discusses how the theorem underlies rank computations and the classification of linear systems.

Key takeaways
  • For a linear map T:V→WT: V \to W with dim⁡V<∞\dim V < \infty: dim⁡V=dim⁡(null⁡T)+dim⁡(range⁡T)\dim V = \dim(\operatorname{null} T) + \dim(\operatorname{range} T).
  • Proved by extending a basis of null⁡T\operatorname{null} T to a basis of VV, then showing the extra vectors map to a basis of range⁡T\operatorname{range} T.
  • Converts injectivity/surjectivity questions into dimension counting.
  • Requires dim⁡V<∞\dim V < \infty; fails outright in infinite dimensions (both sides can be "infinite" in incomparable ways).
  • Immediately implies: TT injective iff dim⁡(range⁡T)=dim⁡V\dim(\operatorname{range} T) = \dim V; if dim⁡V=dim⁡W\dim V = \dim W, injective iff surjective.
  • Key idea: dimension lost to the kernel and dimension surviving in the range together account for every dimension of the domain, with none left over.

Where this lives today

In numerical linear algebra, the rank of a matrix (equivalently, of the linear map it represents) governs the solvability structure of Ax=bAx = b; rank-nullity explains why an m×nm \times n system with rank rr has a solution space of dimension n−rn - r when solutions exist, directly feeding into the study of least-squares problems and the Singular Value Decomposition. In cryptography and coding theory, linear codes are kernels or images of linear maps over finite fields; the dimension of a code (its "rate") and the dimension of its dual are related by rank-nullity applied to the parity-check map, controlling how many bits of redundancy a code uses. In differential equations, rank-nullity applied to a linear differential operator LL acting on a finite-dimensional space of functions (or approximated by a finite-dimensional truncation) explains why the solution space of Lx=0Lx = 0 has a predictable dimension equal to the order of the equation, and constrains when Lx=fLx = f is solvable. In quantum mechanics and physics more broadly, linear operators on finite-dimensional state spaces have kernels and images whose dimensions rank-nullity relates; this underlies counting arguments for degenerate eigenspaces and projections. In computer graphics and robotics, linear transformations (projections, rotations composed with degenerate maps) act on coordinate spaces, and rank-nullity explains the dimension of the "null directions" a projection collapses versus the dimension of the image it preserves — essential in inverse kinematics and camera projection models.

Ask the tutor: Can you show me how rank-nullity forces row rank to equal column rank for a matrix?

DefinitionNull space, range, and the rank-nullity identity

Let VV and WW be vector spaces over a field F\mathbf{F}, and let T:V→WT: V \to W be a linear map (i.e., T(u+v)=Tu+TvT(u+v) = Tu + Tv and T(λv)=λTvT(\lambda v) = \lambda Tv for all u,v∈Vu,v \in V, λ∈F\lambda \in \mathbf{F}). Define:

  • The null space (kernel) of TT:
null⁡T={v∈V:Tv=0}⊆V.\operatorname{null} T = \{v \in V : Tv = 0\} \subseteq V.
  • The range (image) of TT:
range⁡T={Tv:v∈V}⊆W.\operatorname{range} T = \{Tv : v \in V\} \subseteq W.

Both null⁡T\operatorname{null} T and range⁡T\operatorname{range} T are subspaces (of VV and WW respectively): this is a direct check of closure under addition and scalar multiplication using linearity of TT. If dim⁡V<∞\dim V < \infty, the quantities

nullity⁡(T):=dim⁡(null⁡T),rank⁡(T):=dim⁡(range⁡T)\operatorname{nullity}(T) := \dim(\operatorname{null} T), \qquad \operatorname{rank}(T) := \dim(\operatorname{range} T)

are both finite (the first because it is a subspace of the finite-dimensional VV; the second is the content of the theorem below, but follows once we know range⁡T\operatorname{range} T is spanned by finitely many vectors). The Rank-Nullity Theorem asserts

dim⁡V=nullity⁡(T)+rank⁡(T).\dim V = \operatorname{nullity}(T) + \operatorname{rank}(T).

Intuition

Picture TT as a machine that takes vectors in VV and processes them into vectors in WW. Some directions in VV are completely destroyed — they get sent to 00. These directions sweep out the null space, a subspace of VV. Every other direction, roughly speaking, survives and contributes something genuinely new to the output; these directions, together, account for the range. The theorem's proof strategy is to make this "roughly speaking" precise. Pick a basis for the null space — the "destroyed" directions. Extend it (using the basis extension theorem, a standard fact about finite-dimensional vector spaces) to a basis of the whole domain VV. The new, extra basis vectors are exactly the ones that survive, and the claim is that their images form a basis of the range. Once you see this, dimension counting does the rest: the number of vectors used for the null space, plus the number of extra vectors, equals dim⁡V\dim V; and the extra vectors correspond bijectively to a basis of the range. Think of it as a conservation law. The "mass" of the domain, measured in dimension, cannot vanish — it must show up either as nullity (destroyed) or as rank (surviving in the image). Nothing else can happen to it.

Figure
Domain dimension splits into null-space dimension and rank
V, dim V = 5 null T dim = 2 span of extending vectors dim = 3 T W range T dim = 3 0 (image of null T) 5 = 2 + 3
TheoremRank-Nullity Theorem

Let VV and WW be vector spaces over a field F\mathbf{F}, with dim⁡V<∞\dim V < \infty. Let T:V→WT: V \to W be a linear map. Then range⁡T\operatorname{range} T is finite-dimensional, and

dim⁡V=dim⁡(null⁡T)+dim⁡(range⁡T).\dim V = \dim(\operatorname{null} T) + \dim(\operatorname{range} T).
Proof

Technique: basis extension. We first record, as a preliminary check, that null⁡T\operatorname{null} T is a subspace of VV, and then build a basis of VV adapted to it.

Step 1: null⁡T\operatorname{null} T is a subspace of VV. Since TT is linear, T(0)=T(0⋅0)=0⋅T(0)=0T(0) = T(0 \cdot 0) = 0 \cdot T(0) = 0, so 0∈null⁡T0 \in \operatorname{null} T. If u,v∈null⁡Tu, v \in \operatorname{null} T and λ∈F\lambda \in \mathbf{F}, then

T(u+λv)=Tu+λTv=0+λ⋅0=0,T(u + \lambda v) = Tu + \lambda Tv = 0 + \lambda \cdot 0 = 0,

so u+λv∈null⁡Tu + \lambda v \in \operatorname{null} T. Hence null⁡T\operatorname{null} T is closed under linear combinations and is a subspace.

Step 2: Choose a basis of the null space and extend it. Since null⁡T\operatorname{null} T is a subspace of the finite-dimensional space VV, it is itself finite-dimensional; let u1,…,umu_1, \dots, u_m be a basis of null⁡T\operatorname{null} T, so m=dim⁡(null⁡T)m = \dim(\operatorname{null} T). Because VV is finite-dimensional, this linearly independent list can be extended (this is the standard basis extension theorem for finite-dimensional vector spaces) to a basis

u1,…,um,v1,…,vnu_1, \dots, u_m, v_1, \dots, v_n

of VV, where m+n=dim⁡Vm + n = \dim V. We will show n=dim⁡(range⁡T)n = \dim(\operatorname{range} T) by proving that

Tv1,…,TvnTv_1, \dots, Tv_n

is a basis of range⁡T\operatorname{range} T. This will simultaneously show range⁡T\operatorname{range} T is finite-dimensional (with dimension exactly nn) and finish the proof, since then

dim⁡V=m+n=dim⁡(null⁡T)+dim⁡(range⁡T).\dim V = m + n = \dim(\operatorname{null} T) + \dim(\operatorname{range} T).

Step 3: Tv1,…,TvnTv_1, \dots, Tv_n spans range⁡T\operatorname{range} T. Let w∈range⁡Tw \in \operatorname{range} T. Then w=Tvw = Tv for some v∈Vv \in V. Since u1,…,um,v1,…,vnu_1, \dots, u_m, v_1, \dots, v_n is a basis of VV, we may write

v=a1u1+⋯+amum+b1v1+⋯+bnvnv = a_1 u_1 + \cdots + a_m u_m + b_1 v_1 + \cdots + b_n v_n

for scalars ai,bj∈Fa_i, b_j \in \mathbf{F}. Applying TT and using linearity:

w=Tv=a1Tu1+⋯+amTum+b1Tv1+⋯+bnTvn.w = Tv = a_1 Tu_1 + \cdots + a_m Tu_m + b_1 Tv_1 + \cdots + b_n Tv_n.

Since each ui∈null⁡Tu_i \in \operatorname{null} T, we have Tui=0Tu_i = 0 for all i=1,…,mi = 1, \dots, m. Hence

w=b1Tv1+⋯+bnTvn,w = b_1 Tv_1 + \cdots + b_n Tv_n,

so ww is a linear combination of Tv1,…,TvnTv_1, \dots, Tv_n. As w∈range⁡Tw \in \operatorname{range} T was arbitrary, this list spans range⁡T\operatorname{range} T.

Step 4: Tv1,…,TvnTv_1, \dots, Tv_n is linearly independent. Suppose scalars c1,…,cn∈Fc_1, \dots, c_n \in \mathbf{F} satisfy

c1Tv1+⋯+cnTvn=0.c_1 Tv_1 + \cdots + c_n Tv_n = 0.

By linearity of TT,

T(c1v1+⋯+cnvn)=0,T(c_1 v_1 + \cdots + c_n v_n) = 0,

so c1v1+⋯+cnvn∈null⁡Tc_1 v_1 + \cdots + c_n v_n \in \operatorname{null} T. Since u1,…,umu_1, \dots, u_m is a basis of null⁡T\operatorname{null} T, there exist scalars d1,…,dm∈Fd_1, \dots, d_m \in \mathbf{F} with

c1v1+⋯+cnvn=d1u1+⋯+dmum.c_1 v_1 + \cdots + c_n v_n = d_1 u_1 + \cdots + d_m u_m.

Rearranging,

d1u1+⋯+dmum−c1v1−⋯−cnvn=0.d_1 u_1 + \cdots + d_m u_m - c_1 v_1 - \cdots - c_n v_n = 0.

But u1,…,um,v1,…,vnu_1, \dots, u_m, v_1, \dots, v_n is a basis of VV, hence in particular linearly independent, so this relation forces every coefficient to be zero:

d1=⋯=dm=0andc1=⋯=cn=0.d_1 = \cdots = d_m = 0 \quad\text{and}\quad c_1 = \cdots = c_n = 0.

In particular c1=⋯=cn=0c_1 = \cdots = c_n = 0, which is exactly what we needed to show linear independence of Tv1,…,TvnTv_1, \dots, Tv_n.

Step 5: Conclusion. By Steps 3 and 4, Tv1,…,TvnTv_1, \dots, Tv_n is a basis of range⁡T\operatorname{range} T. In particular range⁡T\operatorname{range} T is finite-dimensional with dim⁡(range⁡T)=n\dim(\operatorname{range} T) = n. Combining with Step 2,

dim⁡V=m+n=dim⁡(null⁡T)+dim⁡(range⁡T),\dim V = m + n = \dim(\operatorname{null} T) + \dim(\operatorname{range} T),

as claimed. ■\blacksquare

∎
CorollaryInjectivity and surjectivity via dimension counts

Let V,WV, W be finite-dimensional and T:V→WT: V \to W linear. Then: 1. TT is injective if and only if dim⁡(range⁡T)=dim⁡V\dim(\operatorname{range} T) = \dim V. 2. If dim⁡V=dim⁡W\dim V = \dim W, then TT is injective if and only if TT is surjective.

Proof

(1) TT is injective if and only if null⁡T={0}\operatorname{null} T = \{0\} (a linear map is injective exactly when its kernel is trivial: if Tu=TvTu = Tv then T(u−v)=0T(u - v) = 0, so injectivity forces u=vu = v iff the only vector mapping to 00 is 00 itself — this is The Null Space and Injectivity). Since {0}\{0\} is the unique subspace of dimension 00, this holds iff dim⁡(null⁡T)=0\dim(\operatorname{null} T) = 0. By the Rank-Nullity Theorem, dim⁡(null⁡T)=0\dim(\operatorname{null} T) = 0 iff dim⁡(range⁡T)=dim⁡V−0=dim⁡V\dim(\operatorname{range} T) = \dim V - 0 = \dim V. (2) Suppose dim⁡V=dim⁡W\dim V = \dim W. TT is surjective iff range⁡T=W\operatorname{range} T = W (definition of surjectivity, see The Range and Surjectivity), and since range⁡T\operatorname{range} T is a subspace of WW with dim⁡W<∞\dim W < \infty, this holds iff dim⁡(range⁡T)=dim⁡W\dim(\operatorname{range} T) = \dim W (a subspace equal in dimension to the whole finite-dimensional space must be the whole space — this is the standard fact that subspaces of equal dimension to their ambient finite-dimensional space coincide with it). By part (1), TT is injective iff dim⁡(range⁡T)=dim⁡V=dim⁡W\dim(\operatorname{range} T) = \dim V = \dim W. Both conditions are thus equivalent to dim⁡(range⁡T)=dim⁡W\dim(\operatorname{range} T) = \dim W, hence to each other. ■\blacksquare

∎

Worked examples

Example 1: A map from R4\mathbf{R}^4 to R3\mathbf{R}^3. Define T:R4→R3T: \mathbf{R}^4 \to \mathbf{R}^3 by

T(x1,x2,x3,x4)=(x1+2x2−x3+x4,  2x1+4x2−2x3+3x4,  x1+2x2−x3+2x4).T(x_1, x_2, x_3, x_4) = (x_1 + 2x_2 - x_3 + x_4,\; 2x_1 + 4x_2 - 2x_3 + 3x_4,\; x_1 + 2x_2 - x_3 + 2x_4).

Finding the null space. We solve T(x)=0T(x) = 0:

x1+2x2−x3+x4=02x1+4x2−2x3+3x4=0x1+2x2−x3+2x4=0\begin{aligned} x_1 + 2x_2 - x_3 + x_4 &= 0 \\ 2x_1 + 4x_2 - 2x_3 + 3x_4 &= 0 \\ x_1 + 2x_2 - x_3 + 2x_4 &= 0 \end{aligned}

Subtract twice the first equation from the second: (2x1+4x2−2x3+3x4)−2(x1+2x2−x3+x4)=x4=0(2x_1 + 4x_2 - 2x_3 + 3x_4) - 2(x_1+2x_2-x_3+x_4) = x_4 = 0. Subtract the first equation from the third: (x1+2x2−x3+2x4)−(x1+2x2−x3+x4)=x4=0(x_1+2x_2-x_3+2x_4) - (x_1+2x_2-x_3+x_4) = x_4 = 0 (consistent, no new information). So x4=0x_4 = 0, and the first equation becomes x1+2x2−x3=0x_1 + 2x_2 - x_3 = 0, i.e. x1=−2x2+x3x_1 = -2x_2 + x_3. Free variables: x2,x3x_2, x_3. So

(x1,x2,x3,x4)=x2(−2,1,0,0)+x3(1,0,1,0).(x_1,x_2,x_3,x_4) = x_2(-2,1,0,0) + x_3(1,0,1,0).

Thus null⁡T=span⁡{(−2,1,0,0),(1,0,1,0)}\operatorname{null} T = \operatorname{span}\{(-2,1,0,0), (1,0,1,0)\}. These two vectors are not scalar multiples of each other (their second and third coordinates already show independence: the first has a nonzero second coordinate and zero third, the second has zero second coordinate and nonzero third), so they are linearly independent, giving

dim⁡(null⁡T)=2.\dim(\operatorname{null} T) = 2.

Applying the theorem. dim⁡V=4\dim V = 4, so the theorem predicts

dim⁡(range⁡T)=4−2=2.\dim(\operatorname{range} T) = 4 - 2 = 2.

Direct check. range⁡T\operatorname{range} T is spanned by the images of the standard basis vectors:

T(e1)=(1,2,1), T(e2)=(2,4,2), T(e3)=(−1,−2,−1), T(e4)=(1,3,2).T(e_1) = (1,2,1),\ T(e_2) = (2,4,2),\ T(e_3) = (-1,-2,-1),\ T(e_4) = (1,3,2).

Note T(e2)=2 T(e1)T(e_2) = 2\,T(e_1) and T(e3)=−T(e1)T(e_3) = -T(e_1), consistent with e2−2e1⋅(part)e_2 - 2e_1 \cdot(\text{part})... more directly, this redundancy reflects that (−2,1,0,0)(-2,1,0,0) and (1,0,1,0)(1,0,1,0) (built from e1,e2,e3e_1,e_2,e_3) lie in the null space. The range is spanned by T(e1)=(1,2,1)T(e_1) = (1,2,1) and T(e4)=(1,3,2)T(e_4) = (1,3,2), since T(e2),T(e3)T(e_2), T(e_3) are multiples of T(e1)T(e_1). Check independence: is (1,3,2)=λ(1,2,1)(1,3,2) = \lambda(1,2,1) for some λ\lambda? That would need λ=1\lambda = 1 from the first coordinate and λ=3/2\lambda = 3/2 from the second — contradiction. So T(e1),T(e4)T(e_1), T(e_4) are independent, confirming

dim⁡(range⁡T)=2,\dim(\operatorname{range} T) = 2,

exactly matching 4−2=24 - 2 = 2 predicted by the theorem.

Example 2: A map from R3\mathbf{R}^3 to R5\mathbf{R}^5 (rank-nullity with a "wide" codomain). Define T:R3→R5T: \mathbf{R}^3 \to \mathbf{R}^5 by

T(x,y,z)=(x−y,  2x+z,  −y−z,  x+z,  3x−2y+z).T(x,y,z) = (x - y,\; 2x + z,\; -y - z,\; x + z,\; 3x - 2y + z).

Null space. Solve T(x,y,z)=0T(x,y,z) = 0:

x−y=02x+z=0−y−z=0x+z=03x−2y+z=0\begin{aligned} x - y &= 0 \\ 2x + z &= 0 \\ -y - z &= 0 \\ x + z &= 0 \\ 3x - 2y + z &= 0 \end{aligned}

From equation 1: y=xy = x. From equation 2: z=−2xz = -2x. Check equation 3: −y−z=−x−(−2x)=x-y - z = -x - (-2x) = x; for this to be 00 we need x=0x = 0. Then y=0,z=0y = 0, z = 0. Check equations 4,5 with x=y=z=0x=y=z=0: both hold trivially. So the only solution is (0,0,0)(0,0,0), hence

null⁡T={0},dim⁡(null⁡T)=0.\operatorname{null} T = \{0\}, \qquad \dim(\operatorname{null} T) = 0.

Applying the theorem. dim⁡V=3\dim V = 3, so

dim⁡(range⁡T)=3−0=3.\dim(\operatorname{range} T) = 3 - 0 = 3.

Direct check. Since null⁡T={0}\operatorname{null} T = \{0\}, TT is injective (Corollary above, direction already built into the definition: injective iff trivial kernel). An injective linear map sends a basis of the domain to a linearly independent list in the codomain (if ∑ciTvi=0\sum c_i Tv_i = 0 then T(∑civi)=0T(\sum c_i v_i) = 0 forces ∑civi=0\sum c_i v_i = 0 by injectivity, hence all ci=0c_i = 0 by independence of viv_i in VV). Applying TT to the standard basis of R3\mathbf{R}^3:

T(e1)=(1,2,0,1,3),T(e2)=(−1,0,−1,0,−2),T(e3)=(0,1,−1,1,1).T(e_1) = (1,2,0,1,3), \quad T(e_2) = (-1,0,-1,0,-2), \quad T(e_3) = (0,1,-1,1,1).

By injectivity these three vectors in R5\mathbf{R}^5 are linearly independent, so they span a 33-dimensional subspace of R5\mathbf{R}^5 equal to range⁡T\operatorname{range} T. This matches dim⁡(range⁡T)=3\dim(\operatorname{range} T) = 3 exactly as predicted, and also illustrates that TT is injective but (since 3<53 < 5) cannot be surjective onto all of R5\mathbf{R}^5.

CounterexampleWhy finite-dimensionality of VV is needed

Let V=F[x]V = \mathbf{F}[x], the vector space of all polynomials with coefficients in a field F\mathbf{F}, which is infinite-dimensional (the monomials 1,x,x2,x3,…1, x, x^2, x^3, \dots form an infinite linearly independent list, so no finite list can span VV). Let W=F[x]W = \mathbf{F}[x] as well, and define the differentiation map

D:V→W,D(p)=p′.D: V \to W, \qquad D(p) = p'.

This is linear: (p+q)′=p′+q′(p+q)' = p' + q' and (λp)′=λp′(\lambda p)' = \lambda p' for any scalar λ\lambda. Null space. D(p)=0D(p) = 0 exactly when pp is a constant polynomial (a nonzero-degree term always contributes a nonzero derivative term of one lower degree, so if p=a0+a1x+⋯+anxnp = a_0 + a_1 x + \cdots + a_n x^n with n≥1n \ge 1 and an≠0a_n \ne 0, then D(p)=a1+2a2x+⋯+nanxn−1≠0D(p) = a_1 + 2a_2 x + \cdots + n a_n x^{n-1} \ne 0). So

null⁡D={constant polynomials}=F⋅1,\operatorname{null} D = \{\text{constant polynomials}\} = \mathbf{F} \cdot 1,

which is 11-dimensional: dim⁡(null⁡D)=1\dim(\operatorname{null} D) = 1, a finite number even though VV is infinite-dimensional. Range. Given any polynomial q=b0+b1x+⋯+bnxnq = b_0 + b_1 x + \cdots + b_n x^n, the antiderivative p=b0x+b12x2+⋯+bnn+1xn+1p = b_0 x + \frac{b_1}{2}x^2 + \cdots + \frac{b_n}{n+1}x^{n+1} satisfies D(p)=qD(p) = q (division by n+1,…n+1, \dots is valid since we may take F\mathbf{F} of characteristic 00, e.g. F=R\mathbf{F} = \mathbf{R}, so these are nonzero scalars). Hence DD is surjective: range⁡D=W=F[x]\operatorname{range} D = W = \mathbf{F}[x], which is infinite-dimensional. What breaks. If the Rank-Nullity Theorem's conclusion held verbatim here, we would need

dim⁡V=dim⁡(null⁡D)+dim⁡(range⁡D),\dim V = \dim(\operatorname{null} D) + \dim(\operatorname{range} D),

i.e. "∞=1+∞\infty = 1 + \infty" — a statement with no meaning, since dim⁡V\dim V and dim⁡(range⁡D)\dim(\operatorname{range} D) are both infinite cardinal-type quantities and the addition of finite and infinite dimensions is not governed by any identity resembling the theorem's clean numerical balance. Concretely, the proof breaks at Step 2: we cannot extend a basis of null⁡D\operatorname{null} D to a finite basis of VV, because VV has no finite basis at all, so the entire finite bookkeeping of Steps 3–5 (which counts mm vectors plus nn vectors to reach dim⁡V\dim V) has no analogue. This shows precisely why the hypothesis dim⁡V<∞\dim V < \infty cannot be dropped: it is what makes "extend to a basis, then count" a valid, finite procedure.

Scope, edge cases & common traps

SituationWhat happens
dim⁡V<∞\dim V < \infty, WW arbitrary (possibly infinite-dimensional)Theorem holds; range⁡T\operatorname{range} T is automatically finite-dimensional, with dim⁡(range⁡T)≤dim⁡V\dim(\operatorname{range} T) \le \dim V.
dim⁡V=∞\dim V = \inftyTheorem's numerical identity is not applicable; nullity or rank (or both) may be infinite, and no clean "subtraction" identity survives, as shown above.
TT is the zero mapnull⁡T=V\operatorname{null} T = V, range⁡T={0}\operatorname{range} T = \{0\}; identity reads dim⁡V=dim⁡V+0\dim V = \dim V + 0. Degenerate but consistent.
TT is an isomorphism (dim⁡V=dim⁡W\dim V = \dim W, bijective)null⁡T={0}\operatorname{null} T = \{0\}, range⁡T=W\operatorname{range} T = W; identity reads dim⁡V=0+dim⁡W\dim V = 0 + \dim W.
dim⁡V>dim⁡W\dim V > \dim WTT cannot be injective, since dim⁡(range⁡T)≤dim⁡W<dim⁡V\dim(\operatorname{range} T) \le \dim W < \dim V forces dim⁡(null⁡T)>0\dim(\operatorname{null} T) > 0 by the theorem.
dim⁡V<dim⁡W\dim V < \dim WTT cannot be surjective, since dim⁡(range⁡T)≤dim⁡V<dim⁡W\dim(\operatorname{range} T) \le \dim V < \dim W.

The mathematician behind it

The Rank-Nullity Theorem, in the language of abstract vector spaces, crystallized as part of the broader 20th-century axiomatization of linear algebra, but its essential content — the dimension-counting relationship between a linear system's solution space and its image — traces back through 19th-century work on linear equations, determinants, and matrices.

Origins · 1 minGeorg Frobenius and how this was discovered
GF
Georg Frobenius
1849–1917 · German mathematician, rank of matrices and representation theory

Frobenius made foundational contributions to the theory of matrices, including systematic study of the rank of a matrix and its role in the solvability of linear systems, work that runs in parallel with the modern rank-nullity relationship. His broader legacy includes deep contributions to group representation theory and the theory of bilinear forms, areas in which dimension-counting arguments of exactly this rank-nullity flavor recur constantly.

History
- 1878: Frobenius develops systematic matrix rank theory, connecting the rank of the coefficient matrix to solvability of linear systems.
- 1888: Giuseppe Peano gives an early axiomatic treatment of vector spaces, providing the abstract setting in which "dimension" is properly defined.
- 1920s–1930s: Hermann Weyl, Emmy Noether, and others promote the abstract, basis-free treatment of linear maps between vector spaces, in which rank-nullity becomes a theorem about arbitrary finite-dimensional V,WV, W rather than only matrices.
- 1930s: The theorem enters standard textbook form (kernel/image language) as part of the modern algebraic reformulation of linear algebra.
- Mid-20th century onward: Rank-nullity becomes a standard early theorem in university linear algebra curricula worldwide, underlying the modern treatment of Rank of a Matrix and systems of linear equations.
Does the Rank-Nullity Theorem apply to linear maps between infinite-dimensional spaces?

Not in its numerical form. The theorem as stated requires dim⁡V<∞\dim V < \infty, because the proof relies on extending a basis of the null space to a finite basis of VV and then counting vectors. If VV is infinite-dimensional, there may be no finite basis to extend, and the quantities dim⁡(null⁡T)\dim(\operatorname{null} T), dim⁡(range⁡T)\dim(\operatorname{range} T) can individually be finite or infinite in combinations that admit no clean additive identity (see the differentiation-operator counterexample above, where the null space is finite-dimensional but the range is infinite-dimensional). Some infinite-dimensional analogues exist using cardinal arithmetic, but they require substantially more care and are outside the elementary theorem's scope.

Why must the extending vectors v1,…,vnv_1, \ldots, v_n come from extending a basis of null⁡T\operatorname{null} T, rather than any complementary spanning set?

The proof needs two separate facts about Tv1,…,TvnTv_1,\dots,Tv_n: that they span range⁡T\operatorname{range} T, and that they are linearly independent. The independence argument crucially uses that u1,…,um,v1,…,vnu_1,\dots,u_m,v_1,\dots,v_n together form a basis of VV — this is what lets us conclude, from a dependency among the TviTv_i's, that a certain combination of the viv_i's lying in null⁡T\operatorname{null} T must in fact be a combination of the uiu_i's, and then invoke linear independence of the full list to force all coefficients to zero. An arbitrary complementary spanning set without this "basis of VV" property would not support that final independence step.

Is the converse of the Rank-Nullity Theorem true — does any pair of numbers satisfying the identity correspond to some linear map?

Yes, in the following precise sense: given finite-dimensional VV and WW over F\mathbf{F} and any nonnegative integers m,nm, n with m+n=dim⁡Vm + n = \dim V and n≤dim⁡Wn \le \dim W, one can construct a linear map T:V→WT: V \to W with dim⁡(null⁡T)=m\dim(\operatorname{null} T) = m and dim⁡(range⁡T)=n\dim(\operatorname{range} T) = n. Sketch: choose a basis u1,…,um,v1,…,vnu_1,\dots,u_m,v_1,\dots,v_n of VV and linearly independent vectors w1,…,wnw_1,\dots,w_n in WW (possible since n≤dim⁡Wn \le \dim W); define TT on the basis by Tui=0Tu_i = 0, Tvj=wjTv_j = w_j, and extend linearly. This is not automatically implied by the theorem itself but is a natural companion construction, provable directly and not requiring any deeper machinery.

How does rank-nullity relate to solving the linear system Ax=bAx = b?

View AA as a linear map T:Fn→FmT: \mathbf{F}^n \to \mathbf{F}^m via T(x)=AxT(x) = Ax. The homogeneous system Ax=0Ax = 0 has solution set exactly null⁡T\operatorname{null} T, so its solution space has dimension n−rank⁡(A)n - \operatorname{rank}(A) by the theorem. If Ax=bAx = b has at least one solution x0x_0, every solution has the form x0+zx_0 + z with z∈null⁡Tz \in \operatorname{null} T (since A(x0+z)=Ax0+Az=b+0=bA(x_0+z) = Ax_0 + Az = b + 0 = b, and conversely any two solutions differ by an element of null⁡T\operatorname{null} T). So the full solution set, when nonempty, is an affine translate of null⁡T\operatorname{null} T, whose dimension the theorem pins down exactly as n−rank⁡(A)n - \operatorname{rank}(A).

Does the theorem tell you whether Ax=bAx = b has a solution at all?

No — rank-nullity describes the dimension of null space and range but says nothing by itself about whether a specific bb lies in range⁡T\operatorname{range} T. Solvability of Ax=bAx=b is governed separately by whether b∈range⁡(A)b \in \operatorname{range}(A), equivalently (for augmented-matrix criteria) whether rank⁡[A∣b]=rank⁡(A)\operatorname{rank}[A \mid b] = \operatorname{rank}(A). Rank-nullity instead tells you, once you know solvability, exactly how large the solution set is: an affine subspace of dimension n−rank⁡(A)n - \operatorname{rank}(A), as described above.

How does this theorem foreshadow the study of matrix rank?

For a matrix AA viewed as the linear map x↦Axx \mapsto Ax, the rank of TT in the sense above (dimension of range⁡T\operatorname{range} T, the column space of AA) coincides with the usual matrix rank. Rank-nullity then becomes the identity relating the number of columns nn to the dimension of the null space (solution space of Ax=0Ax=0) and the column rank. This sets up the deeper fact, proved separately, that row rank equals column rank for any matrix — a cornerstone result explored under Rank of a Matrix and central to the broader study of Consequences of Rank-Nullity for Finite Dimensions.

Before this

Where this leads