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

Vector equations of a line in 2D & 3D (different forms too): notes and practice questions

Summary
  • A vector equation of a line defines a path using a starting position and a direction.
  • Position Vector: Describes a point's location relative to the origin.
  • Direction Vector: Represents the line's direction (like a gradient).
  • **Scalar Parameter (λ\lambda or μ\mu):** Multiplier for the direction vector to reach any point on the line.
  • Vector Form:

r=a+λb r = a + \lambda b
where rr is a general point, aa is a fixed point on the line, and bb is the direction vector.

  • Equation from Two Points:

Given position vectors of two points aa and bb on the line:
r=a+λ(b−a) r = a + \lambda(b - a)

  • Parametric Form:

If a=(a1,a2,a3) a = (a_1, a_2, a_3) and b=(b1,b2,b3) b = (b_1, b_2, b_3) :
x=a1+λb1 x = a_1 + \lambda b_1
y=a2+λb2 y = a_2 + \lambda b_2
z=a3+λb3 z = a_3 + \lambda b_3

  • Determining if a Point Lies on a Line: Substitute the point's coordinates into the parametric equations; if a single value of λ\lambda satisfies all components, the point lies on the line.
  • Finding the Angle Between Two Lines (HL):

For direction vectors b1b_1 and b2b_2, the acute angle θ\theta is given by:
cos⁡θ=∣b1⋅b2∣∣b1∣∣b2∣ \cos \theta = \frac{|b_1 \cdot b_2|}{|b_1||b_2|}

  • Shortest Distance from a Point to a Line (HL):

1. Let the external point be A and a general point on the line be B (in terms of λ\lambda).
2. Find the displacement vector AB⃗\vec{AB}.
3. Set the scalar product AB⃗⋅b=0\vec{AB} \cdot b = 0 (where bb is the line's direction vector).
4. Solve for λ\lambda.
5. Substitute λ\lambda back into AB⃗\vec{AB} and calculate ∣AB⃗∣|\vec{AB}| for the distance.

  • GDC Tips: Use GDC's system solver for intersecting lines by equating parametric components (using λ\lambda and μ\mu). Column vectors are recommended for GDC input.

How it is examined

Short on its own, and normally the setup for AHL 3.12 or for an angle question at AHL 3.13. Note that the direction vector is not unique, so a mark scheme must accept any scalar multiple, and the position vector can be any point on the line. That makes automated marking of "write down a vector equation" harder than it looks.

Given in the booklet

The vector equation of a line and its parametric form.

Key ideas

The vector equation of a line in two and three dimensions, r=a+λb\boldsymbol{r} = \boldsymbol{a} + \lambda\boldsymbol{b}, where b\boldsymbol{b} is a direction vector of the line.

Linking questions

  • TOK: mathematics and the knower. Why are symbolic representations of three-dimensional objects easier to deal with than visual ones? What does that tell us about our knowledge of mathematics in other dimensions?

Practice questions

19 questions · 1 easy · 11 medium · 7 hard
Showing 19 of 19

Question 1

EasyPaper 1 · calculator5 marks
(a)

Consider line L1L_{1} with the vector equation r=(152)+t(124)r = \begin{pmatrix} 1 \\ 5 \\ 2 \end{pmatrix} + t\begin{pmatrix} 1 \\ 2 \\ 4 \end{pmatrix}.

aa Check if point A(4,11,14)(4,11,14) passes through line L1L_{1}.

[3]
(b)

Consider line L2L_{2} with the vector equation r=(23−4)+μ(149)r = \begin{pmatrix} 2 \\ 3 \\ - 4 \end{pmatrix} + \mu\begin{pmatrix} 1 \\ 4 \\ 9 \end{pmatrix}.

bb Determine a vector perpendicular to both lines L1L_{1} and L2L_{2}.

[2]

Question 2

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 3

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 4

MediumPaper 1 · calculator7 marks
(a)

The paths of two automated guided vehicles (AGVs), L1L_1 and L2L_2, in a large warehouse are modelled by the following vector equations, where k∈Rk\in\mathbb{R} is a constant:

L1:r=(1 2 3)+λ(k 5 −6)L_1:\boldsymbol{r}=\begin{pmatrix} 1 \ 2 \ 3 \end{pmatrix} + \lambda \begin{pmatrix} k \ 5 \ -6 \end{pmatrix}

L2:r=(10 −1 8)+μ(k+2 3 5)L_2: \boldsymbol{r} = \begin{pmatrix} 10 \ -1 \ 8 \end{pmatrix} + \mu \begin{pmatrix} k+2 \ 3 \ 5 \end{pmatrix}

It is known that the paths of the AGVs are perpendicular.

(a) Find the possible value(s) for kk.

[3]
(b)

(b) In the case that k<0k < 0, determine whether the lines intersect.

[4]

Question 5

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 6

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 7

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 8

MediumPaper 1 · calculator5 marks
(a)

At 10:00 am, a reconnaissance drone is located 2 km East and 6 km North of a central control tower. A coordinate system is established with the control tower at the origin. The drone maintains a constant velocity of (−0.8−1.2)\begin{pmatrix} -0.8 \\ -1.2 \end{pmatrix} kilometres per hour (km h−1^{-1}), where the components represent velocity in the East-West and North-South directions, respectively.

Write down an expression for the position vector r\mathbf{r} of the drone, tt hours after 10:00 am.

[1]
(b)

Find the time at which the bearing of the drone from the control tower is 180°.

[4]

Question 9

HardPaper 2 · calculator15 marks
(a)

The position of a drone, D1_1, tt seconds after leaving a control tower T, is given by

r=(351)+t(−234)\mathbf{r} = \begin{pmatrix} 3 \\ 5 \\ 1 \end{pmatrix} + t \begin{pmatrix} -2 \\ 3 \\ 4 \end{pmatrix}, t≥0t \ge 0.

The units of distance are metres.

Write down the coordinates of the control tower T.

[1]
(b)(i)

Four seconds after leaving T, D1_1 is at point P.

Find the displacement vector TP⃗\vec{\text{TP}}.

[2]
(b)(ii)

Find the distance ∣TP⃗∣|\vec{\text{TP}}|.

[2]
(c)

A second drone, D2_2, leaves the control tower T at the same time as D1_1. D2_2 is moving in the direction of the vector (1−12)\begin{pmatrix} 1 \\ -1 \\ 2 \end{pmatrix}.

Find the angle between the initial flight paths of Drone 1 and Drone 2.

[5]
(d)

The drone D2_2 has a speed of 1010 m s−1^{-1}.

Find the distance between Drone 1 and Drone 2 when t=4t = 4 seconds.

[5]

Question 10

MediumPaper 1 · calculator7 marks
(a)

A civil engineer is designing a new road. A preliminary section of the road is modelled by a straight line with equation y=kx+dy = kx + d.

Find the vectors a\mathbf{a} and b\mathbf{b} such that the equation of the line can be expressed in vector form r=a+λb\mathbf{r} = \mathbf{a} + \lambda \mathbf{b} in terms of kk and/or dd.

[2]
(b)

Before construction, a ground transformation is applied to the design. This transformation is described by the matrix T=(4263)T = \begin{pmatrix} 4 & 2 \\ 6 & 3 \end{pmatrix}.

Calculate the value of det⁡T\det T.

[1]
(c)

The preliminary road section y=kx+dy = kx + d (where k≠−2k \neq -2) undergoes the transformation described by matrix TT.

Show that the equation of the resulting transformed path does not depend on kk or dd.

[4]

Question 11

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]

Question 12

MediumPaper 1 · calculator7 marks
(a)

The flight path of drone A can be modelled by the vector equation rA=(15−2)+s(2−13)\boldsymbol{r}_A = \begin{pmatrix} 1 \\ 5 \\ -2 \end{pmatrix} + s \begin{pmatrix} 2 \\ -1 \\ 3 \end{pmatrix}, where s∈Rs \in \mathbb{R} represents time in minutes.

The flight path of drone B can be modelled by the vector equation rB=(103)+t(12−1)\boldsymbol{r}_B = \begin{pmatrix} 1 \\ 0 \\ 3 \end{pmatrix} + t \begin{pmatrix} 1 \\ 2 \\ -1 \end{pmatrix}, where t∈Rt \in \mathbb{R} represents time in minutes.

The two drones intersect at a point P. Find the coordinates of P.

[3]
(b)

Find the acute angle between the flight paths of the two drones.

[4]

Question 13

HardPaper 1 · calculator7 marks
(a)

A robotics engineer is programming a swarm of drones. The initial paths of the drones are given by a family of lines, LkL_k, with equation y=kx+(5−2k)y = kx + (5-2k), where kk is a real parameter and k≠−1.5k \neq -1.5.

A control signal applies a linear transformation to the coordinates of every drone, described by the matrix T=(32−6−4)T = \begin{pmatrix} 3 & 2 \\ -6 & -4 \end{pmatrix}.

The new path of a drone is the line Lk′L'_k.

(a) Find a vector equation for the line LkL_k in terms of kk.

[2]
(b)

(b) Find the determinant of TT.

[1]
(c)

(c) Show that all the drones will end up moving along the same path, by showing that the equation of the transformed line Lk′L'_k does not depend on kk.

[4]

Question 14

MediumPaper 1 · calculator7 marks
(a)

(a) A drone is programmed to fly along a straight path LL. Its position at time tt (in minutes) can be modelled by the vector equation r=(130)+t(112)\mathbf{r} = \begin{pmatrix} 1 \\ 3 \\ 0 \end{pmatrix} + t \begin{pmatrix} 1 \\ 1 \\ 2 \end{pmatrix}, where the coordinates are in metres. A stationary sensor SS is located at the point (10,4,4)(10, 4, 4).

Find the coordinates of the point PP on the drone's path that is closest to the sensor SS.

[4]
(b)

(b) Find a vector that is perpendicular to both the drone's path LL and the line segment connecting point PP to the sensor SS.

[3]

Question 15

HardPaper 2 · calculator9 marks
(a)

Two drones, Alpha and Beta, are flying in a designated airspace. Their positions at time tt hours, 0≤t<150 \le t < 15, are given by the position vectors rA=(1052)+t(−1−0.50.2)r_A = \begin{pmatrix} 10 \\ 5 \\ 2 \end{pmatrix} + t \begin{pmatrix} -1 \\ -0.5 \\ 0.2 \end{pmatrix} and rB=(211)+t(0.60.30.4)r_B = \begin{pmatrix} 2 \\ 1 \\ 1 \end{pmatrix} + t \begin{pmatrix} 0.6 \\ 0.3 \\ 0.4 \end{pmatrix} respectively, relative to a control tower (all lengths are in kilometres).

Show that the two drones would collide at a point P and write down the coordinates of P.

[4]
(b)

To avoid a collision, Drone Beta adjusts its velocity so that its position vector is now given by rB=(211)+t(0.30.150.2)r_B = \begin{pmatrix} 2 \\ 1 \\ 1 \end{pmatrix} + t \begin{pmatrix} 0.3 \\ 0.15 \\ 0.2 \end{pmatrix}.

Find the value of tt when Drone Beta, with its adjusted path, passes through point P.

[2]
(c)

Find the value of tt when the two drones (Drone Alpha and the adjusted Drone Beta) are closest together.

[2]
(d)

Find the distance between the two drones at this time.

[1]

Question 16

MediumPaper 2 · calculator9 marks
(a)

A drone, 'SkyRanger 1', is flying along a path that can be modelled by the line L1L_1 with equation r=(25−1)+t(3−24)\mathbf{r} = \begin{pmatrix} 2 \\ 5 \\ -1 \end{pmatrix} + t \begin{pmatrix} 3 \\ -2 \\ 4 \end{pmatrix}, where tt is a time parameter in minutes. A ground control station detects SkyRanger 1 at a specific point A with coordinates (−7,11,k)(-7, 11, k).

(a) Calculate the value of kk.

[3]
(b)

A second drone, 'AeroScout 2', is dispatched. Its flight path is modelled by the line L2L_2 with equation r=(−157u)+s(2pq)\mathbf{r} = \begin{pmatrix} -15 \\ 7 \\ u \end{pmatrix} + s \begin{pmatrix} 2 \\ p \\ q \end{pmatrix}, where ss is a time parameter in minutes. AeroScout 2 is designed to intercept SkyRanger 1 at point A and its path L2L_2 is perpendicular to the path of SkyRanger 1.

(b) Determine the values of pp, qq, and uu.

[6]

Question 17

MediumPaper 2 · calculator12 marks
(a)

A rectangular prism (cuboid) is used as a building block. It has one vertex at the origin O(0,0,0). Its dimensions are 6 units along the x-axis, 4 units along the y-axis, and 3 units along the z-axis. The vertices are given by O(0,0,0), A(6,0,0), B(6,4,0), C(0,4,0), D(0,0,3), E(6,0,3), F(6,4,3), and G(0,4,3).

Find the surface area of the cuboid.

[2]
(b)

Find the length of the space diagonal [OF].

[2]
(c)(i)

The space diagonals [OF] and [CE] intersect at the point M.

Find the coordinates of M.

[4]
(c)(ii)

Find the acute angle between the diagonals [OF] and [CE] at their intersection point M.

[4]

Question 18

MediumPaper 1 · calculator7 marks
(a)

(a) A reconnaissance drone is launched from a base station at point A(5,2,1)A(5, 2, 1) relative to an origin OO, where lengths are measured in metres and time, tt, is measured in seconds. It flies in a straight line with vector equation

r⃗=(521)+t(442)\vec{r} = \begin{pmatrix} 5 \\ 2 \\ 1 \end{pmatrix} + t \begin{pmatrix} 4 \\ 4 \\ 2 \end{pmatrix}

Find the speed of the reconnaissance drone (in m/s).

[2]
(b)

(b) A patrol drone is dispatched from a different location with position vector (−42937)\begin{pmatrix} -4 \\ 29 \\ 37 \end{pmatrix}, relative to OO. It flies with a constant velocity vector of (7−5−10)\begin{pmatrix} 7 \\ -5 \\ -10 \end{pmatrix} to intercept the reconnaissance drone.

Write down the vector equation for p⃗\vec{p}, that models the flight of the patrol drone.

[1]
(c)

(c) Find the position vector at which the patrol drone intercepts the reconnaissance drone.

[4]

Question 19

MediumPaper 2 · calculator14 marks
(a)

A drone is being tracked in a 3D coordinate system. At time t1t_1, its position is at point A(1,−2,3)(1, -2, 3). At a later time t2t_2, its position is at point B(5,4,−1)(5, 4, -1).

Find the distance the drone travelled from A to B.

[2]
(b)

Another drone's flight path is modelled by the line LL with vector equation r=(015)+t(23−2)\boldsymbol{r} = \begin{pmatrix} 0 \\ 1 \\ 5 \end{pmatrix} + t \begin{pmatrix} 2 \\ 3 \\ -2 \end{pmatrix}. A control tower observes this drone at point C(6,y,−1))(6, y, -1)) which lies on line LL.

Find the value of yy.

[3]
(c)

Using the value of yy found in part (b), the position of point C is (6,10,−1))(6, 10, -1)).

Show that AC⃗=(512−4)\vec{AC} = \begin{pmatrix} 5 \\ 12 \\ -4 \end{pmatrix}.

[2]
(d)

Find the angle between the drone's flight segment AB⃗\vec{AB} and the segment AC⃗\vec{AC}. Give your answer in degrees to one decimal place.

[5]
(e)

Find the area of the triangle formed by the points A, B, and C. Give your answer to three significant figures.

[2]

Every Vector equations of a line in 2D & 3D (different forms too) question, marked for you

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." All follow through is withdrawn for the rest of that question.
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 Vector equations of a line in 2D & 3D (different forms too) cover in IB Maths AI?

A vector equation of a line defines a path using a starting position and a direction. Position Vector: Describes a point's location relative to the origin. Direction Vector: Represents the line's direction (like a gradient).

Is Vector equations of a line in 2D & 3D (different forms too) SL or HL?

Vector equations of a line in 2D & 3D (different forms too) is HL only. SL students are not examined on it.

How do I revise Vector equations of a line in 2D & 3D (different forms too) for IB Maths AI?

Start from the core idea: a vector equation of a line defines a path using a starting position and a direction. In the exam: short on its own, and normally the setup for AHL 3.12 or for an angle question at AHL 3.13. Note that the direction vector is not unique, so a mark scheme must accept any scalar multiple, and the position vector can be any point on the line. Then practise exam-style questions, easiest first, writing out every step of your working before you check it.

How does FourtyFive help me practise Vector equations of a line in 2D & 3D (different forms too)?

FourtyFive has 19 Vector equations of a line in 2D & 3D (different forms too) 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 Vector equations of a line in 2D & 3D (different forms too) 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 Vector equations of a line in 2D & 3D (different forms too) 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.