Original solutions to past examinations of the graph theory course of the University of Oxford.
Solutions to all three questions of the graph theory course of the University of Oxford Part B examination, sat on 15 June 2023. Source: original released PDF, bundle pages 243–244; paper pages 1–2. Throughout, graphs are finite simple graphs unless a construction explicitly permits parallel edges.
A proper edge colouring assigns colours to the edges of a graph so that distinct edges sharing a vertex have different colours. The edge chromatic number is the least number of colours in such an assignment. Equivalently, it is the least number of matchings in a graph whose disjoint union is the entire collection of edges.
Vizing's theorem states that a finite simple graph of maximum degree satisfiesThe lower bound holds because all edges incident with a vertex of vertex degree require different colours.
Hall's marriage theorem states that a finite bipartite graph with vertex sets has a matching in a graph saturating if and only ifwhere is the graph neighbourhood of . Here matching saturation means that each vertex of is incident with an edge of the matching in a graph; it does not require every vertex of to be met.
Let . Apply Hall's marriage theorem to the induced subgraph on , which is a bipartite graph. For any subset , double counting the edges from to its graph neighbourhood givesThe equality uses the fact that every neighbour of lies in , so all edges incident with have been counted. The final inequality uses the maximum degree bound on . Since , division gives the Hall condition .
Consequently there is a matching in a graph saturating . If is empty, use the empty matching in a graph. This proves the required matching covering maximum-degree vertices in a bipartite graph on the specified side; other vertices need not be met.
By part (i), choose a matching in a graph meeting all vertices of vertex degree in . Interchanging the two vertex sets gives a matching in a graph meeting all such vertices in . Consider the spanning subgraph with edges .
Every vertex has vertex degree at most two in . An edge belonging to both matchings in a graph forms a whole two-vertex connected component of a graph, since neither endpoint can meet another edge of either matching in a graph. On every other nontrivial connected component of a graph, the edges alternate between and , so the connected component of a graph is a graph path or an even graph cycle. We select one of the two matchings in a graph separately on each connected component of a graph.
On a graph cycle, either choice covers every vertex. On a graph path with an odd number of edges, the first and last edges belong to the same matching in a graph; choose it, and it covers every vertex of the graph path. For a common edge, choose that edge.
It remains to treat a graph path with a positive even number of edges. Its endpoints lie in the same side of the bipartite graph. Every internal vertex meets both matchings in a graph. If both endpoints lie in , choose : every endpoint of vertex degree must already be met by , by its defining property. If both endpoints lie in , choose for the same reason. Thus the choice meets all vertices of vertex degree in that connected component of a graph.
Finally, an isolated vertex of cannot have vertex degree in , since it would have been met by or . The union of the selected edges over the connected components of a graph is a matching in a graph, because different connected components of a graph have disjoint vertex sets. It meets every vertex of vertex degree in . The useful mechanism is the union of two matchings and its alternating connected components of a graph.
Use mathematical induction on the maximum degree , including as the base case. A graph of maximum degree zero has no edges, so zero colours suffice.
For , part (ii) supplies a matching in a graph meeting every vertex of vertex degree . Delete its edges, retaining all vertices. Each vertex formerly of maximum degree loses one incident edge; every other vertex already had vertex degree at most . HenceThe resulting graph is still a bipartite graph. By mathematical induction, it has a proper edge colouring using at most colours. Give every edge of one new colour. Since is a matching in a graph, this produces a proper edge colouring of with at most colours. The edges at a vertex of maximum degree require at least colours, soThis is Kőnig's line colouring theorem.
For even , take the complete graph . It is an -regular graph on an odd number of vertices. Every matching in a graph has at most edges, so colours in a proper edge colouring could cover at most edges. ButTherefore ; Vizing's theorem gives . This includes the graph triangle when .
For odd , first construct a graph on vertices. Start with the complete graph onand delete the edges , , and . The pairing is possible because is even. In the initial complete graph, every vertex has vertex degree . The distinguished vertex loses two edges and every other vertex loses exactly one, givingTake two disjoint copies of , with distinguished vertices , and add the edge . The resulting simple graph is an -regular graph. The added edge is the only edge between the two copies; each copy has the odd number of vertices.
Suppose an -colour proper edge colouring existed. At each vertex, the incident edges would use all colours. Thus each colour would form a perfect matching. Any perfect matching must use : without it, each odd-sized copy would have to be covered by internal pairs, which is impossible by parity. Therefore all colour classes would have to contain the same edge , a contradiction. Hence Vizing's theorem again givesThese constructions give class two regular graphs for every . The odd- construction exhibits the bridge obstruction to regular edge colouring; is a connected graph because every vertex other than is adjacent to , while are adjacent to those vertices.
For a finite graph , its chromatic polynomial is the polynomial whose value at each positive integer counts proper vertex colourings of from a fixed palette of labelled colours. Adjacent vertices must receive different colours, and unused colours are allowed.
For an edge , the deletion-contraction recurrence for the chromatic polynomial isHere deletes only the edge , while performs edge contraction, identifying and removing . Any parallel edges produced by edge contraction can be replaced by a single edge, since their constraints on proper vertex colourings are identical.
Indeed, the proper vertex colourings of in which differ are precisely those of , while those in which agree correspond bijectively to proper vertex colourings of . This proves the equality for every positive integer , hence as a polynomial identity. Together with for a graph without edges, the recurrence also proves by mathematical induction that the counting function is a polynomial.
Let the nonempty connected components of a graph of be . A proper vertex colouring can be chosen separately on each connected component of a graph, since no edge joins different connected components of a graph. The multiplication principle gives, first at positive integers and then as a polynomial identity,It remains to justify that every factor has zero constant term. More generally, for every nonempty simple graph , prove by mathematical induction on the number of edges. If there are no edges, then with . Otherwise choose an edge . Both and the simplified edge contraction are nonempty graphs with fewer edges. The deletion-contraction recurrence for the chromatic polynomial and mathematical induction giveThus for a polynomial , andFor the empty graph, and , so the conclusion also holds. This is the chromatic polynomial product over components.
Write and . For , let denote the number of connected components of a graph of the spanning subgraph , including isolated vertices. The inclusion-exclusion principle, applied to the unwanted events that the two endpoints of an edge receive the same colour, gives the chromatic polynomial inclusion-exclusion formulaTo justify the exponent, imposing equal colours across all edges in forces a single colour on each connected component of a graph of , with independent choices between its connected components of a graph. Thus the corresponding count at colours is . Equality for all positive integers proves the polynomial identity.
Fix an index in the stated range. A subset contributes to the coefficient of exactly when . If contains a graph cycle of length , the hypothesis gives . All its vertices lie in one connected component of a graph. For any connected component of a graph , its contribution to is , soThis contradicts . Therefore every contributing is a forest. The forest identity then gives .
Conversely, every -edge subset is a forest, since a graph cycle in it would have at most edges. It therefore has and contributes exactly . There are such subsets, by the definition of a binomial coefficient. ConsequentlyHere the coefficient notation is understood within the defined indices ; if the displayed range is extended past , the coefficients beyond the constant term can be set to zero. For a forest, , so the binomial coefficients there are also zero. The key reason girth determines initial chromatic coefficients is that a graph cycle can affect only exponents whose loss of connected components of a graph is at least .
First reduce the unicyclic graph to its unique graph cycle . Delete the edges of but retain every vertex. The remaining graph is a forest, since any surviving graph cycle would be a second one in . Each of its connected components of a graph contains a vertex of : follow a graph path to in the original connected graph, stopping at the first vertex of ; this initial segment uses no edge of .
No such connected component of a graph contains two vertices of . Otherwise, on the tree graph path between them, choose two successive visits to . The segment between these visits has no internal vertex on and uses no edge of . Combining it with either connecting arc of gives a second graph cycle, a contradiction. Thus the remaining graph consists of trees, each rooted at exactly one vertex of .
After choosing a proper vertex colouring of from colours, colour these rooted trees away from their roots. Each of the off-graph cycle vertices has one already coloured parent in a rooted tree, leaving exactly choices. The multiplication principle therefore givesEquivalently, this repeatedly applies the chromatic polynomial after attaching a leaf formula.
To compute the chromatic polynomial of a cycle, the base case is the graph triangle:For , deleting a cycle graph edge gives a path graph on vertices, while edge contraction gives . The chromatic polynomial of that path graph is , by choosing the colour of its first vertex and then each successive vertex. Hence the deletion-contraction recurrence for the chromatic polynomial givesUsing mathematical induction, substitute to obtainMultiplying by the factor for the attached trees proves the chromatic polynomial of a unicyclic graph formula
A graph is a k-connected graph if it has at least vertices and deleting any set of fewer than vertices, together with their incident edges, leaves a connected graph.
The vertex connectivity is the largest such . Equivalently, for a graph with at least two vertices, it is the smallest number of vertices whose deletion either disconnects the graph or leaves a single vertex. The latter convention gives for a complete graph. A disconnected graph has vertex connectivity zero; one usually also sets .
For distinct nonadjacent vertices , the local connectivity isSuch a set is an – vertex separator. By Menger's theorem, local connectivity also equals the maximum number of internally vertex-disjoint paths from to . If no graph path exists already, the empty vertex separator gives zero.
The vertex separator version of Menger's theorem says that, for distinct nonadjacent vertices of a finite graph, the maximum number of internally vertex-disjoint paths from to equals the minimum size of an – vertex separator.
Use the following version of the max-flow min-cut theorem: in a finite directed flow network with nonnegative integer flow network edge capacities, the maximum flow value equals the minimum cut capacity, and a maximum flow can be chosen to have integer values on every directed edge. The last clause is the integral max-flow theorem.
Here is the reduction, including the correspondence with vertex separators. Put . Perform vertex splitting on each vertex , replacing it by with a directed edge of flow network edge capacity one. Keep as the source and as the sink. For each original undirected edge , put directed edges from the output of to the input of and from the output of to the input of , each of flow network edge capacity ; an unsplit endpoint uses or itself.
A family of internally vertex-disjoint paths gives a feasible integral flow of value , by sending one unit down each graph path. Conversely, decompose an integral flow into unit source-to-sink graph paths and directed cycles, discarding the directed cycles. This decomposition can be obtained by following positive-flow directed edges and subtracting one unit along a source-to-sink graph path or a directed cycle, repeating until the flow value is exhausted. A capacity-one split edge can belong to at most one unit graph path. The projected graph paths in are therefore internally vertex-disjoint paths. Thus the largest number of such graph paths equals the maximum flow value.
Deleting a vertex separator corresponds to removing its split edges, of total flow network edge capacity . This destroys every source-to-sink graph path; taking the source-reachable vertices after removal gives a cut of a flow network of cut capacity at most . Thus the minimum cut capacity is no greater than the minimum vertex separator size.
For the reverse inequality, deleting all internal vertices separates , because they are nonadjacent. Hence a minimum cut has cut capacity at most and cannot contain a directed edge of flow network edge capacity . Its outgoing edges are therefore split edges. Let be the original vertices associated with them. Any – graph path avoiding would lift to a source-to-sink graph path crossing this cut of a flow network without using an outgoing edge, an impossibility. Hence is a vertex separator, with size exactly the cut capacity. The two minima agree, and the max-flow min-cut theorem proves Menger's theorem.
Add two new vertices to , joining to every vertex of and to every vertex of , with no other new edges. The vertices are nonadjacent. Suppose has . Since is a k-connected graph, is a connected graph. Both and are nonempty because each original set has cardinality . Choose and ; a graph path between them in extends to an – graph path avoiding .
Consequently no fewer than vertices can form an – vertex separator. By Menger's theorem, there are at least internally vertex-disjoint paths from to . There cannot be more than , since has only neighbours.
Remove from these graph paths. The resulting graph paths in start at distinct vertices of , end at distinct vertices of , and are pairwise vertex-disjoint paths: any shared vertex would have been an internal vertex common to two of the original graph paths. Because there are exactly graph paths, they use every vertex of and as an endpoint. None can pass through another terminal internally, since that terminal already occurs as an endpoint of one of the vertex-disjoint paths. Thus there are vertex-disjoint paths from to , with some pairing of the endpoints. This is also an immediate application of the Set version of Menger theorem.
No. A counterexample works for every . Take the complete bipartite graph with vertex setsIt is a k-connected graph: deleting fewer than vertices leaves at least one vertex in each side, and the remaining complete bipartite graph is a connected graph.
Chooseand order these sets so that and . Order the other members arbitrarily. These are disjoint sets of cardinality , and every vertex of is one of the specified endpoints.
If the prescribed vertex-disjoint paths existed, no one of them could have an internal vertex, because every vertex must serve as the endpoint of one of the graph paths. Thus each graph path would have to be a single edge. But lie in the same side of the bipartite graph, so there is no edge . This contradicts the requirement on .
For this is the four-vertex cycle graph, with opposite vertices paired. The stronger property that every prescribed pairing can be realized is the linked graph property; vertex connectivity alone does not guarantee it.
We verify the Hall condition for . Let . If is empty, then . Suppose . Choose . Its graph neighbourhood is contained in , so the minimum degree hypothesis givesIf , suppose for a contradiction that some vertex exists. All neighbours of lie in , socontradicting the minimum degree hypothesis. Thus and .
Every subset satisfies the Hall condition. By Hall's marriage theorem, there is a matching in a graph saturating . Since , its edges also cover every vertex of . It is therefore a complete matching, meaning a perfect matching. For , the empty matching in a graph already has this property.
Source paper: FOI request thread. The intact cover identifies Graph Theory, C11.1a, Friday 10 June 2011, 9.30am to 11.00am. This three-page paper occupies original private-bundle pages 466–468. Its three questions match Section A of the separately issued combined Graph Theory and Probabilistic Combinatorics paper, C11.1; the same solution bodies are reused here under this paper's own question tree.
The Ramsey number is the least integer such that every graph on vertices contains either a clique of size or an independent set of size . Equivalently, every red-blue colouring of the edges of contains a red or a blue .
Put , and consider a graph on vertices. Fix a vertex . If it has at least neighbours, their induced graph contains either a clique of size , which together with gives a clique of size , or an independent set of size . Otherwise has at least nonneighbours. Their induced graph contains either a clique of size , or an independent set of size , which can be enlarged by . ThusSince , this gives . For the reverse bound, the five-cycle has no triangle and no independent set of size three: its complement is again a five-cycle, so it too is triangle-free. Hence the property fails on five vertices and
The vertex version of Menger's theorem states that for two distinct nonadjacent vertices of a finite graph, the maximum number of internally vertex-disjoint - graph paths equals the minimum size of a set whose deletion separates from .Internally disjoint graph paths may share their endpoints but no other vertex. The nonadjacency hypothesis is needed in this separator formulation, since an edge cannot be destroyed by deleting other vertices.
Let the bipartition be . Form an auxiliary graph by adding a new vertex adjacent to every vertex of and a new vertex adjacent to every vertex of . The vertices are nonadjacent, so Menger's theorem applies.
A matching of size gives internally disjoint graph paths , one for each matching edge . Conversely, every - graph path must use an edge of the original bipartite graph. Choose one such edge from each member of an internally disjoint family. Their endpoints are all distinct, so the chosen edges form a matching. Thus the maximum number of those graph paths is the maximum matching size.
An - separator contained in is exactly a vertex cover of the original graph. Indeed, an uncovered edge would leave the graph path , while removing a vertex cover removes every edge between and and hence every - graph path. The minimum separator size is therefore the minimum vertex cover size. Menger givesThis is Kőnig's theorem for bipartite matching. The auxiliary construction gives the required deduction from vertex-disjoint paths rather than assuming a matching theorem in advance.
Hall's marriage theorem says that a bipartite graph with parts has a matching saturating if and only ifNecessity follows because the matched neighbours of vertices of are distinct and belong to .
For sufficiency, assume these inequalities. Let be any vertex cover, with and . Every neighbour of must belong to , since otherwise its edge from is uncovered. Therefore , and . The whole part is itself a vertex cover of size . Part (ii) now gives a matching of size exactly , so it saturates .
Choose a spanning tree of the connected graph and root it at . List vertices in nonincreasing order of their distance from in this tree, breaking ties arbitrarily. The root has distance zero and is last, so .
Every other vertex has a parent one step closer to the root. That parent is adjacent to it and appears later in the ordering. HenceFor a graph of one vertex the condition is vacuous and the same ordering works.
Write , which is at least two because has the two specified neighbours. Give and the same colour, say colour one; this is proper because they are nonadjacent.
Apply part (i) to the connected graph , with last. Colour its vertices greedily in the resulting order using a palette of colours. Every vertex before has a neighbour later in this order, so at most of its neighbours have already received colours. At least one palette colour is available.
When is reached, all its neighbours are coloured, but the two neighbours have the same colour. Thus there are at most distinct forbidden colours. Colour with a remaining one. This constructs a proper colouring withThe common colour on the two initial vertices replaces the usual need for an uncoloured neighbour at the last greedy step.
Take a proper colouring and orient every edge from its lower-coloured endpoint towards its higher-coloured endpoint. Along a directed path the colour strictly increases, so such a graph path has at most vertices. A directed cycle is impossible for the same reason. Thus
For each vertex , let be the maximum number of vertices in a directed path ending at . These numbers lie between one and .
If is an edge, a longest graph path ending at cannot already contain , since that would give a directed cycle on appending . Appending it therefore creates a graph path ending at , so . Adjacent vertices consequently receive different colours. HenceAcyclicity is exactly what justifies extending the graph path without repeating a vertex.
Part (ii) shows that for every acyclic orientation , so is at most their minimum. Part (i), applied to an optimal colouring, supplies an acyclic orientation with . Combining the inequalities givesThe parameter counts vertices on a graph path; if graph path length were instead counted in edges, the corresponding minimum would be .
These constructions prove chromatic number from acyclic longest paths.
Fix a proper colouring with exactly nonempty colour classes. For any class , suppose every vertex in it misses at least one of the other colours in its neighbourhood. Recolour each of these vertices by one of its missing colours. No edge joins two vertices of , so these simultaneous recolourings cannot conflict with one another, and the chosen colours do not conflict with vertices outside .
This would eliminate colour and produce a -colouring, contradicting optimality. Therefore each colour class contains a vertex adjacent to at least one vertex of every other colour. That vertex has degree at least . Choosing one from each class gives distinct vertices, provingFor , a nonempty graph already has a vertex of degree at least zero, so the conclusion holds as well.
For disjoint nonempty sets , let count edges between them. Their edge density isThe pair is -regular if every and with , satisfies .
An -regular partition has disjoint classes covering , with , equal positive sizes , and at most unordered pairs with that are not -regular. The set is exceptional and its pairs need not satisfy regularity.
Szemerédi regularity lemma states that for every and integer , there are integers such that every graph with vertices has such a partition withThe bounds depend on , not on the graph order. Using a strict regularity inequality or a slightly different constant in the allowed pair count gives an equivalent conventional version; the displayed convention will be used below.
Let be the vertices with fewer than neighbours in . If , regularity applies to the pair and givesBut averaging the defining strict degree inequality over gives , a contradiction. ThereforeRegularity controls the neighbourhood of almost every vertex because a large set of exceptional low-degree vertices would itself witness an irregular density.
Apply part (b) to and . Fewer than vertices fail at least one of the degree bounds. For any remaining vertex , put and . ThenRegularity of gives . Every edge between and makes a distinct triangle containing . Hence belongs to at leastsuch triangles. This proves the asserted bound on exceptional vertices.
There are at least good vertices. Summing their triangle counts counts each triangle with one vertex in each cluster exactly once, at its vertex. ThereforeThere is no factor of three to divide out in this cross-cluster count.
This is the regular triangle counting lemma with explicit coarse constants.
Choose a small density threshold , then sufficiently small and a lower partition bound sufficiently large thatApply the regularity lemma. Delete all edges incident with , all edges within a class , all edges between irregular pairs, and all edges between regular pairs of density below . Their total is at mostIf a triangle remains, its vertices lie in three distinct nonexceptional classes, all whose pairs were regular with original density at least . Part (c) then forces at least triangles in the original graph, where is the common class size. Since and , we have , so this is at least .
Choose and take large enough for the regularity lemma. An original graph with at most triangles cannot leave any triangle after these deletions. Thus deleting at most edges makes the graph triangle-free. This is the triangle removal lemma; boundedly many large regular clusters turn any surviving triangle into a positive-density family of original triangles.
Articles by others on the same topic
There are currently no matching articles.
