Relative Motion of Two Cars: Constant Speed vs Uniform Acceleration
Problem
A car A is moving at 20 m/s. Another car B starts from rest at the same point and accelerates at 4 m/s².
Explanation
We have two cars starting from the same point at the same initial time:
- Car A moves with constant speed .
- Car B starts from rest () and moves with constant acceleration .
We can describe their positions as functions of time :
1. Position functions
Take the starting point as at time .
Car A (constant velocity)
For constant speed , the position is
With :
Car B (uniform acceleration)
For motion with constant acceleration , starting from rest (), the position is
With :
So:
- Car A:
- Car B:
2. When does Car B catch up with Car A?
Car B catches up when they have the same position at the same time:
Substitute the formulas:
Bring all terms to one side:
Factor:
So the solutions are:
- is the initial moment when both are at the start point.
- The non-trivial solution is:
3. Position at the catch-up time
Use either or at .
Using Car A:
Using Car B:
They agree, so at both cars are 200 m from the starting point.
4. Velocities at the catch-up time
Car A has constant speed at all times.
Car B has acceleration starting from rest, so its velocity at time is
At :
So when Car B catches Car A:
- Position:
- Time:
- Speeds: ,
5. What the visualization shows
This interactive visualization displays:
- The space–time graph of both cars (position vs. time) in a Cartesian-like plane.
- Car A: a straight line (constant speed).
- Car B: an upward-curving parabola (increasing speed under constant acceleration).
- A time cursor moves along the time axis, controlled either by animation or by a time slider.
- At the current time:
- You see moving dots representing the current positions of Car A and Car B.
- A vertical guide line shows the current time .
- The distance between the cars is visualized along the position axis.
- You can adjust:
- Car A’s speed
- Car B’s acceleration
- The time window displayed, and immediately see how the catch-up time and meeting point change.
Mathematically, the meeting time for general parameters and (with Car B starting from rest at the same point) satisfies
The visualization highlights this interaction dynamically.
Interactive Visualization
Parameters
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.