A boat crossing a lake, a drone climbing over a field, an aircraft on its approach: each one has a position that changes with time. If you write that position as a vector, the vector equation of a line becomes a model of the motion, and the parameter becomes time. This page shows how to read off position, velocity and speed, how to tell whether two moving objects collide, and how to find when they are closest together.
This page writes vectors as columns, as IB does. The Ontario vector pages on this site write the same vectors in square brackets, so 3−26 there is [3,−2,6].
An object that starts at position r0 and moves with constant velocityv is at
r=r0+tv
after t units of time. This is the line r=a+λb with a meaning attached to each part:
In the line
In the motion
Meaning
a
r0
position when t=0
b
v
velocity: the displacement in one unit of time
λ
t
time since t=0
∣b∣
∣v∣
speed
The path is the whole line; the position equation also tells you when the object is at each point. Units come from the question: if positions are in kilometres and t is in hours, the velocity is in km/h.
The same equation works in two or three dimensions; in 3-D the third component is often a height.
Two things can happen when the paths of objects A and B cross:
They collide if they are at the same point at the same time: rA(t)=rB(t) has a solution with one value of t that works in every component.
Their paths cross but they miss if they reach the crossing point at different times. To find the crossing point itself, give the two lines different parameters (s and t) and solve, exactly as when you intersect two lines.
and the distance between them is its magnitude, d(t)=∣rB(t)−rA(t)∣. Because the velocities are constant, d(t)2 is a quadratic in t, so it has a minimum. Three ways to find it:
Quadratic: expand d(t)2 and find its vertex (or differentiate and set the derivative to 0). Minimizing d2 is easier than minimizing d, and it happens at the same t.
Dot product: at the closest moment, the relative position is perpendicular to the relative velocity vB−vA, so solve (rB(t)−rA(t))⋅(vB−vA)=0. (See the dot product.)
Technology: graph d(t) on your GDC and use its minimum feature.
Always check that the time makes sense (for example t≥0, or after both objects have set off).
Speed is still ∣v(t)∣, but now it changes with time. Going the other way, integrate each component of v(t) and use the starting position to find the constants. Two special cases come up often:
Projectile motion: constant horizontal velocity and a vertical acceleration of −9.8 m s⁻², so a=(0−9.8).
Circular motion:r(t)=(Rcos(ωt)Rsin(ωt)) (radians), with constant speed Rω and acceleration pointing to the centre.
A drone takes off from the point (2,1,0) and flies with constant velocity v=3−26 m s⁻¹. Distances are in metres and z is the height above the ground.
(a) Write the drone’s position t seconds after take-off.
(b) Find its speed.
(c) Find its position after 4 seconds.
(d) When does it reach a height of 30 m, and where is it then?
Solution.
(a) Start at r0 and add t copies of the velocity:
r=210+t3−26
(b) ∣v∣=32+(−2)2+62=49=7 m s⁻¹.
(c) Substitute t=4:
r=2+121−80+24=14−724
so the drone is at (14,−7,24).
(d) The height is the z-component, 6t. Set 6t=30, so t=5 s. Then
r=2+151−1030=17−930
Check: in 5 s at 7 m s⁻¹ the drone flies 35 m, and the distance from (2,1,0) to (17,−9,30) is 152+102+302=1225=35. ✓
Two kayaks are on a lake. Positions are in kilometres from a dock at the origin, and t is the time in hours after 09:00:
rA=t(12),rB=(100)+t(−21)
(a) Find where their paths cross.
(b) Do the kayaks collide?
Solution.
(a) The paths are lines, and each kayak may pass the crossing point at a different time, so use different parameters: s for A and t for B.
s2s=10−2t=tx-componentsy-components
Substitute t=2s into the first equation: s=10−4s, so s=2 and t=4. The paths cross at rA(2)=(24), the point (2,4). Check with B: (10−84)=(24). ✓
(b) Kayak A is at (2,4) at t=2 (11:00), but kayak B only gets there at t=4 (13:00). They are never at that point at the same time, so they don’t collide. At 11:00, kayak B is at (62), which is 42+22=25≈4.47 km from A.
The paths cross at (2,4), but A is there at t=2 and B at t=4. They are closest at t=3 (green), 10 km apart.
A ball is thrown from a point 1.2 m above the ground. Its position, in metres, t seconds later is
r(t)=(8t1.2+10t−4.9t2)
where the first component is the horizontal distance and the second is the height.
(a) Find the velocity and acceleration vectors.
(b) Find the speed at which the ball is thrown.
(c) Find the greatest height of the ball.
(d) Find how far the ball travels horizontally before it hits the ground.
Solution.
(a) Differentiate each component:
v(t)=(810−9.8t),a(t)=(0−9.8)
The acceleration is constant and straight down: that’s gravity.
(b) At t=0, v=(810), so the speed is 82+102=164≈12.8 m s⁻¹.
(c) At the top, the ball is moving horizontally, so the vertical velocity is 0: 10−9.8t=0 gives t=9.810≈1.0204 s. The height then is
1.2+10(1.0204)−4.9(1.0204)2≈6.30 m (3 s.f.)
(d) The ball lands when the height is 0: 1.2+10t−4.9t2=0. Your GDC’s solver (or the quadratic formula) gives t≈2.1545 s; the other root is negative and is rejected. The horizontal distance is
Using the same parameter for both paths when looking for a crossing point. Writing rA(t)=rB(t) only finds a collision. If there’s no solution, the paths may still cross, just at different times. To find where the paths cross, give each line its own parameter.
Using different times when testing for a collision. The reverse mistake: if you solve with s and t and find that the paths cross, that does not mean the objects collide. They collide only if s=t.
Treating the velocity vector as the speed. Speed is a number, the magnitude ∣v∣. A velocity of (34) km/h means a speed of 5 km/h, not ”3 and 4”.
Using a point on the path as the starting position. In r=r0+tv, the vector r0 must be the position at t=0. If you are told where a ship is at 14:00 and t counts hours from noon, either find its noon position first or write the equation with t−2.
Minimizing the wrong quantity. The closest approach comes from the distance between the objects, ∣rB−rA∣, not from either object’s distance from the origin.
Forgetting to finish the question. Finding t at the closest approach is only halfway. Substitute it back to get the distance (and the positions, if asked), and give the time in the form the question wants, such as a clock time.
1. (Warm-up) A boat’s position in kilometres, t hours after it leaves port, is r=(3−2)+t(−14).
(a) Where is the port?
(b) Find the boat’s position after 3 hours.
(c) Find its speed.
Solution
(a) At t=0 the boat is at (3,−2), so that’s the port.
(b) r=(3−3−2+12)=(010), the point (0,10).
(c) (−1)2+42=17≈4.12 km/h (3 s.f.).
2. (Warm-up) A particle starts at (1,0,2) and moves with constant velocity 2−12 m s⁻¹. Find its position after 5 seconds, its speed, and the distance it travels in those 5 seconds.
Solutionr=102+52−12=11−512
Speed: 4+1+4=3 m s⁻¹. Distance in 5 s: 3×5=15 m.
Check: ∣(11,−5,12)−(1,0,2)∣=100+25+100=15. ✓
3. (Core) A ship moves with constant velocity. At noon it is at (−4,6), and at 14:00 it is at (8,1), with distances in kilometres. Let t be the time in hours after noon.
(a) Find the ship’s velocity vector and its speed.
(b) Write an equation for its position at time t.
(c) Where is the ship at 15:00?
Solution
(a) In 2 hours the displacement is (8−(−4)1−6)=(12−5), so the velocity is
v=21(12−5)=(6−2.5) km/h
Speed: 62+2.52=42.25=6.5 km/h.
(b) At t=0 (noon) the ship is at (−4,6):
r=(−46)+t(6−2.5)
(c) At t=3: r=(−4+186−7.5)=(14−1.5), the point (14,−1.5).
4. (Core) Two aircraft are tracked by radar, with positions in kilometres and t in minutes:
rP=14−2+t2−13,rQ=7010+t01−3
(The z-coordinate is measured from a reference level, so it can be negative.) Show that their paths cross, and decide whether the aircraft collide.
Solution
Give the paths different parameters, s for P and u for Q:
1+2s4−s−2+3s=7=u=10−3u⇒s=3⇒u=1check: 7=7
All three equations agree, so the paths cross at rP(3)=717, the point (7,1,7).
But P is there at t=3 and Q is there at t=1. They reach the point at different times, so they don’t collide. (At t=3, Q is at (7,3,1), a distance 0+4+36=210≈6.32 km from P.)
5. (Core) Cyclist A leaves a junction at the origin at t=0 with velocity (34) m s⁻¹. Cyclist B leaves the same junction one second later, at t=1, with velocity (68) m s⁻¹.
(a) Write the position of each cyclist at time t (for t≥1).
(b) When and where does B catch up with A?
Solution
(a) rA=t(34). B starts at t=1, so replace t by t−1: rB=(t−1)(68).
(b) Set them equal. The x-components give 3t=6(t−1), so 3t=6 and t=2. The y-components agree: 4(2)=8 and 8(2−1)=8. ✓
B catches A at t=2 s, at the point (6,8), which is 10 m from the junction.
6. (Core) Two ships have positions, in kilometres, t hours after midnight:
rA=t(43),rB=(140)+t(05)
(a) Show that the distance between them is given by d2=20t2−112t+196.
(b) Find the time when they are closest, and the shortest distance.
(c) Their radar can detect a ship within 5 km. Does either ship ever detect the other?
Solution
(a) rB−rA=(14−4t5t−3t)=(14−4t2t), so
d2=(14−4t)2+(2t)2=196−112t+16t2+4t2=20t2−112t+196
(b) The vertex of the quadratic is at t=2(20)112=2.8 hours, that is, 02:48. Then
d2=20(2.8)2−112(2.8)+196=156.8−313.6+196=39.2
so d=39.2≈6.26 km (3 s.f.).
(c) The shortest distance is 6.26 km, which is more than 5 km, so neither ship ever detects the other.
7. (Core, AI HL) A particle moves in the plane with position r(t)=(t2−4t3t−t2) metres, for t≥0 seconds.
(a) Find v(t) and a(t).
(b) Find the speed at t=1.
(c) At what time is the particle moving parallel to the x-axis? Is it ever at rest?
Solution
(a) v(t)=(2t−43−2t) and a(t)=(2−2) (constant).
(b) v(1)=(−21), so the speed is 4+1=5≈2.24 m s⁻¹.
(c) Moving parallel to the x-axis means the y-component of velocity is 0 (and the x-component isn’t): 3−2t=0, so t=1.5 s. Then v=(−10). ✓
At rest needs both components to be 0 at once: 2t−4=0 gives t=2, but 3−2t=0 gives t=1.5. There’s no common time, so the particle is never at rest.
8. (Challenge) Two drones fly with constant velocities. Positions are in metres and t is in seconds:
rA=t111,rB=603+t021
Use the dot product to find when the drones are closest, and find the shortest distance between them.
Solution
Relative position and relative velocity:
rB−rA=6−tt3,vB−vA=−110
At the closest moment these are perpendicular:
−(6−t)+t+0=2t−6=0⇒t=3 s
Then rB−rA=333, so the shortest distance is 27=33≈5.20 m (3 s.f.). (Drone A is at (3,3,3) and drone B at (6,6,6).)
Check with the quadratic: d2=(6−t)2+t2+9=2t2−12t+45, whose vertex is at t=412=3. ✓
9. (Challenge, AI HL) A seat on a fairground ride moves in a horizontal circle. Its position, in metres, after t seconds is
r(t)=(5cos(0.4t)5sin(0.4t))
with the angle in radians.
(a) Find v(t) and show that the speed is constant.
(b) Show that a(t)=−0.16r(t), and explain what this says about the direction of the acceleration.
(c) How long does one revolution take?
Solution
(a) Differentiate each component (chain rule):
v(t)=(−2sin(0.4t)2cos(0.4t))∣v∣=4sin2(0.4t)+4cos2(0.4t)=4=2 m s−1
The acceleration is a negative multiple of the position vector, so it always points from the seat back towards the centre of the circle. Its magnitude is 0.16×5=0.8 m s⁻².
(c) One revolution is when 0.4t increases by 2π: t=0.42π=5π≈15.7 s. (Check: the circumference is 10π m and the speed is 2 m s⁻¹, giving 5π s. ✓)