Linear independence, dimension, and basis of a linear space

The possibility of expressing a vector as a linear combination of other vectors, or lack thereof, plays a role in many settings. In order to do so, we must ensure that the set of vectors that we want to use as a building blocks is “rich enough.” If we are given a set of vectors images, and we take linear combinations of them, we generate a linear subspace of vectors. We speak of a subspace, because it is in general a subset of images; it is linear in the sense that any linear combination of vectors included in the subspace belongs to the subspace as well. We say that the set of vectors is a spanning set for the subspace. However, we would like to have a spanning set that is “minimal,” in the sense that all of the vectors are really needed and there is no redundant vector. It should be clear that if one of the vectors in the spanning set is a linear combination of the others, we can get rid of it without changing the spanning set.

Example 3.9 Consider the unit vectors in images:

images

It is easy to see that we may span the whole space images by taking linear combinations of e1 and e2. If we also consider vector e3 = [1, 1]T, we get another spanning set, but we do not change the spanned set, as the new vector is redundant:

images

This can be rewritten as follows:

images

The previous example motivates the following definition.

DEFINITION 3.3 (Linear dependence) Vectors images are linearly dependent if and only if there exist scalars α1α2, …, αk, not all zero, such that

images

Indeed, vectors e1e2, and e3 in the example above are linearly dependent. However, vectors e1 and e2 are clearly not redundant, as there is no way to express one of them as a linear combination of the other one.

DEFINITION 3.4 (Linear independence) Vectors images are linearly independent if and only if

images

implies α1 = α2 = ··· = αk = 0.

Consider now the space images. How many vectors should we include in a spanning set for images? Intuition suggests that

  • The spanning set should have at least n vectors.
  • If we include more than n vectors in the spanning set, some of them will be redundant.

This motivates the following definition.

DEFINITION 3.5 (Basis of a linear space) Let v1v2, …, vk be a collection of vectors in a linear space V. These vectors form a basis for V if

  1. v1v2, …, vk span V.
  2. v1v2, … vk are linearly independent.

Example 3.10 Referring again to Example 3.9, the set {e1e2e3} is a spanning set for images, but it is not a basis. To get a basis, we should get rid of one of those vectors. Note that the basis is not unique, as any of these sets does span images. These sets have all dimension 2.

We cannot span images with a smaller set, consisting of just one vector. However, let us consider vectors on the line y = x. This line consists of the set of vectors w of the form

images

This set W is a linear subspace of images in the sense that

images

Vector e3 is one possible basis for subspace W.

The last example suggests that there are many possible bases for a linear space, but they have something in common: They consist of the same number of vectors. In fact, this number is the dimension of the linear space. We also see that a space like images may include a smaller linear subspace, with a basis smaller than n.

As a further example, we may consider the plane xy as a subspace of images. This plane consists of vectors of the form

images

and the most natural basis for it consists of vectors

images

Such unit vectors yield natural bases for many subspaces, but they need not be the only (or the best) choice.

We close this section by observing that if we have a basis, and a vector is represented using that basis, the representation is unique.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *