Linear Combination
   HOME

TheInfoList



OR:

In
mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, a linear combination is an
expression Expression may refer to: Linguistics * Expression (linguistics), a word, phrase, or sentence * Fixed expression, a form of words with a specific meaning * Idiom, a type of fixed expression * Metaphorical expression, a particular word, phrase, o ...
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 matrices. ...
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 whose elements, often called ''vectors'', may be added together and multiplied ("scaled") by numbers called '' scalars''. Scalars are often real numbers, but can ...
over a
field Field may refer to: Expanses of open ground * Field (agriculture), an area of land used for agricultural purposes * Airfield, an aerodrome that lacks the infrastructure of an airport * Battlefield * Lawn, an area of mowed grass * Meadow, a grass ...
, 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'' ''
vector Vector most often refers to: *Euclidean vector, a quantity with a magnitude and a direction *Vector (epidemiology), an agent that carries and transmits an infectious pathogen into another living organism Vector may also refer to: Mathematic ...
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 is a nontrivial linear combination of the vectors that equals the zero vector. If no such linear combination exists, then the vectors are said to be . These concepts are ...
: 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, 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 are ...
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 is the opposite of infinite. It may refer to: * Finite number (disambiguation) * 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 ...
ly many vectors (except as described in Generalizations below). However, the set ''S'' that the vectors are taken from (if one is mentioned) can still be
infinite Infinite may refer to: Mathematics *Infinite set, a set that is not a finite set *Infinity, an abstract concept describing something without any limit Music * Infinite (group), a South Korean boy band *''Infinite'' (EP), debut EP of American m ...
; 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. In place-value notation Positional notation (or place-value notation, or positional numeral system) usually denotes the extension to any base of the Hindu–Arabic numeral system (or ...
; 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 identi ...
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 distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every real ...
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, that is, in Euclid's Elements, Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics ther ...
R3. Consider the vectors , and . Then ''any''
vector Vector most often refers to: *Euclidean vector, a quantity with a magnitude and a direction *Vector (epidemiology), an agent that carries and transmits an infectious pathogen into another living organism Vector may also refer to: Mathematic ...
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 form ...
s, and let ''V'' be the set CC(''R'') of all
continuous function In mathematics, a continuous function is a function such that a continuous variation (that is a change without jump) of the argument induces a continuous variation of the value of the function. This means that there are no abrupt changes in value ...
s from the
real line In elementary mathematics, a number line is a picture of a graduated straight line (geometry), line that serves as visual representation of the real numbers. Every point of a number line is assumed to correspond to a real number, and every real ...
R to the
complex plane In mathematics, the complex plane is the plane formed by the complex numbers, with a Cartesian coordinate system such that the -axis, called the real axis, is formed by the real numbers, and the -axis, called the imaginary axis, is formed by the ...
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 solution to the quadratic equation x^2+1=0. Although there is no real number with this property, can be used to extend the real numbers to what are called complex numbers, using addition an ...
, 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 e^ + 1 = 0 where : is Euler's number, the base of natural logarithms, : is the imaginary unit, which by definition satisfies , and : is pi, the ratio of the circum ...
.


Polynomials

Let ''K'' be R, C, or any field, and let ''V'' be the set ''P'' of all
polynomial In mathematics, a polynomial is an expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication, and positive-integer powers of variables. An exa ...
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" (shortened as "iff") is a biconditional logical connective between statements, where either both statements are true or both are false. The connective is bicondi ...
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 one 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 three ...
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 of vectors (from a vector space), denoted , pp. 29-30, §§ 2.5, 2.8 is defined as the set of all linear combinations of the vectors in . It can be characterized ...
'' (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 (mathematics), set of vector (mathematics), vectors is said to be if there is a nontrivial linear combination of the vectors that equals the zero vector. If no such linear combination exists, then the vec ...
''; 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 Basis may refer to: Finance and accounting *Adjusted basis, the net cost of an asset after adjusting for various tax-related items *Basis point, 0.01%, often used in the context of interest rates *Basis trading, a trading strategy consisting of ...
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_ a ...
,
conical combination Given a finite number of vectors x_1, x_2, \dots, x_n in a real vector space, a conical combination, conical sum, or weighted sum''Convex Analysis and Minimization Algorithms'' by Jean-Baptiste Hiriart-Urruty, Claude Lemaréchal, 1993, pp. 101, 102/ ...
, and
convex combination In convex geometry and vector algebra, a convex combination is a linear combination of points (which can be vectors, scalars, or more generally points in an affine space) where all coefficients are non-negative and sum to 1. In other word ...
, 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 the mathematical function that gives the probabilities of occurrence of different possible outcomes for an experiment. It is a mathematical description of a random phenomenon i ...
s are closed under convex combination (they form a convex set), but not conical or affine combinations (or linear), and
positive measure In mathematics, the concept of a measure is a generalization and formalization of geometrical measures ( length, area, volume) and other common notions, such as mass and probability of events. These seemingly distinct concepts have many simi ...
s are closed under conical combination but not affine or linear – hence one defines
signed measure In mathematics, signed measure is a generalization of the concept of (positive) measure by allowing the set function to take negative values. Definition There are two slightly different concepts of a signed measure, depending on whether or not o ...
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. The basic example of an ordered field is the field of real numbers, and every Dedekind-complete ordered field ...
(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'' then ...
), generally the real numbers. If one allows only scalar multiplication, not addition, one obtains a (not necessarily convex)
cone A cone is a three-dimensional geometric shape that tapers smoothly from a flat base (frequently, though not necessarily, circular) to a point called the apex or vertex. A cone is formed by a set of line segments, half-lines, or lines con ...
; 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 In mathematics, an operad is a structure that consists of abstract Operation (mathematics), operations, each one having a fixed finite number of inputs (arguments) and one output, as well as a specification of how to compose these operations. Given ...
, 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 a ...
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. To see how the direct sum is used in abstract algebra, consider a more ...
, 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 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 in which the multiplication operation is commutative. The study of commutative rings is called commutative algebra. Complementarily, noncommutative algebra is the study of ring properties that are not sp ...
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 Broadly speaking, modularity is the degree to which a system's components may be separated and recombined, often with the benefit of flexibility and variety in use. The concept of modularity is used primarily to reduce complexity by breaking a sy ...
instead of vector spaces. If ''K'' 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 ''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, in t ...
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''.


Application

An important application of linear combinations is to
wave functions A wave function in quantum physics is a mathematical description of the quantum state of an isolated quantum system. The wave function is a complex-valued probability amplitude, and the probabilities for the possible results of measurements mad ...
in
quantum mechanics Quantum mechanics is a fundamental theory in physics that provides a description of the physical properties of nature at the scale of atoms and subatomic particles. It is the foundation of all quantum physics including quantum chemistry, ...
.


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