Rank–nullity theorem

From testwiki
Revision as of 17:26, 18 April 2024 by imported>Maxal (Citations: formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Redirect Template:Short description

Rank–nullity theorem

The rank–nullity theorem is a theorem in linear algebra, which asserts:

It follows that for linear transformations of vector spaces of equal finite dimension, either injectivity or surjectivity implies bijectivity.

Stating the theorem

Linear transformations

Let T:VW be a linear transformation between two vector spaces where T's domain V is finite dimensional. Then rank(T)+nullity(T)=dimV, where rank(T) is the rank of T (the dimension of its image) and nullity(T) is the nullity of T (the dimension of its kernel). In other words, dim(ImT)+dim(KerT)=dim(Domain(T)). This theorem can be refined via the splitting lemma to be a statement about an isomorphism of spaces, not just dimensions. Explicitly, since T induces an isomorphism from V/Ker(T) to Im(T), the existence of a basis for V that extends any given basis of Ker(T) implies, via the splitting lemma, that Im(T)Ker(T)V. Taking dimensions, the rank–nullity theorem follows.

Matrices

Linear maps can be represented with matrices. More precisely, an m×n matrix Template:Mvar represents a linear map f:FnFm, where F is the underlying field.[5] So, the dimension of the domain of f is Template:Mvar, the number of columns of Template:Mvar, and the rank–nullity theorem for an m×n matrix Template:Mvar is rank(M)+nullity(M)=n.

Proofs

Here we provide two proofs. The first[2] operates in the general case, using linear maps. The second proof[6] looks at the homogeneous system 𝐀𝐱=𝟎, where 𝐀 is a m×n with rank r, and shows explicitly that there exists a set of nr linearly independent solutions that span the null space of 𝐀.

While the theorem requires that the domain of the linear map be finite-dimensional, there is no such assumption on the codomain. This means that there are linear maps not given by matrices for which the theorem applies. Despite this, the first proof is not actually more general than the second: since the image of the linear map is finite-dimensional, we can represent the map from its domain to its image by a matrix, prove the theorem for that matrix, then compose with the inclusion of the image into the full codomain.

First proof

Let V,W be vector spaces over some field F, and T defined as in the statement of the theorem with dimV=n.

As KerTV is a subspace, there exists a basis for it. Suppose dimKerT=k and let 𝒦:={v1,,vk}Ker(T) be such a basis.

We may now, by the Steinitz exchange lemma, extend 𝒦 with nk linearly independent vectors w1,,wnk to form a full basis of V.

Let 𝒮:={w1,,wnk}VKer(T) such that :=𝒦𝒮={v1,,vk,w1,,wnk}V is a basis for V. From this, we know that ImT=SpanT()=Span{T(v1),,T(vk),T(w1),,T(wnk)}

=Span{T(w1),,T(wnk)}=SpanT(𝒮).

We now claim that T(𝒮) is a basis for ImT. The above equality already states that T(𝒮) is a generating set for ImT; it remains to be shown that it is also linearly independent to conclude that it is a basis.

Suppose T(𝒮) is not linearly independent, and let j=1nkαjT(wj)=0W for some αjF.

Thus, owing to the linearity of T, it follows that T(j=1nkαjwj)=0W(j=1nkαjwj)KerT=Span𝒦V. This is a contradiction to being a basis, unless all αj are equal to zero. This shows that T(𝒮) is linearly independent, and more specifically that it is a basis for ImT.

To summarize, we have 𝒦, a basis for KerT, and T(𝒮), a basis for ImT.

Finally we may state that Rank(T)+Nullity(T)=dimImT+dimKerT

=|T(𝒮)|+|𝒦|=(nk)+k=n=dimV.

This concludes our proof.

Second proof

Let 𝐀 be an m×n matrix with r linearly independent columns (i.e. Rank(𝐀)=r). We will show that: Template:Ordered list

To do this, we will produce an n×(nr) matrix 𝐗 whose columns form a basis of the null space of 𝐀.

Without loss of generality, assume that the first r columns of 𝐀 are linearly independent. So, we can write 𝐀=(𝐀1𝐀2), where

  • 𝐀1 is an m×r matrix with r linearly independent column vectors, and
  • 𝐀2 is an m×(nr) matrix such that each of its nr columns is linear combinations of the columns of 𝐀1.

This means that 𝐀2=𝐀1𝐁 for some r×(nr) matrix 𝐁 (see rank factorization) and, hence, 𝐀=(𝐀1𝐀1𝐁).

Let 𝐗=(𝐁𝐈nr), where 𝐈nr is the (nr)×(nr) identity matrix. So, 𝐗 is an n×(nr) matrix such that 𝐀𝐗=(𝐀1𝐀1𝐁)(𝐁𝐈nr)=𝐀1𝐁+𝐀1𝐁=𝟎m×(nr).

Therefore, each of the nr columns of 𝐗 are particular solutions of 𝐀𝐱=0Fm.

Furthermore, the nr columns of 𝐗 are linearly independent because 𝐗𝐮=𝟎Fn will imply 𝐮=𝟎Fnr for 𝐮Fnr: 𝐗𝐮=𝟎Fn(𝐁𝐈nr)𝐮=𝟎Fn(𝐁𝐮𝐮)=(𝟎Fr𝟎Fnr)𝐮=𝟎Fnr. Therefore, the column vectors of 𝐗 constitute a set of nr linearly independent solutions for 𝐀𝐱=𝟎𝔽m.

We next prove that any solution of 𝐀𝐱=𝟎Fm must be a linear combination of the columns of 𝐗.

For this, let 𝐮=(𝐮1𝐮2)Fn

be any vector such that 𝐀𝐮=𝟎Fm. Since the columns of 𝐀1 are linearly independent, 𝐀1𝐱=𝟎Fm implies 𝐱=𝟎Fr.

Therefore, 𝐀𝐮=𝟎Fm(𝐀1𝐀1𝐁)(𝐮1𝐮2)=𝐀1𝐮1+𝐀1𝐁𝐮2=𝐀1(𝐮1+𝐁𝐮2)=𝟎𝔽m𝐮1+𝐁𝐮2=𝟎Fr𝐮1=𝐁𝐮2 𝐮=(𝐮1𝐮2)=(𝐁𝐈nr)𝐮2=𝐗𝐮2.

This proves that any vector 𝐮 that is a solution of 𝐀𝐱=𝟎 must be a linear combination of the nr special solutions given by the columns of 𝐗. And we have already seen that the columns of 𝐗 are linearly independent. Hence, the columns of 𝐗 constitute a basis for the null space of 𝐀. Therefore, the nullity of 𝐀 is nr. Since r equals rank of 𝐀, it follows that Rank(𝐀)+Nullity(𝐀)=n. This concludes our proof.

A third fundamental subspace

When T:VW is a linear transformation between two finite-dimensional subspaces, with n=dim(V) and m=dim(W) (so can be represented by an m×n matrix M), the rank–nullity theorem asserts that if T has rank r, then nr is the dimension of the null space of M, which represents the kernel of T. In some texts, a third fundamental subspace associated to T is considered alongside its image and kernel: the cokernel of T is the quotient space W/Im(T), and its dimension is mr. This dimension formula (which might also be rendered dimIm(T)+dimCoker(T)=dim(W)) together with the rank–nullity theorem is sometimes called the fundamental theorem of linear algebra.[7][8]

Reformulations and generalizations

This theorem is a statement of the first isomorphism theorem of algebra for the case of vector spaces; it generalizes to the splitting lemma.

In more modern language, the theorem can also be phrased as saying that each short exact sequence of vector spaces splits. Explicitly, given that 0UVTR0 is a short exact sequence of vector spaces, then URV, hence dim(U)+dim(R)=dim(V). Here R plays the role of ImT and U is KerT, i.e. 0kerTVTimT0

In the finite-dimensional case, this formulation is susceptible to a generalization: if 0V1V2Vr0 is an exact sequence of finite-dimensional vector spaces, then[9] i=1r(1)idim(Vi)=0. The rank–nullity theorem for finite-dimensional vector spaces may also be formulated in terms of the index of a linear map. The index of a linear map THom(V,W), where V and W are finite-dimensional, is defined by indexT=dimKer(T)dimCokerT.

Intuitively, dimKerT is the number of independent solutions v of the equation Tv=0, and dimCokerT is the number of independent restrictions that have to be put on w to make Tv=w solvable. The rank–nullity theorem for finite-dimensional vector spaces is equivalent to the statement indexT=dimVdimW.

We see that we can easily read off the index of the linear map T from the involved spaces, without any need to analyze T in detail. This effect also occurs in a much deeper result: the Atiyah–Singer index theorem states that the index of certain differential operators can be read off the geometry of the involved spaces.

Citations

Template:Reflist

References

  1. Template:Harvard citation text p. 63, §3.22
  2. 2.0 2.1 Template:Harvard citation text p. 70, §2.1, Theorem 2.3
  3. Template:Harvard citation text p. 52, §2.5.1
  4. Template:Harvard citation text p. 71, §4.3
  5. Template:Harvard citation text pp. 103-104, §2.4, Theorem 2.20
  6. Template:Citation
  7. * Strang, Gilbert. Linear Algebra and Its Applications. 3rd ed. Orlando: Saunders, 1988.
  8. Template:Citation
  9. Template:Cite web