Affine map Created 2026-10-07 Updated 2026-10-14
An affine map combines a linear map with a translation. After choosing coordinate origins, it has the form , , where the matrix is its linear part of an affine map and is a fixed vector. Equivalently, it preserves every affine combination. [ref]
An original planar example is
It stretches horizontally, applies a shear mapping, and then translates. The vertices , and become , and . A square grid becomes a grid of parallelograms; straight edges and their weighted points still fit together.
Figure 1.
An affine map preserves straightness while changing lengths and angles
. An original triangle and finite window of a square grid, followed by their images under . The right-hand grid is the transformed left-hand grid. Equal axis scales make the altered lengths and angles visible. Details.
This map is not a linear map with respect to the displayed origins, because rather than zero. It also is not a Euclidean similarity: has length and has length , while the right angle at becomes . Its determinant is , so it doubles planar area. These metric changes explain why affine geometry studies straightness, incidence and weighted points rather than treating every transformation as an isometry.
The linear part is an invertible matrix, giving the concise inverse . More generally an affine map is bijective exactly when its linear part of an affine map is bijective. Between equal finite-dimensional spaces, this means an invertible matrix; the translation cannot repair a loss of rank of a linear map.
Imagine folding a sheet along its horizontal axis by the smooth map , . The inputs and have the same output. Along , horizontal motion still changes the output, but vertical motion produces no first-order change: . These inputs are critical points of a smooth map even though their differential is not the zero linear map. The missing direction in the target tangent space is what matters.
Figure 1.
The fold : critical inputs, critical outputs, and fibers
. Details.
Precisely, let be a smooth map between smooth manifolds without boundary. An input is a critical point of a smooth map when its differential
is not surjective, equivalently when its rank of a linear map is less than . An input where it is surjective is a regular point; a map with no critical points of a smooth map is a submersion. The threshold is the target dimension, not . In manifold charts, compute the matrix rank of the Jacobian matrix; changes of charts preserve that matrix rank. [ref]
For the fold,
Thus its set of critical points of a smooth map is the entire horizontal axis. Away from that axis, its differential can produce every infinitesimal target displacement. At the axis, it can produce only horizontal ones. This diagnoses where the two inverse branches in the picture merge.
For a scalar smooth function , the target dimension is one. A linear map to fails to be surjective exactly when it is zero, so here a critical point of a smooth map means . In Euclidean space this is precisely the familiar critical point condition : every first partial derivative vanishes. On a Riemannian manifold, it is equivalently for the chosen Riemannian metric; the Riemannian gradient depends on that metric, but whether it vanishes does not. See Loring W. Tu, An Introduction to Manifolds, Proposition 8.23 for the scalar coordinate criterion. The scalar smooth function has a critical point at zero without a local maximum or local minimum.
A source of lower dimension gives a different warning. For the smooth map , , the Jacobian matrix is the column , of matrix rank one at every input. Every input is a critical point of a smooth map, since the target dimension is two, even though this parametric curve has nonzero velocity everywhere and is an immersion. More generally, if , no differential can be surjective, so every input is critical. The terminology measures the ability to fill target directions, rather than whether the parametrized curve looks smooth.
Rank-nullity theorem Created 2026-09-24 Updated 2026-10-14
The rank-nullity theorem accounts for the input dimensions of a linear map: the number of independent invisible input directions plus the number of independent reachable output directions equals the input dimension. For over a field, with finite-dimensional domain of a function ,
Here is the nullity, and is the rank of a linear map. The kernel lives in the input vector space, while the image of a linear map lives in the output vector space. For an -by- matrix of matrix rank , the formula is : the number of columns counts input coordinates. [ref]
For a computed example over the real numbers, take
The kernel is and the image of a linear map is . Each has dimension one, so the two input dimensions split as . The vector can be written
The second summand is undetectable: . The picture uses the standard dot product to choose a visible direction perpendicular to the kernel; this is a convenient geometric choice, not an extra hypothesis of the rank-nullity theorem.
Figure 1.
Two input dimensions split into one visible direction and one kernel direction
. For , the input splits into and . Both and map to , while the kernel component maps to zero. The horizontal output line is the entire image of a linear map. Details.
This explains a practical tradeoff in a linear system. If , every other input with output is for . The nullity therefore counts independent freedom in an existing solution; the rank counts independent reachable output directions. In the example, has all solutions , while has none. The cokernel records this failure of reachability.
For an -by- matrix, injectivity requires matrix rank , and surjectivity requires matrix rank . When , these conditions differ. For example, with has rank one and nullity two, because . The input accounting is , although only one of two output directions is reached.
Proof outline: extend a basis of the kernel to a basis of . Every output is a linear combination of because the vanish under . If a linear combination of the is zero, the corresponding combination of the lies in the kernel; linear independence of the full basis forces all its coefficients to vanish. Thus the added basis vectors give a basis of the image of a linear map. Counting them proves the formula.