Skip to main content
ScotlandMathematics of MechanicsSyllabus dot point

How do you describe motion in two or three dimensions using vector functions, and how do you find relative velocity, closest approach and whether two bodies collide?

Use position, velocity and acceleration vectors as functions of time; calculate relative velocity; and find the closest approach of two moving bodies and the condition for collision.

A focused answer to the SQA Advanced Higher Mathematics of Mechanics content on vector kinematics: differentiating and integrating position vectors, computing relative velocity and relative position, and finding the time and distance of closest approach or the condition for a collision.

Generated by Claude Opus 4.813 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. Vector functions of time
  3. Relative velocity
  4. Closest approach and collision
  5. Try this

What this dot point is asking

Real motion is rarely confined to a line. The SQA extends kinematics to two and three dimensions using vectors: position, velocity and acceleration each become vector functions of time. The headline applications are relative velocity (how one body moves as seen from another) and closest approach (the smallest gap between two moving bodies, and whether that gap is zero, meaning a collision).

Vector functions of time

In two or three dimensions, position is a vector r(t)\mathbf{r}(t) written in i,j,k\mathbf{i}, \mathbf{j}, \mathbf{k} components. Differentiation and integration act component by component, exactly as in one dimension.

Relative velocity

The velocity of B relative to A is what an observer moving with A would measure for B. It is the difference of the two velocities, and the order matters.

This single idea handles "wind relative to a moving cyclist", "current relative to a ship", and the apparent course of one vessel from another. Once you have the relative velocity, its magnitude is the relative speed and its direction (often as a bearing) is the apparent direction of motion.

Closest approach and collision

To find how close two bodies get, track their relative position, not each absolute position. If their separation is least at some instant, that is the closest approach.

A collision is the special case D=0D = 0. It happens only if the relative position vector becomes exactly 0\mathbf{0}, which requires every component to be zero at the same time tt. Solve one component for tt and check whether the other components also vanish there: if they do, the bodies collide; if not, they pass at the closest-approach distance.

Try this

Q1. A boat heads with velocity (6i)(6\mathbf{i}) km h1^{-1} in a current (2i+3j)(2\mathbf{i} + 3\mathbf{j}) km h1^{-1}. Find its actual velocity and speed. [2 marks]

  • Cue. Add the vectors: (8i+3j)(8\mathbf{i} + 3\mathbf{j}) km h1^{-1}; speed 64+9=73\sqrt{64 + 9} = \sqrt{73} km h1^{-1}.

Q2. Two particles have relative position rB/A=(42t)i+(32t)j\mathbf{r}_{B/A} = (4 - 2t)\mathbf{i} + (3 - 2t)\mathbf{j} m. Do they collide? [3 marks]

  • Cue. i\mathbf{i}-component zero at t=2t = 2; at t=2t = 2 the j\mathbf{j}-component is 34=103 - 4 = -1 \ne 0, so no collision.

Exam-style practice questions

Practice questions written in the style of SQA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

AH style: relative velocity5 marksShip A moves with velocity (3i+4j)(3\mathbf{i} + 4\mathbf{j}) km h1^{-1} and ship B with velocity (i+2j)(-\mathbf{i} + 2\mathbf{j}) km h1^{-1}. Find the velocity of B relative to A, and hence the speed of B relative to A.
Show worked answer →

The velocity of B relative to A is vB/A=vBvA\mathbf{v}_{B/A} = \mathbf{v}_B - \mathbf{v}_A (1 mark).

vB/A=(13)i+(24)j=4i2j\mathbf{v}_{B/A} = (-1 - 3)\mathbf{i} + (2 - 4)\mathbf{j} = -4\mathbf{i} - 2\mathbf{j} km h1^{-1} (2 marks).

The relative speed is the magnitude: vB/A=(4)2+(2)2=20=25|\mathbf{v}_{B/A}| = \sqrt{(-4)^2 + (-2)^2} = \sqrt{20} = 2\sqrt{5} km h1^{-1} (2 marks). Markers reward the subtraction in the correct order (B minus A) and the magnitude.

AH style: closest approach6 marksAt t=0t = 0 particle P is at (0,0)(0, 0) moving with velocity (2i+j)(2\mathbf{i} + \mathbf{j}) m s1^{-1} and particle Q is at (7,1)(7, 1) moving with velocity (i+j)(-\mathbf{i} + \mathbf{j}) m s1^{-1}. Find the time of closest approach and the least distance between them.
Show worked answer →

Relative position of Q from P at time tt: positions are rP=(2t,t)\mathbf{r}_P = (2t, t) and rQ=(7t,1+t)\mathbf{r}_Q = (7 - t, 1 + t), so rQ/P=(73t)i+(1)j\mathbf{r}_{Q/P} = (7 - 3t)\mathbf{i} + (1)\mathbf{j} (2 marks).

Distance squared D2=(73t)2+1D^2 = (7 - 3t)^2 + 1. Closest approach minimises D2D^2: ddt(D2)=2(73t)(3)=0\dfrac{d}{dt}(D^2) = 2(7 - 3t)(-3) = 0, so 73t=07 - 3t = 0, giving t=73t = \tfrac{7}{3} s (2 marks).

Least distance D=0+1=1D = \sqrt{0 + 1} = 1 m (2 marks). Markers reward forming the relative position vector, differentiating the squared distance, and evaluating the minimum.

Related dot points

Sources & how we know this