Positions over time
The ship's position after t hours is a vector that changes with t:
It is often called r(t), the position at time t. The line in Lines was written the same way.
Velocity and speed
How fast the position changes is its derivative, as in What a derivative is. A vector is differentiated one coordinate at a time:
This is the velocity: every hour, 5 across and 8 up. The speed is how far that is, the length of the velocity:
about 9.4 thousand kilometres an hour. The speed is not the length of the position: that is how far the ship is from the origin, not how fast it moves.
A curved path
When a burn of the engines bends the path, the position has t squared in it, and the velocity changes with time. With the position the vector 2 t, 3 t, 1 minus 2 t plus t squared, the velocity is the vector 2, 3, minus 2 plus 2 t. At t equals 2, that is the vector 2, 3, 2, so the speed then is the square root of 17. Differentiate first, then put in the time.
Do they meet?
A second ship is at the vector 3 plus 4 t, 6 plus 7 t. To meet, both must be in the same place at the same time, so every coordinate must agree for one and the same t:
- 1 plus 5 t equals 3 plus 4 t gives t equals 2
- 4 plus 8 t equals 6 plus 7 t gives t equals 2
Both give 2, so they meet after 2 hours, at (11, 20).
An asteroid at the vector 1 plus 4 t, minus 3 plus 11 t is another matter. The first coordinate gives t equals 0, and the second t equals 7 over 3. Its path crosses the ship's, but at different times, so they never meet.
Differentiate a position coordinate by coordinate to get the velocity; its length is the speed. Two objects meet only if every coordinate gives the same t.