1981 USAMO / Problem 2

What is the largest number of towns that can meet the following criteria?

Each pair is directly linked by just one of air, bus or train.
At least one pair is linked by air, at least one pair by bus and at least one pair by train.
No town has an air link, a bus link and a train link.
No three towns, A, B, C are such that the links between AB, AC and BC are all air, all bus or all train.

2 3 7 8 More than 8 6 4 5

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Harsh Khatri
Feb 7, 2016

Let's try to solve this question using an analogy.

Let there be N \displaystyle N points. These are to be connected using three different colours of lines Red, Yellow and Blue. We have to find the maximum value of N N under these conditions:

C o n d i t i o n 1 Condition1 : Each pair of points is to be connected by only one colour.

C o n d i t i o n 2 Condition2 : There has to be atleast one line of each colour. Thus, ( N 2 ) m i n = 1 + 1 + 1 = 3 \displaystyle {N\choose 2}_{min} = 1+1+1=3 N m i n = 3 \displaystyle \Rightarrow N_{min} = 3 .

C o n d i t i o n 3 Condition3 : There is no point such that lines of all 3 colours pass through it. (Intersections of the lines with themselves other than the given N N points are not to be considered for this condition. Consider only the N N points that we began with.)

C o n d i t i o n 4 Condition4 : There is no triangle such that all it's sides are of the same colour.

Total number of lines possible is ( T ) = ( N 2 ) = N ( N 1 ) 2 \displaystyle (T) = {N\choose 2} = \frac{N(N-1)}{2} .

Consider the N N points to be A 1 , A 2 , A N A_1, A_2, \ldots A_N .

\text{ }

We start with the case where there are ( N ) (N) Red lines:

Let the ( N ) \displaystyle (N) Red lines form the perimeter of an N \displaystyle N -sided polygon A 1 A 2 A N A_1A_2\ldots A_N . In this polygon total number of lines connecting the A i s A_i's has to be equal to ( T ) (T) so that C o n d i t i o n 1 Condition1 is satisfied.

We select a point, say A 5 A_5 , and draw ( N 3 ) (N-3) Yellow lines to the remaining points. Now, every point except A 4 , A 5 , A 6 A_4,A_5,A_6 is connected to a Yellow and Red line so no Blue line is possible there. We connect A 4 A_4 and A 6 A_6 with the only Blue line possible. Now, no Yellow line is possible too, because if we connect any two points, say A 3 A_3 and A 7 A_7 with a Yellow line, it will result in a Yellow triangle A 3 A 5 A 7 \bigtriangleup A_3A_5A_7 . Thus, no more lines can be drawn.

Hence for C o n d i t i o n 1 Condition1 to be satisfied:

T = (number of Red lines) + (number of Yellow lines) + (number of Blue lines) \displaystyle T= \text{(number of Red lines)} + \text{(number of Yellow lines) } + \text{(number of Blue lines)}

T = ( N ) + ( N 3 ) + 1 \displaystyle T=(N) + (N-3) + 1

( N 2 ) = 2 N 2 \displaystyle \Rightarrow {N\choose 2} = 2N - 2

N 2 5 N + 4 = 0 \displaystyle \Rightarrow N^2 - 5N + 4 = 0

N = { 1 , 4 } \displaystyle \Rightarrow N=\{1,4\}

N = 1 N=1 is discarded. Thus, for ( N ) (N) Red lines, N = 4 N=4 is the only solution.

\text{ }

Now, we move on to the case where there are ( N 1 ) (N-1) Red lines:

C a s e 1 Case 1 : Select a point, say A 1 A_1 , draw N 1 N-1 Red lines to the remaining points. Now select another point, say A 6 A_6 , draw ( N 2 ) (N-2) Yellow lines to all points other than A 1 A_1 (Since the line A 1 A 6 A_1A_6 is already drawn in Red.)

Now, we have ( N 2 ) (N-2) points which are already connected by Red and Yellow lines. So, no Blue lines can be drawn. Also, drawing any more Yellow lines will result in the formation of Yellow triangles. Thus, no more lines cab be drawn. In this case, C o n d i t i o n 3 Condition3 is not satisfied here.

So, we replace one Yellow line for a Blue line.

Now, for C o n d i t i o n 1 Condition1 to be satisfied:

T = ( N 1 ) + ( N 3 ) ) + ( 1 ) \displaystyle T = (N-1) + (N-3)) +(1)

T = 2 N 3 \displaystyle \Rightarrow T = 2N-3

N 2 5 N + 6 = 0 \displaystyle \Rightarrow N^2 - 5N + 6 = 0

N = { 2 , 3 } \displaystyle N = \{2,3\}

N = 2 N=2 is discarded and N = 3 N=3 is the solution.

C a s e 2 Case 2 : Instead of replacing a Yellow line for a Blue line, if we draw only ( N 4 ) (N-4) Yellow lines leaving 2 points to be connected by a Blue line, C o n d i t i o n 1 Condition1 now gives:

T = ( N 1 ) + ( N 4 ) + 1 \displaystyle T=(N-1) + (N-4) + 1

( N 2 ) = 2 N 4 \displaystyle \Rightarrow {N\choose 2} = 2N - 4

N 2 5 N + 8 = 0 \displaystyle \Rightarrow N^2 - 5N + 8= 0

D i s c r i m i n a n t < 0 \displaystyle \Rightarrow Discriminant < 0

Hence, no solution is possible in this case.

C a s e 3 Case 3 : Draw ( N 1 ) (N-1) Red lines such that they form the perimeter of an N \displaystyle N - sided polygon such that A 1 , A N A_1,A_N are not connected.

Draw Yellow lines from A 3 A_3 to all other points except A 1 , A 2 , A 4 , A N A_1,A_2,A_4, A_N . Thus, ( N 5 ) (N-5) Yellow lines are drawn.

Draw the Blue lines A 4 A 1 A_4A_1 , A 4 A 2 A_4A_2 and A N A 1 A_NA_1 and A N A 2 A_NA_2 , thus forming a Blue hourglass-like structure. Hence, 4 Blue lines are drawn. C o n d i t i o n 2 , 3 , 4 Condition2, 3,4 are satisfied.

For C o n d i t i o n 1 Condition1 to be satisfied:

T = ( N 1 ) + ( N 5 ) + 4 \displaystyle T = (N-1) + (N-5) + 4

T = 2 N 2 \displaystyle \Rightarrow T = 2N - 2

N 2 5 N + 4 = 0 \displaystyle \Rightarrow N^2 - 5N + 4 = 0

N = { 1 , 4 } \displaystyle \Rightarrow N=\{1,4\}

N = 1 N = 1 is discarded and we get N = 4 N = 4 as the solution.

\text{ }

\text{ }

Interestingly, as we go on decreasing the number of Red lines to ( N 2 ) , ( N 3 ) , ( N 4 ) , (N-2), (N-3), (N-4), \ldots so on, depending on the number, order, method of selection of Red, Yellow and Blue lines we get N = 3 N=3 or N = 4 N=4 or no solution for N at all. Thus, we conclude that N = 4 \boxed{N=4} and N = 3 \boxed{N=3} are the only solutions satisfying all the conditions.

Now we consider the case when there are ( N + 1 ) (N+1) Red lines:

Let ( N ) (N) Red lines form the perimeter of an N N - sided polygon and draw one Red line such that A 1 , A 4 A_1,A_4 are connected. For A 1 A_1 , A 3 , A N 1 A_3, A_{N-1} cannot be chosen as that would result in a Red triangle A 1 A 2 A 3 \bigtriangleup A_1A_2A_3 or A 1 A N A N 1 \bigtriangleup A_1A_NA_{N-1} .

Draw Yellow lines from A 1 A_1 to all points except A 2 , A N , A 4 A_2,A_N, A_4 . (These points are already connected to A 1 A_1 in Red.) Thus, ( N 4 ) (N-4) Yellow lines are drawn.

Now, draw the Blue lines A 4 A 2 A_4A_2 and A 4 A N A_4A_N . Thus, there are 2 Blue lines. Now, all the points to connected to lines of any 2 of the colours. C o n d i t i o n 2 , 3 , 4 Condition2, 3, 4 are satisfied.

For C o n d i t i o n 1 Condition1 to be satisfied:

T = ( N + 1 ) + ( N 4 ) + ( 2 ) \displaystyle T = (N+1) + (N-4) + (2)

( N 2 ) = 2 N 1 \displaystyle {N\choose 2} = 2N-1

N 2 5 N + 2 = 0 \displaystyle N^2 - 5N + 2 = 0

As is seen, there are no positive integral solutions possible for N N in this case.

As we go on increasing the number of Red lines to ( N + 2 ) , ( N + 3 ) , (N+2), (N+3), \ldots so on, we notice that no positive integral solutions for N N are possible.

Thus, we conclude N = 3 \boxed{N=3} and N = 4 \boxed{N=4} are the only possible solutions satisfying the given conditions.

Hence, the largest number of towns meeting all the criteria is 4 \displaystyle \boxed{4} .

(I know it's a really long solution and might require additional clarification or there could have been errors at places. Please feel free to point them out or ask any doubts.)

Mehul Arora
Feb 6, 2016

Assume AB, AC, and AD are all rail.

None of BC, CD, or CD can be rail, as those cities would form a rail triangle with A.

If BC is bus, then BD is bus as well, as otherwise B has all three types.

However, CD cannot be rail (as ACD would be a rail triangle), bus (as BCD would be a bus triangle), or ferry (as C and D would have all three types).

Therefore, no city can have three connections of the same type.

Assume there are 5 towns - A, B, C, D, and E.

Two connections from A must be of one type, and two of another; otherwise there would be at least three connections of the same type from A, which has been shown to be impossible.

Let AB and AC be rail connections, and AD and AE be bus.

Assume CD is air.

BC cannot be rail (ABC would be a rail triangle) or bus (C would have all three types), so BC must be air.

DE cannot be bus (ADE would be a bus triangle) or rail (D would have all three types), so DE must be air.

BE cannot be rail (E would have all three types) or bus (B would have all three types), so BE must be air.

However, BD cannot be rail (D would have all three types), bus (B would have all three types), or air (D would have three air connections).

Therefore, the assumption that CD is air is false.

CD can equally be rail or bus; assume it is bus.

BC cannot be rail (triangle ABC would be a rail triangle) or air (C would have all three types), so BC must be bus.

BD cannot be air (B would have all three types) or bus (D would have three bus connections), so BD must be rail.

DE cannot be air (D would have all three types) or bus (D would have three bus connections), so DE must be rail.

CE cannot be air (C would have all three types) or bus (E would have three bus connections), so CE must be rail.

The only connection remaining is BE, which cannot be orange as both B and D would have all three types, but this means there are no air connections.

Therefore, it is impossible with five (or more) towns.

A four-town mapping is possible:

AB, BC, CD, and DA are connected by bus.

AC is connected by rail.

BD is connected by air.

Therefore, the maximum number of towns is 4

(Solution credits: AOPS)

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...