Vectors: basics, operations, dot product
IB Mathematics: Applications and Interpretation HLΒ· Topic 3.7 VectorsΒ· 6 min read
1. Vector Basicsβ β ββββ± 15 min
Scalar vs Vector
A scalar is a quantity with only magnitude (size). A vector is a quantity with both magnitude and direction.
Example:
Distance (5 km) is a scalar; displacement (5 km north) is a vector.
For a vector between two points (A(x_1,y_1,z_1)) and (B(x_2,y_2,z_2)), the components of (\vec{AB}) are calculated by subtracting the coordinates of the start point (A) from the end point (B).
Find (\vec{AB}) and its magnitude, where (A = (1, 2, -3)) and (B = (4, 0, 1)).
- 1
Subtract start point coordinates from end point coordinates to get components:
- 2
- 3
Calculate magnitude using the Pythagorean formula:
- 4
Exam tip:
Always remember: end point minus start point for vectors between two points.
2. Vector Addition and Scalar Multiplicationβ β ββββ± 20 min
All basic vector operations are done component-wise: you work on each x, y, z component separately to get the result.
Addition: Add corresponding components: (\vec{a} + \vec{b} = (a_1 + b_1, a_2 + b_2, a_3 + b_3))
Scalar multiplication: Multiply every component by the scalar: (k\vec{v} = (kv_1, kv_2, kv_3))
Negative of a vector: Reverse direction: (-\vec{v} = (-v_1, -v_2, -v_3))
Given (\vec{a} = \begin{pmatrix} 2 \ -1 \end{pmatrix}) and (\vec{b} = \begin{pmatrix} -3 \ 4 \end{pmatrix}), find (3\vec{a} - 2\vec{b}).
- 1
First calculate each scalar multiple:
- 2
- 3
Subtract component-wise:
- 4
What is the magnitude of (3\vec{a} - 2\vec{b}) from the example above?
Select the correct answer:
(5)
(\sqrt{265} \approx 16.3)
(1)
Reveal answer
1 βYou must square each component before adding: (12^2 + (-11)^2 = 144 + 121 = 265), so magnitude is (\sqrt{265}).
3. Dot Product and Applicationsβ β β βββ± 25 min
Dot Product (Scalar Product)
For two vectors (\vec{a} = (a_1,a_2,a_3)) and (\vec{b} = (b_1,b_2,b_3)), the dot product is a scalar calculated by summing the product of corresponding components. It is linked to the angle (\theta) between the vectors.
The most important geometric property of the dot product: two non-zero vectors are perpendicular if and only if their dot product is zero (since (\cos 90^\circ = 0)). We can rearrange the formula to find the angle between any two vectors:
Find the angle between (\vec{v} = \begin{pmatrix} 2 \ 1 \ -1 \end{pmatrix}) and (\vec{w} = \begin{pmatrix} 3 \ -2 \ 1 \end{pmatrix}), correct to 1 decimal place.
- 1
Step 1: Calculate the dot product:
- 2
- 3
Step 2: Calculate the magnitude of each vector:
- 4
- 5
Step 3: Calculate (\cos\theta) and find the angle:
- 6
Exam tip:
Check if the dot product is zero first before calculating magnitudes, this saves time for perpendicularity questions.
4. Common Pitfalls
Wrong move:
Subtract end point coordinates from start point when finding (\vec{AB})
Why:
This gives the vector pointing in the opposite direction, with all components negated, leading to wrong results for angles and magnitudes
Correct move:
Always use: (\vec{AB} = \text{end point } B - \text{start point } A)
Wrong move:
Add components before multiplying when calculating the dot product
Why:
This confuses vector addition with dot product calculation, leading to an incorrect scalar result
Correct move:
Multiply each pair of corresponding components first, then sum the products
Wrong move:
Leave the answer as (\cos\theta) when asked for the angle between two vectors
Why:
Examiners expect the actual angle value, not the cosine of the angle, so you will lose marks
Correct move:
Always calculate the inverse cosine (arccos) of your value to get the final angle
Wrong move:
Calculate magnitude as the sum of components, skipping squares and the square root
Why:
This confuses magnitude calculation with vector addition, leading to a completely wrong result
Correct move:
Square each component, sum the squares, then take the positive square root
Wrong move:
Claim two vectors are perpendicular just because their dot product is zero, even if one is the zero vector
Why:
The zero vector has no defined direction, so perpendicularity does not apply
Correct move:
Confirm both vectors are non-zero before concluding perpendicularity from a zero dot product
5. Quick Reference Cheatsheet
Concept | Formula |
|---|---|
Vector (\vec{AB}) (A to B) | (\begin{pmatrix} x_2-x_1 \ y_2-y_1 \ z_2-z_1 \end{pmatrix}) |
Magnitude of (\vec{v} = (v_1,v_2,v_3)) | (|\vec{v}| = \sqrt{v_1^2 + v_2^2 + v_3^2}) |
Vector addition | (\vec{a} + \vec{b} = (a_1+b_1, a_2+b_2, a_3+b_3)) |
Scalar multiplication | (k\vec{v} = (kv_1, kv_2, kv_3)) |
Dot product | (\vec{a} \cdot \vec{b} = \sum a_i b_i = |a||b|\cos\theta) |
Angle between two vectors | (\cos\theta = \frac{\vec{a} \cdot \vec{b}}{|\vec{a}||\vec{b}|}) |
Perpendicular vectors | (\vec{a} \cdot \vec{b} = 0) (non-zero vectors) |
When this came up on past exams
AI-estimated based on syllabus patterns β cross-check with official past papers for accuracy. Use only as revision-focus signals.
- 2025 Β· 1
Dot product angle calculation
- 2024 Β· 2
3D vector between points
What's Next
Now that you have mastered the basics of vectors, vector operations, and the dot product, you can apply these core skills to working with lines and planes in 2D and 3D space, the next key topic in IB AI HL geometry. A solid understanding of these concepts is essential for finding intersections of lines, calculating distances from points to lines or planes, and solving applied geometric problems in fields like navigation, engineering, and computer graphics. These vector basics also form the foundation for kinematics problems involving velocity and displacement vectors that you will encounter later in the course.
