Let **v** _{1}, **v** _{2},…, **v** _{r }be vectors in **R** ^{n }. A **linear combination** of these vectors is any expression of the form

where the coefficients *k* _{1}, *k* _{2},…, *k *_{r} are scalars.

**Example 1**: The vector **v** = (−7, −6) is a linear combination of the vectors **v**_{1} = (−2, 3) and **v**_{2} = (1, 4), since **v** = 2 **v**_{1} − 3 **v**_{2}. The zero vector is also a linear combination of **v**_{1} and **v**_{2}, since **0** = 0 **v**_{1} + 0 **v**_{2}. In fact, it is easy to see that the zero vector in **R**^{ n} is always a linear combination of any collection of vectors **v**_{1}, **v**_{2},…, **v**_{r }from **R**^{n}.

The set of *all* linear combinations of a collection of vectors **v**_{1}, **v**_{2},…, **v**_{r }from **R**^{n} is called the **span** of { **v**_{1}, **v**_{2},…, **v**_{r }}. This set, denoted span { **v**_{1}, **v**_{2},…, **v**_{r}}, is always a subspace of **R**^{ n }, since it is clearly closed under addition and scalar multiplication (because it contains *all* linear combinations of **v**_{1}, **v**_{2},…, **v**_{ r}). If *V* = span { **v** _{1}, **v** _{2},…, **v** _{r }}, then *V* is said to be **spanned** by **v** _{1}, **v** _{2},…, **v** _{r }.

**Example 2**: The span of the set {(2, 5, 3), (1, 1, 1)} is the subspace of **R** ^{3} consisting of all linear combinations of the vectors **v** _{1} = (2, 5, 3) and **v** _{2} = (1, 1, 1). This defines a plane in **R** ^{3}. Since a normal vector to this plane in **n** = **v** _{1} x **v** _{2} = (2, 1, −3), the equation of this plane has the form 2 *x* + *y* − 3 *z* = *d* for some constant *d*. Since the plane must contain the origin—it's a subspace— *d* must be 0. This is the plane in Example 7.

**Example 3**: The subspace of **R** ^{2} spanned by the vectors **i** = (1, 0) and **j** = (0, 1) is all of **R** ^{2}, because *every* vector in **R** ^{2} can be written as a linear combination of **i** and **j**:

Let **v** _{1}, **v** _{2},…, **v** _{r−1 }, **v** _{r }be vectors in **R** ^{n }. If **v** _{r }is a linear combination of **v** _{1}, **v** _{2},…, **v** _{r−1 }, then

That is, if any one of the vectors in a given collection is a linear combination of the others, then it can be discarded without affecting the span. Therefore, to arrive at the most “efficient” spanning set, seek out and eliminate any vectors that depend on (that is, can be written as a linear combination of) the others.

**Example 4**: Let **v** _{1} = (2, 5, 3), **v** _{2} = (1, 1, 1), and **v** _{3} = (3, 15, 7). Since **v** _{3} = 4 **v** _{1} − 5 **v** _{2},

That is, because **v** _{3} is a linear combination of **v** _{1} and **v** _{2}, it can be eliminated from the collection without affecting the span. Geometrically, the vector (3, 15, 7) lies in the plane spanned by **v** _{1} and **v** _{2} (see Example 7 above), so adding multiples of **v** _{3} to linear combinations of **v** _{1} and **v** _{2} would yield no vectors off this plane. Note that **v** _{1} is a linear combination of **v** _{2} and **v** _{3} (since **v** _{1} = 5/4 **v** _{2} + 1/4 **v** _{3}), and **v** _{2} is a linear combination of **v** _{1} and **v** _{3} (since **v** _{2} = 4/5 **v** _{1} − 1/5 **v** _{3}). Therefore, *any one* of these vectors can be discarded without affecting the span:

**Example 5**: Let **v** _{1} = (2, 5, 3), **v** _{2} = (1, 1, 1), and **v** _{3} = (4, −2, 0). Because there exist no constants *k* _{1} and *k* _{2} such that **v** _{3} = *k* _{1} **v** _{1} + *k* _{2} **v** _{2}, **v** _{3} is not a linear combination of **v** _{1} and **v** _{2}. Therefore, **v** _{3} does not lie in the plane spanned by **v** _{1} and **v** _{2}, as shown in Figure :

**Figure 1**

Consequently, the span of **v** _{1}, **v** _{2}, and **v** _{3} contains vectors not in the span of **v** _{1} and **v** _{2} alone. In fact,