Vectors and Linear Combinations
What is a Linear Combination?
A linear combination of two vectors means multiplying them by numbers (called scalars) and adding the results. For example:
This is a typical linear combination of the vectors v and w.
If
then
This means we move 3 units across (in x direction) and 11 units up (in y direction).
Visualizing Vectors
A vector like \(\begin{bmatrix} 2 \\ 3 \end{bmatrix}\)goes 2 steps in x and 3 steps in y. It points to the location (2, 3) in the xy-plane.
All combinations like \(\mathbf{v} + d\mathbf{w}\) (fill in every point in the plane) if v and w point in different directions. They cover the whole 2D space.
In 3D space, a combination like
fills a plane in xyz space (but not the full space unless we add a third independent vector).
Vector Operations
A vector has multiple components, like:
We treat v as a single object, not two separate numbers.
Vector Addition
Add corresponding parts:
Then:
Vector Subtraction
Same idea:
Scalar Multiplication
Multiply every part of a vector by a number:
A scalar is just a number like 2 or -1.
The sum of a vector and its negative gives the zero vector:
Linear Combinations in Practice
A linear combination means: \(c\mathbf{v} + d\mathbf{w}\)
You can also get:
- Sum: \(1v+1w\)
- Difference: \(1vā1w\)
- Zero vector: \(0v+0w\)
- Vector \(cv\) in the direction of \(v\): \(cv+0wc\)
All of these are valid linear combinations.
Representing Vectors
There are three main ways to describe a vector v:
- By its components: (4, 2)
- As an arrow from (0, 0) to (4, 2)
- As a point at (4, 2) in the plane
You can visualize v + w as going along v, then along w, or directly along the diagonal from start to finish.
Vectors in 3D
A 3D vector looks like: \(\mathbf{v} = \begin{bmatrix} v_1 \\ v_2 \\ v_3 \end{bmatrix}\)This points from \((0, 0, 0)\) to \((vā, vā, vā)\) in 3D space.
Writing \(\mathbf{v} = (1, 1, -1)\) is a shortcut for the column vector\(\begin{bmatrix} 1 \\ 1 \\ -1 \end{bmatrix}\)It is not a row vector which is the transpose.
Addition in 3D works the same way: \(\mathbf{v} + \mathbf{w} = \begin{bmatrix} v_1 + w_1 \\ v_2 + w_2 \\ v_3 + w_3 \end{bmatrix}\)