HOME

TheInfoList



OR:

In
mathematics Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, a linear combination or superposition is an expression constructed from a
set Set, The Set, SET or SETS may refer to: Science, technology, and mathematics Mathematics *Set (mathematics), a collection of elements *Category of sets, the category whose objects and morphisms are sets and total functions, respectively Electro ...
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 Linear algebra is the branch of mathematics concerning linear equations such as :a_1x_1+\cdots +a_nx_n=b, linear maps such as :(x_1, \ldots, x_n) \mapsto a_1x_1+\cdots +a_nx_n, and their representations in vector spaces and through matrix (mathemat ...
and related fields of mathematics. Most of this article deals with linear combinations in the context of a
vector space In mathematics and physics, a vector space (also called a linear space) is a set (mathematics), set whose elements, often called vector (mathematics and physics), ''vectors'', can be added together and multiplied ("scaled") by numbers called sc ...
over a field, with some generalizations given at the end of the article.


Definition

Let ''V'' be a
vector space In mathematics and physics, a vector space (also called a linear space) is a set (mathematics), set whose elements, often called vector (mathematics and physics), ''vectors'', can be added together and multiplied ("scaled") by numbers called sc ...
over the field ''K''. As usual, we call elements of ''V'' ''
vector Vector most often refers to: * Euclidean vector, a quantity with a magnitude and a direction * Disease vector, an agent that carries and transmits an infectious pathogen into another living organism Vector may also refer to: Mathematics a ...
s'' and call elements of ''K'' ''
scalars Scalar may refer to: *Scalar (mathematics), an element of a field, which is used to define a vector space, usually the field of real numbers *Scalar (physics), a physical quantity that can be described by a single element of a number field such a ...
''. If v1,...,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 v1,...,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 In the theory of vector spaces, a set of vectors is said to be if there exists no nontrivial linear combination of the vectors that equals the zero vector. If such a linear combination exists, then the vectors are said to be . These concep ...
: 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'' v1,...,v''n'', with the coefficients unspecified (except that they must belong to ''K''). Or, if ''S'' is a
subset In mathematics, a Set (mathematics), set ''A'' is a subset of a set ''B'' if all Element (mathematics), elements of ''A'' are also elements of ''B''; ''B'' is then a superset of ''A''. It is possible for ''A'' and ''B'' to be equal; if they a ...
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
finite Finite may refer to: * Finite set, a set whose cardinality (number of elements) is some natural number * Finite verb, a verb form that has a subject, usually being inflected or marked for person and/or tense or aspect * "Finite", a song by Sara Gr ...
ly 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 0 (zero) is a number representing an empty quantity. Adding (or subtracting) 0 to any number leaves that number unchanged; in mathematical terminology, 0 is the additive identity of the integers, rational numbers, real numbers, and compl ...
; in that case, we declare by convention that the result of the linear combination is the
zero vector In mathematics, a zero element is one of several generalizations of the number zero to other algebraic structures. These alternate meanings may or may not reduce to the same thing, depending on the context. Additive identities An '' additive id ...
in ''V''.


Examples and counterexamples


Euclidean vectors

Let the field ''K'' be the set R of
real number In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
s, and let the vector space ''V'' be the
Euclidean space Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, in Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics there are ''Euclidean spaces ...
R3. Consider the vectors , and . Then ''any''
vector Vector most often refers to: * Euclidean vector, a quantity with a magnitude and a direction * Disease vector, an agent that carries and transmits an infectious pathogen into another living organism Vector may also refer to: Mathematics a ...
in R3 is a linear combination of e1, e2, and e3. To see that this is so, take an arbitrary vector (''a''1,''a''2,''a''3) in R3, and write: : \begin ( a_1 , a_2 , a_3) & = ( a_1 ,0,0) + (0, a_2 ,0) + (0,0, a_3) \\ pt& = a_1 (1,0,0) + a_2 (0,1,0) + a_3 (0,0,1) \\ pt& = a_1 \mathbf e_1 + a_2 \mathbf e_2 + a_3 \mathbf e_3. \end


Functions

Let ''K'' be the set C of all
complex number In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the for ...
s, and let ''V'' be the set CC(''R'') of all
continuous function In mathematics, a continuous function is a function such that a small variation of the argument induces a small variation of the value of the function. This implies there are no abrupt changes in value, known as '' discontinuities''. More preci ...
s from the
real line A number line is a graphical representation of a straight line that serves as spatial representation of numbers, usually graduated like a ruler with a particular origin (geometry), origin point representing the number zero and evenly spaced mark ...
R to the
complex plane In mathematics, the complex plane is the plane (geometry), plane formed by the complex numbers, with a Cartesian coordinate system such that the horizontal -axis, called the real axis, is formed by the real numbers, and the vertical -axis, call ...
C. 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 The imaginary unit or unit imaginary number () is a mathematical constant that is a solution to the quadratic equation Although there is no real number with this property, can be used to extend the real numbers to what are called complex num ...
, a square root of −1.) Some linear combinations of ''f'' and ''g'' are: *
\cos t = \tfrac12 \, e^ + \tfrac12 \, e^
*
2 \sin t = (-i) e^ + (i) e^.
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. See
Euler's identity In mathematics, Euler's identity (also known as Euler's equation) is the Equality (mathematics), equality e^ + 1 = 0 where :e is E (mathematical constant), Euler's number, the base of natural logarithms, :i is the imaginary unit, which by definit ...
.


Polynomials

Let ''K'' be R, C, or any field, and let ''V'' be the set ''P'' of all
polynomial In mathematics, a polynomial is a Expression (mathematics), mathematical expression consisting of indeterminate (variable), indeterminates (also called variable (mathematics), variables) and coefficients, that involves only the operations of addit ...
s with coefficients taken from the field ''K''. Consider the vectors (polynomials) ''p''1 := 1, , and . Is the polynomial ''x''2 − 1 a linear combination of ''p''1, ''p''2, and ''p''3? To find out, 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 In logic and related fields such as mathematics and philosophy, "if and only if" (often shortened as "iff") is paraphrased by the biconditional, a logical connective between statements. The biconditional is true in two cases, where either bo ...
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 In mathematics, a system of linear equations (or linear system) is a collection of two or more linear equations involving the same variable (math), variables. For example, : \begin 3x+2y-z=1\\ 2x-2y+4z=-2\\ -x+\fracy-z=0 \end is a system of th ...
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, what about the polynomial ''x''3 − 1? If we try to make this vector a linear combination of ''p''1, ''p''2, and ''p''3, then following the same process as before, we get the equation : \begin & 0 x^3 + a_3 x^2 + ( a_2 + a_3 ) x + ( a_1 + a_2 + a_3 ) \\ pt= & 1 x^3 + 0 x^2 + 0 x + (-1). \end 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.


The linear span

Take an arbitrary field ''K'', an arbitrary vector space ''V'', and let v1,...,v''n'' be vectors (in ''V''). It is interesting to consider the set of ''all'' linear combinations of these vectors. This set is called the ''
linear span In mathematics, the linear span (also called the linear hull or just span) of a set S of elements of a vector space V is the smallest linear subspace of V that contains S. It is the set of all finite linear combinations of the elements of , and ...
'' (or just ''span'') of the vectors, say ''S'' = . We write the span of ''S'' as span(''S'') or sp(''S''): : \operatorname( \mathbf v_1 ,\ldots, \mathbf v_n) := \.


Linear independence

Suppose that, for some sets of vectors v1,...,v''n'', a single vector can be written in two different ways as a linear combination of them: :\mathbf v = \sum_i a_i \mathbf v_i = \sum_i b_i \mathbf v_i\text 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: p. 14, § 1.3.2 :\mathbf 0 = \sum_i c_i \mathbf v_i. If that is possible, then v1,...,v''n'' are called ''
linearly dependent In the theory of vector spaces, a set of vectors is said to be if there exists no nontrivial linear combination of the vectors that equals the zero vector. If such a linear combination exists, then the vectors are said to be . These concepts ...
''; 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''.


Affine, conical, and convex combinations

By restricting the coefficients used in linear combinations, one can define the related concepts of
affine combination In mathematics, an affine combination of is a linear combination : \sum_^ = \alpha_ x_ + \alpha_ x_ + \cdots +\alpha_ x_, such that :\sum_^ =1. Here, can be elements ( vectors) of a vector space over a field , and the coefficients \alpha_ ...
, conical combination, and
convex combination In convex geometry and Vector space, vector algebra, a convex combination is a linear combination of point (geometry), points (which can be vector (geometric), vectors, scalar (mathematics), scalars, or more generally points in an affine sp ...
, and the associated notions of sets closed under these operations. Because these are more ''restricted'' operations, more subsets will be closed under them, so affine subsets, convex cones, and convex sets are ''generalizations'' of vector subspaces: a vector subspace is also an affine subspace, a convex cone, and a convex set, but a convex set need not be a vector subspace, affine, or a convex cone. These concepts often arise when one can take certain linear combinations of objects, but not any: for example,
probability distribution In probability theory and statistics, a probability distribution is a Function (mathematics), function that gives the probabilities of occurrence of possible events for an Experiment (probability theory), experiment. It is a mathematical descri ...
s are closed under convex combination (they form a convex set), but not conical or affine combinations (or linear), and positive measures are closed under conical combination but not affine or linear – hence one defines
signed measure In mathematics, a signed measure is a generalization of the concept of (positive) measure by allowing the set function to take negative values, i.e., to acquire sign. Definition There are two slightly different concepts of a signed measure, de ...
s as the linear closure. Linear and affine combinations can be defined over any field (or ring), but conical and convex combination require a notion of "positive", and hence can only be defined over an
ordered field In mathematics, an ordered field is a field together with a total ordering of its elements that is compatible with the field operations. Basic examples of ordered fields are the rational numbers and the real numbers, both with their standard ord ...
(or
ordered ring In abstract algebra, an ordered ring is a (usually commutative) ring ''R'' with a total order ≤ such that for all ''a'', ''b'', and ''c'' in ''R'': * if ''a'' ≤ ''b'' then ''a'' + ''c'' ≤ ''b'' + ''c''. * if 0 ≤ ''a'' and 0 ≤ ''b'' th ...
), generally the real numbers. If one allows only
scalar multiplication In mathematics, scalar multiplication is one of the basic operations defining a vector space in linear algebra (or more generally, a module in abstract algebra). In common geometrical contexts, scalar multiplication of a real Euclidean vector ...
, not addition, one obtains a (not necessarily convex)
cone In geometry, a cone is a three-dimensional figure that tapers smoothly from a flat base (typically a circle) to a point not contained in the base, called the '' apex'' or '' vertex''. A cone is formed by a set of line segments, half-lines ...
; one often restricts the definition to only allowing multiplication by positive scalars. All of these concepts are usually defined as subsets of an ambient vector space (except for affine spaces, which are also considered as "vector spaces forgetting the origin"), rather than being axiomatized independently.


Operad theory

More abstractly, in the language of operad theory, one can consider vector spaces to be
algebras In mathematics, an algebra over a field (often simply called an algebra) is a vector space equipped with a bilinear product. Thus, an algebra is an algebraic structure consisting of a set together with operations of multiplication and addition ...
over the operad \mathbf^\infty (the infinite
direct sum The direct sum is an operation between structures in abstract algebra, a branch of mathematics. It is defined differently but analogously for different kinds of structures. As an example, the direct sum of two abelian groups A and B is anothe ...
, so only finitely many terms are non-zero; this corresponds to only taking finite sums), which parametrizes linear combinations: the vector (2,3,-5,0,\dots) for instance corresponds to the linear combination 2 \mathbf v_1 + 3 \mathbf v_2 - 5 \mathbf v_3 + 0 \mathbf v_4 + \cdots. Similarly, one can consider affine combinations, conical combinations, and convex combinations to correspond to the sub-operads where the terms sum to 1, the terms are all non-negative, or both, respectively. Graphically, these are the infinite affine hyperplane, the infinite hyper-octant, and the infinite simplex. This formalizes what is meant by \mathbf^n being or the standard simplex being model spaces, and such observations as that every bounded
convex polytope A convex polytope is a special case of a polytope, having the additional property that it is also a convex set contained in the n-dimensional Euclidean space \mathbb^n. Most texts. use the term "polytope" for a bounded convex polytope, and the wo ...
is the image of a simplex. Here suboperads correspond to more restricted operations and thus more general theories. From this point of view, we can think of linear combinations as the most general sort of operation on a vector space – saying that a vector space is an algebra over the operad of linear combinations is precisely the statement that ''all possible'' algebraic operations in a vector space are linear combinations. The basic operations of addition and scalar multiplication, together with the existence of an
additive identity In mathematics, the additive identity of a set that is equipped with the operation of addition is an element which, when added to any element in the set, yields . One of the most familiar additive identities is the number 0 from elementary ma ...
and additive inverses, cannot be combined in any more complicated way than the generic linear combination: the basic operations are a
generating set In mathematics and physics, the term generator or generating set may refer to any of a number of related concepts. The underlying concept in each case is that of a smaller set of objects, together with a set of operations that can be applied to ...
for the operad of all linear combinations. Ultimately, this fact lies at the heart of the usefulness of linear combinations in the study of vector spaces.


Generalizations

If ''V'' is a
topological vector space In mathematics, a topological vector space (also called a linear topological space and commonly abbreviated TVS or t.v.s.) is one of the basic structures investigated in functional analysis. A topological vector space is a vector space that is als ...
, then there may be a way to make sense of certain ''infinite'' linear combinations, using the topology of ''V''. For example, we might be able to speak of ''a''1v1 + ''a''2v2 + ''a''3v3 + ⋯, 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 ''K'' is a
commutative ring In mathematics, a commutative ring is a Ring (mathematics), ring in which the multiplication operation is commutative. The study of commutative rings is called commutative algebra. Complementarily, noncommutative algebra is the study of ring prope ...
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 ''V'' modules instead of vector spaces. If ''K'' is a
noncommutative ring In mathematics, a noncommutative ring is a ring whose multiplication is not commutative; that is, there exist ''a'' and ''b'' in the ring such that ''ab'' and ''ba'' are different. Equivalently, a ''noncommutative ring'' is a ring that is not ...
, 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 ''V'' is a
bimodule In abstract algebra, a bimodule is an abelian group that is both a left and a right module, such that the left and right multiplications are compatible. Besides appearing naturally in many parts of mathematics, bimodules play a clarifying role, i ...
over two rings, ''K''L and ''K''R. 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 ''a''1,...,''a''''n'' belong to ''K''L, ''b''1,...,''b''''n'' belong to ''K''R, and v1,…,v''n'' belong to ''V''.


See also

*
Weighted sum A weight function is a mathematical device used when performing a sum, integral, or average to give some elements more "weight" or influence on the result than other elements in the same set. The result of this application of a weight function is ...


Citations


References


Textbook

* * * *


Web

*


External links


Linear Combinations and Span: Understanding linear combinations and spans of vectors
khanacademy.org. {{linear algebra Linear algebra