Vector
Operations
Master vector addition, scalar multiplication, and linear combinations to build the foundation of multivariable calculus and linear algebra.
What Is a Vector?
A vector is a quantity that has both magnitude (length) and direction. In \(\mathbb{R}^n\), we write a vector as an ordered list of components:
Vectors vs. Scalars
Understanding the difference between vectors and scalars is essential before we perform operations on them.
Why Vector Operations Matter
Vector operations are the building blocks of multivariable calculus, physics, and engineering. Every topic ahead depends on them.
Vector Addition: The Rule
To add two vectors, add their corresponding components:
Scalar Multiplication: The Rule
To multiply a vector by a scalar, multiply each component by that scalar:
Linear Combinations
A linear combination combines scalar multiplication and vector addition. Given scalars \(c_1, c_2, \ldots, c_k\) and vectors \(\vec{v}_1, \vec{v}_2, \ldots, \vec{v}_k\):
This is the most general vector expression you will use. Every vector in \(\mathbb{R}^n\) can be written as a linear combination of the standard basis vectors:
Addition vs. Scalar Multiplication
| Vector Addition | Scalar Multiplication | |
|---|---|---|
| Inputs | Two (or more) vectors | One scalar and one vector |
| Output | A new vector | A new vector |
| Effect | Combines directions and magnitudes | Scales magnitude, preserves or reverses direction |
| Formula | \(\langle u_1+v_1,\; u_2+v_2 \rangle\) | \(\langle c\,v_1,\; c\,v_2 \rangle\) |
| Commutative? | Yes: \(\vec{u}+\vec{v}=\vec{v}+\vec{u}\) | N/A (one operand is scalar) |
Key Properties
How to Compute a Linear Combination
Example 1: Vector Addition
Find \(\vec{u} + \vec{v}\) where \(\vec{u} = \langle 3, -1 \rangle\) and \(\vec{v} = \langle 2, 4 \rangle\).
Example 2: Scalar Multiplication
Compute \(-3\vec{w}\) where \(\vec{w} = \langle -2, 5, 1 \rangle\).
Example 3: Linear Combination
Compute \(2\vec{a} - 3\vec{b}\) where \(\vec{a} = \langle 1, -4, 2 \rangle\) and \(\vec{b} = \langle 3, 0, -1 \rangle\).
Geometric Interpretation
A linear combination \(c_1\vec{v}_1 + c_2\vec{v}_2\) sweeps out a plane in \(\mathbb{R}^3\) as the scalars vary (assuming the vectors are not parallel).
Common Mistakes
Summary of Operations
| Operation | Formula | Geometric Effect |
|---|---|---|
| Addition | \(\langle u_1+v_1, u_2+v_2 \rangle\) | Tip-to-tail parallelogram |
| Subtraction | \(\vec{u} - \vec{v} = \vec{u} + (-\vec{v})\) | Vector from tip of \(\vec{v}\) to tip of \(\vec{u}\) |
| Scalar Mult. | \(\langle cv_1, cv_2 \rangle\) | Stretch/shrink/reverse |
| Linear Comb. | \(c_1\vec{v}_1 + c_2\vec{v}_2\) | Reaches any point in span |
| Zero Vector | \(\vec{0} = \langle 0, 0, \ldots \rangle\) | Point at origin (no direction) |
Question 1 of 5
If \(\vec{u} = \langle 4, -2, 7 \rangle\) and \(\vec{v} = \langle -1, 3, 5 \rangle\), what is \(\vec{u} + \vec{v}\)?
Question 2 of 5
What is \(-4\langle 2, -3, 1 \rangle\)?
Question 3 of 5
Compute \(3\vec{a} + 2\vec{b}\) where \(\vec{a} = \langle 1, 0, -2 \rangle\) and \(\vec{b} = \langle -3, 4, 1 \rangle\).
Question 4 of 5
If \(\vec{v} = \langle 6, -3 \rangle\), which of the following is a vector in the opposite direction with half the magnitude?
Question 5 of 5
Which property guarantees that \(c(\vec{u} + \vec{v}) = c\vec{u} + c\vec{v}\)?