IB Mathematics: Analysis and Approaches · Topic 3 · Geometry and trigonometry
3.13 Scalar product
Calculate the scalar product of two vectors, use it to find the angle between them, and apply it to geometric problems.
1/5The scalar product turns two vectors into one number
Part 1 of 5: The scalar product turns two vectors into one number
Imagine pushing a sledge along flat ground. Only the part of your push that points along the ground moves the sledge. This idea leads to the scalar product, which combines two vectors into one number.
Place both vectors so they start at the same point. Let be the angle between them, with . The scalar product is , where is the length of .
The sign of the result tells you about the angle. An acute angle gives a positive number, a right angle gives zero, and an obtuse angle gives a negative number.
Key term
scalar product
The scalar product of vectors and is the number , where is the angle between them.
Part 2 of 5: Components give a quicker way to calculate it
The cosine formula needs an angle, and the angle is often unknown. When vectors are given by components, there is a quicker rule. Multiply the matching components, then add the results.
For vectors with components and , the rule is . Both methods give the same number. That number is a scalar, so it has no direction.
The rule also works in two dimensions. Drop the third component. For and , the result is .
Worked example
Scalar product from components
- Multiply the matching components: , and .
- Write the results: 8, -5 and -6.
- Add them: .
Answer: . The negative value shows that the angle between the vectors is obtuse.
Key term
scalar
A scalar is a quantity with magnitude only and no direction, such as a length or a real number.

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: C · Worked explanation
Part 3 of 5: Perpendicular and parallel vectors give special values
Now look at the extreme angles. Two non-zero vectors are perpendicular when the angle between them is . Then , so . The reverse also holds for non-zero vectors.
Parallel vectors have or . Their scalar product is . A vector with itself gives , which links the scalar product to length.
- , so the order does not matter.
- .
- for any real number .
Key term
perpendicular
Two non-zero vectors are perpendicular when the angle between them is , which happens exactly when their scalar product is zero.
Part 4 of 5: Rearranging the definition gives the angle between vectors
Often you know two vectors and need the angle between them. Rearrange the cosine formula to get . Find the scalar product from components, then find the two lengths.
Each length comes from . Then use the inverse cosine on a calculator. The angle always lies between and .
This method needs no diagram, which makes it reliable in three dimensions. If the fraction falls outside the range -1 to 1, recheck your arithmetic.
Worked example
Angle between two vectors
- Scalar product: .
- Lengths: and .
- Substitute: .
- Apply the inverse cosine: .
Answer: .

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: A · Worked explanation
Part 5 of 5: The scalar product solves problems about shapes
The angle formula also works with points. To find an angle in a triangle, build two vectors from the vertex. For the angle at , use and . Each vector is the end point minus the start point.
Choose two vectors that both leave the vertex. If one arrives and one leaves, you find the supplementary angle instead.
A scalar product of zero also helps with unknowns. If a vertex angle is a right angle, set the product equal to zero. Then solve for the unknown coordinate.
Worked example
Angle in a triangle
- Form the vectors: and .
- Scalar product: .
- Lengths: and .
- Substitute: .
Answer: Angle .
Check your recall[15 marks]
6 written questions. Answer each one in your head or on paper, then open the mark scheme.
- 1.State[2 marks]
State the two formulae for the scalar product : one using the angle between the vectors and one using components.
Show mark schemeHide mark scheme
Model answer
and .
- 1 mark for writing with the angle between the vectors
- 1 mark for writing
- 2.Calculate[2 marks]
Calculate for and .
Show mark schemeHide mark scheme
Model answer
.
- 1 mark for multiplying the matching components
- 1 mark for obtaining -5
- 3.Determine[3 marks]
Determine the value of for which and are perpendicular.
Show mark schemeHide mark scheme
Model answer
Perpendicular vectors have scalar product zero, so . Therefore and .
- 1 mark for setting the scalar product equal to zero
- 1 mark for writing
- 1 mark for obtaining
- 4.Calculate[3 marks]
Calculate the angle between and . Give your answer to 3 significant figures.
Show mark schemeHide mark scheme
Model answer
The scalar product is . The lengths are 5 and 3. So and .
- 1 mark for finding the scalar product 11
- 1 mark for finding the lengths 5 and 3
- 1 mark for obtaining
- 5.Explain[2 marks]
Explain why two non-zero vectors with must be perpendicular.
Show mark schemeHide mark scheme
Model answer
Since and both lengths are non-zero, . So .
- 1 mark for stating that both lengths are non-zero, so
- 1 mark for concluding that
- 6.Determine[3 marks]
Determine whether triangle with , and has a right angle at .
Show mark schemeHide mark scheme
Model answer
and . Their scalar product is , so the angle at is a right angle.
- 1 mark for finding and
- 1 mark for finding the scalar product 0
- 1 mark for concluding that the angle at P is a right angle

Practice this topic
10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)
0 right0 of 10 answered
Includes the 2 quick checks in the note above.
EasyIdentify[1 mark]
Show answer and explanation
Answer: D · Worked explanation
MediumCalculate[1 mark]
Show answer and explanation
Answer: B · Worked explanation
MediumCalculate[2 marks]
Show answer and explanation
Answer: D · Worked explanation
MediumDetermine[1 mark]
Show answer and explanation
Answer: A · Worked explanation
MediumCalculate[2 marks]
Show answer and explanation
Answer: C · Worked explanation
HardCalculate[2 marks]
Show answer and explanation
Answer: A · Worked explanation
HardCalculate[2 marks]
Show answer and explanation
Answer: D · Worked explanation
HardDetermine[2 marks]
Show answer and explanation
Answer: B · Worked explanation