X is the set {1, 2, ... , n}. P1, P2, ... , Pn are distinct pairs of elements of X. Pi and Pj have an element in common iff {i, j} is one of the pairs. Show that every element of X belongs to exactly two of the pairs.
Solution
Solution by Demetres Christofides
Suppose that i appears in ai of the pairs. Counting pairs, we have 2n = a1 + a2 + ... + an. If two pairs both contain i, then they do not have any other element in common. So the ai pairs containing i give rise to ai(ai - 1)/2 pairs with i as common element. Thus the number of pairs is also ∑ ai(ai - 1)/2. So ∑ ai(ai - 1) = 2n. Hence ∑ ai2 = 4n. But, by Cauchy Schwartz, 4n2 = (∑ 1 ai)2 ≤ (∑ 12)(∑ ai2) = 4n2 with equality iff all ai are equal and hence iff all ai = 2.
© John Scholes
jscholes@kalva.demon.co.uk
5 Oct 2002