Vectors are a powerful mathematical tool for describing quantities that have both magnitude (size) and direction. They appear throughout IB Mathematics Analysis and Approaches, but are studied in particular depth at HL. Vectors are essential in physics and engineering, and the IB recognises this by testing both computational skills and conceptual understanding.
In this guide, we cover vector operations in 2D and 3D, the scalar (dot) product, finding angles between vectors, and the vector equation of a line. These topics appear frequently in Paper 1 and Paper 2, and vector questions are known for being accessible if you understand the concepts well — but challenging if you rely on rote formulas.
Your IB formula booklet contains the key vector formulas, including the scalar product and the vector equation of a line. As always, understanding when and why to apply each formula is more valuable than memorising them.
Core Concepts
Vector Notation and Representation
A vector can be written as:
- A bold letter: a (in print) or with an arrow: (in handwriting, use the arrow notation)
- A column vector: in 2D or in 3D
- In terms of unit vectors:
A vector from point to point is written (position vector of minus position vector of ).
Magnitude of a Vector
The magnitude (length) of is:
In 2D, simply omit the term. A unit vector has magnitude 1. The unit vector in the direction of is .
Vector Operations
Addition and Subtraction
Geometrically, vector addition follows the triangle rule or parallelogram rule. Subtraction is equivalent to .
Scalar Multiplication
Multiplying by a scalar scales the magnitude by and reverses the direction if .
Parallel vectors: Two vectors are parallel if one is a scalar multiple of the other: for some scalar .
The Scalar (Dot) Product
The scalar product (also called the dot product) of two vectors is defined in two equivalent ways:
Algebraic definition:
Geometric definition:
where is the angle between the two vectors.
Both forms are in your IB formula booklet. The key properties:
- The result is a scalar (a number), not a vector
- (commutative)
- If and neither vector is the zero vector, then and are perpendicular
Angle Between Two Vectors
By rearranging the geometric definition:
This is one of the most frequently tested formulas in the IB. The angle always satisfies .
Steps to find the angle:
- Calculate using the algebraic formula
- Calculate and
- Substitute into the formula and solve for using
Perpendicular and Parallel Vectors
- Perpendicular:
- Parallel: for some scalar
These conditions are used frequently in IB problems.
Vector Equation of a Line
A line in 2D or 3D can be written in vector form:
where:
- is the position vector of any point on the line
- is the position vector of a known point on the line
- is the direction vector of the line
- is a scalar parameter ()
In component form for 3D:
This gives parametric equations: , , .
Finding the Direction Vector
If you know two points and on the line, the direction vector is . Note that any scalar multiple of is also a valid direction vector.
Intersection of Lines
To check whether two lines intersect:
- Write both lines in parametric form (using different parameters, e.g., and )
- Set the position vectors equal:
- This gives a system of equations — solve for and
- If a consistent solution exists, the lines intersect (substitute to find the point)
- If no consistent solution exists, the lines do not intersect (they are skew in 3D, or parallel)
In 3D, two non-parallel lines may be skew — they do not intersect and are not parallel. This cannot happen in 2D.
Distance Concepts
The distance between two points and is .
At HL, you may also need to find the shortest distance from a point to a line, which involves projection concepts.
Strategy Tips
Tip 1: Draw a Diagram
For vector problems, always sketch the situation — even a rough diagram. Mark known points, vectors, and the unknown you are trying to find. This helps you identify which vectors to add or subtract.
Tip 2: Use Position Vectors Carefully
(end minus start). A common error is computing instead, which gives the vector pointing in the opposite direction.
Tip 3: Check Perpendicularity with the Dot Product
Whenever a question involves right angles or perpendicularity, immediately think "dot product equals zero." This is the standard approach in IB vector problems.
Tip 4: Use Different Parameters for Different Lines
When finding the intersection of two lines, use different letters (e.g., and ) for the parameters. Using the same letter implies the points are reached at the same "time," which may not be the case.
Tip 5: Verify Your Intersection Point
After finding values of and , substitute into ALL equations (including any third equation in 3D) to verify the solution is consistent. In 3D, if two equations give valid and but the third does not match, the lines are skew.
Worked Example: Example 1
Find the angle between and .
(3 s.f.)
Worked Example: Example 2
A line passes through and . Write the vector equation of the line and determine whether the point lies on it.
Direction vector:
Vector equation:
To check if lies on the line: ✓ ✓
All three equations are satisfied with , so lies on the line.
Worked Example: Example 3
Find the value of such that and are perpendicular.
For perpendicular vectors:
Worked Example: Example 4
Determine whether the following lines intersect, and if so, find the point of intersection.
and
Setting equal:
This gives the system:
From equation (2): .
Substituting into equation (1): , so , giving .
Then .
Verify with equation (3): and ✓
The lines intersect. Substituting into :
Point of intersection:
Worked Example: Example 5
The position vectors of points , , and are , , and . Find the angle .
The angle at is between vectors and .
(3 s.f.)
Practice Problems
Problem 1
Given and , find and hence determine whether the vectors are perpendicular.
Problem 2
Write the vector equation of the line passing through with direction vector . Find where the line crosses the -plane (where ).
Problem 3
The vectors and make an angle of . Find the possible values of .
Problem 4
Two lines are given by and . Determine whether the lines are parallel, intersecting, or skew.
Problem 5
Find a unit vector perpendicular to both and . (Hint: use the cross product if you have studied it, or set up a system of equations.)
Want to check your answers and get step-by-step solutions?
Common Mistakes
-
Wrong direction for . Remember: (destination minus origin). Getting this backwards gives the opposite direction and leads to sign errors.
-
Forgetting the denominator in the angle formula. The formula is . Students sometimes forget the magnitudes in the denominator.
-
Using the same parameter for two different lines. When finding intersections, always use different parameters ( and ). Using the same parameter implies the points correspond at the same parameter value, which is an unjustified assumption.
-
Concluding lines are parallel when they are skew. In 3D, non-intersecting lines can be either parallel or skew. Check direction vectors: if one is a scalar multiple of the other, the lines are parallel; otherwise, they are skew.
-
Arithmetic errors in 3D. With three components, there are more places for arithmetic errors. Double-check each component carefully, especially in dot product calculations.
-
Confusing position vectors and direction vectors. The position vector in the line equation is a fixed point; is the direction. Do not mix them up when reading or writing line equations.
Frequently Asked Questions
What is the difference between a position vector and a direction vector?
A position vector points from the origin to a specific point and represents a location. A direction vector represents a direction and magnitude but has no fixed starting point — it can be "placed" anywhere. In the line equation , is a position vector (a specific point on the line) and is a direction vector.
Is the scalar product the same as the cross product?
No! The scalar (dot) product gives a scalar (number). The vector (cross) product gives a vector perpendicular to both. The cross product is part of the HL curriculum. At SL, you only need the dot product.
Can two lines in 3D fail to intersect and not be parallel?
Yes — such lines are called skew lines. They exist in different "layers" of 3D space and never meet. This is one of the key differences between 2D and 3D geometry.
How do I know if a point lies on a line?
Substitute the point's coordinates into the parametric equations and check if there is a single consistent value of that satisfies all equations simultaneously.
Do I need to simplify direction vectors?
It is not required but can be helpful. Any scalar multiple of a direction vector gives the same line. For example, can be simplified to . Simpler numbers reduce the chance of arithmetic errors.
Key Takeaways
Vectors have magnitude and direction. Master the basic operations (addition, subtraction, scalar multiplication) and always work component-by-component.
The dot product is the key to angles and perpendicularity. Use for calculations and for angles. If the dot product is zero, the vectors are perpendicular.
Vector line equations use a point and a direction. describes every point on a line. Find from two known points if needed.
Intersection problems require different parameters. Set the line equations equal using different parameter names, solve the system, and verify all components.
3D introduces skew lines. Unlike 2D, non-parallel lines in 3D may never meet. Always verify your intersection solution with all three component equations.
Draw diagrams and check your work. Vector problems reward careful, systematic working. Label vectors clearly and verify answers by substitution.
