James Ashton MathsFREE MATHEMATICS. OPEN TO EVERYONE.
HomeIB DiplomaA levelAbout
IB Diploma › Maths AI HL › Geometry & trigonometry › Scalar & vector products

Scalar & vector products

There are two ways to multiply vectors. The scalar product gives a number that measures how much two vectors point the same way, so it finds angles and tests for right angles. The vector product gives a new vector at right angles to both, and its length is an area.

AHL 3.13HL onlyPaper 1Paper 2GDC allowed≈ 50 min to work through
Before you start: vectors, magnitudes and lines (Vectors & lines) and 12absinC (Triangle trigonometry).

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 the scalar product 𝐯·𝐰 from componentsAHL 3.13
  • Find the angle between two vectors, and the acute angle between two linesAHL 3.13
  • Use 𝐯·𝐰=0 to test for, or force, perpendicular vectorsAHL 3.13
  • Calculate the vector product 𝐯×𝐰 and know it is perpendicular to bothAHL 3.13
  • Use |𝐯×𝐰| for the area of a parallelogram or triangleAHL 3.13
  • Find the component of a vector in the direction of, and perpendicular to, another vectorAHL 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 big idea

The scalar product 𝐯·𝐰=|𝐯||𝐰|cosθ is largest when the vectors point the same way, zero at right angles and negative when they point apart. The vector product has length |𝐯||𝐰|sinθ, which is exactly the area of the parallelogram the two vectors make.

2.1 The scalar product and angles

Scalar product In formula booklet
𝐯·𝐰=v1w1+v2w2+v3w3cosθ=𝐯·𝐰|𝐯||𝐰|

𝐯 and 𝐰 are perpendicular exactly when 𝐯·𝐰=0.

Worked example 1Paper 1
Find the angle between 𝐯=(2−13) and 𝐰=(14−2).
𝐯·𝐰=2−4−6=−8
|𝐯|=14, |𝐰|=21
cosθ=−81421⇒θ=117.8∘
A negative scalar product gives an obtuse angle.

The angle between two lines uses their direction vectors. Lines make two angles that add to 180°; questions usually want the acute one. If you get an obtuse angle, subtract it from 180°.

Worked example 2Paper 1
Find the acute angle between lines with direction vectors (12−1) and (2−11).
cosθ=2−2−166=−16⇒θ=99.6∘
Acute angle =180∘−99.6∘=80.4∘
Worked example 3 (faded)Paper 1
Find k so that (k2−1) is perpendicular to (3k4).
3k+2k−4=0⇒k= 0.8  ← you work this out

2.2 The vector product

Vector product In formula booklet
𝐯×𝐰=(v2w3−v3w2v3w1−v1w3v1w2−v2w1)|𝐯×𝐰|=|𝐯||𝐰|sinθ

𝐯×𝐰 is perpendicular to both 𝐯 and 𝐰; its direction follows the right-hand rule, and 𝐰×𝐯=−𝐯×𝐰. Area of parallelogram =|𝐯×𝐰|; area of triangle =12|𝐯×𝐰|.

Worked example 4Paper 1
Find 𝐯×𝐰 for the vectors in WE1, and check that it is perpendicular to 𝐯.
((−1)(−2)−(3)(4)(3)(1)−(2)(−2)(2)(4)−(−1)(1))=(−1079)
(−1079)·(2−13)=−20−7+27=0 ✓
A quick dot product catches most slips.
Worked example 5Paper 1
Find the area of the triangle with vertices A(1,0,2), B(3,1,0) and C(0,2,1).
AB→=(21−2), AC→=(−12−1)
AB→×AC→=(345), magnitude 50
Area =1250=3.54

2.3 Components of a vector

A force rarely acts exactly along the direction you care about. Split it into a part along 𝐛 and a part perpendicular to 𝐛 (in the plane of the two vectors):

Components of a in the direction of b In formula booklet
along 𝐛: 𝐚·𝐛|𝐛|=|𝐚|cosθperpendicular to 𝐛: |𝐚×𝐛||𝐛|=|𝐚|sinθ
Worked example 6Paper 2
A force 𝐅=(62−3) N acts on a sledge that moves in the direction 𝐝=(212). Find the component of the force along the direction of motion and the component perpendicular to it.
Along: 12+2−63=83=2.67 N
Perpendicular: |𝐅×𝐝|3=6.47 N
Check: 2.672+6.472=49=|𝐅|2.
On your TI-Nspire Calculator tricks →

On the TI-Nspire, menu → Matrix & Vector → Vector gives dotP([2,−1,3],[1,4,−2]) for the scalar product, crossP(…) for the vector product and norm(…) for magnitudes. For an angle, type cos⁻¹(dotP(v,w)/(norm(v)·norm(w))) in degree or radian mode as the question asks. Write the vectors and the formula down before using the GDC, so that method marks are available.

3Explore it

Set the length and direction of two vectors. The shaded parallelogram has area |a × b|. Watch the scalar product change sign as the angle passes 90°.

4Common mistakes & exam tips

Common mistakes

  • Using position vectors of the points instead of the vectors along the sides when finding an angle in a triangle.
  • Giving the obtuse angle when the question asks for the acute angle between two lines.
  • Sign errors in the middle component of the vector product: it is v3w1−v1w3.
  • Forgetting the 12 when finding the area of a triangle.
  • Dividing by |𝐚| instead of |𝐛| when finding the component of 𝐚 along 𝐛.

Exam tips

  • For angle BA^C, both vectors must start at A: use AB→ and AC→.
  • Check a vector product by dotting it with both original vectors: both answers should be 0.
  • A "vector perpendicular to both lines" means the vector product of the direction vectors.
  • "Show that" with perpendicular vectors needs the scalar product written out and equal to 0.

5Practice

Fluency questions build the basics. Problem-solving questions make you think about which method to use.

FluencyP1
Find (3−21)·(452).
12−10+2=4
FluencyP2
Find the angle between (111) and 𝐢.
cosθ=13⇒θ=54.7∘
FluencyP3
Find (102)×(03−1).
(−613)
FluencyP4
Find the area of the parallelogram formed by the two vectors in the previous question.
46=6.78
Problem solvingP5
Show that the triangle with vertices P(1,1,0), Q(3,2,2) and R(2,3,−2) has a right angle at P.
PQ→=(212), PR→=(12−2); 2+2−4=0.
Problem solvingP6
A rope pulls a box with force (40030) N. The box moves along the ground in the direction 𝐢. Find the component of the force along the ground.
401=40 N

6Exam-style questions

Original questions in the style of the IB Maths AI HL exam, with full markschemes. Your GDC is allowed throughout: use it, but write down what you entered and what it gave you. Give yourself about 1 minute per mark.

Question 1Paper 1[7 marks]

The points A, B and C have coordinates (2,1,0), (5,3,−1) and (1,4,2).

  • (a)Find AB→ and AC→.[2]
  • (b)Find BA^C.[2]
  • (c)Find the area of triangle ABC.[3]
(a)
AB→=(32−1)A1
AC→=(−132)A1
(b)
cosθ=11414(M1)
85.9∘ (1.50 radians)A1
(c)
AB→×AC→=(7−511)(M1)(A1)
12195=6.98A1
Accept 12|AB→||AC→|sinBA^C using their part (b).
Question 2Paper 1[5 marks]

The lines L1 and L2 have direction vectors (2−12) and (11−4) respectively.

  • (a)Find the acute angle between the two lines.[3]
  • (b)Find a vector that is perpendicular to both lines.[2]
(a)
cosθ=2−1−8318(M1)
123.4∘(A1)
56.6∘A1
(b)
vector product of the directions(M1)
(2103)A1
Accept any non-zero multiple.
Question 3Paper 2[8 marks]

A triangular shade sail is fixed at the points A(0,0,3), B(6,0,2.5) and C(2,5,4), where distances are in metres.

  • (a)Find AB→ and AC→.[2]
  • (b)Find the area of the sail.[3]
  • (c)The wind exerts a force 𝐅=(30−4010) N on the sail. Find the component of 𝐅 in the direction of AB→×AC→, which is perpendicular to the sail.[3]
(a)
AB→=(60−0.5)A1
AC→=(251)A1
(b)
AB→×AC→=(2.5−730)(M1)(A1)
15.5 m²A1
(c)
𝐅·𝐧|𝐧|(M1)
75+280+30030.9(A1)
21.2 NA1

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 are scoring well above, try these real IB Maths AI HL questions on this topic. Your school or teacher will have the papers.

PaperQuestionFocusDifficulty
May 2023 · TZ1 · Paper 1Q7A triangular shade cover: vectors, angle and area★★☆
May 2024 · TZ2 · Paper 1Q8An angle and the area of a triangle in 3D★★☆
Nov 2022 · Paper 1Q8The acute angle between two intersecting lines★★☆
Nov 2023 · Paper 1Q14A vector perpendicular to two lines★★★
Spotted a mistake on this page?Tell me and I'll fix it. The button opens an email with this page already named, or write to jamesashtonmaths@gmail.com.
Report a mistake