Skip to content
  1. IB Question Bank
  2. Maths AA
  3. Geometry & Trigonometry
Topic 3.14 · HL only

Scalar product of two vectors (+ angle between two vectors): notes and practice questions

Summary
  • The scalar product (dot product) of two vectors yields a scalar value.
  • It can be calculated algebraically (v1w1+v2w2+v3w3v_1w_1 + v_2w_2 + v_3w_3) or geometrically (∣v∣∣w∣cosθ|\boldsymbol{v}||\boldsymbol{w}|\boldsymbol{\text{cos}}\theta).
  • The angle θ\theta between vectors is found using cosθ=v\cdotpw∣v∣∣w∣\boldsymbol{\text{cos}}\theta = \frac{\boldsymbol{v} \boldsymbol{\text{·}} \boldsymbol{w}}{|\boldsymbol{v}||\boldsymbol{w}|}.
  • Perpendicular vectors have a scalar product of 0.
  • Parallel vectors have ∣v\cdotpw∣=∣v∣∣w∣|\boldsymbol{v} \boldsymbol{\text{·}} \boldsymbol{w}| = |\boldsymbol{v}||\boldsymbol{w}|.
  • The square of a vector's magnitude is its scalar product with itself (v\cdotpv=∣v∣2\boldsymbol{v} \boldsymbol{\text{·}} \boldsymbol{v} = |\boldsymbol{v}|^2).
  • Vector magnitude is calculated as ∣v∣=sqrt(v12+v22+v32)|\boldsymbol{v}| = \boldsymbol{\text{sqrt}}(v_1^2 + v_2^2 + v_3^2).

How it is examined

Finding an angle, or finding the value of a parameter that makes two vectors perpendicular, are the two standard questions and both are short. The angle comes out in radians unless the question says degrees. 3 to 5 marks.

Given in the booklet

Both the component form and ∣v∣∣w∣cos⁡θ|\boldsymbol{v}||\boldsymbol{w}|\cos\theta are given, along with the rearrangement for cos⁡θ\cos\theta.

Key ideas
  • The definition of the scalar product of two vectors.
  • The angle between two vectors.
  • Perpendicular vectors; parallel vectors.

Linking questions

  • Enrichment: proof of the cosine rule using the dot product.

Practice questions

25 questions · 13 medium · 12 hard
Showing 20 of 20

Question 1

MediumPaper 1 · no calculator4 marks

Let u\boldsymbol{u} and v\boldsymbol{v} be two non-zero vectors. The vectors representing the diagonals of a parallelogram with sides u\boldsymbol{u} and v\boldsymbol{v} are d1=u+v\boldsymbol{d}_1 = \boldsymbol{u} + \boldsymbol{v} and d2=u−v\boldsymbol{d}_2 = \boldsymbol{u} - \boldsymbol{v}.

Show that ∣d1×d2∣2=4(∣u∣2∣v∣2−(u⋅v)2)|\boldsymbol{d}_1 \times \boldsymbol{d}_2|^2 = 4(|\boldsymbol{u}|^2|\boldsymbol{v}|^2 - (\boldsymbol{u} \cdot \boldsymbol{v})^2).

Question 2

HardPaper 1 · no calculator19 marks
(a)(i)

Consider the line L1L_1 with vector equation r=(12−1)+λ(12−1)\mathbf{r} = \begin{pmatrix} 1 \\ 2 \\ -1 \end{pmatrix} + \lambda \begin{pmatrix} 1 \\ 2 \\ -1 \end{pmatrix}.

(a) (i) Find a Cartesian equation for the line L1L_1.

[2]
(a)(ii)

(ii) Show that the point P(4,8,−4)P(4, 8, -4) lies on L1L_1.

[2]
(b)

Consider a second line L2L_2 with direction vector (p13)\begin{pmatrix} p \\ 1 \\ 3 \end{pmatrix}. The acute angle between L1L_1 and L2L_2 is θ\theta, where cos⁡θ=13\cos\theta = \frac{1}{3}.

(b) Find the possible values of pp.

[8]
(c)

Let a third line, L3L_3, be defined by the vector equation r=(041)+t(q2−4)\mathbf{r} = \begin{pmatrix} 0 \\ 4 \\ 1 \end{pmatrix} + t \begin{pmatrix} q \\ 2 \\ -4 \end{pmatrix}. The lines L1L_1 and L3L_3 intersect at a point B.

(c) Find the value of qq and the coordinates of B.

[7]

Question 3

MediumPaper 1 · no calculator6 marks

The line LAL_A has vector equation r=(i+2j+pk)+s(2i−j+k)\boldsymbol{r} = (\boldsymbol{i} + 2\boldsymbol{j} + p\boldsymbol{k}) + s(2\boldsymbol{i} - \boldsymbol{j} + \boldsymbol{k}), where p,s∈Rp, s \in \mathbb{R}.

The line LBL_B has vector equation r=(3i+k)+t(qi+3j−k)\boldsymbol{r} = (3\boldsymbol{i} + \boldsymbol{k}) + t(q\boldsymbol{i} + 3\boldsymbol{j} - \boldsymbol{k}), where q,t∈Rq, t \in \mathbb{R}.

The lines LAL_A and LBL_B are perpendicular and intersect at a single point.

Find the value of pp and the value of qq.

Question 4

HardPaper 1 · no calculator19 marks
(a)

Two spacecraft, S1 and S2, travel along straight paths, represented by the lines L1L_1 and L2L_2 respectively. The paths of the spacecraft intersect at a docking station D. A probe is located at a point P on the path of L2L_2. This is shown in the following diagram.

Diagram showing two intersecting lines L1 and L2, with point D at the intersection and point P on L2

The direction vector of L1L_1 is (21−2)\begin{pmatrix} 2 \\ 1 \\ -2 \end{pmatrix}. The vector DP⃗\vec{\text{DP}} is given by (k40)\begin{pmatrix} k \\ 4 \\ 0 \end{pmatrix}, where k≥0k \ge 0.

The acute angle between the paths L1L_1 and L2L_2 is θ\theta, where cos⁡θ=13\cos\theta = \frac{1}{3}.

(a) Show that 2k+4=k2+162k+4 = \sqrt{k^2+16}.

[4]
(b)

(b) Find the value of kk.

[3]
(c)

(c) Hence, find the shortest distance from the probe at P to the path L1L_1.

[3]
(d)

The paths L1L_1 and L2L_2 lie on a plane, Π\Pi.

(d) Find a vector normal to the plane Π\Pi.

[2]
(e)

A satellite dish is modelled as a right circular cone with its vertex at V. The base of the cone lies in the plane Π\Pi and is centred at P. The path L1L_1 is tangent to the circular base of the cone. The volume of the cone is 128π29\frac{128\pi\sqrt{2}}{9} cubic units. The position vector of P is (123)\begin{pmatrix} 1 \\ 2 \\ 3 \end{pmatrix}.

(e) Find the two possible position vectors for V.

[7]

Question 5

MediumPaper 2 · calculator6 marks
(a)

A drone is programmed to fly between three waypoints in a 3D space. The coordinates of the waypoints are given as P1(3, 7, 2), P2(8, 4, 10), and P3(1, 9, 5).

(a) Calculate the distance the drone travels from waypoint P1 to waypoint P2.

[2]
(b)

(b) Calculate the angle formed by the drone's path at waypoint P2 (i.e., the angle P1P2P3). Give your answer in radians to three significant figures.

[4]

Question 6

HardPaper 1 · no calculator9 marks
(a)

The diagram shows a triangle OXY with OX⃗=x\vec{OX} = \mathbf{x} and OY⃗=y\vec{OY} = \mathbf{y}.

Diagram showing triangle OXY with vectors x and y. Point M is the midpoint of OY. Point Q is on the line segment XY.

The point M is the midpoint of OY. The point Q lies on the line segment (XY) such that XQ⃗=kXY⃗\vec{XQ} = k\vec{XY}, where 0<k<10 < k < 1.

(a) Show that MQ⃗=(1−k)x+(k−12)y\vec{MQ} = (1-k)\mathbf{x} + (k - \frac{1}{2})\mathbf{y}.

[2]
(b)

(b) It is given that ∣x∣=3|\mathbf{x}| = 3, ∣y∣=4|\mathbf{y}| = 4 and the angle between vectors x\mathbf{x} and y\mathbf{y} is 60∘60^\circ.

In the case that MQ⃗\vec{MQ} is perpendicular to XY⃗\vec{XY}, find the value of kk.

[7]

Question 7

MediumPaper 2 · calculator6 marks
(a)

A temporary exhibition structure is being designed. The coordinates of three points on the ground are P(0,0,0), Q(8,0,0), and R(0,6,0). A supporting mast is erected at point S(4,3,10).

(a) Calculate the length of the structural cable SQSQ.

[2]
(b)

(b) Determine the angle QS^\hat{S}R, in radians.

[4]

Question 8

HardPaper 1 · no calculator19 marks
(a)

(a) The line L1L_1 passes through the point Q(2, 0, 5) and has a direction vector (1−22)\begin{pmatrix} 1 \\ -2 \\ 2 \end{pmatrix}.

Write down a vector equation for L1L_1.

[1]
(b)

(b) A second line, L2L_2, passes through the points C(3, 1, 0) and D(4, 3, -2).

Find a vector equation for L2L_2.

[2]
(c)

(c) Show that L1L_1 and L2L_2 are skew.

[5]
(d)

(d) Find QM⃗⋅CD⃗\vec{\text{QM}} \cdot \vec{\text{CD}} in terms of μ\mu, where M is a general point on L2L_2.

[4]
(e)

(e) Hence, find the coordinates of the point M on L2L_2 that is closest to Q.

[3]
(f)

(f) The origin is denoted by O(0, 0, 0). Find the equation of the plane that contains the points O, Q and the point M found in part (e). Give your answer in the form ax+by+cz=dax + by + cz = d, where a,b,c,d∈Za, b, c, d \in \mathbb{Z}.

[4]

Question 9

MediumPaper 2 · calculator7 marks

A laser beam travels along the line L, given by the equations x−1=z+2x-1 = z+2 and y=4y=4. The laser beam strikes a reflective surface, a plane P, given by the equation 3x+(cos⁡α)y+(sin⁡α)z=53x + (\cos \alpha)y + (\sin \alpha)z = 5. The angle between the laser beam and the plane is α\alpha, where α∈R\alpha \in \mathbb{R}, 0<α<π20 < \alpha < \frac{\pi}{2}.

Find the value of α\alpha.

Question 10

HardPaper 2 · calculator20 marks
(a)

Three points D(1,2,0)D(1, 2, 0), E(3,0,−1)E(3, 0, -1) and F(0,1,4)F(0, 1, 4) lie on the plane Π1\Pi_1.

Find the vector DE⃗\vec{DE} and the vector DF⃗\vec{DF}.

[2]
(b)

Hence find the equation of Π1\Pi_1, expressing your answer in the form ax+by+cz=dax + by + cz = d, where a,b,c,d∈Za, b, c, d \in \mathbb{Z}.

[4]
(c)

Plane Π2\Pi_2 has equation x+y−z=2x + y - z = 2.

The line LL is the intersection of Π1\Pi_1 and Π2\Pi_2. Verify that the vector equation of LL can be written as r=(−141)+λ(−11132)\mathbf{r} = \begin{pmatrix} -1 \\ 4 \\ 1 \end{pmatrix} + \lambda \begin{pmatrix} -11 \\ 13 \\ 2 \end{pmatrix}.

[3]
(d)(i)

The plane Π3\Pi_3 is given by x+2y−z=5x + 2y - z = 5. The line LL and the plane Π3\Pi_3 intersect at the point PP.

Show that at the point PP, λ=−113\lambda=-\frac{1}{13}.

[2]
(d)(ii)

Hence find the coordinates of PP.

[1]
(e)(i)

The point Q(−1,4,1)Q(-1, 4, 1) lies on LL.

Find the reflection of the point QQ in the plane Π3\Pi_3.

[5]
(e)(ii)

Hence find the vector equation of the line formed when LL is reflected in the plane Π3\Pi_3.

[3]

Question 11

MediumPaper 2 · calculator8 marks
(a)

A drone's flight path, denoted by line LL, is determined by the intersection of two virtual guidance planes, Π1\Pi_1 and Π2\Pi_2. The equations of these planes are given by:

Π1:x+2y−z=4\Pi_1 : x + 2y - z = 4

Π2:3x−y+2z=1\Pi_2 : 3x - y + 2z = 1

Verify that a vector equation of LL is r=(032)+λ(3−5−7)\mathbf{r} = \begin{pmatrix} 0 \\ 3 \\ 2 \end{pmatrix} + \lambda \begin{pmatrix} 3 \\ -5 \\ -7 \end{pmatrix}, where λ∈R\lambda \in \mathbb{R}.

[3]
(b)

The drone's home base is located at the origin (0,0,0)(0,0,0). Find the coordinates of the point P on the flight path LL that is nearest to the origin.

[5]

Question 12

HardPaper 2 · calculator20 marks
(a)

Two drones, Drone X and Drone Y, have position vectors with respect to an origin O given respectively by

rX=(10−22)+t(−413)\boldsymbol{r}_X = \begin{pmatrix} 10 \\ -2 \\ 2 \end{pmatrix} + t \begin{pmatrix} -4 \\ 1 \\ 3 \end{pmatrix}

rY=(−1−29)+t(32−1)\boldsymbol{r}_Y = \begin{pmatrix} -1 \\ -2 \\ 9 \end{pmatrix} + t \begin{pmatrix} 3 \\ 2 \\ -1 \end{pmatrix}

where tt represents the time in minutes and 0≤t≤30 \le t \le 3.

Entries in each column vector give the displacement east of O, the displacement north of O and the distance above sea level, all measured in kilometres.

(a) Find the three-figure bearing on which Drone Y is travelling.

[2]
(b)

(b) Show that Drone X travels at a greater speed than Drone Y.

[2]
(c)

(c) Find the acute angle between the two drones' lines of flight. Give your answer in degrees.

[4]
(d)(i)

The two drones' lines of flight cross at point P.

(d) (i) Find the coordinates of P.

[5]
(d)(ii)

(ii) Determine the length of time between the first drone arriving at P and the second drone arriving at P.

[2]
(e)

(e) Let D(t)D(t) represent the distance between Drone X and Drone Y for 0≤t≤30 \le t \le 3.

Find the minimum value of D(t)D(t).

[5]

Question 13

MediumPaper 2 · calculator6 marks
(a)

A geological survey is being conducted in a mountainous region. Three sensor stations, A, B, and C, are set up at different locations. Their coordinates, relative to a central reference point (in meters), are given as:

Station A: (1,2,3)(1, 2, 3)

Station B: (4,5,6)(4, 5, 6)

Station C: (7,2,1)(7, 2, 1)

(a) Find the distance between Station A and Station B.

[2]
(b)

(b) Find the size of the angle ABC \text{ABC} (the angle at Station B).

[4]

Question 14

HardPaper 2 · calculator9 marks
(a)

(a) A deep-sea submersible is navigating a complex underwater current system. Its primary thruster provides a force vector FA=(9−12)\mathbf{F_A} = \begin{pmatrix} 9 \\ -12 \end{pmatrix} N. It is also affected by a secondary current, which exerts a force FB\mathbf{F_B} with a magnitude of 10 N.

Find the possible range of values for the magnitude of the resultant force ∣FA+FB∣|\mathbf{F_A} + \mathbf{F_B}|.

[2]
(b)

(b) Given that the magnitude of the resultant force ∣FA+FB∣|\mathbf{F_A} + \mathbf{F_B}| is a minimum, find the resultant force vector.

[2]
(c)

(c) A third, unknown current exerts a force FC=(xy)\mathbf{F_C} = \begin{pmatrix} x \\ y \end{pmatrix} N, where x,y∈R+x, y \in \mathbb{R}^+. Find FC\mathbf{F_C} such that its magnitude is equal to the magnitude of FB\mathbf{F_B} and it acts perpendicularly to FA\mathbf{F_A}.

[5]

Question 15

MediumPaper 2 · calculator18 marks
(a)

Two automated guided vehicles (AGVs), AGV-1 and AGV-2, are moving along straight paths in a 3D warehouse. The path of AGV-1 is given by the vector equation r1=(14−1)+s(112)\mathbf{r}_1 = \begin{pmatrix} 1 \\ 4 \\ -1 \end{pmatrix} +s\begin{pmatrix} 1 \\ 1 \\ 2 \end{pmatrix} where s∈Rs\in \mathbb{R}.

The path of AGV-2 is given by the vector equation r2=(542)+t(3−11)\mathbf{r}_2 = \begin{pmatrix} 5 \\ 4 \\ 2 \end{pmatrix} +t\begin{pmatrix} 3 \\ -1 \\ 1 \end{pmatrix} where t∈Rt\in \mathbb{R}.

All coordinates are in meters.

(a) Show that the paths of AGV-1 and AGV-2 intersect at a point P and find the position vector of P.

[5]
(b)

(b) A safety sensor plane Π\Pi is installed in the warehouse. The plane is given by the equation r⋅(35−4)=27\mathbf{r}\cdot \begin{pmatrix} 3 \\ 5 \\ -4 \end{pmatrix} =27. Verify that the paths of both AGV-1 and AGV-2 lie entirely within this safety sensor plane Π\Pi.

[3]
(c)(i)

(c) An emergency charging station is located at point Q with position vector (1−24)\begin{pmatrix} 1 \\ -2 \\ 4 \end{pmatrix}.

(i) A charging drone is dispatched from Q and travels along a path perpendicular to the plane Π\Pi. This drone lands on the plane Π\Pi at point R. Find the position vector of R.

[4]
(c)(ii)

(ii) Calculate the shortest distance from the emergency charging station Q to the safety sensor plane Π\Pi.

[3]
(d)

(d) Due to a system malfunction, AGV-1 needs to be redirected to a virtual point Q' which is the reflection of the emergency charging station Q in the plane Π\Pi. Find the position vector of Q'.

[3]

Question 16

HardPaper 2 · calculator13 marks
(a)

Two drones, Drone Alpha and Drone Beta, are flying in a 3D space. At a particular instant, Drone Alpha passes through point A(1,2,3)A(1, 2, 3) and then point B(5,0,1)B(5, 0, 1).

(a) Find a vector equation of the line representing Drone Alpha's path.

[3]
(b)

At the same instant, Drone Beta passes through point C(2,−1,4)C(2, -1, 4) and then point D(0,3,2)D(0, 3, 2).

(b) Find a vector equation of the line representing Drone Beta's path.

[3]
(c)

(c) Hence, or otherwise, find the shortest distance between the paths of Drone Alpha and Drone Beta.

[7]

Question 17

MediumPaper 1 · no calculator9 marks
(a)

The vectors u\mathbf{u} and v\mathbf{v} are given by u=(kkrkr2)\mathbf{u} = \begin{pmatrix} k \\ kr \\ kr^2 \end{pmatrix} and v=(kr2krk)\mathbf{v} = \begin{pmatrix} kr^2 \\ kr \\ k \end{pmatrix}, where k,r∈R+k, r \in \mathbb{R}^+.

Show that cos⁡θ=3r21+r2+r4\cos\theta = \frac{3r^2}{1+r^2+r^4}, where θ\theta is the angle between u\mathbf{u} and v\mathbf{v}.

[5]
(b)

Given that the angle between u\mathbf{u} and v\mathbf{v} is 60∘60^\circ, find the possible values of r2r^2.

[4]

Question 18

HardPaper 1 · no calculator11 marks
(a)

A plane Π\Pi has the Cartesian equation x+3y−2z=5x + 3y - 2z = 5. A point B has coordinates (1,0,4)(1, 0, 4).

(a) Find the vector equation of the line LL that passes through the point B and is perpendicular to the plane Π\Pi.

[2]
(b)

(b) Find the coordinates of the point of intersection, N, of the line LL and the plane Π\Pi. Hence, find the exact distance between the point B and the plane Π\Pi.

[5]
(c)

(c) The point P has coordinates (x0,y0,z0)(x_0, y_0, z_0).

Show that the distance between the point P and the plane Π\Pi is given by

∣x0+3y0−2z0−5∣14\frac{|x_0 + 3y_0 - 2z_0 - 5|}{\sqrt{14}}

[4]

Question 19

MediumPaper 2 · calculator5 marks

(a) Two unit vectors, a⃗\vec{a} and b⃗\vec{b}, represent the directions of two different forces. A resulting force F1⃗\vec{F_1} is given by 2a⃗+5b⃗2\vec{a} + 5\vec{b}, and another resulting force F2⃗\vec{F_2} is given by 3a⃗−b⃗3\vec{a} - \vec{b}. Given that F1⃗\vec{F_1} and F2⃗\vec{F_2} are perpendicular, find the angle between the unit vectors a⃗\vec{a} and b⃗\vec{b}. Give your answer correct to one decimal place.

Question 20

HardPaper 2 · calculator15 marks
(a)

A laser beam is modelled by the line LL with equation r⃗=(12−1)+λ(10−2)\vec{r} = \begin{pmatrix} 1 \\ 2 \\ -1 \end{pmatrix} + \lambda \begin{pmatrix} 1 \\ 0 \\ -2 \end{pmatrix}. The beam strikes a flat mirror surface, which lies on the plane Π\Pi with equation 2x−y+3z=52x - y + 3z = 5.

(a) Find the coordinates of the point where the laser beam hits the mirror.

[4]
(b)

(b) Determine the acute angle between the laser beam and the mirror surface.

[4]
(c)

(c) Find the vector equation of the reflected laser beam.

[7]

5 more Scalar product of two vectors (+ angle between two vectors) questions in the app

Every answer is marked mark by mark, IB-style, and the AI tutor helps when you are stuck.

Where marks are lost

  • Using your own wrong value after failing a "show that".
Free. Every IB subject.
No card, no trial that runs out. Just a free account.
  • 50 marked answers a month
    Marked mark by mark, IB-style
  • Hints and mark schemes
    On every part of every question
  • 3,000+ questions
    All 6 subjects, SL and HL, mapped to the syllabus
  • Progress that adapts
    Your Study Profile picks what to practise next

Practise this topic as a session

Pick a difficulty and paper, and FourtyFive tracks your progress on this topic as you go.

or with email
FAQ

Questions,
answered.

Can't find what you're looking for? Email our student team.

What does Scalar product of two vectors (+ angle between two vectors) cover in IB Maths AA?

The scalar product (dot product) of two vectors yields a scalar value. It can be calculated algebraically (v_1w_1 + v_2w_2 + v_3w_3) or geometrically (|boldsymbolv||boldsymbolw|boldsymbolcosθ). The angle θ between vectors is found using boldsymbolcosθ = fracboldsymbolv boldsymbol· boldsymbolw|boldsymbolv||boldsymbolw|.

Is Scalar product of two vectors (+ angle between two vectors) SL or HL?

Scalar product of two vectors (+ angle between two vectors) is HL only. SL students are not examined on it.

How do I revise Scalar product of two vectors (+ angle between two vectors) for IB Maths AA?

Start from the core idea: the scalar product (dot product) of two vectors yields a scalar value. In the exam: finding an angle, or finding the value of a parameter that makes two vectors perpendicular, are the two standard questions and both are short. The angle comes out in radians unless the question says degrees. Then practise exam-style questions, easiest first, writing out every step of your working before you check it.

How does FourtyFive help me practise Scalar product of two vectors (+ angle between two vectors)?

FourtyFive has 25 Scalar product of two vectors (+ angle between two vectors) questions. Every answer you write is marked mark by mark, IB-style, and you see where each mark was won or lost. Every part has a hint, the AI tutor helps you through the step you are stuck on, and your Study Profile picks what to practise next.

Is FourtyFive free for Scalar product of two vectors (+ angle between two vectors) practice?

Yes. A free account gives you 50 marked answers a month, and you do not need a card to sign up.

Can I handwrite Scalar product of two vectors (+ angle between two vectors) answers on an iPad?

Yes. In the FourtyFive iPad app you write your working by hand with Apple Pencil, the way you would on paper, and it is marked the same way.

Start with the IB question
bank built for you.

Free to start, no card needed. Thousands of syllabus-mapped questions, AI Examiner marking, your weakest topics first.