Vector Algebra and Properties
From the maths 105 curriculum
TL;DR
Vectors are mathematical objects with both magnitude (size) and direction, distinct from scalars which only have magnitude. You can perform various operations like addition, subtraction, and scalar multiplication on vectors. These operations help you describe movement, forces, and velocities in a clear and structured way.
1. The Mental Model
Think of a vector as an arrow in space. The length of the arrow tells you its magnitude, and the way it points tells you its direction. When you do algebra with vectors, you're essentially manipulating these arrows.
2. The Core Material
Vectors are fundamental in physics and engineering for representing quantities that require both a size and a direction.
What is a Vector?

Photo by Jan van der Wolf on Pexels
A vector is a quantity defined by both its magnitude (length or size) and direction. Examples include displacement, velocity, and force.
A scalar is a quantity defined only by its magnitude. Examples include temperature, mass, and time.
You usually represent a vector with a bold letter (e.g., v) or an arrow above it ($\vec{v}$).
Representing Vectors

Photo by Vitaly Gariev on Pexels
In 2D or 3D space, you can represent a vector using its components. For a vector v, its components might be $(v_x, v_y)$ in 2D or $(v_x, v_y, v_z)$ in 3D. These components tell you how far the vector extends along each axis.
Basic Vector Operations

Photo by Lum3n on Pexels
1. Vector Addition
To add two vectors, a and b, you add their corresponding components. Geometrically, you place the tail of the second vector at the head of the first, and the resultant vector goes from the tail of the first to the head of the second (triangle rule).
If $\mathbf{a} = (a_x, a_y)$ and $\mathbf{b} = (b_x, b_y)$, then $\mathbf{a} + \mathbf{b} = (a_x + b_x, a_y + b_y)$.
2. Vector Subtraction
Subtracting vector b from vector a is the same as adding a to $(-\mathbf{b})$. The vector $-\mathbf{b}$ has the same magnitude as b but points in the opposite direction.
If $\mathbf{a} = (a_x, a_y)$ and $\mathbf{b} = (b_x, b_y)$, then $\mathbf{a} - \mathbf{b} = (a_x - b_x, a_y - b_y)$.
3. Scalar Multiplication
Multiplying a vector by a scalar 'k' changes its magnitude by a factor of 'k'. If 'k' is positive, the direction stays the same. If 'k' is negative, the direction reverses.
If $\mathbf{a} = (a_x, a_y)$ and 'k' is a scalar, then $k\mathbf{a} = (ka_x, ka_y)$.
4. Magnitude of a Vector
The magnitude of a vector is its length. For a vector $\mathbf{v} = (v_x, v_y)$, its magnitude, denoted as $|\mathbf{v}|$ or $||\mathbf{v}||$, is found using the Pythagorean theorem.
$|\mathbf{v}| = \sqrt{v_x^2 + v_y^2}$ (in 2D)
$|\mathbf{v}| = \sqrt{v_x^2 + v_y^2 + v_z^2}$ (in 3D)
5. Unit Vector
A unit vector is a vector with a magnitude of 1. You can find the unit vector in the same direction as any non-zero vector v by dividing the vector by its magnitude.
$\mathbf{\hat{u}} = \frac{\mathbf{v}}{|\mathbf{v}|}$
Properties of Vectors

Photo by Edward Jenner on Pexels
Vectors follow several algebraic rules:
graph TD
A["Vector Operations"] --> B["Addition"]
A --> C["Subtraction"]
A --> D["Scalar Multiplication"]
B --> B1["Commutative: a + b = b + a"]
B --> B2["Associative: (a + b) + c = a + (b + c)"]
B --> B3["Identity: a + 0 = a"]
D --> D1["Distributive over vector addition: k(a + b) = ka + kb"]
D --> D2["Distributive over scalar addition: (k + m)a = ka + ma"]
D --> D3["Associative with scalars: k(ma) = (km)a"]
D --> D4["Identity: 1a = a"]
3. Worked Example
Let's say you have two vectors:
$\mathbf{a} = (3, 1, 2)$
$\mathbf{b} = (-1, 4, 0)$
-
Find $\mathbf{a} + \mathbf{b}$:
$\mathbf{a} + \mathbf{b} = (3 + (-1), 1 + 4, 2 + 0) = (2, 5, 2)$ -
Find $2\mathbf{a} - \mathbf{b}$:
First, find $2\mathbf{a}$: $2\mathbf{a} = (2 \times 3, 2 \times 1, 2 \times 2) = (6, 2, 4)$
Now subtract $\mathbf{b}$: $2\mathbf{a} - \mathbf{b} = (6 - (-1), 2 - 4, 4 - 0) = (7, -2, 4)$ -
Find the magnitude of $\mathbf{a}$:
$|\mathbf{a}| = \sqrt{3^2 + 1^2 + 2^2} = \sqrt{9 + 1 + 4} = \sqrt{14}$ -
Find the unit vector in the direction of $\mathbf{a}$:
$\mathbf{\hat{u}}_a = \frac{\mathbf{a}}{|\mathbf{a}|} = \frac{(3, 1, 2)}{\sqrt{14}} = (\frac{3}{\sqrt{14}}, \frac{1}{\sqrt{14}}, \frac{2}{\sqrt{14}})$
4. Key Takeaways
- Vectors have both magnitude and direction, while scalars only have magnitude.
- Vector addition and subtraction involve combining or differencing corresponding components.
- Scalar multiplication scales a vector's magnitude and can reverse its direction.
- The magnitude of a vector is its length, calculated using the Pythagorean theorem.
- A unit vector has a magnitude of 1 and points in the same direction as the original vector.
- Vectors follow specific algebraic properties like commutativity for addition and distributivity for scalar multiplication.
Common Mistakes to Avoid
- Confusing scalars and vectors: Don't treat a scalar quantity as if it has a direction, or vice versa.
- Adding/subtracting components incorrectly: Always add/subtract corresponding components (x with x, y with y, etc.).
- Incorrectly calculating magnitude: Remember to square each component, add them, then take the square root.
- Forgetting vector direction: While magnitude is important, the direction is equally critical for vectors.
- Misinterpreting scalar multiplication: A negative scalar doesn't just change magnitude; it flips the vector's direction.
5. Now Try It
Given vectors $\mathbf{u} = (2, -3)$ and $\mathbf{v} = (5, 1)$:
- Calculate $\mathbf{u} + \mathbf{v}$.
- Calculate $3\mathbf{u} - 2\mathbf{v}$.
- Find the magnitude of $\mathbf{u}$.
- Find the unit vector in the direction of $\mathbf{v}$.
Success looks like: You should have computed the resultant vectors and magnitudes correctly, understanding the component-wise operations for addition, subtraction, and scalar multiplication, and knowing how to derive a unit vector.
Frequently asked about Vector Algebra and Properties
Study this next
Get the full maths 105 curriculum
Clone the complete plan to your dashboard for unlimited AI-generated notes, practice quizzes, and a personalised revision schedule.
Save this course free