Browse · MathNet
Print2015 Danube Mathematical Competition
Romania 2015 counting and probability
Problem
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 . 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 and an integral-valued function on , taken over all possible orientations of the edges of , the minimum of the number of vertices at which outdeg and have opposite parities is reduced modulo .
Given any orientation, notice that the number of vertices at which the parities of outdeg and disagree has the same parity as . Consider an orientation minimising the number of these vertices. If this number exceeds , 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 have opposite parities. This contradicts minimality and concludes the proof.
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 . 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 and an integral-valued function on , taken over all possible orientations of the edges of , the minimum of the number of vertices at which outdeg and have opposite parities is reduced modulo .
Given any orientation, notice that the number of vertices at which the parities of outdeg and disagree has the same parity as . Consider an orientation minimising the number of these vertices. If this number exceeds , 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 have opposite parities. This contradicts minimality and concludes the proof.
Techniques
Graph TheoryInvariants / monovariants