Maths Olympiad Prep

Library / /3 of 4

, 2015

Combinatorics Difficulty 5.3 AIME, harder Prove it Romania

Show that the edges of a connected finite simple graph can be oriented so that the number of edges leaving each vertex is even if and only if the total number of edges is even.

Solution

Given any orientation, the total number of edges equals the sum of all out-degrees. If the latter are all even, then so is the former.

To establish the converse, induct on the number of edges to show that any connected simple finite graph with an even number of edges splits into edge-disjoint paths of length 22. Orient the two edges of each of these paths away from the joint to obtain the required orientation.

Alternative Solution.

The problem is a special case of the following general fact: Given a connected finite simple graph G=(V,E)G = (V, E) and an integral-valued function ff on VV, taken over all possible orientations of the edges of GG, the minimum of the number of vertices at which outdeg and ff have opposite parities is ExVf(x)|E| - \sum_{x \in V} f(x) reduced modulo 22.

Given any orientation, notice that the number of vertices at which the parities of outdeg and ff disagree has the same parity as ExVf(x)|E| - \sum_{x \in V} f(x). Consider an orientation minimising the number of these vertices. If this number exceeds 11, choose two such vertices and use connectedness to join them by a path. Reverting orientations along the path changes the parity of out-degrees only at the end-points, so the outcome is an oriented graph with fewer vertices at which outdeg and ff have opposite parities. This contradicts minimality and concludes the proof.

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

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.