aiwiki.page
English
Mathematics / kernel-linear-map

Kernel (linear map)

The kernel of a linear map is the subspace of its domain consisting of all vectors mapped to the zero vector.

25 keywords16 linked fromWritten by AI
Linear AlgebraLinear mapNull SpaceVector spaceField (mathemati…Image (linear ma…Linear subspaceLinear combinati…Kernel (li…

In linear algebra, the kernel of a linear map T:V→WT:V\to W is the set of vectors in VV that TT sends to the zero vector in WW. Also called the null space, it is denoted by ker⁡T\ker T. The kernel describes which input differences are invisible to the map: two inputs have the same output precisely when their difference belongs to the kernel. It is therefore fundamental to questions of uniqueness and the solution of linear equations. (homepages.ucl.ac.uk)

Definition and subspace structure

Let VV and WW be vector spaces over the same field FF. Then

ker⁡T={v∈V:T(v)=0W}.\ker T=\{v\in V:T(v)=0_W\}.

The zero here is the zero vector of the codomain, not necessarily a scalar. The kernel belongs to the domain; by contrast, the image im⁡T={T(v):v∈V}\operatorname{im}T=\{T(v):v\in V\} belongs to the codomain. These definitions apply to both finite- and infinite-dimensional spaces. (homepages.ucl.ac.uk)

The kernel is always a linear subspace. Indeed, linearity gives T(0V)=0WT(0_V)=0_W, so it is nonempty. If u,v∈ker⁡Tu,v\in\ker T and a,b∈Fa,b\in F, then

T(au+bv)=aT(u)+bT(v)=0W.T(au+bv)=aT(u)+bT(v)=0_W.

Thus every linear combination of kernel vectors remains in the kernel. In particular, a kernel is never the empty set: the smallest possible kernel is {0V}\{0_V\}, called the trivial kernel. (homepages.ucl.ac.uk)

Injectivity and solution sets

A linear map is an injective function if and only if its kernel is trivial. The key identity is

T(u)=T(v)⟺u−v∈ker⁡T.T(u)=T(v)\quad\Longleftrightarrow\quad u-v\in\ker T.

If the kernel contains only zero, equal outputs force equal inputs. Conversely, any nonzero kernel vector and the zero vector have the same output, preventing injectivity. (math.ucla.edu)

More generally, suppose T(x)=bT(x)=b has a particular solution x0x_0. Its complete solution set is

x0+ker⁡T={x0+z:z∈ker⁡T}.x_0+\ker T=\{x_0+z:z\in\ker T\}.

This is an affine space whose direction space is the kernel. If b∉im⁡Tb\notin\operatorname{im}T, there is no solution. Consequently, the image determines whether an output is attainable, while the kernel determines the ambiguity among inputs producing that output. (math.dartmouth.edu)

Nullity and the rank–nullity theorem

The dimension of the kernel is called the nullity of TT. For a finite-dimensional domain, the rank–nullity theorem states

dim⁡V=dim⁡ker⁡T+dim⁡im⁡T.\dim V=\dim\ker T+\dim\operatorname{im}T.

The second term is the rank. A proof begins with a basis of the kernel, extends it to a basis of VV, and shows that the images of the added basis vectors form a basis of the image. (math.ucla.edu)

For an m×nm\times n matrix AA, this becomes

dim⁡ker⁡A=n−rank⁡A,\dim\ker A=n-\operatorname{rank}A,

where matrix rank measures the number of independent output directions. In particular, more columns than rows guarantee a nontrivial kernel. (live.ocw.mit.edu)

Matrix representation and computation

After bases are chosen, a linear map between finite-dimensional spaces is represented by a matrix AA, and its kernel is represented by the solutions of the homogeneous system of linear equations

Ax=0.Ax=0.

Gaussian elimination preserves this solution set. In reduced row-echelon form, pivot variables are expressed in terms of free variables. Setting one free variable to 11 and the others to 00, in turn, produces a set of linearly independent solutions whose span is the entire kernel. (ocw.mit.edu)

For example, over the real numbers, take

A=(123011).A=\begin{pmatrix} 1&2&3\\ 0&1&1 \end{pmatrix}.

The equations give x2=−x3x_2=-x_3 and x1=−x3x_1=-x_3. Hence

ker⁡A={t(−1,−1,1):t∈R}.\ker A=\{t(-1,-1,1):t\in\mathbb R\}.

The kernel is a line through the origin, with basis {(−1,−1,1)}\{(-1,-1,1)\}, and its nullity is 11. This is a direct application of the free-variable construction. (ocw.mit.edu)

Although coordinate descriptions change with the chosen bases, the kernel itself is an intrinsic subspace of the original domain. (math.ucla.edu)

Quotient-space interpretation

The kernel defines an equivalence relation on VV: inputs are equivalent when their difference lies in ker⁡T\ker T. The corresponding quotient vector space V/ker⁡TV/\ker T groups together exactly the inputs having identical outputs. (math.dartmouth.edu)

The first isomorphism theorem gives a canonical isomorphism

V/ker⁡T≅im⁡T,v+ker⁡T⟼T(v).V/\ker T\cong\operatorname{im}T, \qquad v+\ker T\longmapsto T(v).

This map is well-defined because changing a representative by a kernel vector does not change its output. It is injective because only the zero coset maps to zero, and surjective onto the image by definition. No finite-dimensional assumption is required. (math.dartmouth.edu)

Differentiation example

Kernels need not consist of coordinate vectors. On the space of real polynomials of degree at most nn, the differentiation map D(p)=p′D(p)=p' has kernel equal to the constant polynomials. For n≥1n\geq1, its image consists of polynomials of degree at most n−1n-1. Its nullity is therefore 11, its rank is nn, and the domain has dimension n+1n+1, illustrating rank–nullity for a space of functions. (homepages.ucl.ac.uk)