encyclopegia.org

Linear combination

In mathematics, a linear combination or superposition is an expression constructed from a set of terms by multiplying each term by a constant and adding the results (e.g. a linear combination of x and y would be any expression of the form ax + by, where a and b are constants). The concept of linear combinations is central to linear algebra and related fields of mathematics. Most of this article deals with linear combinations in the context of a vector space over a field, with some generalizations given at the end of the article.

In mathematics, a linear combination or superposition is an expression constructed from a set of terms by multiplying each term by a constant and adding the results (e.g. a linear combination of x and y would be any expression of the form ax + by, where a and b are constants). The concept of linear combinations is central to linear algebra and related fields of mathematics. Most of this article deals with linear combinations in the context of a vector space over a field, with some generalizations given at the end of the article. == Definition== Let V be a vector space over the field K. As usual, we call elements of V vectors and call elements of K scalars. If v 1 ,...,v n are vectors and a 1 ,...,a n are scalars, then the linear combination of those vectors with those scalars as coefficients is a_1 \mathbf v_1 + a_2 \mathbf v_2 + a_3 \mathbf v_3 + \cdots + a_n \mathbf v_n. There is some ambiguity in the use of the term "linear combination" as to whether it refers to the expression or to its value. In most cases the value is emphasized, as in the assertion "the set of all linear combinations of v 1 ,...,v n always forms a subspace". However, one could also say "two different linear combinations can have the same value" in which case the reference is to the expression. The subtle difference between these uses is the essence of the notion of linear dependence: a family F of vectors is linearly independent precisely if any linear combination of the vectors in F (as value) is uniquely so (as expression). In any case, even when viewed as expressions, all that matters about a linear combination is the coefficient of each v i ; trivial modifications such as permuting the terms or adding terms with zero coefficient do not produce distinct linear combinations. In a given situation, K and V may be specified explicitly, or they may be obvious from context. In that case, we often speak of a linear combination of the vectors v 1 ,...,v n , with the coefficients unspecified (except that they must belong to K). Or, if S is a subset of V, we may speak of a linear combination of vectors in S, where both the coefficients and the vectors are unspecified, except that the vectors must belong to the set S (and the coefficients must belong to K). Finally, we may speak simply of a linear combination, where nothing is specified (except that the vectors must belong to V and the coefficients must belong to K); in this case one is probably referring to the expression, since every vector in V is certainly the value of some linear combination. Note that by definition, a linear combination involves only finitely many vectors, except as described in the section. However, the set S that the vectors are taken from (if one is mentioned) can still be infinite; each individual linear combination will only involve finitely many vectors. Also, there is no reason that n cannot be zero; in that case, we declare by convention that the result of the linear combination is the zero vector in V. \begin{align} ( a_1 , a_2 , a_3) & = ( a_1 ,0,0) + (0, a_2 ,0) + (0,0, a_3) \\[6pt] & = a_1 (1,0,0) + a_2 (0,1,0) + a_3 (0,0,1) \\[6pt] & = a_1 \mathbf e_1 + a_2 \mathbf e_2 + a_3 \mathbf e_3. \end{align} Consider the vectors (functions) f and g defined by f(t) := e it and g(t) := e −it . (Here, e is the base of the natural logarithm, about 2.71828..., and i is the imaginary unit, a square root of −1.) Some linear combinations of f and g are: \cos t = \tfrac12 \, e^{i t} + \tfrac12 \, e^{-i t} 2 \sin t = (-i) e^{i t} + (i) e^{-i t}. On the other hand, the constant function 3 is not a linear combination of f and g. To see this, suppose that 3 could be written as a linear combination of e it and e −it . This means that there would exist complex scalars a and b such that for all real numbers t. Setting t = 0 and t = π gives the equations and , and clearly this cannot happen. Consider the vectors (polynomials) p 1  := 1, , and . To find out whether x 2  − 1 is a linear combination of p 1 , p 2 , and p 3 , we consider an arbitrary linear combination of these vectors and try to see when it equals the desired vector x 2  − 1. Picking arbitrary coefficients a 1 , a 2 , and a 3 , we want a_1 (1) + a_2 ( x + 1) + a_3 ( x^2 + x + 1) = x^2 - 1. Multiplying the polynomials out, this means ( a_1 ) + ( a_2 x + a_2) + ( a_3 x^2 + a_3 x + a_3) = x^2 - 1 and collecting like powers of x, we get a_3 x^2 + ( a_2 + a_3 ) x + ( a_1 + a_2 + a_3 ) = 1 x^2 + 0 x + (-1). Two polynomials are equal if and only if their corresponding coefficients are equal, so we can conclude a_3 = 1, \quad a_2 + a_3 = 0, \quad a_1 + a_2 + a_3 = -1. This system of linear equations can easily be solved. First, the first equation simply says that a 3 is 1. Knowing that, we can solve the second equation for a 2 , which comes out to −1. Finally, the last equation tells us that a 1 is also −1. Therefore, the only possible way to get a linear combination is with these coefficients. Indeed, x^2 - 1 = -1 - ( x + 1) + ( x^2 + x + 1) = - p_1 - p_2 + p_3 so x 2  − 1 is a linear combination of p 1 , p 2 , and p 3 . On the other hand, if we try to make x 3  − 1 a linear combination of p 1 , p 2 , and p 3 , then following the same process as before, we get the equation \begin{align} & 0 x^3 + a_3 x^2 + ( a_2 + a_3 ) x + ( a_1 + a_2 + a_3 ) \\[5pt] = {} & 1 x^3 + 0 x^2 + 0 x + (-1). \end{align} However, when we set corresponding coefficients equal in this case, the equation for x 3  is 0 = 1 which is always false. Therefore, there is no way for this to work, and x 3  − 1 is not a linear combination of p 1 , p 2 , and p 3 . This set is called the linear span (or just span) of the vectors, say S = {v 1 , ..., v n }. We write the span of S as span(S) or sp(S): \operatorname{span}( \mathbf v_1 ,\ldots, \mathbf v_n) := \{ a_1 \mathbf v_1 + \cdots + a_n \mathbf v_n : a_1 ,\ldots, a_n \in K \}. \mathbf v = \sum_i a_i \mathbf v_i = \sum_i b_i \mathbf v_i\text{ where } a_i \neq b_i. This is equivalent, by subtracting these ( c_i := a_i - b_i ), to saying a non-trivial combination is zero: \mathbf 0 = \sum_i c_i \mathbf v_i. If that is possible, then v 1 ,...,v n are called linearly dependent; otherwise, they are linearly independent. Similarly, we can speak of linear dependence or independence of an arbitrary set S of vectors. If S is linearly independent and the span of S equals V, then S is a basis for V. == Generalizations== If is a topological vector space, then there may be a way to make sense of certain infinite linear combinations, using the topology of . For example, we might be able to speak of , going on forever. Such infinite linear combinations do not always make sense; we call them convergent when they do. Allowing more linear combinations in this case can also lead to a different concept of span, linear independence, and basis. The articles on the various flavors of topological vector spaces go into more detail about these. If is a commutative ring instead of a field, then everything that has been said above about linear combinations generalizes to this case without change. The only difference is that we call spaces like this modules instead of vector spaces. If is a noncommutative ring, then the concept still generalizes, with one caveat: since modules over noncommutative rings come in left and right versions, our linear combinations may also come in either of these versions, whatever is appropriate for the given module. This is simply a matter of doing scalar multiplication on the correct side. A more complicated twist comes when is a bimodule over two rings, and . In that case, the most general linear combination looks like a_1 \mathbf v_1 b_1 + \cdots + a_n \mathbf v_n b_n where belong to , belong to , and belong to . ==References== ==External links== Linear Combinations and Span: Understanding linear combinations and spans of vectors, khanacademy.org.

References

No reference rows published for this article.

Cite this article

MLA

"Linear combination." encyclopegia.org, 2026, https://encyclopegia.org/wiki/linear-combination. Accessed 24 November 2026.

Chicago

"Linear combination." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/linear-combination.

APA

encyclopegia.org. (2026). Linear combination. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/linear-combination

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

linear span

stub · references available

Universal linear accelerator

stub · references available

linear phase

stub · references available

linear sweep voltammetry

stub · references available

International Linear Collider

stub · references available

Basic Linear Algebra Subprograms

stub · references available

linear particle accelerator

stub · references available

GNU Linear Programming Kit

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1378261803 · 0.5 · snapshot enwiki-001378261803

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.