Bicycle Path

Book: A Walk through Combinatorics

Problem

A bicycle path is 30 miles long, with four rest areas. Prove there either there are two rest areas that are at most six miles from each other, or there is a rest area that is at most six miles away from the endpoints of the path.

Solution

Let the rest areas divide the path as follows:

|----|-----|-----|-----|-----|
  a_1  a_2   a_3   a_4    a_5

We know that

a1+a2+a3+a4+a5=30a_1 + a_2 + a_3 + a_4 + a_5 = 30

We need to prove that there is some ii so that, for some ii, ai6a_i \leq 6.

By contradiction, if we assume that for all ii, ai>6a_i \gt 6, then

a1+a2+a3+a4+a5>6+6+6+6+6a_1 + a_2 + a_3 + a_4 + a_5 \gt 6 + 6 + 6 + 6 + 6
a1+a2+a3+a4+a5>30a_1 + a_2 + a_3 + a_4 +a_5 > 30

which is a contradiction, we know the sum is equal to 3030. So our initial assumption is wrong, there must be some ii so that ai6a_i \leq 6.