Skip to main content

Section1.2Vector Equations and Spans

Objectives
  1. Understand the equivalence between a system of linear equations and a vector equation.
  2. Learn the definition of Span{x1,x2,...,xk}, and how to draw pictures of spans.
  3. Pictures: an inconsistent system of equations, a consistent system of equations, spans in R2 and R3.
  4. Vocabulary word: vector equation.
  5. Essential vocabulary word: span.

Subsection1.2.1Vector Equations

An equation involving vectors with n coordinates is the same as n equations involving only numbers. For example, the equation

xC126D+yC121D=C8163D (1.2.1)

simplifies to

Cx2x6xD+Cy2yyD=C8163DorCxy2x2y6xyD=C8163D.

For two vectors to be equal, all of their coordinates must be equal, so this is just the system of linear equations

Exy=82x2y=166xy=3.
Definition

A vector equation is an equation involving a linear combination of vectors with possibly unknown coefficients.

Asking whether or not a vector equation has a solution is the same as asking if a given vector is a linear combination of some other given vectors.

For example the vector equation above is asking if the vector (8,16,3) is a linear combination of the vectors (1,2,6) and (1,2,1).

Example

Consider the vector equation

xC111D+yC011D+zC200D=C131D.

Does this vector equation have a solution? Does it have more than one solution?

This vector equation does not have any solution. We could write it as three separate equations:

x+2z=1,xy=3,xy=1,

which all have to be true at the same time for a solution x,y,z. The second equation says xy=3 and the third says xy=1. These two statements cannot be true at the same time, no matter what values of x and y we choose. So there can be no solution to the vector equation.

Exclamation PointDefinition

If one or more solutions exist for an equation or a system of equations, it is said to be consistent. If an equation or system of equations does not have any solution, it is said to be inconsistent.

The above definition is the first of several essential definitions that we will see in this textbook. They are essential in that they form the essence of the subject of linear algebra: learning linear algebra means (in part) learning these definitions. All of the definitions are important, but it is essential that you learn and understand the definitions marked as such.

A Picture of a Consistent System

Below we will show that the above system of equations is consistent. Equivalently, this means that the above vector equation has a solution. In other words, there is a linear combination of (1,2,6) and (1,2,1) that equals (8,16,3). We can visualize the last statement geometrically. Therefore, the following figure gives a picture of a consistent system of equations. Compare with figure below, which shows a picture of an inconsistent system.

Figure8A picture of the above vector equation. Try to solve the equation geometrically by moving the sliders.

Subsection1.2.2Spans

It will be useful to know what are all linear combinations of a set of vectors v1,v2,...,vk in Rn. In other words, we would like to understand the set of all vectors b in Rn such that the vector equation (in the unknowns x1,x2,...,xk )

x1v1+x2v2+···+xkvk=b

has a solution (i.e. is consistent).

Exclamation PointDefinition

Let v1,v2,...,vk be vectors in Rn. The span of v1,v2,...,vk is the collection of all linear combinations of v1,v2,...,vk, and is denoted Span{v1,v2,...,vk}. In symbols:

Span{v1,v2,...,vk}=Ax1v1+x2v2+···+xkvk|x1,x2,...,xkinRB

We also say that Span{v1,v2,...,vk} is the subset spanned by or generated by the vectors v1,v2,...,vk.

If k=0, so there are no vectors, then the span consists of just the origin 0. You can either take that as the definition, or as a consequence of the fact that the empty sum (the sum of no things) should be 0. That is, SpanA={0}.

Set Builder Notation

You should read the notation

Ax1v1+x2v2+···+xkvk|x1,x2,...,xkinRB

as: “the set of all things of the form x1v1+x2v2+···+xkvk such that x1,x2,...,xk are in R. The vertical line is “such that”; everything to the left of it is “the set of all things of this form”, and everything to the right is the condition that those things must satisfy to be in the set. Specifying a set in this way is called set builder notation.

All mathematical notation is only shorthand: any sequence of symbols must translate into an ordinary sentence.

Note(Consistency and span)

Here are two ways of saying the same thing:

  1. A vector b is in the span of v1,v2,...,vk.
  2. The vector equation
    x1v1+x2v2+···+xkvk=b
    is consistent, i.e., it has at least one solution.

Later, in important note in Section 3.2 we will develop a procedure for answering the question “is b in the span of v1,v2,...,vk? in every circumstance. This will be a byproduct of developing a process to find all the solutions of vector equations.

Figure12This is a picture of an inconsistent linear system: the vector w on the right-hand side of the equation x1v1+x2v2=w is not in the span of v1,v2. Convince yourself of this by trying to solve the equation x1v1+x2v2=w by moving the sliders, and by row reduction. Compare this figure.
Pictures of Spans

Drawing a picture of Span{v1,v2,...,vk} is the same as drawing a picture of all linear combinations of v1,v2,...,vk.

SpanASpan{v}vSpan{v,w}vwSpan{v,w}vw
Figure15Pictures of spans in R2.
Span{v}vSpan{v,w}vwvwuSpan{u,v,w}Span{u,v,w}vwu
Figure16Pictures of spans in R3. The span of two noncollinear vectors is the plane containing the origin and the heads of the vectors. Note that three coplanar (but not collinear) vectors span a plane and not a 3-space, just as two collinear vectors span a line and not a plane.