Skip to content
  1. IB Question Bank
  2. Maths AI
  3. Geometry & Trigonometry
Topic 3.01 · SL and HL

Distance between two points, midpoint (up to 3d), angle between two lines: notes and practice questions

Summary
  • 2D Distance between points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2): d=(x1−x2)2+(y1−y2)2d = \sqrt{(x_1 - x_2)^2 + (y_1 - y_2)^2}
  • 2D Midpoint of points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2): (x1+x22,y1+y22)\left( \frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2} \right)
  • 2D Gradient of a line segment: m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}
  • 3D Distance between points (x1,y1,z1)(x_1, y_1, z_1) and (x2,y2,z2)(x_2, y_2, z_2): d=(x1−x2)2+(y1−y2)2+(z1−z2)2d = \sqrt{(x_1 - x_2)^2 + (y_1 - y_2)^2 + (z_1 - z_2)^2}
  • 3D Midpoint of points (x1,y1,z1)(x_1, y_1, z_1) and (x2,y2,z2)(x_2, y_2, z_2): (x1+x22,y1+y22,z1+z22)\left( \frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}, \frac{z_1 + z_2}{2} \right)
  • Angle θ\theta between two lines with direction vectors aa and bb (HL): cos⁡θ=a⋅b∣a∣∣b∣\cos \theta = \frac{a \cdot b}{|a||b|}
  • To find the acute angle between two lines (HL): cos⁡θ=∣a⋅b∣∣a∣∣b∣\cos \theta = \frac{|a \cdot b|}{|a||b|}
  • Ensure GDC is in the correct angle mode (degrees or radians) for inverse cosine calculations.

How it is examined

A reliable early question on both SL papers, usually a composite solid where the student finds a volume, then a surface area, then an angle. Because the formulas are in the booklet, the marks are for picking the right solid, decomposing the shape, and identifying the right-angled triangle inside it. The restriction to right-angled trigonometry in 3D at SL is the line to hold when writing questions.

Given in the booklet

The distance between two points in three dimensions, the coordinates of the midpoint, and the volume and surface area formulas for the right-pyramid, right cone, sphere and hemisphere. This is a real difference from AA, where students recall more of these.

Key ideas
  • The distance between two points in three-dimensional space, and their midpoint.
  • The volume and surface area of three-dimensional solids including the right-pyramid, right cone, sphere, hemisphere, and combinations of these solids.
  • The size of an angle between two intersecting lines, or between a line and a plane.

Linking questions

  • Other contexts: architecture and design.
  • Links to other subjects: design technology; volumes of stars and the inverse square law (physics).
  • TOK: what is an axiomatic system? Are axioms self evident to everybody?

Practice questions

38 questions · 28 medium · 10 hard
Showing 20 of 20

Question 1

MediumPaper 1 · calculator10 marks
(a)

A high-tech drone is launched from a control tower at coordinates (1.5, 2.0, 0.8) relative to the base of the tower at the origin O. The x direction is due east, the y direction is due north, and the z direction is vertically upwards.

All distances are measured in kilometres.

The drone travels with a constant velocity, and its direction of travel is given by the vector (−1−2−0.4)\begin{pmatrix} -1 \\ -2 \\ -0.4 \end{pmatrix}.

Assuming the drone travels in a straight line, write down an equation for the line along which it travels.

[2]
(b)(i)

The drone is programmed to land on a designated pad at ground level (where z=0z=0 ).

(i) Find the value of the parameter λ\lambda when the drone reaches ground level.

[2]
(b)(ii)

The drone is programmed to land on a designated pad at ground level (where z=0z=0 ).

(ii) Determine the coordinates of the landing pad.

[3]
(c)

Calculate the distance the drone travels from its initial position to the landing pad.

[3]

Question 2

HardPaper 1 · calculator9 marks
(a)

Three emergency service hubs are located at coordinates F1 (2, 5), P1 (10, 5), and H1 (10, 15), where distances are measured in kilometers. A central dispatch unit needs to be built at a location equidistant from these three hubs. This location is a vertex of the Voronoi diagram formed by the hubs.

Write down the coordinates of this central dispatch unit.

[1]
(b)

Find the equation of the perpendicular bisector of the segment connecting F1 (2, 5) and H1 (10, 15).

[3]
(c)(i)

A new emergency hub, S1 (4, 8), is established, and the Voronoi diagram is redrawn. Several potential locations for a new drone charging station are at the vertices of this updated diagram. The coordinates of four such vertices are given as V_alpha (6, 10), V_beta (6, 4.5), V_gamma (8.75, 10), and V_delta (22328\frac{223}{28}, 597\frac{59}{7}). The drone charging station should be built at the vertex that is as far as possible from its nearest emergency service hub.

By calculating appropriate distances, find the location of the drone charging station.

[4]
(c)(ii)

Hence, write down the distance of the drone charging station to the nearest emergency service hub.

[1]

Question 3

MediumPaper 1 · calculator5 marks
(a)

A team of geologists is mapping underground rock formations using a 3D coordinate system. The x and y axes represent horizontal distances across the surface, and the z-axis represents depth below the surface (with positive z indicating deeper). However, for this particular survey, the z-axis is set to represent altitude above a reference point, so positive z means higher.

Two key geological markers, P and Q, have been identified. Marker P is located at coordinates (100, 20, 50) and Marker Q is at (40, 60, 290). All coordinates are given in metres.

(a) Find the straight-line distance between Marker P and Marker Q.

[2]
(b)

A new sensor, S, is to be installed exactly halfway between Marker P and Marker Q.

(b) Find the coordinates of the sensor S.

[2]
(c)

(c) Write down the altitude of the sensor S, in metres, above the reference point.

[1]

Question 4

HardPaper 1 · calculator8 marks
(a)

A botanical garden features a winding path for visitors. The path can be modelled by the function f(x)=x3−3x2−9x+5f(x) = x^3 - 3x^2 - 9x + 5. All distances in the garden are in kilometres.

A new straight maintenance path needs to be constructed. This path will start at point P on the visitor path, which has coordinates (2,−17)(2, -17).

(a) Using your graphic display calculator, find the value of f′(2)f'(2).

[2]
(b)

(b) Find the equation of the line normal to f(x)f(x) at point P.

[2]
(c)

(c) The maintenance path connects point P to another point Q on the visitor path, where the normal line intersects the path again. For safety regulations, point Q must have a positive x-coordinate. Determine the length of this new maintenance path.

[4]

Question 5

MediumPaper 1 · calculator4 marks
(a)

A drone takes off from a launch pad located at the origin O(0, 0, 0) of a coordinate system. It flies in a straight line to a target destination T with coordinates (5.0, 3.0, 7.0). All units are in metres.

(a) Calculate the total distance the drone travels from the launch pad to the target.

[2]
(b)

(b) Determine the angle of elevation of the drone's flight path from the horizontal ground.

[2]

Question 6

HardPaper 1 · calculator12 marks
(a)(i)

A drone is used for aerial surveying. It starts at a central hub (H).

(a)(i) From H, it flies 15 km on a bearing of 040° to survey point S1. From S1, it flies 10 km on a bearing of 170° to survey point S2.

Determine the interior angle HS1S2.

[3]
(a)(ii)

(a)(ii) Determine the distance from S2 back to H.

[3]
(a)(iii)

(a)(iii) Determine the bearing the drone must use to travel directly from S2 to H.

[4]
(b)

(b) The drone's mission also includes a final delivery point D, such that S1S2DH forms a parallelogram. Write down the distance between point D and point H. Justify your answer.

[2]

Question 7

MediumPaper 1 · calculator7 marks
(a)

Two historical landmarks are located at points A(4, 10) and B(16, 2) on a coordinate map. A proposed new scenic path, represented by the line R with equation y=x−2y = x - 2, passes near these landmarks. A new visitor centre is to be built on this scenic path such that it is equidistant from both landmarks.

(a) Find the equation of the perpendicular bisector of the line segment [AB]. Give your equation in the form y=mx+cy = mx + c.

[5]
(b)

(b) Determine the coordinates of the point on the scenic path R where the visitor centre should be located.

[2]

Question 8

HardPaper 2 · calculator19 marks
(a)

(a) A space probe, 'Voyager Alpha', is launched from a space station. The position of the probe at time tt days after launch is given by the vector

r=(10205)+t(804010)\mathbf{r} = \begin{pmatrix} 10 \\ 20 \\ 5 \end{pmatrix} + t \begin{pmatrix} 80 \\ 40 \\ 10 \end{pmatrix}

Distances are measured in thousands of kilometres.

Find the position vector of the probe 33 days after launch.

[3]
(b)

(b) A second space probe, 'Explorer Beta', is launched from a different station. The position vector of this probe is given by the vector

s=(−50−300)+λ(705012)\mathbf{s} = \begin{pmatrix} -50 \\ -30 \\ 0 \end{pmatrix} + \lambda \begin{pmatrix} 70 \\ 50 \\ 12 \end{pmatrix}

Determine if the two flight paths intersect and, if so, state the point of intersection.

[5]
(c)

(c) The two probes were launched at the same time, so λ=t\lambda = t.

State, with a reason, whether the two probes actually collide.

[2]
(d)

(d) Calculate the distance between the two space stations (the initial launch points).

[3]
(e)

(e) Calculate the shortest distance that ever exists between the two probes and the time when this occurs. Assume t≥0t \ge 0 days.

[6]

Question 9

MediumPaper 1 · calculator9 marks
(a)

A surveillance drone D is flying with a constant velocity, v\boldsymbol{v}, measured in kilometres per hour, where

v=(8−6)\boldsymbol{v} = \begin{pmatrix} 8 \\ -6 \end{pmatrix}.

At time t=0t = 0 the drone is at a point A(50, 20) relative to an origin O, where distances are

measured in kilometres.

Find the position vector OD⃗\vec{OD} of the drone at time tt hours.

[1]
(b)

A protected bird's nest is located at a point N(99, 2).

Find the value of tt when the drone will be closest to the bird's nest.

[6]
(c)

An environmental sensor will trigger if the drone flies within 18 kilometres of the nest.

State whether the sensor will trigger. Give a reason for your answer.

[2]

Question 10

HardPaper 2 · calculator13 marks
(a)

(a) The position of a reconnaissance drone, relative to a control tower, is given by the vector equation r=(72)+t(−34)r = \begin{pmatrix} 7 \\ 2 \end{pmatrix} + t \begin{pmatrix} -3 \\ 4 \end{pmatrix}, where rr is the position vector in metres and tt is the time in minutes.

Write down the position vector of the drone when t=0t = 0 and when t=1t = 1.

[2]
(b)

(b) Calculate the speed of the drone.

[3]
(c)

(c) Find an expression for the distance of the drone from the origin at time tt.

[3]
(d)

(d) Hence find the minimum distance of the drone from the origin and the time at which it occurs.

[5]

Question 11

MediumPaper 1 · calculator5 marks
(a)

Three environmental sensor stations are located at S1(15, 40), S2(5, 25), and S3(30, 30) according to a local coordinate system, where distances are measured in kilometers.

A new construction site is planned at position C(22, 35).

Coordinate system with points S1, S2, S3, C plotted

Find the distance between the construction site C and sensor station S1.

[2]
(b)

On a particular day, the mean PM2.5 levels recorded at sensor stations S1, S2, and S3 are 28 μ\mug/m3^3, 35 μ\mug/m3^3, and 20 μ\mug/m3^3 respectively.

Use nearest neighbour interpolation to estimate the PM2.5 level at the construction site C on that particular day.

[3]

Question 12

HardPaper 2 · calculator14 marks
(a)

A drone A takes off from a control tower at 10:00. It flies north-east at a horizontal speed of 702 kmh−170\sqrt{2} \text{ kmh}^{-1} and climbs at a rate of 3 kmh−13 \text{ kmh}^{-1}. At 10:00, it is at a height of 5 km5 \text{ km} directly above the control tower.

Find an expression for the displacement of drone A from the control tower at time tt hours after 10:00. Assume the control tower is at the origin (0,0,0) and the positive y-axis points North, and the positive x-axis points East.

[3]
(b)

At 10:30, a second drone B is 12 km12 \text{ km} directly above the control tower. It flies on a bearing of 300∘300^\circ at a horizontal speed of 80 kmh−180 \text{ kmh}^{-1} and descends at a rate of 2 kmh−12 \text{ kmh}^{-1}.

Find an expression for the displacement of drone B from the control tower tt hours after 10:00.

[4]
(c)

Find the distance the two drones are apart when they have the same height.

[7]

Question 13

MediumPaper 1 · calculator7 marks
(a)

Relative to a central command station, two space probes, P and Q, have positions (3.5,6.2,1.8)(3.5, 6.2, 1.8) and (2.1,7.5,2.3)(2.1, 7.5, 2.3) respectively, where the units of measurement are in millions of kilometres.

Find the distance between the two space probes.

[3]
(b)

Determine which of the space probes is closer to the central command station.

[4]

Question 14

HardPaper 2 · calculator15 marks
(a)

A geological survey team is setting up sensors in a remote area. A map of the area is represented on the following coordinate axes.

Three sensor locations are positioned at S1(0,10)S_1(0, 10), S2(16,14)S_2(16, 14) and S3(16,0)S_3(16, 0).

All measurements are in kilometres.

A coordinate plane with points S1(0,10), S2(16,14), S3(16,0) plotted and connected to form a triangle. The x-axis is labeled 'Distance East (km)' from 0 to 18. The y-axis is labeled 'Distance North (km)' from 0 to 16.

(a) Write down the distance between S2S_2 and S3S_3.

[1]
(b)

(b) Calculate the distance between S1S_1 and S2S_2.

[2]
(c)

(c) A geological team member is at sensor S2S_2 and needs to walk directly to sensor S1S_1. Calculate the bearing of S1S_1 from S2S_2.

[3]
(d)(i)

A communication relay station is to be installed at a point that is an equal distance from each of the sensors at S1S_1, S2S_2, and S3S_3.

(i) Write down the gradient of the line segment [S1S3][S_1S_3].

[1]
(d)(ii)

(ii) Write down the coordinates of the midpoint of the line segment [S1S3][S_1S_3].

[2]
(d)(iii)

(iii) Hence, calculate the coordinates of the communication relay station.

[6]

Question 15

MediumPaper 1 · calculator8 marks
(a)

A drone is flying between two observation towers. Tower A is located at coordinates (−4,10)(-4, 10) and Tower B is located at coordinates (6,2)(6, 2). The drone's flight path is a straight line segment AB. The drone needs to refuel at a station located exactly halfway along its flight path.

Find the coordinates of the refueling station.

[2]
(b)

Let L1L_1 be the line representing the drone's flight path from Tower A to Tower B.

Find the gradient of L1L_1.

[2]
(c)(i)

A security laser beam, L2L_2, is emitted from the refueling station and is designed to be perpendicular to the drone's flight path.

Write down the gradient of L2L_2.

[1]
(c)(ii)

Find the equation of L2L_2. Give your answer in the form y=mx+cy = mx + c.

[3]

Question 16

HardPaper 2 · calculator15 marks
(a)

A drone delivery service operates from three main hubs, P, Q, and R, whose locations are represented on a coordinate plane. All measurements are in kilometres.

Hub P is at (0,10)(0, 10), Hub Q is at (8,14)(8, 14), and Hub R is at (8,2)(8, 2).

A coordinate plane showing points P(0,10), Q(8,14), R(8,2) and grid lines. Point P is at (0,10), Q at (8,14), R at (8,2). Lines connect P to Q, P to R, and Q to R. The x-axis is labeled 'East (km)' from 0 to 10. The y-axis is labeled 'North (km)' from 0 to 15.

Write down the distance between Hub Q and Hub R.

[1]
(b)

Calculate the distance between Hub P and Hub Q.

[2]
(c)

A drone is at Hub Q and needs to fly directly to Hub P. Calculate the bearing of P from Q.

[3]
(d)(i)

A central charging station is to be built at a location equidistant from Hubs P, Q, and R.

Write down the gradient of the line segment [PR].

[1]
(d)(ii)

Find the coordinates of the midpoint of [PR].

[2]
(d)(iii)

Hence calculate the coordinates of the central charging station.

[6]

Question 17

MediumPaper 1 · calculator5 marks
(a)

A geological survey team is establishing a network of sensor stations in a remote volcanic region. These stations are connected by automated drone routes for data collection. The coordinates of the stations are given in kilometres relative to a central base camp.

The coordinates of the Base Camp (A) are (0,0,0)(0, 0, 0).

Observation Post 1 (B) is located at (600,300,200)(600, 300, 200).

Observation Post 2 (C) is located at (1000,800,600)(1000, 800, 600).

(a) Determine the distance a drone travels from the Base Camp (A) to Observation Post 1 (B).

[2]
(b)

(b) For a drone to reach Observation Post 2 (C), it must first travel from the Base Camp (A) to Observation Post 1 (B), and then take a separate route from B to C.

Determine the total distance covered by a drone travelling from the Base Camp (A) to Observation Post 2 (C) via Observation Post 1 (B). Give your answer to three significant figures.

[3]

Question 18

HardPaper 2 · calculator15 marks
(a)

The 'EcoPack' company designs sustainable packaging. They produce a standard closed rectangular storage container with a length of 1010 cm, a width of 66 cm, and a height of 44 cm. The information is shown in the diagram.

A diagram of a rectangular box with dimensions 10cm length, 6cm width, and 4cm height. Vertices are labeled A, B, C, D, E, F, G, H.

Calculate the surface area of the container in cm2^2.

[2]
(b)

(b) Calculate the length of the longest internal diagonal of the container.

[2]
(c)

(c) Each week, EcoPack sells xx thousand containers. It is known that dPdx=−3x+300\frac{dP}{dx} = -3x+300, for x≥0x \ge 0, where PP is the weekly profit, in dollars, from the sale of xx thousand containers.

Find the number of containers that should be sold each week to maximize the profit.

[3]
(d)

(d) The profit from the sale of 3000030000 containers is $2500.

Find P(x)P(x).

[5]
(e)

(e) Find the least number of containers which must be sold each week in order to make a profit.

[3]

Question 19

MediumPaper 1 · calculator8 marks
(a)

A remote research station, R, located at coordinates (100,150)(100, 150), requires supplies to be dropped off at a point along a straight supply route, S. The supply route S can be modelled by the equation y=−x+200y = -x + 200. All coordinates are given in kilometres.

To minimize travel time for the delivery drone, the drop-off point, D, must be the point on the supply route closest to the research station.

Graph showing research station R and supply route S

Determine the coordinates of D, the optimal supply drop-off point.

[6]
(b)

Find the distance between the research station R and the optimal drop-off point D.

[2]

Question 20

HardPaper 2 · calculator17 marks
(a)

A deep-sea research submersible, 'Nautilus', is being tracked relative to an underwater research station, 'Triton Base'. The coordinates (x,y,z)(x, y, z) represent the submersible's displacement in kilometres, where xx is east, yy is north, and zz is vertical displacement (positive upwards, so negative for depths below sea level).

At 10:00 AM, the submersible is detected at a position 60 km east and 24 km north of Triton Base, and at a depth of 15 km below sea level. Its velocity is given as (−120−48−10)\begin{pmatrix} -120 \\ -48 \\ -10 \end{pmatrix} kmh−1^{-1}. Let tt be the length of time in hours from 10:00 AM.

Write down a vector equation for the displacement, r⃗\vec{r}, of the submersible in terms of tt.

[2]
(b)(i)

If the submersible continued to travel with the given velocity,

verify that it would pass directly over Triton Base (the point (0,0,0)(0,0,0));

[4]
(b)(ii)

state the depth of the submersible at this point;

[1]
(b)(iii)

find the time at which it would pass directly over Triton Base.

[1]
(c)(i)

When the submersible is at a depth of 18 km below sea level, it continues to move horizontally on the same bearing but adjusts its vertical velocity so that it will dock precisely at Triton Base (0,0,0)(0,0,0).

Find the time at which the submersible is at a depth of 18 km below sea level.

[3]
(c)(ii)

Find the direct distance of the submersible from Triton Base at this point.

[3]
(d)

Given that the velocity of the submersible, after the adjustment of the vertical velocity, is (−120−48a)\begin{pmatrix} -120 \\ -48 \\ a \end{pmatrix} kmh−1^{-1}, find the value of aa.

[3]

18 more Distance between two points, midpoint (up to 3d), angle between two lines 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

  • Leaving an answer in calculator notation. Never accepted in a final answer, and AI's constant calculator use makes this the easiest slip in the whole subject.
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 Distance between two points, midpoint (up to 3d), angle between two lines cover in IB Maths AI?

2D Distance between points (x_1, y_1) and (x_2, y_2): d = √(x_1 - x_2)^2 + (y_1 - y_2)^2. 2D Midpoint of points (x_1, y_1) and (x_2, y_2): ( (x_1 + x_2)/(2), (y_1 + y_2)/(2) ). 2D Gradient of a line segment: m = (y_2 - y_1)/(x_2 - x_1).

Is Distance between two points, midpoint (up to 3d), angle between two lines SL or HL?

Both. SL and HL students study Distance between two points, midpoint (up to 3d), angle between two lines to the same depth.

How do I revise Distance between two points, midpoint (up to 3d), angle between two lines for IB Maths AI?

Start from the core idea: 2D Distance between points (x_1, y_1) and (x_2, y_2): d = √(x_1 - x_2)^2 + (y_1 - y_2)^2. In the exam: a reliable early question on both SL papers, usually a composite solid where the student finds a volume, then a surface area, then an angle. Because the formulas are in the booklet, the marks are for picking the right solid, decomposing the shape, and identifying the right-angled triangle inside it. Then practise exam-style questions, easiest first, writing out every step of your working before you check it.

How does FourtyFive help me practise Distance between two points, midpoint (up to 3d), angle between two lines?

FourtyFive has 38 Distance between two points, midpoint (up to 3d), angle between two lines 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 Distance between two points, midpoint (up to 3d), angle between two lines 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 Distance between two points, midpoint (up to 3d), angle between two lines 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.