Question
When is the distance between two moving objects smallest?
Original question: 3. The position of an object moving along a straight line for is given by the function . The position of a second object moving along the same line is given by . If both objects begin at , at what time is the distance between the two objects at a minimum?
[5 marks]
Expert Verified Solution
Key takeaway: Whenever two position functions are given on the same line, the cleanest move is to look at the difference first. The distance is the absolute value of that difference, so the minimum usually comes from checking where the difference is zero or where the squared distance has a critical point.
Let the positions be
We want the distance between the two objects:
A neat way to handle this is to minimize the squared distance:
Since the square is nonnegative and preserves the location of minima, we can work with the inside expression first.
1) Check whether the objects ever meet
Solve
Test easy values: at , the expression is ; at , it is ; for , the cubic never drops below zero. In fact,
for all .
So the distance is simply
2) Differentiate the distance
Critical points:
3) Test the critical points
Second derivative:
- At , , so that is a local maximum.
- At ,
so this is a local minimum.
Since the function grows for large , this local minimum is the absolute minimum on .
Answer
The distance between the two objects is smallest at
At that time, the distance is
Pitfalls the pros know 👇 Don’t minimize without thinking about absolute value. Distance is never negative, so the sign matters. Another trap is ignoring the domain : the point must be checked, especially when a critical point lies at the boundary. If you use the squared distance, remember that it can introduce extra algebra but does not change where the minimum occurs.
What if the problem changes? If the question asked for the time when the objects are farthest apart on a closed interval, you would check both critical points and the endpoints. If one trajectory were shifted, say , the minimizing time could change or the objects might even meet, in which case the minimum distance would be at the collision time.
Tags: absolute value distance, critical point, minimum separation
FAQ
How do you find when two moving objects are closest?
Write the distance as the absolute value of the difference of the position functions, then minimize it. Often it is easiest to differentiate the squared distance or the unsolved difference and check critical points on the given domain.
What is the minimum-distance time in this problem?
The distance is smallest at t=2/3. At that time, the separation is 50/27.