Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 339 2 b Solution Created 2026-10-03 Updated 2026-10-05
For a proper three-graph colouring , associate the colors with the three roots of unity , viewed as unit vectors in . Define using the real inner product.
This is twice a Gram matrix, so it is a positive semidefinite matrix. Its diagonal is . On every edge, the endpoint colors differ, so their vectors make angle or and . Thus and this are feasible in the second semidefinite program, provingThis is the regular simplex construction of a strict vector coloring.
If , use a single color. Otherwise chooseThe previous bound gives , including the case . By Markov inequality, . Sample the hyperplanes, count the monochromatic edges, and repeat if . The success probability is at least , so at most two draws are needed on average.
For a successful draw, select one endpoint of each monochromatic edge and let be the union of the selected vertices. Then . Every monochromatic edge meets , so the original colors give a proper graph colouring on the induced subgraph with vertex set . Since , the coloring of all vertices is a semicoloring. This is a random alteration method; no additional colors for are required.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 17G a Solution Created 2026-09-24 Updated 2026-10-03
Semicoloring 2026-10-05
A -semicoloring of a finite graph assigns one of colors to every vertex and is a proper graph colouring on an induced subgraph containing at least half the vertices. This is weaker than a proper coloring of the whole graph, and is useful as an intermediate step in a randomized algorithm.
Three-colourability problem 2026-10-06
This decision problem asks whether a finite undirected graph has a graph colouring with three colours. It is NP-complete: a colouring certifies membership in NP, while 3-SAT reduces using Boolean-pair colouring gadgets and three-colour clause gadgets.
Three-colour clause gadget 2026-10-06
Take auxiliary graph triangles and , join to , and add edges . When has colour and the inputs have colours in , this graph admits an extension to a graph colouring with three colours exactly when at least one input is . All-false inputs force , contradicting their edge. Conversely, use if , if , and if . The extension property is necessary for both directions of a polynomial-time many-one reduction.
Vector coloring 2026-10-05
A vector -coloring, for , assigns a unit vector to each vertex of a graph, such that on every edge. A graph colouring with colors gives a vector -coloring by placing the colors at the vertices of a regular simplex. The Gram matrix of these vectors allows semidefinite programming to search for such a representation.