Boolean-pair colouring gadget 2026-10-06
Two graph triangles sharing a vertex force their two opposite edges to use the same two colours in a graph colouring with three colours. A palette graph triangle and another graph triangle therefore force the literal pair to have opposite Boolean colours. This gadget is used in a reduction from 3-SAT to the three-colourability problem.
Complement theta number 2026-10-05
For a finite simple graph with at least one vertex, the complement theta number has the equivalent semidefinite program formulationsandThe Schur complement and prove the equivalence; any feasible is at least one, so division by is valid. For a graph with an edge, is the Gram matrix of a strict vector coloring. Consequently is the strict vector chromatic number, and an ordinary -graph colouring gives by assigning the colors the vertices of a regular simplex.
Kneser graph 2026-10-06
The Kneser graph has as vertices the -element subsets of , with an edge between two exactly when they are disjoint. A graph colouring of this graph partitions the -sets into intersecting families.
Past exam of the mathematics course of the University of Cambridge 2006 ii Paper 1 17F Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 13 1 iii Solution Created 2026-10-03 Updated 2026-10-06
Use the identification of two-element subsets of with the edges of the complete graph . A colour class in the Kneser graph is an intersecting two-element set family, so its edges must pairwise meet.
Such a class is contained either in a star graph or in a triangle in a graph. Indeed, if not all edges have a common vertex, take two meeting edges . An edge not containing must then be . Any further edge meeting all three of is one of these three. Classes with at most two edges already lie in a star graph.
Assume that a graph colouring used colours. Classify classes as stars and the remaining classes as triangles. Delete a chosen centre of each star class, leaving vertices. Every edge between those remaining vertices must belong to a triangle class, of which each covers at most three edges. HenceButa contradiction. Thus . For the matching upper bound, assign a two-set the colour of its smaller element if that element is at most , and otherwise give it colour . The last class comprises the three pairs on the last three elements, an intersecting family. Consequently an entirely combinatorial argument gives
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 13 1 ii Solution Created 2026-10-03 Updated 2026-10-06
The Kneser graph has the -element subsets of as its vertices; two vertices are adjacent exactly when the corresponding subsets are disjoint. The Lovász theorem on Kneser graphs determines its chromatic number. A graph colouring is therefore a partition of the -sets into intersecting families.
First construct a graph colouring with colours. If a -set meets , give it the colour of its least element. Give every remaining -set colour . Two sets with one of the first colours share that colour's element. The last colour consists of -sets in a -element ground set, so it too is an intersecting family. Thus .
For the converse we establish the Gale hemisphere lemma explicitly, using a signed moment curve. Choose and putEvery open hemisphere contains at least labelled points . To see this, put . It is a nonzero polynomial of polynomial degree at most . First suppose none of the vanishes. Write . If only of the were positive, the negative signs would occupy at most consecutive blocks. There would be at leastadjacent pairs with both negative. Each such pair forces and to have opposite signs. The intermediate value theorem would give distinct roots of a polynomial, a contradiction.
If vanishes at of the sample points, then . A Lagrange interpolation polynomial of polynomial degree at most can be chosen with at all those points. For sufficiently small , the polynomial keeps every previously nonzero sign, has no zero sample values, and makes every previously zero value negative after multiplication by . Its positive count is exactly the positive count of , so the preceding argument proves the open hemisphere assertion also in this case. For , the labelled points alternate between the two points of ; distinct labels, rather than distinct positions, are what is needed.
Suppose now that had a graph colouring with at most colours, padding the palette with unused colours if necessary. For each colour , letThese are open sets, and the Gale hemisphere lemma says that they cover . If both and belonged to , two -sets of colour would lie in opposite open hemispheres. They would be disjoint, hence adjacent in the Kneser graph, contradicting the graph colouring. The Lusternik-Schnirelmann-Borsuk theorem excludes this cover. Therefore the lower bound matches the explicit colouring:
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 38 4 b Solution Created 2026-10-03 Updated 2026-10-06
Run Breadth-first search separately in every component of the undirected graph. Give a starting vertex colour zero and each newly discovered neighbour the opposite colour. Reject if an edge joins two vertices with the same assigned colour; otherwise accept after all components have been explored.
If the algorithm accepts, its assignments constitute a graph colouring with two colours. If it rejects, the two search-tree paths and the conflicting edge contain an odd cycle, on which alternating two colours cannot close consistently. Equivalently, a valid graph colouring with two colours fixes the parity of every path from a component's root, so the detected conflict is impossible in a two-colourable graph. The Breadth-first search work is with adjacency lists. ThereforeThis is also the two-colourability criterion for bipartite graphs.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 38 4 c Solution Created 2026-10-03 Updated 2026-10-06
The displayed graph consists of three graph triangles sharing the vertex . In a graph colouring with three colours, every graph triangle uses all three colours. The edge and the edges therefore force to be the two colours different from . Likewise the graph triangle forces to be those same two colours. The third graph triangle imposes no further restriction on these four vertices. HenceBoth two-element sets and their union have cardinality two. This is a Boolean-pair colouring gadget: after fixing a palette graph triangle, the pair encodes opposite truth values.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 38 4 e Solution Created 2026-10-03 Updated 2026-10-06
The three-colourability problem belongs to NP: a colour assignment is a polynomial-length complexity certificate, and all edges can be checked in time.
For NP-hardness, reduce 3-SAT to the three-colourability problem. Start with a palette graph triangle with vertices . Its colours are necessarily distinct, and name them by these vertices. For each Boolean variable , add vertices , join them to each other, and join each to . The graph triangle is the forcing component of the Boolean-pair colouring gadget, so the two literal vertices receive opposite colours .
For each Boolean clause, attach a fresh copy of the three-colour clause gadget, identify its with the palette vertex , and identify its three input vertices with the Boolean clause's Boolean literal vertices. Copies share only palette or literal vertices. A Boolean clause with one or two Boolean literals is padded to three by repeating a literal; an empty Boolean clause can be mapped immediately to the uncolourable graph .
Any graph colouring with three colours gives a truth assignment by reading colour as true. The three-colour clause gadget forbids three false inputs, so every Boolean clause is satisfied. Conversely, any satisfying truth assignment colours the literal pairs, and the extension property proved above independently colours the fresh auxiliary vertices of each clause. Thus the entire graph is three-colourable exactly when the formula is satisfiable.
There are vertices for variables and nonempty padded clauses, and edges. The construction is a polynomial-time many-one reduction. Using the permitted NP-completeness of 3-SAT, we obtain
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 110 1 Solution Created 2026-10-03 Updated 2026-10-06
The Erdős-Stone theorem says that, for a fixed graph with chromatic number ,The lower bound comes from the balanced Turan graph with parts; the theorem supplies the matching asymptotic upper bound. Here and below, all forbidden graphs and blow-up parameters are fixed as .
First obtain an almost spanning, almost complete multipartite core. Put . We give the stability argument, rather than infer pointwise degree bounds by differentiating an asymptotic edge-count formula. Suppose first .
We need two elementary ingredients. First, positive homomorphism density of forces a fixed complete multipartite graph . To see this, perform vertex cloning in a graph, replacing one vertex by independent twins. Conditional on the images of the other vertices, its contribution to the homomorphism density changes from a number to ; Jensen inequality gives . Duplicating each original vertex therefore givesA positive lower bound on the right supplies a positive proportion of all maps of the blow-up. Only maps fail to be injective, so for large at least one map is an embedding. Consequently a -free sequence has copies of . The clique removal lemma, proved in the next solution, then deletes edges to give a -free graph with .
Second, we prove the required stability for -free graphs by induction on . For such a graph is edgeless. In an -vertex -free graph , take a vertex of maximum vertex degree , put and , and note that is -free. The Turan theorem and the maximum-degree bound giveIf , both nonnegative error terms are : and . The deficit in the bound for is likewise . Induction partitions into classes with a total of internal edges; adjoining gives an -class partition with the same property. Applying this to and restoring the removed edges gives such a partition of .
The number of possible crossing edges is . Since the actual crossing-edge count is within of this maximum, for every , and there are missing crossing edges. Choose so slowly that the number of vertices missing more than neighbours in other classes is . Delete those vertices and all internal edges. The remaining r-partite graph has vertices and every vertex has crossing vertex degree at least . The Turan theorem, or the size of a largest part, supplies the matching upper bound for its minimum vertex degree. ThusThis is a high-minimum-degree multipartite stability subgraph. The subgraph need not be spanning; deleting the exceptional vertices is essential. For , the spanning edgeless subgraph already proves the assertion.
Extremality forces the minimum degree. Choose . A proper -graph colouring embeds in , so every -free is also -free. By the Erdős-Stone theorem, its extremal edge count has the needed asymptotic size. The preceding proof supplies core classes of size in which every vertex misses only crossing neighbours, uniformly over the core.
Delete an arbitrary vertex from and introduce a new vertex adjacent precisely to with removed if necessary. The new graph is still -free. Indeed any new copy would use , all its neighbours in that copy would be in the specified core classes, and their set of common neighbours in has size . A vertex of this common neighbourhood outside the bounded vertex set of the copy replaces , producing an existing copy of in , a contradiction. For the new vertex is isolated and the same conclusion is immediate.
The replacement adds edges. Since has the maximum possible number of edges, . As was arbitrary and the minimum vertex degree is at most the average vertex degree,This proves the minimum degree of an extremal forbidden-subgraph graph. The replacement argument avoids the invalid implication based solely on the asymptotic formula.
A colour-critical vertex also bounds the maximum degree. Suppose a vertex of has for some fixed . Since the core omits only vertices and all its classes have size , has at least neighbours in each . Otherwise, even counting every vertex in all other classes and outside the core would give too small a vertex degree.
Inside these neighbourhood sets, greedily choose a fixed number of vertices in each class. Every previously chosen vertex excludes only crossing nonneighbours, so each next candidate set still has positive linear size. This produces inside . A proper -graph colouring of embeds it in that complete multipartite graph; map to . All required incident edges exist, so this embeds , a contradiction. The case simply uses enough neighbours to embed the edgeless . Hence , and the average-degree lower bound completes the answer: