01 / 21

Vector
Operations

Master vector addition, scalar multiplication, and linear combinations to build the foundation of multivariable calculus and linear algebra.

Calculus 3

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:

x y

\(\vec{v}\)

3 units 2 units (3, 2) O

Vectors vs. Scalars

Understanding the difference between vectors and scalars is essential before we perform operations on them.

Vector
Has both magnitude and direction. Examples: velocity, force, displacement. Written as \(\vec{v} = \langle a, b \rangle\).
Scalar
Has magnitude only: no direction. Examples: temperature, mass, speed. Written as a single number like \(c = 5\).

Why Vector Operations Matter

Vector operations are the building blocks of multivariable calculus, physics, and engineering. Every topic ahead depends on them.

Physics
Forces combine by vector addition: net force is the sum of individual force vectors.
Graphics
Scalar multiplication scales objects and directions in 3D rendering engines.
Calculus 3
Linear combinations underpin parametric equations, tangent vectors, and gradient fields.

Vector Addition: The Rule

To add two vectors, add their corresponding components:

\(\vec{u}\)

\(\vec{v}\)

\(\vec{u}+\vec{v}\)

O x y tip

Scalar Multiplication: The Rule

To multiply a vector by a scalar, multiply each component by that scalar:

\(\vec{v}\)

\(2\vec{v}\)

\(-\vec{v}\)

\(\tfrac{1}{2}\vec{v}\)

\(c > 1\)
Stretches the vector (same direction, longer)
\(0 < c < 1\)
Shrinks the vector (same direction, shorter)
\(c < 0\)
Reverses direction and scales magnitude by \(|c|\)

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

1
Commutativity: \(\vec{u} + \vec{v} = \vec{v} + \vec{u}\)
2
Associativity: \((\vec{u} + \vec{v}) + \vec{w} = \vec{u} + (\vec{v} + \vec{w})\)
3
Additive identity: \(\vec{v} + \vec{0} = \vec{v}\)
4
Distributive (scalar over addition): \(c(\vec{u} + \vec{v}) = c\vec{u} + c\vec{v}\)
5
Distributive (scalars): \((a + b)\vec{v} = a\vec{v} + b\vec{v}\)
6
Scalar associativity: \(a(b\vec{v}) = (ab)\vec{v}\)

How to Compute a Linear Combination

1
Identify all scalars and vectors in the expression.
2
Scale each vector by its scalar: multiply the scalar into every component.
3
Add component-wise: combine all x-components, then all y-components, then all z-components.
4
Write the result as a single vector in angle-bracket notation.

Example 1: Vector Addition

Find \(\vec{u} + \vec{v}\) where \(\vec{u} = \langle 3, -1 \rangle\) and \(\vec{v} = \langle 2, 4 \rangle\).

1
Add x-components: \(3 + 2 = \) 5
2
Add y-components: \(-1 + 4 = \) 3
3
Result: \(\vec{u} + \vec{v} = \langle 5, 3 \rangle\)

\(\vec{u}\)

\(\vec{v}\)

\(\langle 5,3 \rangle\)

O

Example 2: Scalar Multiplication

Compute \(-3\vec{w}\) where \(\vec{w} = \langle -2, 5, 1 \rangle\).

1
Multiply x-component: \((-3)(-2) = \) 6
2
Multiply y-component: \((-3)(5) = \) -15
3
Multiply z-component: \((-3)(1) = \) -3
4
Result: \(-3\vec{w} = \langle 6, -15, -3 \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\).

1
Scale \(\vec{a}\): \(2\langle 1,-4,2 \rangle = \langle 2, -8, 4 \rangle\)
2
Scale \(\vec{b}\): \(-3\langle 3,0,-1 \rangle = \langle -9, 0, 3 \rangle\)
3
Add component-wise:

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).

\(\vec{v}_1\)

\(\vec{v}_2\)

\(c_1\vec{v}_1 + c_2\vec{v}_2\)

O

\(\text{span}\{\vec{v}_1, \vec{v}_2\} = \text{a plane through O}\)

Common Mistakes

Adding a Scalar to a Vector
Writing \(5 + \langle 2,3 \rangle = \langle 7,8 \rangle\) is undefined. You cannot add a scalar to a vector: they are different objects.
Mismatched Dimensions
\(\langle 1,2 \rangle + \langle 3,4,5 \rangle\) is undefined. Both vectors must live in the same \(\mathbb{R}^n\).
Sign Errors in Scaling
When \(c\) is negative, every component flips sign. Forgetting to distribute the negative to all components is the most common algebra error.

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}\)?