All Topics  
Linear combination

 

   Email Print
   Bookmark   Link






 

Linear combination



 
 
In mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
, linear combinations are a concept central to linear algebra
Linear algebra

Linear algebra is the branch of mathematics concerned with the study of Euclidean vectors, vector spaces , linear maps , and system of linear equations....
 and related fields of mathematics. Most of this article deals with linear combinations in the context of a vector space
Vector space

File:Vector addition ans scaling.pngA vector space is a mathematical structure formed by a collection of vectors: objects that may be Vector addition together and Scalar multiplication by numbers, called scalar s in this context....
 over a field
Field (mathematics)

In abstract algebra, a field is an algebraic structure with notions of addition, subtraction, multiplication and division , satisfying certain axioms....
, with some generalisations given at the end of the article.
ose that K is a field and V is a vector space over K. As usual, we call elements of V vector
Vector space

File:Vector addition ans scaling.pngA vector space is a mathematical structure formed by a collection of vectors: objects that may be Vector addition together and Scalar multiplication by numbers, called scalar s in this context....
s
and call elements of K scalars
Scalar (mathematics)

In linear algebra, real numbers are called scalars and relate to vectors in a vector space through the operation of scalar multiplication, in which a vector can be multiplied by a number to produce another vector....
. If v1,...,vn are vectors and a1,...,an are scalars, then the linear combination of those vectors with those scalars as coefficients is

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,...,vn, with the coefficients unspecified (except that they must belong to K). Or, if S is a subset
Subset

In mathematics, especially in set theory, a Set A is a subset of a set B if A is "contained" inside B. Notice that A and B may coincide....
 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).

Note that by definition, a linear combination involves only finite
Finite set

In mathematics, finite set is a Set that has a finite number of element . For example,is a finite set with five elements. The number of elements of a finite set is a natural number , and is called the cardinality of the set....
ly many vectors (except as described in Generalisations below). 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 (number)

0 is both a number and the numerical digit used to represent that number in numeral system. It plays a central role in mathematics as the additive identity of the integers, real numbers, and many other algebraic structures....
; in that case, we declare by convention that the result of the linear combination is the zero vector in V.

Vectors
Let the field K be the set R of real number
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
s, and let the vector space V be the Euclidean space
Euclidean space

Around 300 Before Christ, the Ancient Greece mathematician Euclid undertook a study of relationships among distances and angles, first in a plane and then in space....
 R3. Consider the vectors e1 := (1,0,0), e2 := (0,1,0) and e3 = (0,0,1). Then any vector in R3 is a linear combination of e1, e2 and e3.

To see that this is so, take an arbitrary vector (a1,a2,a3) in R3, and write:

ider the vectors (functions) f and g defined by f(t) := eit and g(t) := eit. (Here, e is the base of the natural logarithm
E (mathematical constant)

The mathematical constant e is the unique real number such that the function ex has the same value as the derivative, for all values of x....
, about 2.71828..., and i is the imaginary unit
Imaginary unit

In mathematics, physics, and engineering, the imaginary unit is denoted by  or the Latin   or the Greek iota . It allows the real number system, to be extended to the complex number system,   Its precise definition is dependent upon the particular method of extension....
, a square root of −1.) Some linear combinations of f and g are:* On the other hand, the constant function 3 is not a linear combination of f and g.






Discussion
Ask a question about 'Linear combination'
Start a new discussion about 'Linear combination'
Answer questions from other users
Full Discussion Forum



Encyclopedia


In mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
, linear combinations are a concept central to linear algebra
Linear algebra

Linear algebra is the branch of mathematics concerned with the study of Euclidean vectors, vector spaces , linear maps , and system of linear equations....
 and related fields of mathematics. Most of this article deals with linear combinations in the context of a vector space
Vector space

File:Vector addition ans scaling.pngA vector space is a mathematical structure formed by a collection of vectors: objects that may be Vector addition together and Scalar multiplication by numbers, called scalar s in this context....
 over a field
Field (mathematics)

In abstract algebra, a field is an algebraic structure with notions of addition, subtraction, multiplication and division , satisfying certain axioms....
, with some generalisations given at the end of the article.

Definition

Suppose that K is a field and V is a vector space over K. As usual, we call elements of V vector
Vector space

File:Vector addition ans scaling.pngA vector space is a mathematical structure formed by a collection of vectors: objects that may be Vector addition together and Scalar multiplication by numbers, called scalar s in this context....
s
and call elements of K scalars
Scalar (mathematics)

In linear algebra, real numbers are called scalars and relate to vectors in a vector space through the operation of scalar multiplication, in which a vector can be multiplied by a number to produce another vector....
. If v1,...,vn are vectors and a1,...,an are scalars, then the linear combination of those vectors with those scalars as coefficients is

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,...,vn, with the coefficients unspecified (except that they must belong to K). Or, if S is a subset
Subset

In mathematics, especially in set theory, a Set A is a subset of a set B if A is "contained" inside B. Notice that A and B may coincide....
 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).

Note that by definition, a linear combination involves only finite
Finite set

In mathematics, finite set is a Set that has a finite number of element . For example,is a finite set with five elements. The number of elements of a finite set is a natural number , and is called the cardinality of the set....
ly many vectors (except as described in Generalisations below). 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 (number)

0 is both a number and the numerical digit used to represent that number in numeral system. It plays a central role in mathematics as the additive identity of the integers, real numbers, and many other algebraic structures....
; in that case, we declare by convention that the result of the linear combination is the zero vector in V.

Examples and counterexamples


Vectors


Let the field K be the set R of real number
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
s, and let the vector space V be the Euclidean space
Euclidean space

Around 300 Before Christ, the Ancient Greece mathematician Euclid undertook a study of relationships among distances and angles, first in a plane and then in space....
 R3. Consider the vectors e1 := (1,0,0), e2 := (0,1,0) and e3 = (0,0,1). Then any vector in R3 is a linear combination of e1, e2 and e3.

To see that this is so, take an arbitrary vector (a1,a2,a3) in R3, and write:

Functions


Let K be the set C of all complex number
Complex number

In mathematics, the complex numbers are an extension of the real numbers obtained by adjoining an imaginary unit, denoted i, which satisfies:...
s, and let V be the set CC(R) of all continuous
Continuous function

In mathematics, a continuous function is a function for which, intuitively, small changes in the input result in small changes in the output. Otherwise, a function is said to be discontinuous....
 function
Function (mathematics)

The mathematical concept of a function expresses dependence between two quantities, one of which is known and the other which is produced. A function associates a single output to each input element drawn from a fixed Set , such as the real numbers , although different inputs may have the same output....
s from the real line
Real line

In mathematics, the real line is simply the set R of singleton real numbers.However, this term is usually used when R is to be treated as a space of some sort, such as a topological space or a vector space....
 R to the complex plane
Complex plane

In mathematics, the complex plane is a geometric representation of the complex numbersestablished by the real axis and the orthogonal imaginary axis....
 C. Consider the vectors (functions) f and g defined by f(t) := eit and g(t) := eit. (Here, e is the base of the natural logarithm
E (mathematical constant)

The mathematical constant e is the unique real number such that the function ex has the same value as the derivative, for all values of x....
, about 2.71828..., and i is the imaginary unit
Imaginary unit

In mathematics, physics, and engineering, the imaginary unit is denoted by  or the Latin   or the Greek iota . It allows the real number system, to be extended to the complex number system,   Its precise definition is dependent upon the particular method of extension....
, a square root of −1.) Some linear combinations of f and g are:* 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 eit and eit. This means that there would exist complex scalars a and b such that aeit + beit = 3 for all real numbers t. Setting t = 0 and t = π gives the equations a + b = 3 and a + b = −3, and clearly this cannot happen.

Polynomials


Let K be R, C, or any field, and let V be the set P of all polynomial
Polynomial

In mathematics, a polynomial is an expression constructed from variables and constants, using the operations of addition, subtraction, multiplication, and constant non-negative whole number exponents....
s with coefficients taken from the field K. Consider the vectors (polynomials) p1 := 1, p2 := x + 1, and p3 := x2 + x + 1.

Is the polynomial x2 − 1 a linear combination of p1, p2, and p3? To find out, consider an arbitrary linear combination of these vectors and try to see when it equals the desired vector x2 − 1. Picking arbitrary coefficients a1, a2, and a3, we want Multiplying the polynomials out, this means and collecting like powers of x, we get Two polynomials are equal if and only if
If and only if

If and only if, in logic and fields that rely on it such as mathematics and philosophy, is a biconditional logical connective between statements....
 their corresponding coefficients are equal, so we can conclude This system of linear equations
System of linear equations

In mathematics, a system of linear equations is a collection of linear equations involving the same set of variables. For example,is a system of three equations in the three variables ....
 can easily be solved. First, the first equation simply says that a3 is 1. Knowing that, we can solve the second equation for a2, which comes out to −1. Finally, the last equation tells us that a1 is also −1. Therefore, the only possible way to get a linear combination is with these coefficients. Indeed, so x2 − 1 is a linear combination of p1, p2, and p3.

On the other hand, what about the polynomial x3 − 1? If we try to make this vector a linear combination of p1, p2, and p3, then following the same process as before, we’ll get the equation However, when we set corresponding coefficients equal in this case, the equation for x3 is which is always false. Therefore, there is no way for this to work, and x3 − 1 is not a linear combination of p1, p2, and p3.

The linear span


Main article: linear span
Linear span

In the mathematics subfield of linear algebra, the linear span, also called the linear hull, of a Set of vector space in a vector space is the intersection of all Linear subspace containing that set....


Take an arbitrary field K, an arbitrary vector space V, and let v1,...,vn be vectors (in V). It’s interesting to consider the set of all linear combinations of these vectors. This set is called the linear span
Linear span

In the mathematics subfield of linear algebra, the linear span, also called the linear hull, of a Set of vector space in a vector space is the intersection of all Linear subspace containing that set....
 (or just span) of the vectors, say S =. We write the span of S as span(S) or sp(S):

Linear independence

For some sets of vectors v1,...,vn, a single vector can be written in two different ways as a linear combination of them: Equivalently, by subtracting these a non-trivial combination is zero:

If that is possible, then v1,...,vn 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
Basis (linear algebra)

In linear algebra, a basis is a set of vectors that, in a linear combination, can represent every vector in a given vector space or free module, and such that no element of the set can be represented as a linear combination of the others....
 for V.

Affine, conical, and convex combinations

By restricting the coefficients used in linear combinations, one can define the related concepts of affine combination
Affine combination

In mathematics, an affine combination of vectors x1, ..., x'n is vectorcalled the linear combination of x1, ..., x'n , in which the sum of the coefficients is 1, thus:...
, conical combination
Conical combination

Given a finite number of vectors in a real vector space, a conical combination or a conical sum of these vectors is a vector of the form...
, and convex combination
Convex combination

A convex combination is a linear combination of point where all coefficients are non-negative and sum up to 1. All possible convex combinations will be within the convex hull of the given points....
, and the associated notions of sets closed under these operations.

Type of combination Restrictions on coefficients Name of set Model space
Linear combination no restrictions Vector subspace
Affine combination
Affine combination

In mathematics, an affine combination of vectors x1, ..., x'n is vectorcalled the linear combination of x1, ..., x'n , in which the sum of the coefficients is 1, thus:...
 
Affine subspace Affine hyperplane
Hyperplane

A hyperplane is a concept in geometry. It is a higher-dimensional generalization of the concepts of a line in the plane and a plane in 3-dimensional space....
Conical combination
Conical combination

Given a finite number of vectors in a real vector space, a conical combination or a conical sum of these vectors is a vector of the form...
 
Convex cone
Convex cone

In linear algebra, a convex cone is a subset of a vector space that is closure under linear combinations with positive coefficients....
 
Quadrant
Quadrant

Quadrant may refer to:* One of the four sections of the Cartesian coordinate system#Two-dimensional coordinate system* Quadrant , a measuring instrument capable of measuring angles up to 90°...
/Octant
Octant

An octant is one of eight divisions....
Convex combination
Convex combination

A convex combination is a linear combination of point where all coefficients are non-negative and sum up to 1. All possible convex combinations will be within the convex hull of the given points....
 
and Convex set
Convex set

In Euclidean space, an object is convex if for every pair of points within the object, every point on the straight line segment that joins them is also within the object....
 
Simplex
Simplex

In geometry, a simplex or n-simplex is an n-dimensional analogue of a triangle. Specifically, a simplex is the convex hull of a set of affine transformation Point s in some Euclidean space of dimension n or higher ....


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 a 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
Probability distribution

In probability theory and statistics, a probability distribution identifies either the probability of each value of an unidentified random variable , or the probability of the value falling within a particular interval ....
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
Signed measure

In mathematics, signed measure is a generalization of the concept of measure by allowing it to have negative and positive numbers values. Some authors may call it a charge, by analogy with electric charge, which is a familiar distribution that takes on positive and negative values....
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
Ordered field

In mathematics, an ordered field is a field together with a total ordering of its elements that agrees in a certain sense with the field operations....
 (or ordered ring
Ordered ring

In abstract algebra, an ordered ring is a commutative ring with a total order = such that for all a, b, and c in R:* if a = b then a + c = b + c....
), generally the real numbers.

If one allows only scalar multiplication, not addition, one obtains a (not necessarily convex) cone
Cone (linear algebra)

In linear algebra, a cone is a subset of a vector space that is closed under multiplication by positive scalar . In other words, a subset C of a real vector space V is a cone if and only if ?x belongs to C for any x in C and any positive scalar ? of V ....
; 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
Operad theory

Operad theory is a field of abstract algebra concerned with prototypical algebras that model properties such as commutativity or anticommutativity as well as various amounts of associativity....
, one can consider vector spaces to be algebras
Algebra (ring theory)

In mathematics, specifically in ring theory, an algebra over a commutative ring is a generalization of the concept of an associative algebra, where the base field K is replaced by a commutative ring R....
 over the operad (the infinite direct sum, so only finitely many terms are non-zero; this corresponds to only taking finite sums), which parametrizes linear combinations: the vector for instance corresponds to the linear combination . 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 being or the standard simplex being model spaces, and such observations as that every bounded convex polytope
Convex polytope

A convex polytope is a special case of a polytope, having the additional property that it is also a convex set of points in the n-dimensional space Rn....
 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
Generating set

In mathematics, the expressions generator, generate, generated by and generating set can have several closely related technical meanings:...
 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
Topological vector space

In mathematics, a topological vector space is one of the basic structures investigated in functional analysis. As the name suggests the space blends a topology with the algebraic concept of a vector space....
, 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 a1v1 + a2v2 + a3v3 + ..., 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 flavours of topological vector spaces go into more detail about these.

If K is a commutative ring
Commutative ring

In ring theory, a branch of abstract algebra, a commutative ring is a Ring in which the multiplication operation is commutative. The study of commutative rings is called commutative algebra....
 instead of a field, then everything that has been said above about linear combinations generalises to this case without change. The only difference is that we call spaces like V modules
Module (mathematics)

In abstract algebra, the concept of a module over a ring is a generalization of the notion of vector space, where instead of requiring the scalar to lie in a field , the "scalars" may lie in an arbitrary ring....
 instead of vector spaces. If K is a noncommutative ring, then the concept still generalises, 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
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....
 over two rings, KL and KR. In that case, the most general linear combination looks like where a1,...,an belong to KL, b1,...,bn belong to KR, and v1,...,vn belong to V.