Search for probability and statistics terms on Statlect
StatLect

Linear span

by , PhD

The span of a set of vectors, also called linear span, is the linear space formed by all the vectors that can be written as linear combinations of the vectors belonging to the given set.

Table of Contents

Definition

Let us start with a formal definition of span.

Definition Let $S$ be a linear space. Let [eq1] be n vectors. The linear span of [eq2], denoted by[eq3] is the set of all the linear combinations [eq4]that can be obtained by arbitrarily choosing n scalars $lpha _{1}$, ...,$lpha _{n}$.

A very simple example of a linear span follows.

Example Let $x_{1}$ and $x_{2}$ be $2	imes 1$ column vectors defined as follows:[eq5]Let x be a linear combination of $x_{1}$ and $x_{2}$ with coefficients $lpha _{1}$ and $lpha _{2}$. Then,[eq6]Thus, the linear span is the set of all vectors x that can be written as[eq7]where $lpha _{1}$ and $lpha _{2}$ are two arbitrary scalars.

A linear span is a linear space

The following proposition, although elementary, is extremely important.

Proposition The linear span of a set of vectors is a linear space.

Proof

Let $S$ be the linear span of n vectors [eq8]. Then, $S$ is the set of all vectors x that can be represented as linear combinations[eq4]Take two vectors $s_{1}$ and $s_{2}$ belonging to $S$. Then, there exist coefficients [eq10] and [eq11] such that[eq12]The span $S$ is a linear space if and only if, for any two coefficients $eta _{1}$ and $eta _{2}$, the linear combination[eq13]also belongs to $S$. But,[eq14]Thus, the linear combination [eq15]can itself be expressed as a linear combination of the vectors [eq16] with coefficients [eq17], ..., [eq18]. As a consequence, it belongs to the span $S$. In summary, we have proved that any linear combination of vectors belonging to the span $S$ also belongs to the span $S$. This means that $S$ is a linear space.

Solved exercises

Below you can find some exercises with explained solutions.

Exercise 1

Define the following $2	imes 1$ vectors:[eq19]

Does $x_{3}$ belong to the linear span of $x_{1}$ and $x_{2}$?

Solution

The linear span of $x_{1}$ and $x_{2}$ is the set of all vectors $s$ that can be written as linear combinations of $x_{1}$ and $x_{2}$ with scalar coefficients $lpha _{1}$ and $lpha _{2}$:[eq20]In other words, [eq21] contains all the scalar multiples of the vector[eq22]But $x_{3}$ is not a scalar multiple of $x_{1}$. Therefore, $x_{3}$ does not belong to [eq21].

Exercise 2

Does the zero vector[eq24]belong to the span of the vectors $x_{1}$ and $x_{3}$ defined above?

Solution

We have proved that the span is a linear space, and the zero vector always belongs to a linear space (by the very definition of linear space).

How to cite

Please cite as:

Taboga, Marco (2021). "Linear span", Lectures on matrix algebra. https://www.statlect.com/matrix-algebra/linear-span.

The books

Most of the learning materials found on this website are now available in a traditional textbook format.