The scalar product
The scalar (dot) product: its two formulas, the angle between two vectors, the test for perpendicular vectors, projections, and using the algebra of the dot product in proofs.
1What you need to know
Tick these off as you go. By the end of the page you should be able to do all of them without notes.
- Calculate from componentsAHL 3.13
- Use to find anglesAHL 3.13
- Test for perpendicular vectors and find unknownsAHL 3.13
- Find angles in triangles and solids using vectorsAHL 3.13
- Use properties of the dot product in proofsAHL 3.13
2Notes & worked examples
Each idea is followed by a worked example. Try the question yourself first, then reveal the solution one step at a time.
The scalar product turns two vectors into one number that measures how much they point the same way. It is large and positive when they are nearly parallel, zero when they are perpendicular, and negative when they point apart. That makes it the tool for angles and for testing perpendicularity, in any number of dimensions.
2.1 Two formulas
where is the angle between and when they are placed tail to tail. Hence .
The cosine rule in the triangle formed by , and gives . Expanding the left side in components gives . Comparing, the two formulas are equal.
2.2 Perpendicular vectors
For non-zero vectors, . Parallel vectors have .
2.3 Angles in triangles and solids
To find angle , use the vectors from : and . Using with gives the supplementary (exterior) angle instead.
2.4 Algebra of the scalar product
The dot product behaves like ordinary multiplication: , , and . This allows proofs without coordinates.
Projection. The component of in the direction of (the length of the shadow of on ) is . This idea gives shortest distances later on.
dotP([1,2,2],[2,-1,2]) gives the scalar product. For an angle: cos⁻¹(dotP(a,b)/(norm(a)·norm(b))) in degree or radian mode as required.
3Explore it
Rotate . The scalar product is positive for acute angles, zero at 90° and negative for obtuse angles. The green segment is the projection of onto .
4Common mistakes & exam tips
Common mistakes
- Thinking the scalar product is a vector. It is a number.
- Using and for angle , which gives the exterior angle.
- Forgetting that means an obtuse angle: if the question asks for the acute angle, use .
- Writing for and then treating it as a vector.
- Arithmetic slips with negative components: write each product separately.
Exam tips
- For an "exact" angle question, give as a fraction or surd before the angle.
- Perpendicular set the dot product to zero: this is the commonest use in exams.
- In proofs, expand dot products like brackets and use .
- State "acute angle" or "obtuse angle" if the question distinguishes them.
5Practice
Fluency questions build the basics. Problem-solving questions make you think about which method to use.
6Exam-style questions
Original questions in the style of the IB exam, with full markschemes. Give yourself about 1 minute per mark.
Let and .
- (a)Find .[1]
- (b)Find the exact value of the cosine of the angle between and .[3]
- (c)State whether this angle is acute or obtuse.[1]
| (a) | |
| A1 | |
| (b) | |
| A1 | |
| M1 | |
| A1 | |
| (c) | |
| obtuse, since | R1 |
The vectors and are perpendicular.
- (a)Find the value of .[2]
- (b)For this , find the angle between and , to the nearest degree.[4]
| (a) | |
| M1 | |
| A1 | |
| (b) | |
| A1 | |
| , | A1 |
| M1 | |
| A1 | |
Let and be non-zero vectors with .
- (a)Show that .[3]
- (b)Hence state a geometric property of a rhombus, explaining your answer.[3]
| (a) | |
| M1A1 | |
| AG A1 | |
| (b) | |
| sides of a rhombus can be taken as with equal length | R1 |
| diagonals are and | R1 |
| so the diagonals are perpendicular | A1 |
7Check yourself
Six quick questions, marked instantly. Aim for 6/6 before moving on. Fractions like 3/2 are accepted.
8Past-paper practice
Once you're scoring well above, try real IB questions. Your school or teacher will have these papers.
| Paper | Question | Focus | Difficulty |
|---|---|---|---|
| May 2023 · TZ2 · Paper 1 | Q9 | A scalar product condition in a parallelogram | ★★★ |
| May 2023 · TZ1 · Paper 1 | Q12 | The angle between two intersecting lines | ★★★ |
| May 2025 · TZ2 · Paper 3 | Q2 | Scalar products within an investigation | ★★★ |
