A linear map is a function between vector spaces over the same field that preserves vector addition and scalar multiplication. It therefore preserves the algebraic structure used to form combinations of vectors. Linear maps are fundamental objects of linear algebra, providing a coordinate-independent description of operations that can be represented by matrices in finite dimensions. The term linear transformation is commonly synonymous, although some conventions reserve it for maps from a space to itself. (math.brown.edu)
Definition and basic properties
Let and be vector spaces over a field . A function is linear if, for every and every scalar ,
These conditions are called additivity and homogeneity. Equivalently,
for all . The field matters: the scalars may, for example, be real numbers or complex numbers, and linearity is always understood relative to the chosen field. (math.brown.edu)
Every linear map satisfies and . More generally, it preserves every finite linear combination:
Consequently, its action on a basis determines its action everywhere. Conversely, arbitrary images assigned to basis vectors extend uniquely to a linear map. (math.brown.edu)
Examples and geometric interpretation
Multiplication by a fixed matrix defines a linear map by . The identity map and the zero map are basic examples. In real coordinate spaces, rotations about the origin, reflections across subspaces, scalings, and shears are linear. Such maps need not preserve lengths or angles; these require additional properties beyond linearity. (wiki.math.ntnu.no)
For example,
is a shear, represented in standard coordinates by
The map is an orthogonal projection onto the horizontal axis. It collapses an entire direction rather than being invertible. Both examples satisfy the defining identities directly. (wiki.math.ntnu.no)
Linearity also applies to spaces whose elements are functions. On the real vector space of polynomials, differentiation is linear because the derivative preserves sums and multiplication by constants. Thus linear maps are not restricted to geometric vectors or numerical arrays. (homepages.ucl.ac.uk)
Matrix representation
Suppose has an ordered basis , and has an ordered basis . The matrix representing has as its -th column the coordinates of in . If this matrix is , then
where brackets denote coordinate column vectors. The matrix has rows and columns. (math.mit.edu)
The map itself does not depend on the chosen bases, but its matrix generally does. For an endomorphism , changing the basis replaces by , with the corresponding change-of-coordinate matrix. Such matrices describe the same operation in different coordinates. Their determinants, traces, and eigenvalues agree, even though their entries can differ. (math.mit.edu)
Kernel, image, and dimension
They are linear subspaces of and , respectively. The kernel records directions annihilated by the map; the image records all attainable outputs. For , these become the null space and column space of . (homepages.ucl.ac.uk)
The rank of is the dimension of its image, and its nullity is the dimension of its kernel. If is finite-dimensional, the rank–nullity theorem states
Its rank equals the matrix rank of any representing matrix. The theorem separates the domain’s dimension into directions lost and independent directions retained. (math.brown.edu)
A linear map is injective exactly when its kernel is , and surjective exactly when its image is its codomain. A bijective linear map is a vector space isomorphism, and its inverse is linear. Between finite-dimensional spaces of equal dimension, injectivity and surjectivity are equivalent. (homepages.ucl.ac.uk)
Operations on linear maps
Maps form a vector space under pointwise addition and scalar multiplication. If and are linear, their composition is linear. With compatible bases, composition corresponds to matrix multiplication, with the later operation’s matrix on the left. A map is often called a linear operator; its powers describe repeated application. (math.brown.edu)
Linear equations and affine maps
A system of linear equations asks which inputs a linear map sends to . It is solvable precisely when belongs to the image. If is one solution, every solution is of the form
The kernel therefore controls nonuniqueness, while the image controls existence. (wiki.math.ntnu.no)
An affine map has the form . It is linear only when : a nonzero translation violates preservation of the zero vector. Accordingly, the elementary expression , sometimes called a “linear function,” is strictly linear in the vector-space sense only when its constant term vanishes. (wiki.math.ntnu.no)