Jump to content

Kernel (matrix)

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Woodstone (talk | contribs) at 04:10, 13 September 2007 (fix typo). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In mathematics, the null space (also nullspace) of an operator A is the set of all operands v which solve the equation Av = 0. It is also called the kernel of A. In set-builder notation,

While the term kernel is used more often, the term null space is sometimes used in the context in which one wants to avoid confusion with integral kernel. One should not confuse the null space with the zero vector space, which is the space consisting only of the zero vector.

If the operator is a linear operator on a vector space, the null space is a linear subspace. Hence the null space is a vector space and can uniquely be represented by a basis of this space.

The remainder of this article focuses on the special case of a finite dimensional operator, which can be represented by a matrix.

Finite dimensional linear operator

In linear algebra, the null space (also nullspace) of a matrix A is the set of all vectors x for which Ax = 0. The null space of a matrix with n columns is a linear subspace of n-dimensional Euclidean space.[1]

If we regard the matrix as a linear transformation, then the null space is precisely the kernel of the mapping (i.e. the set of vectors that map to zero). For this reason, the kernel of a linear transformation between abstract vector spaces is sometimes referred to as the null space of the transformation.

Definition

The null space of an m × n matrix A is the set

[2]

where 0 denotes the zero vector with m components. The matrix equation Ax = 0 is the same as a homogeneous system of linear equations:

From this viewpoint, the null space of A is the same as the solution set to the homogeneous system.

Example

Consider the matrix

The null space of this matrix consists of all vectors (xyz) ∈ R3 for which

This can be written as a homogeneous system of linear equations involving x, y, and z:

The null space of A is precisely the set of solutions to these equations (in this case, a line through the origin in R3).

Subspace properties

The null space of an m × n matrix is a subspace of Rn. That is, the set Null(A) has the following three properties:

  1. Null(A) always contains the zero vector.
  2. If x ∈ Null(A) and y ∈ Null(A), then x + y ∈ Null(A).
  3. If x ∈ Null(A) and c is a scalar, then cx ∈ Null(A).

Here are the proofs:

  1. A0 = 0.
  2. If Ax = 0 and Ay = 0, then A(x + y) = Ax + Ay0 + 0 = 0.
  3. If Ax = 0 and c is a scalar, then A(cx) = cAxc0 = 0.

Basis

The null space of a matrix is not affected by elementary row operations. This makes it possible to use row reduction to find a basis for the null space:

Input An m × n matrix A.
Output A basis for the null space of A
  1. Use elementary row operations to put A in reduced row echelon form.
  2. Interpreting the reduced row echelon form as a homogeneous linear system, determine which of the variables x1x2, ..., xn are free. Write equations for the dependent variables in terms of the free variables.
  3. For each free variable xi, choose a vector in the null space for which xi = 1 and the remaining free variables are zero. The resulting collection of vectors is a basis for the null space of A.

For example, suppose that the reduced row echelon form of A is

Then x3, x5, and x6 are free, with

Therefore, the three vectors

are a basis for the null space of A.

Relation to the row space

The product of a matrix A and a vector x can be written in terms of the dot product of vectors:

Here a1, ..., am denote the row vectors of the matrix A. It follows that x is in the null space of A if and only if x is orthogonal (or perpendicular) to each of the row vectors of A.

The row space of a matrix A is the span of the row vectors of A. By the above reasoning, the null space of A is the orthogonal complement to the row space. That is, a vector x lies in the null space of A if and only if it is perpendicular to every vector in the row space of A.

The dimension of the row space of A is called the rank of A, and the dimension of null space of A is called the nullity of A. These quantities are related by the equation

Here n denotes the number of columns of the matrix A. The equation above is known as the rank-nullity theorem.

Nonhomogeneous equations

The null space also plays a role in the solution to a nonhomogeneous system of linear equations:

If u and v are two possible solutions to the above equation, then

Thus, the difference of any two solutions to the equation Ax = b lies in the null space of A.

It follows that any solution to the equation Ax = b can be expressed as the sum of a fixed solution v and an arbitrary element of the null space. That is, the solution set to the equation Ax = b is

where v is any fixed vector satisfying Av = b. Geometrically, this says that the solution set to Ax = b is the translation of the null space of A by the vector v.

Left null space

The left null space of a matrix A consists of all vectors x such that xTA = 0T, where T denotes the transpose of a column vector. The left null space of A is the same as the null space of AT. The left null space of A is the orthogonal complement to the column space of A, and is the cokernel of the associated linear transformation. The null space, the row space, the column space, and the left null space of A are the four fundamental subspaces associated to the matrix A.

Notes

  1. ^ Linear algebra, as discussed in this article, is a very well-established mathematical discipline for which there are many sources. Almost all of the material in this article can be found in Lay 2005, Meyer 2001, and Strang 2005.
  2. ^ This equation uses set-builder notation.

See also

References

Template:Linear algebra references