# Shortest distance between two cars

1. Jun 26, 2014

1. The problem statement, all variables and given/known data

Two straight roads, which are perpendicular to each other, cross at point O.

Suppose a car is at distance 250m from the origin on one road, and another car is at distance 350m from the origin on another road.

Both cars are approaching towards the origin.

The first car has a constant velocity of 6m/s and the second car has constant velocity of 12m/s.

When does the distance between the two cars become shortest? And what's that shortest distance?

2. Relevant equations

3. The attempt at a solution

Lets suppose at time t the cars' distance becomes shortest.
So at that time the first car's position will be (0, 250 - 6t) and the second car's position would be (350 - 12t, 0)

So distance between them is √{(350 - 12t)2 + (250 - 6t)2}

Next suppose A = (350 - 12t)2 + (250 - 6t)2
For minimum dA/dt = 0 from here I get t

Is my approach ok? (I am not much expert in calculus.)

2. Jun 26, 2014

### Orodruin

Staff Emeritus
Looks reasonable. Solve for t in dA/dt = 0 and insert into your expression for the distance.

3. Jun 26, 2014

Thanks.

A = 180t2 - 11400t + 185000
dA/dt = 360t - 11400 = 0 gives t = 31.7
And the minimum distance is √{(350 - 12t)2 + (250 - 6t)2} = 67.1

4. Jun 27, 2014

Agreed.