So the position of each is given by its starting position plus its velocity*time
Position A = (2i + j + 3ti + tj)
Position B = (-i - 4j + 11ti + 3tj)
The position of B relative to A is Position B - Position A
= (-i - 4j + 11ti + 3tj) - (2i + j + 3ti + tj)
= -3i - 5j + 8ti + 2tj
= [(8t-3)i + (2t-5)j]
Just use Pythagorus, using i and j as side lengths, thus:
Distance² = (8t-3)² + (2t-5)²
Distance² = 64t² - 48t + 9 + 4t² - 20t + 25
Distance² = 68t² -68t + 34
Distance² = 68(t² - t + ½)
Now we have an equation we can differentiate for highest time, so:
f(x) = 68t² - 68t + 34
f'(x) = 136t - 68
136t - 68 = 0
t = ½
So closest position is after ½ an hour, so at 12.30
Then insert back into equation for the distance, not forgetting to square root.
