Relative Motion: Car vs Truck vs Bridge Lengths

March 26, 2026

Problem

A car takes 10 seconds to overtake a truck and 20 seconds to cross a bridge. πŸ‘‰ Question: Which is longer β€” the truck or the bridge?

Explanation

We are told:

  • A car takes 10 seconds to overtake a truck.
  • The same car takes 20 seconds to cross a bridge.

We are asked:

Which is longer β€” the truck or the bridge?


1. Modeling the situation

Assume the car moves with constant speed relative to the ground. Let:

  • Car speed: vv
  • Truck length: LtL_t
  • Bridge length: LbL_b

When the car overtakes the truck (from behind):

  • For a complete overtake, the car must move its entire length relative to the truck's rear plus the truck's full length.
  • If we ignore the car's own length (or assume it’s the same in both comparisons so it cancels), the essential distance that encodes the comparison is the other object’s length.

In many standard textbook formulations, especially for which is longer comparisons, the key idea is:

Time to pass an object at constant speed is proportional to the object's length.

So:

  • Time to pass truck: tt=10 st_t = 10\,\text{s}
  • Time to pass bridge: tb=20 st_b = 20\,\text{s}

If the car's speed vv is the same in both cases, then:

Lt∝tt,Lb∝tbL_t \propto t_t, \quad L_b \propto t_b

Thus:

LbLt=tbtt=2010=2\frac{L_b}{L_t} = \frac{t_b}{t_t} = \frac{20}{10} = 2

So the bridge is twice as long as the truck.


2. Answer

  • The bridge is longer than the truck (specifically, about twice as long in this scenario).

3. What the visualization shows

This interactive visualization lets you:

  • Adjust the car's speed.
  • Adjust the truck and bridge crossing times.
  • See how the implied lengths of the truck and bridge compare.

On the canvas:

  • A horizontal track centered in the screen represents the road.
  • A cyan bar (car) moves along the track.
  • A pink segment marks the truck region.
  • A yellow segment marks the bridge region.
  • Above, simple proportional bars show the relative lengths computed from L∝vΓ—tL \propto v \times t.

We normalize everything so:

Lt=vβ‹…tt,Lb=vβ‹…tbL_t = v \cdot t_t, \quad L_b = v \cdot t_b

Only the ratio Lb/Lt=tb/ttL_b / L_t = t_b / t_t matters for which is longer.

You can change times and speed and visually see:

  • If the bridge bar is longer, the bridge is longer.
  • If the truck bar is longer, the truck is longer.

The default values recreate the problem statement: 10 s for the truck and 20 s for the bridge, clearly showing the bridge as longer.

Interactive Visualization

Parameters

20.00
10.00
20.00
Relative Motion: Car vs Truck vs Bridge Lengths