Relative Speed: Cars Moving in Opposite Directions

Distance, Rate & Time 9th-10th Grade
Problem
An eastbound car is going 4 miles per hour faster than a westbound car. The cars are 208 miles apart 2 hours after passing each other on a highway. What is the speed, in miles per hour, of the eastbound car?

What This Problem Teaches

  • Setting up distance-rate-time equations with relative motion between two objects
  • Understanding that opposite directions mean you add speeds to find separation rate
  • Choosing strategic variables (slower speed vs. faster speed) to simplify algebra
  • Translating "X is 4 units more than Y" into algebraic expressions
  • Verification through substitution back into the original scenario

Solution: Method 1 — The Relative Speed Approach

The key insight is that when two objects move in opposite directions, their relative speed is the sum of their individual speeds. This gives us the rate at which distance accumulates between them.

Step 1 — Define the variable for the slower car

Let x = speed of the westbound car (mph)

Since the eastbound car is 4 mph faster: eastbound speed = x + 4 mph

Step 2 — Find the relative speed

When cars move in opposite directions, they separate at the combined rate of both speeds.

Relative speed = westbound speed + eastbound speed
Relative speed = x + (x + 4) = 2x + 4 mph

Step 3 — Apply the distance formula

After 2 hours of separation, the cars are 208 miles apart. Using distance = rate × time:

Distance apart = relative speed × time
208 = (2x + 4) × 2
208 = 4x + 8

Step 4 — Solve for x

208 = 4x + 8
200 = 4x
x = 50

Step 5 — Find the eastbound car's speed

The westbound car travels at 50 mph, so the eastbound car travels at:

Eastbound speed = x + 4 = 50 + 4 = 54 mph

Solution: Method 2 — Individual Distance Tracking

Instead of using relative speed, we can track each car's individual distance from the passing point and add those distances.

Step 1 — Define the variable for the faster car

Let e = speed of the eastbound car (mph)

Then the westbound car's speed = e - 4 mph

Step 2 — Calculate individual distances after 2 hours

Distance traveled by eastbound car = e × 2 = 2e miles
Distance traveled by westbound car = (e - 4) × 2 = 2e - 8 miles

Step 3 — Set up the total distance equation

Since the cars move in opposite directions from the passing point, the total distance between them is the sum of their individual distances:

Total distance = eastbound distance + westbound distance
208 = 2e + (2e - 8)
208 = 4e - 8

Step 4 — Solve for e

208 = 4e - 8
216 = 4e
e = 54

The eastbound car's speed is 54 mph.

The Answer: The eastbound car travels at 54 miles per hour.

Verification

Let's verify by checking both the speed difference and the total distance:

  • Speed check: Eastbound (54 mph) - Westbound (50 mph) = 4 mph ✓
  • Distance check: In 2 hours, eastbound travels 54 × 2 = 108 miles
  • In 2 hours, westbound travels 50 × 2 = 100 miles
  • Total separation: 108 + 100 = 208 miles ✓

Both conditions are satisfied, confirming our answer is correct.

Common Pitfalls

✗ Mistake 1: Subtracting speeds instead of adding them

Relative speed = |54 - 50| = 4 mph
Distance = 4 × 2 = 8 miles

This gives a distance of only 8 miles, not 208. The error is treating this like a same-direction problem. When objects move in opposite directions, you always add their speeds.

✗ Mistake 2: Forgetting to account for both cars moving

Only eastbound distance = 54 × 2 = 108 miles

This ignores that the westbound car also contributes to the increasing separation. Both cars are moving away from the passing point simultaneously.

✗ Mistake 3: Setting up the variable relationship backwards

Let x = eastbound speed
Then westbound speed = x + 4

This makes the westbound car faster than the eastbound car, contradicting the problem statement. Always read carefully to identify which object is faster.

The Pattern Behind This

This is a classic separation problem with relative motion. The general formula is:

For opposite directions: Distance apart = (Speed₁ + Speed₂) × Time
For same direction: Distance apart = |Speed₁ - Speed₂| × Time

The key decision point is recognizing the direction relationship. "Passing each other" and then being "apart" signals opposite directions, which means we add the speeds. If one car were chasing the other, we'd subtract speeds instead.

This same pattern appears in many contexts: trains passing on parallel tracks, boats moving in opposite directions on a river, or even abstract rates like workers completing tasks from opposite ends of a job.

Real Applications

  • Air traffic control: Calculating separation distances between aircraft flying in opposite directions to ensure safe minimum spacing.
  • Naval navigation: Determining when two ships traveling in opposite directions will be far enough apart to safely change course or speed.
  • Network engineering: Computing data collision zones when signals travel toward each other on the same communication channel.

What If?

1
Slower Time Frame
The cars are 180 miles apart 1.5 hours after passing. The eastbound car's speed is 6 mph more than the westbound car. What is the speed of the westbound car?
Step 1 — Set up variables

Let w = speed of westbound car (mph). Then eastbound speed = w + 6 mph.

Step 2 — Find relative speed

Relative speed = w + (w + 6) = 2w + 6 mph

Step 3 — Apply distance formula

Distance = relative speed × time: 180 = (2w + 6) × 1.5

Step 4 — Solve the equation

180 = 3w + 9, so 171 = 3w, therefore w = 57

Step 5 — Verify

Westbound: 57 mph, Eastbound: 63 mph. In 1.5 hours: (57 + 63) × 1.5 = 120 × 1.5 = 180 miles ✓

Answer: 57 mph

2
Time Unknown
An eastbound car travels at 60 mph. A westbound car travels at 52 mph. How many hours after passing will they be 280 miles apart?
Step 1 — Identify known values

Eastbound speed = 60 mph, Westbound speed = 52 mph, Distance apart = 280 miles

Step 2 — Calculate relative speed

Relative speed = 60 + 52 = 112 mph

Step 3 — Use distance formula to find time

Distance = relative speed × time, so time = distance ÷ relative speed

Step 4 — Calculate

Time = 280 ÷ 112 = 2.5 hours

Step 5 — Verify

In 2.5 hours: eastbound travels 60 × 2.5 = 150 miles, westbound travels 52 × 2.5 = 130 miles. Total: 150 + 130 = 280 miles ✓

Answer: 2.5 hours

3
Three-Car Scenario
Car A heads east at 50 mph. Car B heads west at 46 mph. They start from the same point. A third car, C, also heads east from the same point but leaves 1 hour later at 65 mph. When will Car C catch up to Car A?
Step 1 — Set up the chase scenario

Let t = hours after Car C starts. When C starts, A has already traveled for 1 hour.

Step 2 — Express each car's position

Car A's distance from start: 50 × (t + 1) = 50t + 50 miles

Car C's distance from start: 65t miles

Step 3 — Set up the equation for when they meet

C catches A when their distances are equal: 65t = 50t + 50

Step 4 — Solve for t

15t = 50, so t = 50/15 = 10/3 hours = 3 hours 20 minutes

Step 5 — Verify

At t = 10/3 hours: A has traveled 50 × (10/3 + 1) = 50 × 13/3 = 650/3 miles, C has traveled 65 × 10/3 = 650/3 miles ✓

Answer: 3 hours 20 minutes after Car C starts

4
Speed Ratio Challenge
Two cars pass each other going in opposite directions. The eastbound car's speed is twice the westbound car's speed. Three hours later, they are 360 miles apart. Find the speed of each car.
Step 1 — Define variables

Let w = westbound speed (mph). Then eastbound speed = 2w mph.

Step 2 — Calculate relative speed

Relative speed = w + 2w = 3w mph

Step 3 — Apply distance formula

Distance = relative speed × time: 360 = 3w × 3

Step 4 — Solve for w

360 = 9w, so w = 40 mph

Step 5 — Find both speeds and verify

Westbound speed = 40 mph, Eastbound speed = 80 mph

Check: In 3 hours, total distance = (40 + 80) × 3 = 120 × 3 = 360 miles ✓

Answer: Westbound 40 mph, Eastbound 80 mph

Frequently Asked Questions

How do you solve problems where two objects move in opposite directions? +
When objects move in opposite directions, their relative speed is the sum of their individual speeds. Multiply this combined speed by time to find total separation distance. In this problem, if the westbound car goes x mph and the eastbound goes (x+4) mph, their relative speed is x + (x+4) = 2x + 4 mph.
What's the difference between relative motion and absolute motion in distance problems? +
Absolute motion tracks each object's individual distance from a fixed reference point. Relative motion focuses on how fast objects separate or approach each other. For opposite directions, relative speed = sum of speeds. For same direction, relative speed = difference of speeds.
Why do you add speeds when cars move in opposite directions? +
From either car's perspective, the other appears to approach or recede at the combined rate of both speeds. If you're in a 50 mph eastbound car and see a 46 mph westbound car, it appears to pass you at 50 + 46 = 96 mph. This combined rate determines how quickly distance accumulates between them.
NJ
Neven Jurkovic, PhD

Professor of Computer Science, Palo Alto College, Alamo Colleges District, San Antonio, TX

Developer of Algebrator

Contact

This solution was prepared with AI assistance and reviewed by Dr. Jurkovic for mathematical accuracy and pedagogical clarity.

2026-08-30