A linear combination is an expression formed by multiplying elements of a vector space by scalars and adding the results. It is a fundamental construction in linear algebra, connecting vector equations, spanning sets, coordinate systems, and linear transformations. The elements being combined need not be geometric arrows: they may also be polynomials, functions, or matrices, provided they belong to a common vector space. (mtaylor.web.unc.edu)
Definition and scope
Let be a vector space over a field . Given vectors and coefficients , their linear combination is
The coefficients are scalars belonging to the field over which the space is defined. Common choices are the real numbers and complex numbers. Closure under addition and scalar multiplication ensures that the resulting element is again in . No requirement generally forces the coefficients to be positive or to sum to one. (mtaylor.web.unc.edu)
The ordinary algebraic definition uses a finite sum. Even when a collection contains infinitely many vectors, an individual linear combination uses only finitely many of them. Infinite series require an additional notion of convergence and are not automatically algebraic linear combinations. Taking every coefficient to be zero gives the zero vector; the empty sum is also conventionally the zero vector. (mtaylor.web.unc.edu)
For a polynomial, an expression such as
is a linear combination of . Likewise, for functions sharing a domain and scalar field, denotes the function whose value at is . These examples illustrate why the definition is broader than coordinate-vector arithmetic. (mtaylor.web.unc.edu)
Geometric interpretation and span
In real coordinate spaces, scalar multiplication changes a vector’s length and, for a negative scalar, reverses its direction. Vector addition combines the resulting displacements. For example,
A single nonzero vector generates a line through the origin. Two nonparallel vectors generate a plane through the origin; two parallel vectors generate only a line. Thus the geometry depends on the directions available, not simply on the number of listed vectors. (textbooks.math.gatech.edu)
The linear span of a set , written , is the set of all finite linear combinations of elements of . It is the smallest linear subspace containing . A combination is one particular expression or resulting vector, whereas a span is the entire collection of obtainable vectors. The span of the empty set is . (interactivetextbooks.tudelft.nl)
Independence, bases, and coordinates
A family has linear independence when
implies . Otherwise, the family is linearly dependent. In a dependent finite family, at least one vector can be expressed as a linear combination of the others, making that vector unnecessary for generating the span. (interactivetextbooks.tudelft.nl)
Independence determines uniqueness: every vector in the span of an independent family has exactly one coefficient tuple relative to that family. To see this, subtract two proposed representations; independence forces every difference between corresponding coefficients to vanish. For a dependent family, a nonzero relation can instead be added to an existing representation to produce different coefficients with the same result. (interactivetextbooks.tudelft.nl)
A basis is an independent spanning set. Its ordered elements therefore provide coordinates: each vector is represented uniquely by its coefficients. In a finite-dimensional space, the number of basis elements is its dimension. (textbooks.math.gatech.edu)
Matrix formulation and computation
For coordinate vectors , place them as columns of a matrix:
Then
Determining whether a target vector is a combination of the columns is equivalent to solving the system of linear equations . (textbooks.math.gatech.edu)
Gaussian elimination tests consistency and finds coefficients when a solution exists. The rank measures the dimension of the column span. A consistent system has unique coefficients precisely when its columns are independent; dependent columns permit multiple coefficient vectors for the same target. If the system is inconsistent, the target lies outside the column span. (textbooks.math.gatech.edu)
Restricted combinations
Several related constructions impose additional conditions on real coefficients:
- An affine combination requires .
- A conical combination requires .
- A convex combination requires both conditions. (math.mit.edu)
For distinct points , affine combinations , with unrestricted real , describe the entire line through them. Convex combinations restrict to , describing the connecting segment. These constructions underlie affine spaces and convex sets; nonnegativity is an extra condition, not part of a general linear combination. (math.mit.edu)
Linear maps and statistical models
A linear map preserves linear combinations:
Consequently, its values on a basis determine its values throughout the space. This property explains the close relationship between linear combinations and matrix representations of transformations. (textbooks.math.gatech.edu)
In linear regression, the fitted predictor is a linear combination of selected feature columns, often including a constant column for the intercept. Ordinary least squares selects coefficients to minimize squared residuals. Polynomial terms and interactions may serve as features: “linear” here refers to the coefficients’ role, not necessarily to dependence on the original input variables. (online.stat.psu.edu)