Skip to main content

Section 4 Vector Representation

Subsection Application: The Knight's Tour

Chess is a game played on an \(8 \times 8\) grid which utilizes a variety of different pieces. One piece, the knight, is different from the other pieces in that it can jump over other pieces. However, the knight is limited in how far it can move in a given turn. For these reasons, the knight is a powerful, but often under-utilized, piece.

A knight can move two units either horizontally or vertically, and one unit perpendicular to that. Four knight moves are as illustrated in Figure 4.1, and the other four moves are the opposites of these.

Figure 4.1. Moves a knight can make.

The knight's tour problem is the mathematical problem of finding a knight's tour, that is a sequence of knight moves so the the knight visits each square exactly once. While we won't consider a knight's tour in this text, we will see using linear combinations of vectors that a knight can move from its initial position to any other position on the board, and that it is possible to determine a sequence of moves to make that happen.

Subsection Introduction

So far we learned of a convenient method to represent a linear system using matrices. We now consider another representation of a linear system using vectors. Vectors can represent concepts in the physical world like velocity, acceleration, and force — but we will be interested in vectors as algebraic objects in this class. Vectors will form the foundation for everything we will do in linear algebra. For now, the following definition will suffice.

Definition 4.2.

A (real) vector is a finite list of real numbers in a specified order. Each number in the list is referred to as an entry or component of the vector.

Note.

For the majority of this text, we will work with real vectors. However, a vector does not need to be restricted to have real entries. At times we will use complex vectors and even vectors in other types of sets. The types of sets we use will be ones that have structure just like the real numbers. Recall that a real number is a number that has a decimal representation, either finite or repeating (rational numbers) or otherwise (irrational numbers). We can add and multiply real numbers as we have done throughout our mathematical careers, and the real numbers have a certain structure given in the following theorem that we will treat as an axiom — that is, we assume these properties without proof. We denote the set of real numbers with the symbol \(\R\text{.}\)

Any set that satisfies the properties listed in Theorem 4.3 is called a field. Our vectors are made from elements of a field, we call those elements of the field scalars.

We will algebraically represent a vector as a matrix with one column. For example, \(\vv = \left[ \begin{array}{c} 1\\ 2 \end{array} \right]\) is a vector with 2 entries, and we say that \(\vv\) is a vector in 2-space. By 2-space we mean \(\R^2\text{,}\) which can be geometrically modeled as the plane. Here the symbol \(\R\) indicates that the entries of \(\vv\) are real numbers and the superscript 2 tells us that \(\vv\) has two entries. Similarly, vectors in \(\R^3\) have three entries, e.g., \(\left[ \begin{array}{r} 1\\ 3\\ -1 \end{array} \right]\text{.}\) The collection of column vectors with three entries can be geometrically modeled as three-dimensional space. If a vector \(\vv\) has \(n\) entries we say that \(\vv\) is a vector in \(\R^n\) (or \(n\)-space). Vectors are also often indicated with arrows, so we might also see a vector \(\vv\) written as \(\overrightarrow{v}\text{.}\) It is important when writing to differentiate between a vector \(\vv\) and a scalar \(v\text{.}\) These are quite different objects and it is up to us to make sure we are clear what a symbol represents. We will use boldface letters to represent vectors.

A vector like \(\left[ \begin{array}{c} 1\\ 2 \end{array} \right]\) is called a column vector of size \(2 \times 1\) (two rows, one column). We can define an addition operation on two vectors of the same size by adding corresponding components, such as

\begin{equation*} \left[ \begin{array}{r} 1 \\ -2 \end{array} \right] + \left[ \begin{array}{c} 3 \\ 4 \end{array} \right] = \left[ \begin{array}{c} 4 \\ 2 \end{array} \right]\text{.} \end{equation*}

Similarly, we can define scalar multiplication of a vector by multiplying each component of the vector by the scalar. For example,

\begin{equation*} 3\left[ \begin{array}{c} 1\\ 2 \end{array} \right] = \left[ \begin{array}{c} 3\\ 6 \end{array} \right]\text{.} \end{equation*}

Since we can add vectors and multiply vectors by scalars, we can then add together scalar multiples of vectors. For completeness, we define vector subtraction as adding a scalar multiple:

\begin{equation*} \vv - \vu = \vv + (-1)\vu\text{.} \end{equation*}

This definition is equivalent to defining subtraction of \(\vu\) from \(\vv\) by subtracting components of \(\vu\) from the corresponding components of \(\vv\text{.}\)

Preview Activity 4.1.

(a)

Given vectors

\begin{equation*} \vv =\left[ \begin{array}{r} 1 \\ -2 \\ 2 \end{array} \right] \, , \, \vu=\left[ \begin{array}{c} 0 \\ 1\\ 3 \end{array} \right] \, , \, \vw= \left[ \begin{array}{c} 1\\ 1\\ 4 \end{array} \right]\,\text{,} \end{equation*}

determine the components of the vector \(3\vv + \vu - 2\vw\) using the operations defined above.

(b)

In mathematics, any time we define operations on objects, such as addition of vectors, we ask which properties the operation has. For example, one might wonder if \(\vu+\vv=\vv+\vu\) for any two vectors \(\vu, \vv\) of the same size. If this property holds, we say that the addition of vectors is a commutative operation. However, to verify this property we cannot use examples since the property must hold for any two vectors. For simplicity, we focus on two-dimensional vectors \(\vu = \left[ \begin{array}{c} u_1\\ u_2 \end{array} \right]\) and \(\vv = \left[ \begin{array}{c} v_1\\ v_2 \end{array} \right]\text{.}\) Using these arbitrary vectors, can we say that \(\vu+\vv=\vv+\vu\text{?}\) If so, justify. If not, give a counterexample. (Note: Giving a counterexample is the best way to justify why a general statement is not true.)

(c)

One way to geometrically represent vectors with two components uses a point in the plane to correspond to a vector. Specifically, the vector \(\left[ \begin{array}{c} x \\ y \end{array} \right]\) corresponds to the point \((x, y)\) in the plane. As a specific example, the vector \(\left[ \begin{array}{c} 1 \\ 2 \end{array} \right]\) corresponds to the point \((1, 2)\) in the plane. This representation will be especially handy when we consider infinite collections of vectors as we will do in this problem.

(i)

On the same set of axes, plot the points that correspond to 5-6 scalar multiples of the vector \(\left[ \begin{array}{c} 1 \\ 2 \end{array} \right]\text{.}\) Make sure to use variety of scalar multiples covering possibilities with \(c>0, c\lt 0, c>1, 0\lt c\lt 1, -1\lt c\lt 0\text{.}\) If we consider the collection of all possible scalar multiples of this vector, what do we obtain?

(ii)

What would the collection of all scalar multiples of the vector \(\left[ \begin{array}{c} 0 \\ 0 \end{array} \right]\) form in the plane?

(iii)

What would the collection of all scalar multiples of the vector \(\left[ \begin{array}{c} 1 \\ 1\\ 1 \end{array} \right]\) form in the three-dimensional space?

(d)

Let \(\vu=\left[ \begin{array}{c} 1\\ 2 \end{array} \right]\) and \(\vv=\left[ \begin{array}{r} 1\\ -1 \end{array} \right]\) in \(\R^2\text{.}\) We are interested in finding all vectors that can be formed as a sum of scalar multiples of \(\vu\) and \(\vv\text{.}\)

(i)

On the same set of axes, plot the points that correspond to the vectors \(\vu, \vv, \vu+\vv, 1.5\vu, 2\vv, -\vu, -\vv, -\vu+2\vv\text{.}\) Plot other random sums of scalar multiples of \(\vu\) and \(\vv\) using several scalar multiples (including those less than 1 or negative) (that is, find other vectors of the form \(a\vu + b\vv\) where \(a\) and \(b\) are any scalars.).

(ii)

If we considered sums of all scalar multiples of \(\vu, \vv\text{,}\) which vectors will we obtain? Can we obtain any vector in \(\R^2\) in this form?

Subsection Vectors and Vector Operations

As discussed in Preview Activity 4.1, a vector is simply a list of numbers. We can add vectors of like size and multiply vectors by scalars. These operations define a structure on the set of all vectors with the same number of components that will be our major object of study in linear algebra. Ultimately we will expand our idea of vectors to a more general context and study what we will call vector spaces.

In Preview Activity 4.1 we saw how to add vectors and multiply vectors by scalars in \(\R^2\text{,}\) and this idea extends to \(\R^n\) for any \(n\text{.}\) Before we do so, one thing we didn't address in Preview Activity 4.1 is what it means for two vectors to be equal. It should seem reasonable that two vectors are equal if and only if they have the same corresponding components. More formally, if we let

\begin{equation*} \vu = \left[ \begin{array}{c} u_1 \\ u_2 \\ \vdots \\ u_n \end{array} \right] \ \text{ and } \ \vv = \left[ \begin{array}{c} v_1 \\ v_2 \\ \vdots \\ v_n \end{array} \right] \end{equation*}

be vectors in \(\R^n\text{,}\) then \(\vu = \vv\) if \(u_i = v_i\) for every \(i\) between 1 and \(n\text{.}\) Note that this statement implies that a vector in \(\R^2\) cannot equal a vector in \(\R^3\) because they don't have the same number of components. With this in mind we can now define the sum \(\vu + \vv\) of the vectors \(\vu\) and \(\vv\) to be the vector in \(\R^n\) defined by

\begin{equation*} \vu + \vv = \left[ \begin{array}{c} u_1+v_1 \\ u_2+v_2 \\ \vdots \\ u_n+v_n \end{array} \right]\text{.} \end{equation*}

In other words, to add two vectors of the same size, we add corresponding components.

Similarly, we can define scalar multiplication of a vector. If \(c\) is a scalar, then the scalar multiple \(c \vv\) of the vector \(\vv\) is the vector in \(\R^n\) defined by

\begin{equation*} c\vv = \left[ \begin{array}{c} cv_1 \\ cv_2 \\ \vdots \\ cv_n \end{array} \right]\text{.} \end{equation*}

In other words, the scalar multiple \(c\vv\) of the vector \(\vv\) is the vector obtained by multiplying each component of the vector \(\vv\) by the scalar \(c\text{.}\) Since we can add vectors and multiply vectors by scalars, we can then add together scalar multiples of vectors. For completeness, we define vector subtraction as adding a scalar multiple:

\begin{equation*} \vv - \vu = \vv + (-1)\vu\text{.} \end{equation*}

This definition is equivalent to defining subtraction of \(\vu\) from \(\vv\) by subtracting components of \(\vu\) from the corresponding components of \(\vv\text{.}\)

After defining operations on objects, we should wonder what kinds of properties these operations have. For example, with the operation of addition of real numbers we know that \(1+2\) is equal to \(2+1\text{.}\) This is called the commutative property of scalar addition and says that order does not matter when we add real numbers. It is natural for us to ask if similar properties hold for the vector operations, addition and scalar multiplication, we defined. You showed in Preview Activity 4.1 that the addition operation is also commutative on vectors in \(\R^2\text{.}\)

In the activity below we consider how the two operations, addition and scalar multiplication, interact with each other. In real numbers, we know that multiplication is distributive over addition. Is that true with vectors as well?

Activity 4.2.

We work with vectors in \(\R^2\) to make the notation easier.

Let \(a\) be an arbitrary scalar, and \(\vu = \left[ \begin{array}{c} u_1\\ u_2 \end{array} \right]\) and \(\vv = \left[ \begin{array}{c} v_1\\ v_2 \end{array} \right]\) be two arbitrary vectors in \(\R^2\text{.}\) Is \(a(\vu + \vv)\) equal to \(a\vu + a\vv\text{?}\) What property does this imply about the scalar multiplication and addition operations on vectors?

Similar arguments can be used to show the following properties of vector addition and multiplication by scalars.

We will later see that the above properties make the set \(\R^n\) a vector space. These properties just say that, for the most part, we can manipulate vectors just as we do real numbers. Please note, though, that there is no multiplication or division of vectors.

Subsection Geometric Representation of Vectors and Vector Operations

We can geometrically represent a vector \(\vv = \left[ \begin{array}{c} v_1\\ v_2 \end{array} \right]\) in \(\R^2\) as the point \((v_1, v_2)\) in the plane as we did in Preview Activity 4.1. We can similarly represent a vector \(\vv = \left[ \begin{array}{c} v_1\\ v_2\\ v_3 \end{array} \right]\) in \(\R^3\) as the point \((v_1, v_2, v_3)\) in the three-dimensional space. This geometric representation will be handy when we consider collections of infinitely many vectors, as we will do when we consider the span of a collection of vectors later in this section.

We can also represent the vector \(\vv = \left[ \begin{array}{c} v_1\\ v_2 \end{array} \right]\) in \(\R^2\) as the directed line segment (or arrow) from the origin to the point \((v_1, v_2)\) as shown in Figure 4.5 to aid in the visualization.

Figure 4.5. The vector \(\left[ \begin{array}{c} 4\\ 6 \end{array} \right]\) in \(\R^2\text{.}\)

The fact that the vector in Figure 4.5 is represented by the directed line segment from the origin to the point (4,6) means that this vector is the vector \(\vv = \left[ \begin{array}{c} 4\\ 6 \end{array} \right]\text{.}\) If \(O\) is the origin and \(P\) is the point \((4,6)\text{,}\) we will also denote this vector as \(\overrightarrow{OP}\) — so

\begin{equation*} \overrightarrow{OP} = \left[ \begin{array}{c} 4\\ 6 \end{array} \right]\text{.} \end{equation*}

In this way we can think of vectors as having direction and length. With the Pythagorean Theorem, we can see that the length of a vector \(\vv = \left[ \begin{array}{c} v_1\\v_2 \end{array} \right]\) is \(\sqrt{v_1^2+v_2^2}\text{.}\) This idea can be applied to vectors in any space. If \(\vv = \left[ \begin{array}{c} v_1 \\ v_2 \\ v_3 \\ \vdots \\ \ v_n \end{array} \right]\) is a vector in \(\R^n\text{,}\) then the length of \(\vv\text{,}\) denoted \(|\vv|\) is the scalar

\begin{equation*} ||\vv|| = \sqrt{v_1^2+v_2^2+ \cdots + v_n^2}\text{.} \end{equation*}

Thinking of vectors having direction and length is especially useful in visualizing the addition of vectors. The geometric interpretation of the sum of two vectors can be seen in Figure 4.6 and Figure 4.7.

Figure 4.6. A vector sum.
Figure 4.7. Geometric interpretation.

Let \(\vu = \left[ \begin{array}{c} 4\\ 6 \end{array} \right]\) and \(\vv = \left[ \begin{array}{r} 3\\ -2 \end{array} \right]\text{.}\) Then \(\vu + \vv = \left[ \begin{array}{c} 7\\ 4 \end{array} \right]\) as shown in Figure 4.6. Figure 4.7 provides a context to interpret this vector sum geometrically. Using the parallelogram imposed on the three vectors, we see that if vectors \(\vu\) and \(\vv\) are both placed to start at the origin, then the vector sum \(\vu + \vv\) can be visualized geometrically as the directed line segment from the origin to the fourth corner of the parallelogram.

In Preview Activity 4.1 we considered scalar multiples of a vector in \(\R^2\text{.}\) The arrow representation helps in visualizing scalar multiples as well. Geometrically, a scalar multiple \(c\vv\) of a nonzero vector \(\vv\) is a vector in the same direction as \(\vv\) if \(c>0\) and in the opposite direction as \(\vv\) if \(c\lt 0\text{.}\) If \(c>1\text{,}\) scalar multiplication stretches the vector, while \(0\lt c\lt 1\) shrinks the vector. We also saw that the collection of all scalar multiples of a vector \(\vv\) in \(\R^2\) gives us a line through the origin and \(\vv\text{,}\) except when \(\vv=\vzero\) in which case we only obtain \(\vzero\text{.}\) In other words, for a nonzero vector \(\vv\text{,}\) the set \(S = \{c\vv : c \text{ is a scalar } \}\) is the line through the origin and \(\vv\) in \(\R^2\text{.}\)

All of these properties generalize to vectors in \(\R^3\text{.}\) Specifically, the scalar multiple \(c\vv\) is a vector in the same or opposite direction as \(\vv\) based on the sign of \(c\text{,}\) and is a stretched or shrunken version of \(\vv\) based on whether \(|c|>1\) or \(|c|\lt 1\text{.}\) Also, the collection of all multiples of a non-zero vector \(\vv\) in \(\R^3\) form a line through the origin.

Subsection Linear Combinations of Vectors

The concept of linear combinations is one of the fundamental ideas in linear algebra. We will use linear combinations to describe almost every important concept in linear algebra — the span of a set of vectors, the range of a linear transformation, bases, the dimension of a vector space — to name just a few.

In Preview Activity 4.1, we considered the sets of all scalar multiples of a single nonzero vector in \(\R^2\) and in \(\R^3\text{.}\) We also considered the set of all sums of scalar multiples of two nonzero vectors. These results so far gives us an idea of geometrical descriptions of sets of vectors generated by one or two vectors. Oftentimes we are interested in what vectors can be made from a given collection of vectors. For example, suppose we have two different water-benzene-acetic acid chemical solutions, one with 40% water, 50% benzene and 10% acetic acid, the other with 52% water, 42% benzene and 6% acid. An experiment we want to conduct requires a chemical solution with 43% water, 48% benzene and 9% acid. We would like to know if we make this new chemical solution by mixing the first two chemical solutions, or do we have to run to the chemical solutions market to get the chemical solution we want.

We can set up a system of equations for each ingredient and find the answer. But we can also consider each chemical solution as a vector, where the components represent the water, benzene and acid percentages. So the two chemical solutions we have are represented by the vectors \(\vv_1 = \left[ \begin{array}{c} 40\\50\\10 \end{array} \right]\) and \(\vv_2 = \left[ \begin{array}{c} 52\\42\\6 \end{array} \right]\text{.}\) If we mix the two chemical solutions with varying amounts of each ingredient, then the question of whether we can make the desired chemical solution becomes the question of whether the equation

\begin{equation*} c_1\left[ \begin{array}{c} 40\\50\\10 \end{array} \right]+ c_2\left[ \begin{array}{c} 52\\42\\6 \end{array} \right] = \left[ \begin{array}{c} 43\\48\\9 \end{array} \right] \end{equation*}

has a solution. (You will determine if this equation has a solution in Exercise 5.)

We might also be interested in what other chemical solutions we can make from the two given solutions. This amounts to determining which vectors can be written in the form \(c_1\left[ \begin{array}{c} 40\\50\\10 \end{array} \right]+ c_2\left[ \begin{array}{c} 52\\42\\6 \end{array} \right]\) for scalars \(c_1\) and \(c_2\text{.}\) Vectors that are created from sums of scalar multiples of given vectors are called linear combinations of those vectors. More formally,

Definition 4.8.

A linear combination of vectors \(\vv_1\text{,}\) \(\vv_2\text{,}\) \(\ldots\text{,}\) \(\vv_m\) in \(\R^n\) is any vector of the form

\begin{equation} c_1 \vv_1 + c_2 \vv_2 + \cdots + c_m \vv_m\text{,}\tag{4.1} \end{equation}

where \(c_1\text{,}\) \(c_2\text{,}\) \(\ldots\text{,}\) \(c_m\) are scalars that we will refer to as the weights.

In the chemical solutions example, the vector \(c_1\left[ \begin{array}{c} 40\\50\\10 \end{array} \right]+ c_2\left[ \begin{array}{c} 52\\42\\6 \end{array} \right]\) for scalars \(c_1\) and \(c_2\) is a linear combination of the vectors \(\left[ \begin{array}{c} 40\\50\\10 \end{array} \right]\) and \(\left[ \begin{array}{c} 52\\42\\6 \end{array} \right]\) with weights \(c_1\) and \(c_2\text{,}\) and the set of linear combinations of the given chemical solution vectors tells us exactly which chemical solutions we can make from the given ones. This is one example of how linear combinations can arise in applications.

The set of all linear combinations of a fixed collection of vectors has a very nice algebraic structure and, in small dimensions, allows us to use a geometrical description to aid our understanding. In the above example, this collection gives us the type of chemical solutions we can make by combining the first two solutions in varying amounts.

Activity 4.3.

Our chemical solution example illustrates that it can be of interest to determine whether certain vectors can be written as a linear combination of given vectors. We explore that idea in more depth in this activity. Let \(\vv_1=\left[ \begin{array}{c} 1 \\ 1 \\ 1 \end{array} \right]\) and \(\vv_2=\left[ \begin{array}{r} 2 \\ -1 \\ 3 \end{array} \right]\text{.}\)

(a)

Calculate the linear combination of \(\vv_1\) and \(\vv_2\) with corresponding weights (scalar multiples) 1 and 2. The resulting vector is a vector which can be written as a linear combination of \(\vv_1\) and \(\vv_2\text{.}\)

(b)

Can \(\vw = \left[ \begin{array}{c} 3 \\ 0 \\ 4 \end{array} \right]\) be written as a linear combination of \(\vv_1\) and \(\vv_2\text{?}\) If so, which linear combination? If not, explain why not.

(c)

Can \(\vw = \left[ \begin{array}{c} 2 \\ 0 \\ 2 \end{array} \right]\) be written as a linear combination of \(\vv_1\) and \(\vv_2\text{?}\) If so, which linear combination? If not, explain why not.

(d)

Let \(\vw = \left[ \begin{array}{r} 0 \\ 6 \\ -2 \end{array} \right]\text{.}\) The problem of determining if \(\vw\) is a linear combination of \(\vv_1\) and \(\vv_2\) is equivalent to the problem of finding scalars \(x_1\) and \(x_2\) so that

\begin{equation} \vw = x_1 \vv_1 + x_2 \vv_2\text{.}\tag{4.2} \end{equation}
(i)

Combine the vectors on the right hand side of equation (4.2) into one vector, and then set the components of the vectors on both sides equal to each other to convert the vector equation (4.2) to a linear system of three equations in two variables.

(ii)

Use row operations to find a solution, if it exists, to the system you found in the previous part of this activity. If you find a solution, verify in (4.2) that you have found appropriate weights to produce the vector \(\vw\) as a linear combination of \(\vv_1\) and \(\vv_2\text{.}\)

Note that to find the weights that make \(\vw\) a linear combination of the vectors \(\vv_1\) and \(\vv_2\text{,}\) we simply solved the linear system corresponding to the augmented matrix

\begin{equation*} [\vv_1 \ \vv_2 \ | \ \vw]\text{,} \end{equation*}

where the vectors \(\vv_1\text{,}\) \(\vv_2\text{,}\) and \(\vw\) form the columns of an augmented matrix, and the solution of the system gave us the weights of the linear combination. In general, if we want to find weights \(c_1\text{,}\) \(c_2\text{,}\) \(\ldots\text{,}\) \(c_m\) so that a vector \(\vw\) in \(\R^n\) is a linear combination of the vectors \(\vv_1\text{,}\) \(\vv_2\text{,}\) \(\ldots\text{,}\) \(\vv_m\) in \(\R^n\text{,}\) we solve the system corresponding to the augmented matrix

\begin{equation*} [\vv_1 \ \vv_2 \ \vv_3 \ \cdots \ \vv_m | \ \vw]\text{.} \end{equation*}

Any solution to this system will gives us the weights. If this system has no solutions, then \(\vw\) cannot be written as a linear combination of the vectors \(\vv_1\text{,}\) \(\vv_2\text{,}\) \(\ldots\text{,}\) \(\vv_m\text{.}\) This shows us the equivalence of the linear system and its vector equation representation. Specifically, we have the following result.

Activity 4.4.

(a)

Represent the following linear system as a vector equation. After finding the vector equation, compare your vector equation to the matrix representation you found in Preview Activity 4.1. (Note that this is the same linear system from Preview Activity 3.1.)

\begin{equation*} \begin{split} -x_3 + 3 + 2x_2\amp = -x_1 \\ -3 + 2x_3 \amp = -x_2 \\ -2x_2 + x_1 \amp = 3x_3-7 \end{split} \end{equation*}
(b)

Represent the following vector equation as a linear system and solve the linear system.

\begin{equation*} x_1 \left[ \begin{array}{c} 1 \\ 1 \\ 2 \end{array} \right] +x_2 \left[ \begin{array}{c} 1 \\ 2\\ 3 \end{array} \right] + x_3 \left[ \begin{array}{r} -1 \\ 2 \\ -3 \end{array} \right] = \left[ \begin{array}{c} 4 \\ 3\\ 11 \end{array} \right] \end{equation*}

Subsection The Span of a Set of Vectors

As we saw in the previous section, the question of whether a system of linear equations has a solution is equivalent to the question of whether the vector obtained by the non-coefficient constants in the system is a linear combination of the vectors obtained from the columns of the coefficient matrix of the system. So if we were interested in finding for which constants the system has a solution, we would look for the collection of all linear combinations of the columns. We call this collection the span of these vectors. In this section we investigate the concept of span both algebraically and geometrically.

Our work in Preview Activity 4.1 seems to indicate that the span of a set of vectors, i.e., the collection of all linear combinations of this set of vectors, has a nice structure. As we mentioned above, the span of a set of vectors represents the collection of all constant vectors for which a linear system has a solution, but we will also see that other important objects in linear algebra can be represented as the span of a set of vectors.

Definition 4.10.

The span of the vectors \(\vv_1\text{,}\) \(\vv_2\text{,}\) \(\ldots\text{,}\) \(\vv_m\) in \(\R^n\) is the collection of all linear combinations of the vectors \(\vv_1\text{,}\) \(\vv_2\text{,}\) \(\ldots\text{,}\) \(\vv_m\text{.}\)

Notation.

We denote the span of a set of vectors \(\vv_1\text{,}\) \(\vv_2\text{,}\) \(\ldots\text{,}\) \(\vv_m\) as

\begin{equation*} \Span \{\vv_1, \vv_2, \ldots, \vv_m\}\text{.} \end{equation*}

So

\begin{equation*} \Span \{\vv_1, \vv_2, \ldots, \vv_m\} = \{c_1\vv_1+c_2\vv_2 + \cdots + c_m \vv_m : c_1, c_2, \ldots, c_m \text{ are scalars } \}\text{.} \end{equation*}

The curly braces, \(\{ \; \}\text{,}\) are used in denoting sets. They represent the whole set formed by the objects included between them. So \(\{\vv_1, \vv_2, \ldots, \vv_m\}\) represents the collection of the vectors formed by \(\vv_1, \vv_2, \ldots, \vv_m\) for an arbitrary number \(m\text{.}\) Note that \(m\) can be 1, meaning that the collection can contain only one vector \(\vv_1\text{.}\)

We now investigate what the span of a set of one or two vectors is, both from an algebraic and geometric perspective, and consider what happens for more general spanning sets.

Activity 4.5.

(a)

By definition, \(\Span\left\{\left[ \begin{array}{r} 1 \\ -2 \end{array} \right]\right\}\) is the collection of all vectors which are scalar multiples of \(\left[ \begin{array}{r} 1 \\ -2 \end{array} \right]\text{.}\) Determine which vectors are in this collection. If we plot all these vectors with each vector being represented as a point in the plane, what do they form?

(b)

Let \(\vv_1 = \left[ \begin{array}{c} 1 \\ 0\\ 1 \end{array} \right]\) and \(\vv_2 = \left[ \begin{array}{c} 0\\1 \\1 \end{array} \right]\) in \(\R^3\text{.}\) By definition,

\begin{equation*} \Span\left\{\left[ \begin{array}{c} 1 \\ 0\\ 1 \end{array} \right], \left[ \begin{array}{c} 0\\1 \\1 \end{array} \right] \right\} \end{equation*}

is the collection of all linear combinations of the form

\begin{equation*} x_1 \left[ \begin{array}{c} 1 \\ 0\\ 1 \end{array} \right] + x_2 \left[ \begin{array}{c} 0\\1 \\1 \end{array} \right]\text{,} \end{equation*}

where \(x_1\) and \(x_2\) are any scalars.

(i)

Find four different vectors in \(\Span \{\vv_1, \vv_2\}\) and indicate the weights (the values of \(x_1\) and \(x_2\)) for each linear combination.

Hint.

It is really easy to find 3 vectors in \(\Span \{\vv_1, \vv_2\}\) for any \(\vv_1, \vv_2\text{.}\)

(ii)

Are there any vectors in \(\R^3\) that are not in \(\Span\{\vv_1, \vv_2\}\text{?}\) Explain. Verify your result.

(iii)

Set up a linear system to determine which vectors \(\vw= \left[ \begin{array}{c} w_1 \\ w_2\\ w_3 \end{array} \right]\) are in \(\Span\{\vv_1, \vv_2\}\text{.}\) Specifically, which \(\vw\) can be expressed as a linear combination of \(\vv_1\) and \(\vv_2\text{?}\)

(iv)

Geometrically, what shape do the vectors in \(\Span\{\vv_1, \vv_2\}\) form inside \(\R^3\text{?}\)

(c)

Is it possible for \(\Span\{\vz_1, \vz_2\}\) to be a line for two vectors \(\vz_1, \vz_2\) in \(\R^3\text{?}\)

(d)

What do you think are the possible geometric descriptions of a span of a set of vectors in \(\R^2\text{?}\) Explain.

(e)

What do you think are the possible spans of a set of vectors in \(\R^3\text{?}\) Explain.

Subsection Examples

What follows are worked examples that use the concepts from this section.

Example 4.11.

For each of the following systems,

  • express an arbitrary solution to the system algebraically as a linear combination of vectors,

  • find a set of vectors that spans the solution set,

  • describe the solution set geometrically.

(a)
\begin{alignat*}{5} {}x_1 \amp {}{} \amp {} \amp {}+{} \amp {}x_3 \amp = \amp {} \amp 0\amp {}\\ {2}x_1 \amp {}+{} \amp {}x_2 \amp {}+{} \amp {3}x_3 \amp = \amp {} \amp 0\amp {}\\ x_1 \amp {}-{} \amp {}x_2 \amp {}+{} \amp {3}x_3 \amp = \amp {} \amp 0\amp {.} \end{alignat*}
Solution.

In each example, we use technology to find the reduced row echelon form of the augmented matrix.

The reduced row echelon form of the augmented matrix

\begin{equation*} \left[ \begin{array}{crc|c} 1\amp 0\amp 1\amp 0 \\ 2\amp 1\amp 3\amp 0 \\ 4\amp -1\amp 3\amp 0 \end{array} \right] \end{equation*}

is

\begin{equation*} \left[ \begin{array}{ccc|c} 1\amp 0\amp 1\amp 0 \\ 0\amp 1\amp 1\amp 0 \\ 0\amp 0\amp 0\amp 0 \end{array} \right]\text{.} \end{equation*}
  • There is no pivot in the \(x_3\) column, so \(x_3\) is a free variable. Since the system is consistent, it has infinitely many solutions. We can write both \(x_1\) and \(x_2\) in terms of \(x_3\) as \(x_2 = -x_3\) and \(x_1 = -x_3\text{.}\) So the general solution to the system has the algebraic form

    \begin{equation*} \left[ \begin{array}{c} x_1\\x_2\\x_3 \end{array} \right] = \left[ \begin{array}{r} -x_3\\-x_3\\x_3 \end{array} \right] = x_3\left[ \begin{array}{r} -1\\-1\\1 \end{array} \right]\text{.} \end{equation*}

    So every solution to this system is a scalar multiple (linear combination) of the vector \(\left[ \begin{array}{r} -1\\-1\\1 \end{array} \right]\text{.}\)

  • Since every solution to the system is a scalar multiple of the vector \(\left[ \begin{array}{r} -1\\-1\\1 \end{array} \right]\text{,}\) the solution set to the system is \(\Span\left\{\left[ \begin{array}{r} -1\\-1\\1 \end{array} \right]\right\}\text{.}\)

  • As the set of scalar multiples of a single vector, the solution set to this system is a line in \(\R^3\) through the origin and the point \((-1,-1,1)\text{.}\)

(b)

 

\begin{alignat*}{5} {}x_1 \amp {}+{} \amp {2}x_2 \amp {}+{} \amp {3}x_3 \amp = \amp {} \amp 0\amp {}\\ {2}x_1 \amp {}+{} \amp {4}x_2 \amp {}+{} \amp {6}x_3 \amp = \amp {} \amp 0\amp {}\\ x_1 \amp {}+{} \amp {8}x_2 \amp {}+{} \amp {12}x_3 \amp = \amp {} \amp 0\amp {.} \end{alignat*}
Solution.

The reduced row echelon form of the augmented matrix

\begin{equation*} \left[ \begin{array}{ccc|c} 1\amp 2\amp 3\amp 0 \\ 2\amp 4\amp 6\amp 0 \\ 4\amp 8\amp 12\amp 0 \end{array} \right] \end{equation*}

is

\begin{equation*} \left[ \begin{array}{ccc|c} 1\amp 2\amp 3\amp 0 \\ 0\amp 0\amp 0\amp 0 \\ 0\amp 0\amp 0\amp 0 \end{array} \right]\text{.} \end{equation*}
  • There are no pivots in the \(x_2\) and \(x_3\) columns, so \(x_2\) and \(x_3\) are free variables. Since the system is consistent, it has infinitely many solutions. We can write \(x_1\) in terms of \(x_2\) and \(x_3\) as \(x_1 = -2x_2-3x_3\text{.}\) So the general solution to the system has the algebraic form

    \begin{equation*} \left[ \begin{array}{c} x_1\\x_2\\x_3 \end{array} \right] = \left[ \begin{array}{c} -2x_2-3x_3\\x_2\\x_3 \end{array} \right] = x_2\left[ \begin{array}{r} -2\\1\\0 \end{array} \right] + x_3\left[ \begin{array}{r} -3\\0\\1 \end{array} \right]\text{.} \end{equation*}

    So every solution to this system is a linear combination of the vectors \(\left[ \begin{array}{r} -2\\1\\0 \end{array} \right]\) and \(\left[ \begin{array}{r} -3\\0\\1 \end{array} \right]\text{.}\)

  • Since every solution to the system is a linear combination of the vectors \(\left[ \begin{array}{r} -2\\1\\0 \end{array} \right]\) and \(\left[ \begin{array}{r} -3\\0\\1 \end{array} \right]\text{,}\) the solution set to the system is

    \begin{equation*} \Span\left\{\left[ \begin{array}{r} -2\\1\\0 \end{array} \right], \left[ \begin{array}{r} -3\\0\\1 \end{array} \right] \right\}\text{.} \end{equation*}
  • As the set of linear combinations of two vectors, the solution set to this system is a plane in \(\R^3\) through the origin and the points \((-2,1,0)\) and \((-3,0,1)\text{.}\)

Example 4.12.

Let \(W = \left\{\left[ \begin{array}{c} s+t \\ r+2s \\ r-3t \\ r+s+t \end{array} \right] : r,s,t \in \R \right\}\text{.}\)

(a)

Find three vectors \(\vv_1\text{,}\) \(\vv_2\text{,}\) and \(\vv_3\) such that \(W = \Span\{\vv_1, \vv_2, \vv_3\}\text{.}\)

Solution.

Every vector in \(W\) has the form

\begin{alignat*}{1} \left[ \begin{array}{c} s+t\\ r+2s\\ r-3t\\ r+s+t \end{array} \right] \amp = \left[ \begin{array}{c} 0\\ r\\ r\\ r\end{array} \right] + \left[ \begin{array}{c} s\\ 2s\\ 0\\ s \end{array} \right] + \left[ \begin{array}{r} t\\ 0\\ -3t\\ t \end{array} \right]\\ \amp = r\left[ \begin{array}{c} 0\\ 1\\ 1\\ 1 \end{array} \right] + s\left[ \begin{array}{r} 1\\ 2\\ 0\\ 1 \end{array} \right] + t\left[ \begin{array}{r} 1\\ 0\\ -3\\ 1 \end{array} \right] \end{alignat*}

for some real numbers \(r\text{,}\) \(s\text{,}\) and \(t\text{.}\) Thus, \(W = \Span\{\vv_1, \vv_2, \vv_3\}\) where \(\vv_1 = \left[ \begin{array}{c} 0 \\ 1 \\ 1 \\ 1 \end{array} \right]\text{,}\) \(\vv_2 = \left[ \begin{array}{r} 1 \\ 2 \\ 0 \\ 1 \end{array} \right]\text{,}\) and \(\vv_3 = \left[ \begin{array}{r} 1 \\ 0 \\ -3 \\ 1 \end{array} \right]\text{.}\)

(b)

Can \(\vw = \left[ \begin{array}{r} -2\\-4\\-1\\0 \end{array} \right]\) be written as a linear combination of the vectors \(\vv_1\text{,}\) \(\vv_2\text{,}\) \(\vv_3\text{?}\) If so, find such a linear combination. If not, justify your response. What does your result tell us about the relationship between \(\vw\) and \(W\text{?}\) Explain.

Solution.

To determine if \(\vw\) is a linear combination of \(\vv_1\text{,}\) \(\vv_2\text{,}\) and \(\vv_3\text{,}\) we row reduced the augmented matrix \([\vv_1 \ \vv_2 \ \vv_3 \ | \ \vw]\text{.}\) The reduced row echelon form of the matrix \([\vv_1 \ \vv_2 \ \vv_3 \ | \ \vw]\) is

\begin{equation*} \left[ \begin{array}{ccc|r} 1\amp 0\amp 0\amp 2 \\ 0\amp 1\amp 0\amp -3\\ 0\amp 0\amp 1\amp 1 \\ 0\amp 0\amp 0\amp 0 \end{array} \right]\text{.} \end{equation*}

The system with this as augmented matrix is consistent. If we let \(x_1\text{,}\) \(x_2\text{,}\) and \(x_3\) be the variables corresponding to the first three columns, respectively, of this augmented matrix, then we see that \(x_1 = 2\text{,}\) \(x_2 = -3\text{,}\) and \(x_3 = 1\text{.}\) So \(\vw\) can be written as a linear combination of \(\vv_1\text{,}\) \(\vv_2\text{,}\) and \(\vv_3\) as

\begin{equation*} \vw = 2\vv_1 -3\vv_2 + \vv_3\text{.} \end{equation*}

Since \(W = \Span\{\vv_1, \vv_2, \vv_3\}\text{,}\) it follows that \(\vw \in W\text{.}\)

(c)

Can \(\vu = \left[ \begin{array}{r} 3\\-4\\1\\-1 \end{array} \right]\) be written as a linear combination of the vectors \(\vv_1\text{,}\) \(\vv_2\text{,}\) \(\vv_3\text{?}\) If so, find such a linear combination. If not, justify your response. What does your result tell us about the relationship between \(\vu\) and \(W\text{?}\) Explain.

Solution.

To determine if \(\vu\) is a linear combination of \(\vv_1\text{,}\) \(\vv_2\text{,}\) and \(\vv_3\text{,}\) we row reduced the augmented matrix \([\vv_1 \ \vv_2 \ \vv_3 \ | \ \vu]\text{.}\) The reduced row echelon form of the matrix \([\vv_1 \ \vv_2 \ \vv_3 \ | \ \vu]\) is

\begin{equation*} \left[ \begin{array}{ccc|c} 1\amp 0\amp 0\amp 0 \\ 0\amp 1\amp 0\amp 0\\ 0\amp 0\amp 1\amp 0 \\ 0\amp 0\amp 0\amp 1 \end{array} \right]\text{.} \end{equation*}

The last row shows that the system with this as augmented matrix is inconsistent. So \(\vu\) cannot be written as a linear combination of \(\vv_1\text{,}\) \(\vv_2\text{,}\) and \(\vv_3\text{.}\) Since \(W = \Span\{\vv_1, \vv_2, \vv_3\}\text{,}\) it follows that \(\vu \not\in W\text{.}\)

(d)

What relationship, if any, exists between \(\Span\{\vv_1, \vv_2, \vv_3\}\) and \(\Span \ W\text{?}\) Explain.

Solution.

We know that \(\Span\{\vv_1, \vv_2, \vv_3\} = W\text{.}\) Now \(\Span \ W\) contains the linear combinations of vectors in \(W\text{,}\) which are all linear combinations of the vectors \(\vv_1\text{,}\) \(\vv_2\text{,}\) and \(\vv_3\text{.}\) Thus, \(\Span \ W\) is just the set of linear combinations of \(\vv_1\text{,}\) \(\vv_2\text{,}\) and \(\vv_3\text{.}\) We conclude that \(\Span \ W = \Span\{\vv_1, \vv_2, \vv_3\} = W\text{.}\)

Subsection Summary

  • A vector is a list of numbers in a specified order.

  • We add two vectors of the same size by adding corresponding components. In other words, if \(\vu\) and \(\vv\) are vectors of the same size and \(u_i\) and \(v_i\) are the \(i\) components of \(\vu\) and \(\vv\text{,}\) respectively, then \(\vu +\vv\) is the vector whose \(i\)th component is \(u_i+v_i\) for each \(i\text{.}\) Geometrically, we represent the sum of two vectors using the Parallelogram Rule: The vector \(\vu+\vv\) is the directed line segment from the origin to the 4th point of the parallelogram formed by the origin and the vectors \(\vu, \vv\text{.}\)

  • A scalar multiple of a vector is found by multiplying each component of the vector by that scalar. In other words, if \(v_i\) is the \(i\) component of the vector \(\vv\) and \(c\) is any scalar, then \(c\vv\) is the vector whose \(i\) component is \(cv_i\) for each \(i\text{.}\) Geometrically, a scalar multiple of a nonzero vector \(\vv\) is a vector in the same direction as \(\vv\) if \(c>0\) and in the opposite direction if \(c\lt 0\text{.}\) If \(|c|>1\text{,}\) the vector is stretched, and if \(|c|\lt 1\text{,}\) the vector is shrunk.

  • An important concept is that of a linear combination of vectors. In words, a linear combination of a collection of vectors is a sum of scalar multiples of the vectors. More formally, we defined a linear combination of vectors \(\vv_1\text{,}\) \(\vv_2\text{,}\) \(\ldots\text{,}\) \(\vv_m\) in \(\R^n\) is any vector of the form \(c_1 \vv_1 + c_2 \vv_2 + \cdots + c_m \vv_m\text{,}\) where \(c_1\text{,}\) \(c_2\text{,}\) \(\ldots\text{,}\) \(c_m\) are scalars.

  • To find weights \(c_1\text{,}\) \(c_2\text{,}\) \(\ldots\text{,}\) \(c_m\) so that a vector \(\vw\) in \(\R^n\) is a linear combination of the vectors \(\vv_1\text{,}\) \(\vv_2\text{,}\) \(\ldots\text{,}\) \(\vv_m\) in \(\R^n\text{,}\) we simply solve the system corresponding to the augmented matrix

    \begin{equation*} [\vv_1 \ \vv_2 \ \vv_3 \ \cdots \ \vv_m | \ \vw]\text{.} \end{equation*}
  • The collection of all linear combinations of a set of vectors is called the span of the set of vectors. More formally, the span of the vectors \(\vv_1\text{,}\) \(\vv_2\text{,}\) \(\ldots\text{,}\) \(\vv_m\) in \(\R^n\) is the set

    \begin{equation*} \{c_1\vv_1 + c_2\vv_2 + \cdots + c_m\vv_m : c_1, c_2, \ldots, c_m \text{ are scalars } \}\text{,} \end{equation*}

    which we denote as \(\Span \{\vv_1, \vv_2, \ldots, \vv_m\}\text{.}\) Geometrically, the span of a single nonzero vector \(\vv\) in any dimension is the line through the origin and the vector \(\vv\text{.}\) The span of two vectors \(\vv_1, \vv_2\) in any dimension neither of which is a multiple of the other is a plane through the origin containing both vectors.

Exercises Exercises

1.

Given vectors \(\vu=\left[ \begin{array}{c} 1 \\ 2 \end{array} \right]\) and \(\vv=\left[ \begin{array}{r} -1 \\ 2 \end{array} \right]\) in \(\R^2\text{,}\) determine if \(\vw=\left[ \begin{array}{r} -4 \\ -1 \end{array} \right]\) can be written as a linear combination of \(\vu\) and \(\vv\text{.}\) If so, determine the weights of \(\vu\) and \(\vv\) which produce \(\vw\text{.}\)

2.

Given vectors \(\vv_1=\left[ \begin{array}{c} 1 \\ 2 \\1 \end{array} \right]\text{,}\) \(\vv_2=\left[ \begin{array}{r} -2 \\ 1 \\2 \end{array} \right]\) and \(\vv_3=\left[ \begin{array}{r} -1 \\ 3\\3 \end{array} \right]\) in \(\R^3\text{,}\) determine if \(\vw=\left[ \begin{array}{c} 5\\ 5\\ 1 \end{array} \right]\) can be written as a linear combination of \(\vv_1\text{,}\) \(\vv_2\) and \(\vv_3\text{.}\) If so, determine the weights of \(\vv_1\text{,}\) \(\vv_2\) and \(\vv_3\) which produce \(\vw\text{.}\) Reflect on the result. Is there anything special about the given vectors \(\vv_1\text{,}\) \(\vv_2\) and \(\vv_3\text{?}\)

3.

Let \(\vu=\left[ \begin{array}{c} 1 \\ 2 \\1 \end{array} \right]\) and \(\vv=\left[ \begin{array}{r} -1 \\ 1 \\ 1 \end{array} \right]\) in \(\R^3\text{.}\) Determine which vectors \(\vw= \left[ \begin{array}{c} w_1 \\ w_2 \\ w_3 \end{array} \right]\) in \(\R^3\) can be written as a linear combination of \(\vu\) and \(\vv\text{.}\) Does the set of \(\vw\)'s include the 0 vector? If so, determine which weights in the linear combination produce the 0 vector. If not, explain why not.

4.

Consider vectors \(\vu=\left[ \begin{array}{c} 0\\ 2\\0 \end{array} \right]\) and \(\vv=\left[ \begin{array}{c} 1\\ 1\\1 \end{array} \right]\) in \(\R^3\text{.}\)

(a)

Find four specific linear combinations of the vectors \(\vu\) and \(\vv\text{.}\)

(b)

Explain why the zero vector must be a linear combination of \(\vu\) and \(\vv\text{.}\)

(c)

What kind of geometric shape does the set of all linear combinations of \(\vu\) and \(\vv\) have in \(\R^3\text{?}\)

(d)

Can we obtain any vector in \(\R^3\) as a linear combination of \(\vu\) and \(\vv\text{?}\) Explain.

5.

Suppose we have two different water-benzene-acetic acid solutions, one with 40% water, 50% benzene and 10% acetic acid, the other with 52% water, 42% benzene and 6% acid.

(a)

An experiment we want to conduct requires a solution with 43% water, 48% benzene and 9% acid. Representing each acid solution as a vector, determine if we can we make this new acid solution by mixing the first two solutions, or do we have to run to the chemical solutions market to get the solution we want?

(b)

Using the water-benzene-acetic acid solutions in the previous problem, can we obtain an acid solution which contains 50% water, 43% benzene and 7% acid?

(c)

Determine the relationship between the percentages of water, benzene, and acid in solutions which can be obtained by mixing the two given water-benzene-acetic acid solutions above.

6.

Is the vector \(\vb = \left[ \begin{array}{c} 0\\1\\2 \end{array} \right]\) in \(\Span\left\{ \left[ \begin{array}{r} 2\\-1\\0 \end{array} \right], \left[ \begin{array}{r} -3\\0\\-5 \end{array} \right], \left[ \begin{array}{c} 1\\1\\0 \end{array} \right] \right\}\text{?}\) Justify your answer.

7.

Describe geometrically each of the following sets.

(a)

\(\Span\left\{\left[ \begin{array}{c} 1\\1 \end{array} \right], \left[ \begin{array}{r} -1\\-1 \end{array} \right]\right\}\) in \(\R^2\)

(b)

\(\Span\left\{\left[ \begin{array}{c} 1\\1\\1 \end{array} \right], \left[ \begin{array}{r} -1\\-1\\-1 \end{array} \right], \left[ \begin{array}{c} 2\\0\\1 \end{array} \right]\right\}\) in \(\R^3\)

8.

Consider the linear system

\begin{alignat*}{5} {2}x_1 \amp {}+{} \amp {3}x_2 \amp {}+{} \amp {3}x_3 \amp {} \amp {} \amp {}={} \amp 0\amp {}\\ x_1 \amp {} \amp {} \amp {}+{} \amp {6}x_3 \amp {}+{} \amp {6}x_4 \amp {}={} \amp 0\amp {}\\ {2}x_1 \amp {}+{} \amp {4}x_2 \amp {}+{} \amp {3}x_3 \amp {}-{} \amp {}x_4 \amp {}={} \amp 0\amp {.} \end{alignat*}
(a)

Find the general solution to this system.

(b)

Find two specific vectors \(\vv_1\) and \(\vv_2\) so that the solution set to this system is \(\Span\{\vv_1, \vv_2\}\text{.}\)

9.

Answer the following question as yes or no. Verify your answer. If \(\vu\) and \(\vv\) are vectors in \(\R^n\text{,}\) then \(\vv\) is in \(\Span\{\vu, \vu-\vv\}\text{.}\)

10.

Let \(\vv\text{,}\) \(\vu\text{,}\) and \(\vw\) be vectors in \(\R^n\) and let \(a\) and \(b\) be scalars. Verify Theorem 4.4. That is, show that

(a)

\(\vv + \vu = \vu + \vv\)

(b)

\((\vv + \vu) + \vw = \vv + (\vu + \vw)\)

(c)

The vector \(\vz = \left[ \begin{array}{c} 0 \\ 0 \\ \vdots \\ 0 \end{array} \right]\) has the property that \(\vv + \vz = \vv\text{.}\)

(d)

\((-1)\vv + \vv = \vz\text{.}\)

(e)

\((a+b) \vv = a\vv + b\vv\)

(f)

\(a(\vv + \vu) = a\vv + a\vu\)

(g)

\((ab) \vv = a(b\vv)\)

(h)

\(1 \vv = \vv\text{.}\)

11.

Label each of the following statements as True or False. Provide justification for your response.

(a) True/False.

A vector in \(\R^2\text{,}\) i.e. a two-dimensional vector, is also a vector in \(\R^3\text{.}\)

(b) True/False.

Any vector in \(\R^2\) can be visualized as a vector in \(\R^3\) by adding a 0 as the last coordinate.

(c) True/False.

The zero vector is a scalar multiple of any other vector (of the same size).

(d) True/False.

The zero vector cannot be a linear combination of two non-zero vectors.

(e) True/False.

Given two vectors \(\vu\) and \(\vv\text{,}\) the vector \(\frac{1}{2}\vu\) is a linear combination of \(\vu\) and \(\vv\text{.}\)

(f) True/False.

Given any two non-zero vectors \(\vu\) and \(\vv\) in \(\R^2\text{,}\) we can obtain any vector in \(\R^2\) as a linear combination of \(\vu\) and \(\vv\text{.}\)

(g) True/False.

Given any two distinct vectors \(\vu\) and \(\vv\) in \(\R^2\text{,}\) we can obtain any vector in \(\R^2\) as a linear combination of \(\vu\) and \(\vv\text{.}\)

(h) True/False.

If \(\vu\) can be expressed as a linear combination of \(\vv_1\) and \(\vv_2\text{,}\) then \(2\vu\) can also be expressed as a linear combination of \(\vv_1\) and \(\vv_2\text{.}\)

(i) True/False.

The span of any two vectors neither of which is a multiple of the other can be visualized as a plane through the origin.

(j) True/False.

Given any vector, the collection of all linear combinations of this vector can be visualized as a line through the origin.

(k) True/False.

The span of any collection of vectors includes the \(\vzero\) vector.

(l) True/False.

If the span of \(\vv_1\) and \(\vv_2\) is all of \(\R^2\text{,}\) then so is the span of \(\vv_1\) and \(\vv_1+\vv_2\text{.}\)

(m) True/False.

If the span of \(\vv_1, \vv_2\) and \(\vv_3\) is all of \(\R^3\text{,}\) then so is the span of \(\vv_1+\vv_2\) and \(\vv_2+\vv_3\text{.}\)

Subsection Project: Analyzing Knight Moves

To understand where a knight can move in a chess game, we need to know the initial setup. A chess board is an \(8 \times 8\) grid. To be able to refer to the individual positions on the board, we will place the board so that its lower left corner is at the origin, make each square in the grid have side length \(1\text{,}\) and label each square with the point at the lower left corner. This is illustrated at left in Figure 4.13.

Figure 4.13. Initial knight placement and moves.

Each player has two knights to start the game, for one player the knights would begin in positions \((1,0)\) and \((6,0)\text{.}\) Because of the symmetry of the knight's moves, we will only analyze the moves of the knight that begins at position \((1,0)\text{.}\) This knight has only three allowable moves from its starting point (assuming that the board is empty), as shown at right in Figure 4.13. The questions we will ask are: given any position on the board, can the knight move from its start position to that position using only knight moves and, what sequence of moves will make that happen. To answer these questions we will use linear combinations of knight moves described as vectors.

Each knight move can be described by a vector. A move one position to the right and two up can be represented as \(\vn_1 = \left[ \begin{array}{c} 1\\2 \end{array} \right]\text{.}\) Three other moves are \(\vn_2 = \left[ \begin{array}{r} -1\\2 \end{array} \right]\text{,}\) \(\vn_3 = \left[ \begin{array}{c} 2\\1 \end{array} \right]\text{,}\) and \(\vn_4 = \left[ \begin{array}{r} -2\\1 \end{array} \right]\text{.}\) The other four knight moves are the additive inverses of these four. Any sequence of moves by the knight is given by the linear combination

\begin{equation*} x_1 \vn_1 + x_2 \vn_2 + x_3 \vn_3 + x_4 \vn_4\text{.} \end{equation*}

A word of caution: the knight can only make complete moves, so we are restricted to integer (either positive or negative) values for \(x_1\text{,}\) \(x_2\text{,}\) \(x_3\text{,}\) and \(x_4\text{.}\) You can use the GeoGebra app at geogebra.org/m/dfwtskrj to see the effects the weights have on the knight moves. We should note here that since addition of vectors is commutative, the order in which we apply our moves does not matter. However, we may need to be careful with the order so that our knight does not leave the chess board.

Project Activity 4.6.

(a)

Explain why the vector equation

\begin{equation*} \left[ \begin{array}{c} 1\\0 \end{array} \right] + x_1 \vn_1 + x_2 \vn_2 + x_3 \vn_3 + x_4 \vn_4 = \left[ \begin{array}{c} 5\\2 \end{array} \right] \end{equation*}

will tell us if it is possible for the knight to move from its initial position at \((1,0)\) to the position (5,2).

(b)

Find all solutions, if any, to the system from part (a). If it is possible to find a sequence of moves that take the knight from its initial position to position \((5,2)\text{,}\) find weights \(x_1\text{,}\) \(x_2\text{,}\) \(x_3\text{,}\) and \(x_4\) to accomplish this move. (Be careful — we must have solutions in which \(x_1\text{,}\) \(x_2\text{,}\) \(x_3\text{,}\) and \(x_4\) are integers.) Is there more than one sequence of possible moves? You can check your solution with the GeoGebra app at geogebra.org/m/dfwtskrj.

Project Activity 4.6 shows that it is possible for our knight to move to position \((5,2)\) on the board. We would like to know if it is possible to move to any position on the board. That is, we would like to know if the integer span of the four moves \(\vn_1\text{,}\) \(\vn_2\text{,}\) \(\vn_3\text{,}\) and \(\vn_4\) will allow our knight to cover the entire board. This takes a bit more work.

Project Activity 4.7.

Given any position \((a,b)\text{,}\) we want to know if our knight can move from its start position \((1,0)\) to position \((a,b)\text{.}\)

(a)

Write a vector equation whose solution will tell us if it is possible for our knight to move from its start position \((1,0)\) to position \((a,b)\text{.}\)

(b)

Show that the solution to part (a) can be written in the form

\begin{align} x_1 \amp = \frac{1}{4}\left(-5x_3+3x_4+b+2(a-1)\right)\tag{4.3}\\ x_2 \amp = \frac{1}{4}\left(3x_3-5x_4+b-2(a-1)\right)\tag{4.4}\\ x_3 \amp \text{ is free }\notag\\ x_4 \amp \text{ is free. }\notag \end{align}

To answer our question if our knight can reach any position, we now need to determine if we can always find integer values of \(x_3\) and \(x_4\) to make equations (4.3) and (4.4) have integer solutions. In other words, we need to find values of \(x_3\) and \(x_4\) so that \(-5x_3+3x_4+b+2(a-1)\) and \(3x_3-5x_4+b-2(a-1)\) are multiples of \(4\text{.}\) How we do this could depend on the parity (even or odd) of \(a\) and \(b\text{.}\) For example, if \(a\) is odd and \(b\) is even, say \(a = 2r+1\) and \(b = 2s\) for some integers \(r\) and \(s\text{,}\) then

\begin{align*} x_1 \amp = \frac{1}{4}\left( -5x_3 + 3x_4 + 2s + 4r\right)\\ x_2 \amp = \frac{1}{4}\left( 3x_3 - 5x_4 + 2s - 4r \right)\text{.} \end{align*}

With a little trial and error we can see that if we let \(x_3 = x_4 = s\text{,}\) then \(x_1 = r\) and \(x_2 = -r\) is a solution with integer weights. For example, when \(a=5\) and \(b=2\) we have \(r=2\) and \(s = 1\text{.}\) This makes \(x_1 = 2\text{,}\) \(x_2 = -2\text{,}\) \(x_3 = 1 = x_4\text{.}\) Compare this to the solution(s) you found in Project Activity 4.6. This analysis shows us how to move our knight to any position \((a,b)\) where \(a\) is odd and \(b\) is even.

Project Activity 4.8.

Complete the analysis as above to determine if there are integer solutions to our knight's move system in the following cases.

(a)

\(a\) odd and \(b\) odd

(b)

\(a\) even and \(b\) even

(c)

\(a\) even and \(b\) odd.

Project Activity 4.8 shows that for any position on the chess board, using linear combinations of move vectors, we can find a sequence of moves that takes our knight to that position. (We actually haven't shown that these moves can be made so that our knight always stays on the board — we leave that question to you.)