Educerie

This whole subtopic is higher level. Nothing in it is on an SL paper.

Educerie · IB Diploma · Mathematics: analysis and approaches

IB Mathematics AA 3.14 · HL only

Vector equation of a line

In three dimensions a line has no gradient and no y-intercept, so what do you write down instead, and how does that same equation track something that is moving?

What you will learn

  • HL Understand that a line is fixed by a point and a direction, written r = a + λb in two or three dimensions.
  • HL Know how to move between the vector, parametric and Cartesian forms of a line.
  • HL Know that the angle between two lines comes from the scalar product of their direction vectors.
  • HL Understand that, read as motion, the parameter is time, the direction vector is velocity and its length is speed.

You must be able to

  1. HL Find a vector equation of a line through two points, or through a point with a given direction.
  2. HL Convert a line between vector, parametric and Cartesian form.
  3. HL Find the acute angle between two lines.
  4. HL Show that a point lies on a line, or find an unknown coordinate of a point on it.
  5. HL Find the speed and the position of a moving object from its vector equation.
  6. HL Decide whether two moving objects collide, and find their closest approach.

In the exam. Paper 1 and Paper 2 Section A, as 4 to 7 mark questions: write the equation of a line through two points, change its form, test whether a point lies on it, find the angle between two lines. Section B questions on lines and planes open with it, and vector kinematics (ships, aircraft, drones) is a favourite Paper 2 context.

1The vector equation r=a+λb\boldsymbol{r} = \boldsymbol{a} + \lambda\boldsymbol{b}

r=a+λb\boldsymbol{r} = \boldsymbol{a} + \lambda\boldsymbol{b}, where a\boldsymbol{a} is the position vector of a known point on the line, b\boldsymbol{b} is a direction vector of the line, and λ∈R\lambda \in \mathbb{R} is the parameter. From the formula booklet.

Here r\boldsymbol{r} stands for the position vector of any point on the line. The equation says which points qualify. Figure 1 draws the line through A(2,1,3)A(2, 1, 3) with direction b=(12−1)\boldsymbol{b} = \begin{pmatrix} 1 \\ 2 \\ -1 \end{pmatrix}.

Figure 1 · A point and a direction fix a line x y z a r b O λ = −1 A, λ = 0 λ = 1 R, λ = 2 λ = 3 r = a + λb Every point on the line is reached from O by going to A, then λ steps of b.
Figure 1 · A point and a direction fix a line
r=(213)+λ(12−1)\boldsymbol{r} = \begin{pmatrix} 2 \\ 1 \\ 3 \end{pmatrix} + \lambda\begin{pmatrix} 1 \\ 2 \\ -1 \end{pmatrix}λ=0:r=(213)the point A itself\lambda = 0: \quad \boldsymbol{r} = \begin{pmatrix} 2 \\ 1 \\ 3 \end{pmatrix} \qquad \textcolor{#838c91}{\text{the point }A\text{ itself}}λ=1:r=(332)one step of b from A\lambda = 1: \quad \boldsymbol{r} = \begin{pmatrix} 3 \\ 3 \\ 2 \end{pmatrix} \qquad \textcolor{#838c91}{\text{one step of }\boldsymbol{b}\text{ from }A}λ=2:r=(451)the point R in Figure 1\lambda = 2: \quad \boldsymbol{r} = \begin{pmatrix} 4 \\ 5 \\ 1 \end{pmatrix} \qquad \textcolor{#838c91}{\text{the point }R\text{ in Figure 1}}λ=−1:r=(1−14)one step backwards\lambda = -1: \quad \boldsymbol{r} = \begin{pmatrix} 1 \\ -1 \\ 4 \end{pmatrix} \qquad \textcolor{#838c91}{\text{one step backwards}}

Each real λ\lambda gives one point on the line. Negative λ\lambda is as good as positive: the line runs forever both ways.

The position vector a\boldsymbol{a} fixes where the line is. The direction vector b\boldsymbol{b} fixes which way it points.

Any non-zero multiple of b\boldsymbol{b} is an equally good direction vector, because (24−2)\begin{pmatrix} 2 \\ 4 \\ -2 \end{pmatrix} points the same way as (12−1)\begin{pmatrix} 1 \\ 2 \\ -1 \end{pmatrix}. Any point on the line is an equally good a\boldsymbol{a}.

That is why an equation of a line is not unique, and why questions usually say "find a vector equation". Figure 2 shows one line in the plane with two different vector equations.

Figure 2 · One line, two vector equations x y 2 6 2 4 λ = −1 μ = 1.5 λ = 0 μ = 1 λ = 1 μ = 0.5 λ = 2 μ = 0 (2, −1) (−4, 2) r = (1, 3) + λ(2, −1) Cartesian: x + 2y = 7 r = (5, 1) + μ(−4, 2) Different starting point, different direction vector, same set of points. The same point has a different parameter value in each equation, and that is fine.
Figure 2 · One line, two vector equations

The same idea in two dimensions

  • Take r=(13)+λ(2−1)\boldsymbol{r} = \begin{pmatrix} 1 \\ 3 \end{pmatrix} + \lambda\begin{pmatrix} 2 \\ -1 \end{pmatrix}. The direction says "2 across, 1 down", so the gradient is −12-\tfrac{1}{2}.
  • Eliminate λ\lambda for the Cartesian equation:
x=1+2λ,y=3−λx = 1 + 2\lambda, \quad y = 3 - \lambdaλ=x−12andλ=3−y\lambda = \frac{x - 1}{2} \quad\text{and}\quad \lambda = 3 - yx−12=3−y\frac{x - 1}{2} = 3 - yx−1=6−2yx - 1 = 6 - 2yx+2y=7the familiar straight line of 2.1x + 2y = 7 \qquad \textcolor{#838c91}{\text{the familiar straight line of 2.1}}
  • A direction (b1b2)\begin{pmatrix} b_{1} \\ b_{2} \end{pmatrix} has gradient b2b1\dfrac{b_{2}}{b_{1}}. A vertical line (b1=0b_{1} = 0) has no gradient but a perfectly good vector equation.
  • Going the other way, a line of gradient mm has direction (1m)\begin{pmatrix} 1 \\ m \end{pmatrix}. So y=−34x+2y = -\tfrac{3}{4}x + 2 has direction (1−34)\begin{pmatrix} 1 \\ -\tfrac{3}{4} \end{pmatrix}, or (4−3)\begin{pmatrix} 4 \\ -3 \end{pmatrix} after scaling.

2A line through two points, and testing a point

To find a line through PP and QQ, use one of the points for a\boldsymbol{a} and the displacement between them for b\boldsymbol{b}. For P(1,−2,4)P(1, -2, 4) and Q(3,1,2)Q(3, 1, 2):

PQ→=q−p=(3−11−(−2)2−4)=(23−2)\overrightarrow{PQ} = \boldsymbol{q} - \boldsymbol{p} = \begin{pmatrix} 3 - 1 \\ 1 - (-2) \\ 2 - 4 \end{pmatrix} = \begin{pmatrix} 2 \\ 3 \\ -2 \end{pmatrix}r=(1−24)+λ(23−2)\boldsymbol{r} = \begin{pmatrix} 1 \\ -2 \\ 4 \end{pmatrix} + \lambda\begin{pmatrix} 2 \\ 3 \\ -2 \end{pmatrix}

r=(312)+μ(−4−64)\boldsymbol{r} = \begin{pmatrix} 3 \\ 1 \\ 2 \end{pmatrix} + \mu\begin{pmatrix} -4 \\ -6 \\ 4 \end{pmatrix} is the same line. An equation that differs from the mark scheme's is still right. Its direction must be a multiple of theirs, and its point must be on their line.

Written this way, λ=0\lambda = 0 is PP, λ=1\lambda = 1 is QQ and λ=12\lambda = \tfrac{1}{2} is the midpoint of [PQ][PQ]. Only 0≤λ≤10 \le \lambda \le 1 gives the segment. The line goes on beyond both.

On such a line λ\lambda is the fraction of the way. For M(3,6,−2)M(3, 6, -2) and N(11,−6,2)N(11, -6, 2), MN→=(8−124)\overrightarrow{MN} = \begin{pmatrix} 8 \\ -12 \\ 4 \end{pmatrix}. The point three quarters of the way from MM to NN is as follows.

r=(36−2)+34(8−124)=(9−31)\boldsymbol{r} = \begin{pmatrix} 3 \\ 6 \\ -2 \end{pmatrix} + \tfrac{3}{4}\begin{pmatrix} 8 \\ -12 \\ 4 \end{pmatrix} = \begin{pmatrix} 9 \\ -3 \\ 1 \end{pmatrix}

A λ\lambda outside [0,1][0, 1] lands beyond an end: λ=−12\lambda = -\tfrac{1}{2} is half a step behind MM.

A point lies on the line only if one value of λ\lambda gives all three of its coordinates. Find λ\lambda from one component, then test it in the other two.

R(7,7,−2):1+2λ=7, so λ=3R(7, 7, -2): \quad 1 + 2\lambda = 7, \text{ so } \lambda = 3y: −2+3(3)=7 ✓y: \ -2 + 3(3) = 7 \ \checkmarkz: 4−2(3)=−2 ✓one λ fits all three: R is on the linez: \ 4 - 2(3) = -2 \ \checkmark \qquad \textcolor{#838c91}{\text{one }\lambda\text{ fits all three: }R\text{ is on the line}}
S(5,4,1):1+2λ=5, so λ=2S(5, 4, 1): \quad 1 + 2\lambda = 5, \text{ so } \lambda = 2y: −2+3(2)=4 ✓y: \ -2 + 3(2) = 4 \ \checkmarkz: 4−2(2)=0≠1 ×S is not on the linez: \ 4 - 2(2) = 0 \ne 1 \ \times \qquad \textcolor{#838c91}{S\text{ is not on the line}}

SS fails even though two coordinates agree. In a "show that" question, write all three checks.

"Verify that RR lies on the line" asks for the same working. Find λ\lambda, substitute, show all three coordinates agree, and say so.

If T(k,−8,8)T(k, -8, 8) lies on the line, find λ\lambda from one known coordinate and confirm it with the other. The third gives kk:

y: −2+3λ=−8, so λ=−2y: \ -2 + 3\lambda = -8, \text{ so } \lambda = -2z: 4−2(−2)=8 ✓z: \ 4 - 2(-2) = 8 \ \checkmarkx: k=1+2(−2)=−3x: \ k = 1 + 2(-2) = -3

If the line is given in Cartesian form, substitute the point and show that all three fractions have the same value.

For R(7,7,−2)R(7, 7, -2) in x−12=y+23=z−4−2\dfrac{x - 1}{2} = \dfrac{y + 2}{3} = \dfrac{z - 4}{-2}, the fractions are 62=93=−6−2=3\dfrac{6}{2} = \dfrac{9}{3} = \dfrac{-6}{-2} = 3, so RR is on the line.

The yzyz-, xzxz- and xyxy-planes are x=0x = 0, y=0y = 0 and z=0z = 0. To find where the line meets one, set that coordinate to 0, solve for λ\lambda, and substitute back.

Example: the line through PP and QQ meets the xyxy-plane where 4−2λ=04 - 2\lambda = 0, so λ=2\lambda = 2. The point is (5,4,0)(5, 4, 0).

3Parametric and Cartesian forms

The vector equation is three equations stacked in one. Read it row by row to get the parametric form.

x=x0+λl,y=y0+λm,z=z0+λnx = x_{0} + \lambda l, \quad y = y_{0} + \lambda m, \quad z = z_{0} + \lambda n, where (x0,y0,z0)(x_{0}, y_{0}, z_{0}) is a point on the line and (lmn)\begin{pmatrix} l \\ m \\ n \end{pmatrix} is a direction vector. From the formula booklet.

Make λ\lambda the subject of each. Set them equal to get the Cartesian form:

x−x0l=y−y0m=z−z0n\dfrac{x - x_{0}}{l} = \dfrac{y - y_{0}}{m} = \dfrac{z - z_{0}}{n}. From the formula booklet.

Figure 3 shows the round trip for the line through PP and QQ.

Figure 3 · Three ways to write one line vector form r = (1, −2, 4) + λ(2, 3, −2) point + λ × direction parametric form x = 1 + 2λ, y = −2 + 3λ z = 4 − 2λ Cartesian form (x − 1)/2 = (y + 2)/3 = (z − 4)/(−2) read each row of the vector make λ the subject of each equation Going back: the denominators are the direction; the numbers subtracted from x, y, z give the point. Each form holds the same two facts: a point (x₀, y₀, z₀) and a direction (l, m, n).
Figure 3 · Three ways to write one line
r=(1−24)+λ(23−2)\boldsymbol{r} = \begin{pmatrix} 1 \\ -2 \\ 4 \end{pmatrix} + \lambda\begin{pmatrix} 2 \\ 3 \\ -2 \end{pmatrix}x=1+2λ,y=−2+3λ,z=4−2λparametricx = 1 + 2\lambda, \quad y = -2 + 3\lambda, \quad z = 4 - 2\lambda \qquad \textcolor{#838c91}{\text{parametric}}λ=x−12=y+23=z−4−2Cartesian\lambda = \frac{x - 1}{2} = \frac{y + 2}{3} = \frac{z - 4}{-2} \qquad \textcolor{#838c91}{\text{Cartesian}}

Going back

  • From Cartesian form, the denominators are the direction. The numbers subtracted from xx, yy and zz are the point.
  • So x−34=y+6−7=z5\dfrac{x - 3}{4} = \dfrac{y + 6}{-7} = \dfrac{z}{5} is the line through (3,−6,0)(3, -6, 0) with direction (4−75)\begin{pmatrix} 4 \\ -7 \\ 5 \end{pmatrix}: r=(3−60)+λ(4−75)\boldsymbol{r} = \begin{pmatrix} 3 \\ -6 \\ 0 \end{pmatrix} + \lambda\begin{pmatrix} 4 \\ -7 \\ 5 \end{pmatrix}.
  • Note the signs. y+6y + 6 is y−(−6)y - (-6), so y0=−6y_{0} = -6. And zz on its own is z−0z - 0.

The trap: coefficients that are not 1

  • Reading off works only when xx, yy and zz each have coefficient +1+1 on top. Take
2x−13=y+24=1−z2\frac{2x - 1}{3} = \frac{y + 2}{4} = \frac{1 - z}{2}set each equal to λ:\text{set each equal to } \lambda:2x−1=3λ → x=12+32λ2x - 1 = 3\lambda \ \to\ x = \tfrac{1}{2} + \tfrac{3}{2}\lambday+2=4λ → y=−2+4λy + 2 = 4\lambda \ \to\ y = -2 + 4\lambda1−z=2λ → z=1−2λ1 - z = 2\lambda \ \to\ z = 1 - 2\lambdar=(12−21)+λ(324−2)\boldsymbol{r} = \begin{pmatrix} \tfrac{1}{2} \\ -2 \\ 1 \end{pmatrix} + \lambda\begin{pmatrix} \tfrac{3}{2} \\ 4 \\ -2 \end{pmatrix}
  • The direction is (324−2)\begin{pmatrix} \tfrac{3}{2} \\ 4 \\ -2 \end{pmatrix}, or (38−4)\begin{pmatrix} 3 \\ 8 \\ -4 \end{pmatrix} after doubling.
  • Reading (342)\begin{pmatrix} 3 \\ 4 \\ 2 \end{pmatrix} off the denominators and (1,−2,1)(1, -2, 1) off the numerators is wrong twice. Setting each fraction equal to λ\lambda is safe every time.

A part with no denominator

  • In x−43=y+1=2−z\dfrac{x - 4}{3} = y + 1 = 2 - z the middle part is really y+11\dfrac{y + 1}{1}, and the last is z−2−1\dfrac{z - 2}{-1}.
  • Setting all three equal to λ\lambda gives x=4+3λx = 4 + 3\lambda, y=−1+λy = -1 + \lambda, z=2−λz = 2 - \lambda. That is the line through (4,−1,2)(4, -1, 2) with direction (31−1)\begin{pmatrix} 3 \\ 1 \\ -1 \end{pmatrix}.

A zero in the direction. For the line through (1,4,5)(1, 4, 5) with direction (20−3)\begin{pmatrix} 2 \\ 0 \\ -3 \end{pmatrix}, y=4+0λy = 4 + 0\lambda is always 4. You cannot divide by zero, so the Cartesian form is written as follows.

x−12=z−5−3,y=4\frac{x - 1}{2} = \frac{z - 5}{-3}, \quad y = 4

4The angle between two lines

The angle between two lines depends on their directions alone, not on where the lines are or whether they meet. So use the scalar product of 3.13 on the two direction vectors:

cos⁡θ=∣b1⋅b2∣∣b1∣∣b2∣\cos\theta = \dfrac{\lvert\boldsymbol{b}_{1}\cdot\boldsymbol{b}_{2}\rvert}{\lvert\boldsymbol{b}_{1}\rvert\lvert\boldsymbol{b}_{2}\rvert}, using the direction vectors, never the position vectors. The modulus signs give the acute angle.

Why the modulus? A line has two directions, b\boldsymbol{b} and −b-\boldsymbol{b}. So two lines make angles θ\theta and 180∘−θ180^{\circ} - \theta, and the angle between them means the acute one. Without the modulus you get whichever your two vectors happen to make.

Figure 4 shows it for b1=(122)\boldsymbol{b}_{1} = \begin{pmatrix} 1 \\ 2 \\ 2 \end{pmatrix} and b2=(2−2−1)\boldsymbol{b}_{2} = \begin{pmatrix} 2 \\ -2 \\ -1 \end{pmatrix}.

Figure 4 · The angle between two lines L₁ L₂ b₁ = (1, 2, 2) b₂ = (2, −2, −1) 116.4° 63.6° cos θ = |b₁ · b₂| ÷ (|b₁||b₂|) = |−4| ÷ (3 × 3) = 4/9, so θ = 63.6° The direction vectors can meet at an obtuse angle. The lines make the acute one with it. Taking |b₁ · b₂| in the formula gives the acute angle straight away.
Figure 4 · The angle between two lines
b1⋅b2=(1)(2)+(2)(−2)+(2)(−1)=−4\boldsymbol{b}_{1}\cdot\boldsymbol{b}_{2} = (1)(2) + (2)(-2) + (2)(-1) = -4∣b1∣=1+4+4=3,∣b2∣=4+4+1=3\lvert\boldsymbol{b}_{1}\rvert = \sqrt{1 + 4 + 4} = 3, \quad \lvert\boldsymbol{b}_{2}\rvert = \sqrt{4 + 4 + 1} = 3cos⁡θ=∣−4∣3×3=49\cos\theta = \frac{\lvert -4\rvert}{3 \times 3} = \frac{4}{9}θ=arccos⁡49=63.6∘the vectors meet at 116.4∘; the lines at 63.6∘\theta = \arccos\frac{4}{9} = 63.6^{\circ} \qquad \textcolor{#838c91}{\text{the vectors meet at }116.4^{\circ}\text{; the lines at }63.6^{\circ}}

Paper 1, exact. Take L1L_{1} with direction (110)\begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix} and L2L_{2} with direction (101)\begin{pmatrix} 1 \\ 0 \\ 1 \end{pmatrix}:

b1⋅b2=1+0+0=1\boldsymbol{b}_{1}\cdot\boldsymbol{b}_{2} = 1 + 0 + 0 = 1∣b1∣=2,∣b2∣=2\lvert\boldsymbol{b}_{1}\rvert = \sqrt{2}, \quad \lvert\boldsymbol{b}_{2}\rvert = \sqrt{2}cos⁡θ=12, so θ=60∘=π3\cos\theta = \frac{1}{2}, \text{ so } \theta = 60^{\circ} = \frac{\pi}{3}

If the scalar product is 0, the lines are perpendicular. The lines need not meet for this: two skew lines (3.15) can still be perpendicular.

If b1=kb2\boldsymbol{b}_{1} = k\boldsymbol{b}_{2}, the lines are parallel and the angle is 0∘0^{\circ} (cos⁡θ=1\cos\theta = 1). Positive kk means the same way, negative the opposite.

A line parallel to a given one through a new point keeps b\boldsymbol{b} and changes only a\boldsymbol{a}.

Lines in the plane. A line y=mx+cy = mx + c has direction (1m)\begin{pmatrix} 1 \\ m \end{pmatrix}, so the same formula works. For y=2x−1y = 2x - 1 and y=−3x+4y = -3x + 4, the directions are (12)\begin{pmatrix} 1 \\ 2 \end{pmatrix} and (1−3)\begin{pmatrix} 1 \\ -3 \end{pmatrix}.

b1⋅b2=1−6=−5,∣b1∣=5,∣b2∣=10\boldsymbol{b}_{1}\cdot\boldsymbol{b}_{2} = 1 - 6 = -5, \quad \lvert\boldsymbol{b}_{1}\rvert = \sqrt{5}, \quad \lvert\boldsymbol{b}_{2}\rvert = \sqrt{10}cos⁡θ=550=12, so θ=45∘\cos\theta = \frac{5}{\sqrt{50}} = \frac{1}{\sqrt{2}}, \text{ so } \theta = 45^{\circ}

Parallel and perpendicular with an unknown.

  • Parallel means one direction is a multiple of the other. Match one component to find the multiplier, then the rest follow.
  • Perpendicular means the scalar product is zero.

Example: L1L_{1} has direction (2k+16)\begin{pmatrix} 2 \\ k + 1 \\ 6 \end{pmatrix} and L2L_{2} has direction (133)\begin{pmatrix} 1 \\ 3 \\ 3 \end{pmatrix}. The first and third components give multiplier 2 both times. So the lines are parallel when k+1=6k + 1 = 6, that is k=5k = 5.

Example: take instead (k2−1)\begin{pmatrix} k \\ 2 \\ -1 \end{pmatrix} and (3k4)\begin{pmatrix} 3 \\ k \\ 4 \end{pmatrix}. They are perpendicular when 3k+2k−4=03k + 2k - 4 = 0, so k=45k = \tfrac{4}{5}.

An unknown in a direction vector. Given the angle, write the formula with the constant in it. Square both sides to clear the modulus and the root. Expect two values.

Example: L1L_{1} has direction (112)\begin{pmatrix} 1 \\ 1 \\ 2 \end{pmatrix} and L2L_{2} has direction (k10)\begin{pmatrix} k \\ 1 \\ 0 \end{pmatrix}. Find kk when the acute angle is 60∘60^{\circ}.

∣k+1∣6 k2+1=cos⁡60∘=12\frac{\lvert k + 1\rvert}{\sqrt{6}\,\sqrt{k^{2} + 1}} = \cos 60^{\circ} = \frac{1}{2}4(k+1)2=6(k2+1)4(k + 1)^{2} = 6(k^{2} + 1)2k2−8k+2=0 → k2−4k+1=02k^{2} - 8k + 2 = 0 \ \to\ k^{2} - 4k + 1 = 0k=2±3both give 60∘k = 2 \pm \sqrt{3} \qquad \textcolor{#838c91}{\text{both give }60^{\circ}}

5Lines as motion: λ\lambda becomes time

Replace λ\lambda by tt and read the equation as the position of a moving object.

r=a+tv\boldsymbol{r} = \boldsymbol{a} + t\boldsymbol{v}: a\boldsymbol{a} is the position at t=0t = 0, v\boldsymbol{v} is the velocity vector (displacement per unit time), and the speed is ∣v∣\lvert\boldsymbol{v}\rvert.

Every unit of time the object moves by v\boldsymbol{v}: a straight line at constant speed. Figure 5 shows a drone whose position, in metres, after tt seconds is r=(2−31)+t(623)\boldsymbol{r} = \begin{pmatrix} 2 \\ -3 \\ 1 \end{pmatrix} + t\begin{pmatrix} 6 \\ 2 \\ 3 \end{pmatrix}.

Figure 5 · A drone flying in a straight line x y z t = 0 t = 1 t = 2 t = 3 t = 4 t = 5 v = (6, 2, 3) (32, 7, 16) (2, −3, 1) height 16 m speed = |v| = √(6² + 2² + 3²) = √49 = 7 m s⁻¹ r = (2, −3, 1) + t(6, 2, 3). Each second the drone moves by the velocity vector, 7 m long.
Figure 5 · A drone flying in a straight line
speed=∣(623)∣=36+4+9=49=7 m s−1\text{speed} = \lvert\begin{pmatrix} 6 \\ 2 \\ 3 \end{pmatrix}\rvert = \sqrt{36 + 4 + 9} = \sqrt{49} = 7\ \mathrm{m\,s^{-1}}t=2:r=(2+12−3+41+6)=(1417)t = 2: \quad \boldsymbol{r} = \begin{pmatrix} 2 + 12 \\ -3 + 4 \\ 1 + 6 \end{pmatrix} = \begin{pmatrix} 14 \\ 1 \\ 7 \end{pmatrix}height 16 m:1+3t=16, so t=5\text{height } 16\ \mathrm{m}: \quad 1 + 3t = 16, \text{ so } t = 5t=5:r=(32716)t = 5: \quad \boldsymbol{r} = \begin{pmatrix} 32 \\ 7 \\ 16 \end{pmatrix}distance flown in 5 s=5×7=35 m\text{distance flown in } 5\ \mathrm{s} = 5 \times 7 = 35\ \mathrm{m}

Units come from the question

  • Positions in km and tt in hours make v\boldsymbol{v} a velocity in km h−1\mathrm{km\,h^{-1}}.
  • With xx east, yy north and zz up, the map direction comes from the first two components of v\boldsymbol{v}. A bearing is clockwise from north, so draw the horizontal components and measure from the north axis.
  • Horizontal part (34)\begin{pmatrix} 3 \\ 4 \end{pmatrix}: arctan⁡34=36.9∘\arctan\tfrac{3}{4} = 36.9^{\circ} east of north, bearing 037∘037^{\circ}.
  • Horizontal part (−43)\begin{pmatrix} -4 \\ 3 \end{pmatrix}: arctan⁡43=53.1∘\arctan\tfrac{4}{3} = 53.1^{\circ} west of north, bearing 360∘−53.1∘=307∘360^{\circ} - 53.1^{\circ} = 307^{\circ}.

The climb angle compares the vertical part with the horizontal speed. For the drone, tan⁡α=362+22=340\tan\alpha = \dfrac{3}{\sqrt{6^{2} + 2^{2}}} = \dfrac{3}{\sqrt{40}}, so α=25.4∘\alpha = 25.4^{\circ}.

Scaling the direction changes the speed

  • As lines, r=a+t(623)\boldsymbol{r} = \boldsymbol{a} + t\begin{pmatrix} 6 \\ 2 \\ 3 \end{pmatrix} and r=a+t(1246)\boldsymbol{r} = \boldsymbol{a} + t\begin{pmatrix} 12 \\ 4 \\ 6 \end{pmatrix} are the same. As motion the second is twice as fast.
  • So in kinematics you may not simplify the velocity. Given a speed and a direction, build v\boldsymbol{v} as speed ×\times unit vector.
  • Example: a speed of 14 m s−114\ \mathrm{m\,s^{-1}} in the direction (623)\begin{pmatrix} 6 \\ 2 \\ 3 \end{pmatrix} is v=14×(623)7=(1246)\boldsymbol{v} = 14 \times \dfrac{\begin{pmatrix} 6 \\ 2 \\ 3 \end{pmatrix}}{7} = \begin{pmatrix} 12 \\ 4 \\ 6 \end{pmatrix}.

Starting at a time other than 0

  • An object that is at PP at t=2t = 2 and moves with velocity v\boldsymbol{v} has position r=p+(t−2)v\boldsymbol{r} = \boldsymbol{p} + (t - 2)\boldsymbol{v}.
  • Check: at t=2t = 2 the bracket is zero, so r=p\boldsymbol{r} = \boldsymbol{p}.

Two moving objects. Ship A's position after tt hours is rA=(05)+t(41) km\boldsymbol{r}_{A} = \begin{pmatrix} 0 \\ 5 \end{pmatrix} + t\begin{pmatrix} 4 \\ 1 \end{pmatrix}\ \mathrm{km}.

Ship B's is rB=(10−3)+t(13) km\boldsymbol{r}_{B} = \begin{pmatrix} 10 \\ -3 \end{pmatrix} + t\begin{pmatrix} 1 \\ 3 \end{pmatrix}\ \mathrm{km}.

Three questions get asked, with three methods.

Do they collide? A collision means the same place at the same time, so use one tt for both.

x: 4t=10+t → t=103x: \ 4t = 10 + t \ \to\ t = \frac{10}{3}y: 5+t=−3+3t → t=4y: \ 5 + t = -3 + 3t \ \to\ t = 4different times, so the ships never occupy the same point together: no collision\text{different times, so the ships never occupy the same point together: no collision}

Do their paths cross? The paths are lines, so give each its own parameter (the intersection method of 3.15).

4λ=10+μand5+λ=−3+3μ4\lambda = 10 + \mu \quad\text{and}\quad 5 + \lambda = -3 + 3\mufrom the first, μ=4λ−10; substitute:\text{from the first, } \mu = 4\lambda - 10; \text{ substitute:}5+λ=−3+12λ−30 → 11λ=38 → λ=3811≈3.455 + \lambda = -3 + 12\lambda - 30 \ \to\ 11\lambda = 38 \ \to\ \lambda = \frac{38}{11} \approx 3.45μ=4211≈3.82\mu = \frac{42}{11} \approx 3.82X=(4×3811, 5+3811)=(15211,9311)≈(13.8,8.45)X = \left(4 \times \frac{38}{11},\ 5 + \frac{38}{11}\right) = \left(\frac{152}{11}, \frac{93}{11}\right) \approx (13.8, 8.45)

The paths cross at XX, but A is there at t≈3.45t \approx 3.45 h and B at t≈3.82t \approx 3.82 h. Figure 6 shows the near miss.

Figure 6 · Two ships: paths that cross, ships that do not meet (a) The whole picture x (km) y (km) 4 8 12 16 −2 2 4 6 8 10 0 1 2 2 ship A r = (0, 5) + t(4, 1) ship B r = (10, −3) + t(1, 3) dots: t = 0, 1, 2, … hours (b) Zoomed in near X x y 13 14 15 7.5 8 8.5 9 9.5 A at t = 3.54 B at t = 3.54 1.11 km X B at t = 4 The paths cross at X, but ship A passes X at t ≈ 3.45 h and ship B at t ≈ 3.82 h. The ships are closest at t = 46/13 ≈ 3.54 h, about 1.11 km apart, as the zoomed panel shows.
Figure 6 · Two ships: paths that cross, ships that do not meet

How close do they get? Write the vector from A to B at time tt, find its length, and minimise it.

rB−rA=(10+t−4t−3+3t−5−t)=(10−3t2t−8)\boldsymbol{r}_{B} - \boldsymbol{r}_{A} = \begin{pmatrix} 10 + t - 4t \\ -3 + 3t - 5 - t \end{pmatrix} = \begin{pmatrix} 10 - 3t \\ 2t - 8 \end{pmatrix}d2=(10−3t)2+(2t−8)2=13t2−92t+164d^{2} = (10 - 3t)^{2} + (2t - 8)^{2} = 13t^{2} - 92t + 164minimum where d(d2)dt=26t−92=0 → t=4613≈3.54 h\text{minimum where } \frac{d(d^{2})}{dt} = 26t - 92 = 0 \ \to\ t = \frac{46}{13} \approx 3.54\ \mathrm{h}d2=164−9224×13=1613d^{2} = 164 - \frac{92^{2}}{4 \times 13} = \frac{16}{13}d=413≈1.11 kmd = \frac{4}{\sqrt{13}} \approx 1.11\ \mathrm{km}

On Paper 2, graph d(t)=(10−3t)2+(2t−8)2d(t) = \sqrt{(10 - 3t)^{2} + (2t - 8)^{2}} and use the GDC minimum: t≈3.54t \approx 3.54, d≈1.11d \approx 1.11. Minimising d2d^{2} gives the same tt and avoids differentiating a root.

A third route: at the closest moment the line joining the ships is perpendicular to their relative velocity vB−vA=(−32)\boldsymbol{v}_{B} - \boldsymbol{v}_{A} = \begin{pmatrix} -3 \\ 2 \end{pmatrix}.

So (10−3t2t−8)⋅(−32)=0\begin{pmatrix} 10 - 3t \\ 2t - 8 \end{pmatrix}\cdot\begin{pmatrix} -3 \\ 2 \end{pmatrix} = 0, which gives −30+9t+4t−16=0-30 + 9t + 4t - 16 = 0 and again t=4613t = \dfrac{46}{13}.

This is the closest the ships get, both measured at the same moment. The two paths cross at XX, so they are 0 apart. Yet the ships never come nearer than 1.11 km. A distance between the objects needs the same tt in both.

Closest approach to a fixed point. The drone of Figure 5 passes a tower at T(20,0,0)T(20, 0, 0), position vector p\boldsymbol{p}. It is closest when the line from the tower to the drone is perpendicular to the velocity: (r−p)⋅v=0(\boldsymbol{r} - \boldsymbol{p})\cdot\boldsymbol{v} = 0.

r−p=(6t−182t−33t+1)\boldsymbol{r} - \boldsymbol{p} = \begin{pmatrix} 6t - 18 \\ 2t - 3 \\ 3t + 1 \end{pmatrix}(6t−18)(6)+(2t−3)(2)+(3t+1)(3)=49t−111=0 → t=11149≈2.27 s(6t - 18)(6) + (2t - 3)(2) + (3t + 1)(3) = 49t - 111 = 0 \ \to\ t = \frac{111}{49} \approx 2.27\ \mathrm{s}d2=404549,d=40457≈9.09 md^{2} = \frac{4045}{49}, \quad d = \frac{\sqrt{4045}}{7} \approx 9.09\ \mathrm{m}

Finding the velocity from two sightings

  • A float drifts at constant velocity. It is at (7,−1,4)(7, -1, 4) when t=2t = 2 and at (16,−7,13)(16, -7, 13) when t=5t = 5.
  • Three time units change the position by (9−69)\begin{pmatrix} 9 \\ -6 \\ 9 \end{pmatrix}, so v=13(9−69)=(3−23)\boldsymbol{v} = \tfrac{1}{3}\begin{pmatrix} 9 \\ -6 \\ 9 \end{pmatrix} = \begin{pmatrix} 3 \\ -2 \\ 3 \end{pmatrix}, speed 22\sqrt{22}.

Its position at t=0t = 0 is (7−14)−2(3−23)=(13−2)\begin{pmatrix} 7 \\ -1 \\ 4 \end{pmatrix} - 2\begin{pmatrix} 3 \\ -2 \\ 3 \end{pmatrix} = \begin{pmatrix} 1 \\ 3 \\ -2 \end{pmatrix}, so r=(13−2)+t(3−23)\boldsymbol{r} = \begin{pmatrix} 1 \\ 3 \\ -2 \end{pmatrix} + t\begin{pmatrix} 3 \\ -2 \\ 3 \end{pmatrix}.

Dividing by the time gap is the step that turns a displacement into a velocity.

Practice questions

42 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.