Introduction

This section connects equations involving vectors to ordinary systems of equations.

Definition: Column Vector

A matrix with only one column is called a column vector, or simply a vector.

(I) Vectors in \(\mathbb{R}^2\)

For example, \(\vec{u} = \begin{bmatrix} 2 \\ -3 \end{bmatrix}\) and \(\vec{v} = \begin{bmatrix} 0.2 \\ \sqrt{3} \end{bmatrix}\) are vectors in \(\mathbb{R}^2\). In general, a vector \(\vec{w} = \begin{bmatrix} w_1 \\ w_2 \end{bmatrix}\) where \(w_1\) and \(w_2\) are any real numbers is an element of \(\mathbb{R}^2\), the set of all vectors with two entries.

Vector Operations

Let \(\vec{u} = \begin{bmatrix} u_1 \\ u_2 \end{bmatrix}\) and \(\vec{v} = \begin{bmatrix} v_1 \\ v_2 \end{bmatrix}\) be two vectors in \(\mathbb{R}^2\).

Geometric Description of \(\mathbb{R}^2\)

Consider a rectangular coordinate system plane. We can identify a geometric point \((a, b)\) with the vector \(\begin{bmatrix} a \\ b \end{bmatrix}\). Thus, we may regard \(\mathbb{R}^2\) as the set of all points in the plane. We can represent vectors as points or as arrows from the origin. Note that while \(\begin{bmatrix} 2 \\ -3 \end{bmatrix}\) is often written as \((2, -3)\) for convenience, the matrix \(\begin{bmatrix} 2 & -3 \end{bmatrix}\) is not the same as the column vector.

Parallelogram Rule for Addition

If \(\vec{u}\) and \(\vec{v}\) in \(\mathbb{R}^2\) are represented as points in the plane, then \(\vec{u} + \vec{v}\) corresponds to the fourth vertex of the parallelogram whose other three vertices are \(\vec{u}\), \(\vec{v}\), and the origin \(\vec{0}\).

Vector addition diagram in R2 illustrating the parallelogram rule. Vector u is a blue arrow from (0,0) to (3,1). Vector v is a red arrow from (0,0) to (1,2). A purple diagonal arrow represents the sum u + v, ending at (4,3). Dashed lines connect the tips of u and v to the tip of the sum vector, completing a parallelogram where the sum is the main diagonal. This demonstrates that adding the components (3+1) and (1+2) geometrically corresponds to the opposite vertex of the parallelogram.
Geometric Vector Addition: The Parallelogram Rule
Example 1

Let \(\vec{u} = \begin{bmatrix} 1 \\ 1 \end{bmatrix}\) and \(\vec{v} = \begin{bmatrix} -6 \\ 1 \end{bmatrix}\). Find and display \(2\vec{u}\), \(-\frac{1}{2}\vec{v}\), and \(2\vec{u} - \frac{1}{2}\vec{v}\).

Solution:

  • \(2\vec{u} = \begin{bmatrix} 2 \\ 2 \end{bmatrix}\). Geometrically, the arrow for \(2\vec{u}\) is twice as long as \(\vec{u}\) and points in the same direction.
  • \(-\frac{1}{2}\vec{v} = \begin{bmatrix} 3 \\ -0.5 \end{bmatrix}\). The arrow points in the opposite direction of \(\vec{v}\).
  • \(2\vec{u} - \frac{1}{2}\vec{v} = \begin{bmatrix} 2 + 3 \\ 2 - 0.5 \end{bmatrix} = \begin{bmatrix} 5 \\ 1.5 \end{bmatrix}\).

(II) Vectors in \(\mathbb{R}^n\)

For any positive integer \(n\), \(\mathbb{R}^n\) denotes the set of all lists (or ordered n-tuples) of \(n\) real numbers, usually written as \(n \times 1\) column matrices:

\[ \vec{u} = \begin{bmatrix} u_1 \\ \vdots \\ u_n \end{bmatrix} \]

The zero vector, denoted by \(\vec{0}\), is the vector whose entries are all zeros. Operations in \(\mathbb{R}^n\) are defined entry by entry, just as in \(\mathbb{R}^2\).

Algebraic Properties of \(\mathbb{R}^n\)

For all \(\vec{u}, \vec{v}, \vec{w}\) in \(\mathbb{R}^n\) and all scalars \(c\) and \(d\):

  1. \(\vec{u} + \vec{v} = \vec{v} + \vec{u}\)
  2. \((\vec{u} + \vec{v}) + \vec{w} = \vec{u} + (\vec{v} + \vec{w})\)
  3. \(\vec{u} + \vec{0} = \vec{0} + \vec{u} = \vec{u}\)
  4. \(\vec{u} + (-\vec{u}) = -\vec{u} + \vec{u} = \vec{0}\), where \(-\vec{u} = (-1)\vec{u}\)
  5. \(c(\vec{u} + \vec{v}) = c\vec{u} + c\vec{v}\)
  6. \((c + d)\vec{u} = c\vec{u} + d\vec{u}\)
  7. \(c(d\vec{u}) = (cd)\vec{u}\)
  8. \(1\vec{u} = \vec{u}\)

(III) Linear Combinations and Existence Problem

Definition: Linear Combination

Given vectors \(\vec{v}_1, \vec{v}_2, \dots, \vec{v}_p\) in \(\mathbb{R}^n\) and scalars \(c_1, c_2, \dots, c_p\), the vector \(\vec{Y}\) defined by:

\[ \vec{Y} = c_1\vec{v}_1 + c_2\vec{v}_2 + \dots + c_p\vec{v}_p \]

is called a linear combination of \(\vec{v}_1, \dots, \vec{v}_p\) with weights \(c_1, \dots, c_p\). The weights can be any real numbers, including zero.

Example 2: Visualization

Identify selected linear combinations of \(\vec{v}_1 = \begin{bmatrix} -1 \\ 1 \end{bmatrix}\) and \(\vec{v}_2 = \begin{bmatrix} 2 \\ 1 \end{bmatrix}\) using a coordinate grid.

Interactive Skewed Grid

Basis Vectors: v₁ = [-1, 1] (Solid Blue) and v₂ = [2, 1] (Solid Teal)

Your browser does not support the visual canvas. Please use the accessible text controls and readouts below.

Current Resultant Vector = 3v₁ - 2v₂ = [-7, 1]

Definition of Span

If \(\vec{v}_1, \dots, \vec{v}_p\) are in \(\mathbb{R}^n\), then Span\(\{\vec{v}_1, \dots, \vec{v}_p\}\) is the set of all linear combinations of those vectors. It is the collection of vectors \(c_1\vec{v}_1 + \dots + c_p\vec{v}_p\) with \(c_1, \dots, c_p\) as scalars. This is also called the subset of \(\mathbb{R}^n\) spanned (generated) by \(\vec{v}_1, \dots, \vec{v}_p\).

Note: While \(\{\vec{v}_1, \dots, \vec{v}_p\}\) is a set containing only \(p\) vectors, if at least one vector is non-zero, then the Span is a set containing infinitely many vectors. The zero vector \(\vec{0}\) is always in the Span.

Equivalent Questions

The following questions are different ways of asking the same thing:

  1. Is \(\vec{b}\) in Span\(\{\vec{v}_1, \dots, \vec{v}_p\}\)?
  2. Can \(\vec{b}\) be generated as a linear combination of \(\vec{v}_1, \dots, \vec{v}_p\)?
  3. Does the vector equation \(x_1\vec{v}_1 + \dots + x_p\vec{v}_p = \vec{b}\) have a solution?
  4. Does the linear system with the augmented matrix \([\vec{v}_1 \dots \vec{v}_p \ | \ \vec{b}]\) have a solution?
Example 3

Let \(\vec{a}_1 = \begin{bmatrix} 1 \\ -2 \\ -5 \end{bmatrix}\), \(\vec{a}_2 = \begin{bmatrix} 2 \\ 5 \\ 6 \end{bmatrix}\), and \(\vec{b} = \begin{bmatrix} 7 \\ 4 \\ -3 \end{bmatrix}\). Determine whether \(\vec{b}\) is in the Span of \(\vec{a}_1\) and \(\vec{a}_2\). If yes, write \(\vec{b}\) as a linear combination.

Solution: Form the augmented matrix and reduce to Reduced Row Echelon Form:

\( \begin{aligned} &\begin{bmatrix} 1 & 2 & 7 \\ -2 & 5 & 4 \\ -5 & 6 & -3 \end{bmatrix} \xrightarrow{REF} \begin{bmatrix} 1 & 2 & 7 \\ 0 & 9 & 18 \\ 0 & 16 & 32 \end{bmatrix} \\ &\xrightarrow{} \begin{bmatrix} 1 & 2 & 7 \\ 0 & 1 & 2 \\ 0 & 0 & 0 \end{bmatrix} \xrightarrow{RREF} \begin{bmatrix} 1 & 0 & 3 \\ 0 & 1 & 2 \\ 0 & 0 & 0 \end{bmatrix} \end{aligned} \)

We find that \(x_1 = 3\) and \(x_2 = 2\). Since the system is consistent, \(\vec{b}\) is in the Span. In fact, \(3\vec{a}_1 + 2\vec{a}_2 = \vec{b} \)

(IV) A Geometric Description of Span

Span of a Single Vector

If \(\vec{v}\) is a non-zero vector in \(\mathbb{R}^3\), then Span\(\{\vec{v}\}\) is the set of all scalar multiples of \(\vec{v}\). This is a line through the origin and \(\vec{v}\).

Span of Two Vectors

If \(\vec{u}\) and \(\vec{v}\) are vectors in \(\mathbb{R}^3\) that are not on the same line, then Span\(\{\vec{u}, \vec{v}\}\) is the collection of all linear combinations \(c_1\vec{u} + c_2\vec{v}\). Geometrically, this is a plane in \(\mathbb{R}^3\) containing \(\vec{u}\), \(\vec{v}\), and the origin.

Example 4

Let \(\vec{a}_1 = \begin{bmatrix} 1 \\ -2 \\ 3 \end{bmatrix}\) and \(\vec{a}_2 = \begin{bmatrix} 5 \\ -13 \\ -3 \end{bmatrix}\). These vectors define a plane through the origin in \(\mathbb{R}^3\). Is \(\vec{b} = \begin{bmatrix} -3 \\ 8 \\ 1 \end{bmatrix}\) in that plane?

Solution: We check if the vector equation \(x_1\vec{a}_1 + x_2\vec{a}_2 = \vec{b}\) has a solution.

\( \begin{aligned} \begin{bmatrix} 1 & 5 & -3 \\ -2 & -13 & 8 \\ 3 & -3 & 1 \end{bmatrix} \xrightarrow{} \begin{bmatrix} 1 & 5 & -3 \\ 0 & -3 & 2 \\ 0 & -18 & 10 \end{bmatrix} \xrightarrow{} \begin{bmatrix} 1 & 5 & -3 \\ 0 & -3 & 2 \\ 0 & 0 & -2 \end{bmatrix} \end{aligned} \)

The last row represents the equation \(0 = -2\), which is never true. The system has no solution.

Conclusion: \(\vec{b}\) is not in the plane spanned by \(\vec{a}_1\) and \(\vec{a}_2\).