Maths Olympiad Prep

Library / Team Selection Test Selection Test /6 of 6

Team Selection Test Selection Test

Combinatorics Difficulty 8.8 Shortlist Prove it United States

At a certain orphanage, every pair of orphans are either friends or enemies of each other. For every three of an orphan's friends, an even number of pairs of them are enemies. Prove that it's possible to assign each orphan two parents such that every pair of friends shares exactly one parent, but no pair of enemies does, and no three parents are in a love triangle (where each pair of them has a child).

Solution

Solution: Form a graph GG with the orphans as vertices and with an edge between two orphans if they are friends. Let A1,A2,…A_1, A_2, \dots be the maximal cliques of GG; that is, every pair of orphans in AiA_i is friends, and every orphan outside AiA_i is an enemy of some orphan in AiA_i. We now have a sequence of lemmas.

Lemma 1. Any two maximal cliques intersect in at most one orphan.
Proof. Suppose for the sake of contradiction that AiA_i and AjA_j had intersection of size at least 2. We may choose orphans u∈Aiu \in A_i and v∈Ajv \in A_j such that uu is not friends with vv; in particular, this means that u∉Aju \notin A_j and v∉Aiv \notin A_i. Then, taking two orphans w,w′∈Ai∩Ajw, w' \in A_i \cap A_j, notice that ww is friends with uu, vv, and w′w' and that {u,w′}\{u, w'\} and {v,w′}\{v, w'\} are pairs of friends, but {u,v}\{u, v\} is not, contradicting the given. This proves the lemma. □

Lemma 2. Every orphan vv is in either 1 or 2 of the AiA_i.
Proof. No orphan is in none of the AiA_i, as any orphan forms a clique of size 1, which may be grown into a maximal clique. Suppose for the sake of contradiction that some orphan vv were in at least 3 maximal cliques. Without loss of generality, let these cliques include A1,A2A_1, A_2, and A3A_3, and choose friends v1∈A1,v2∈A2v_1 \in A_1, v_2 \in A_2, and v3∈A3v_3 \in A_3 of vv.
For i≠ji \neq j, notice that vi∉Ajv_i \notin A_j, as AjA_j intersects AiA_i in at most one orphan, which is vv. Thus, v1,v2v_1, v_2, and v3v_3 are distinct. If, say, v1v_1 and v2v_2 are friends, then {v,v1,v2}\{v, v_1, v_2\} forms a clique, hence is contained in some maximal clique AA; then AA intersects both A1A_1 and A2A_2 in at least two orphans, implying by Lemma 1 that A1=A=A2A_1 = A = A_2, a contradiction. Thus, there are no friendships between v1,v2v_1, v_2, and v3v_3, which contradicts the given because vv is friends with each of them. □

Form a graph H′H' with vertices PAP_A the maximal cliques of GG and with an edge between two vertices if the corresponding cliques intersect. From H′H', form the graph HH by attaching a leaf P{A,v}P_{\{A,v\}} to the maximal clique AA for each orphan vv for which AA is the unique maximal clique containing vv. Assign a parent to each vertex of HH and assign orphans to parents in the following way.

* If an orphan vv lies in only one maximal clique AA, assign it to PAP_A and P{A,v}P_{\{A,v\}}.
* If an orphan vv lies in two maximal cliques AA and A′A', assign it to PAP_A and PA′P_{A'}.

This construction covers all cases by Lemma 2 and assigns each pair of parents at most one orphan by Lemma 1. By construction, if an orphan is assigned to two parents, there is an edge between those parents in HH. Further, two orphans share a parent if and only if they share a maximal clique, meaning that they are friends. Finally, if HH contained a love triangle, then we would have three maximal cliques A,A′,A, A', and A′′A'' with non-empty pairwise intersections at v,v′,v′′v, v', v''. Then {v,v′,v′′}\{v, v', v''\} is a clique, hence lies in a maximal clique A∗A^* which intersects each of A,A′,A, A', and A′′A'' with cardinality at least 2. By Lemma 1, this implies that A∗=A=A′=A′′A^* = A = A' = A'', a contradiction. Thus, HH has no love triangles, completing the proof.

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.