Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 2 17H b Solution Created 2026-09-24 Updated 2026-10-03
Factor the proposed polynomial:In particular,By the two-colourability criterion for bipartite graphs, every finite bipartite graph has at least one proper two-colouring, so its chromatic polynomial is positive at . Therefore cannot be the chromatic polynomial of a bipartite graph.
It is nevertheless a chromatic polynomial. Start with the complete graph , whose vertices may be coloured inways, and attach one leaf to any vertex. After the triangle is coloured, the leaf has available colours. The chromatic polynomial after attaching a leaf therefore gives
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 2 17H d Solution Created 2026-09-24 Updated 2026-09-25
Take the infinite familyEach complete graph is connected and has graph diameter one. If is its adjacency matrix, thenand direct multiplication gives the adjacency-matrix quadratic relation for a complete graphConsequentlyso , which are precisely the powers through , are linearly dependent for every .
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 4 17H d Solution Created 2026-09-24 Updated 2026-09-25
Letbe the terminal set, and let be the vertex set of the given complete graph . Any vertex set meeting every - path has size at least : if , choose and . Since is -connected, is connected, so it contains a - path avoiding , a contradiction.
The Set version of Menger theorem therefore gives pairwise vertex-disjoint - paths. Truncate them at their first and last vertices in . Since both sets have vertices, every terminal is the endpoint of one path and the other endpoints are distinct vertices of . Denote the path from a terminal to its clique endpoint by , and call that endpoint .
For each , the clique contains the edge . Concatenatinggives an - path in a graph. The linkage paths are mutually vertex-disjoint, their clique endpoints are all distinct, and the joining clique edges pair those endpoints without introducing a new vertex. The resulting paths are therefore mutually vertex-disjoint. In particular, under the stated clique hypothesis, the -connected graph is -linked for these terminals.
True. Label the vertices . The cycle uses existing edges of the complete graph and visits every vertex once before returning. It is a Hamiltonian cycle for every .
False. A connected graph has an Eulerian cycle exactly when every vertex has even degree. In every degree is , so it has an Eulerian cycle precisely when is odd. The complete graph is a counterexample to the statement for all .
Take a complete graph on vertices and add a fifth vertex joined only to and . The minimum degree is two, which is less than . The only nonadjacent pairs are and , and each has degree sum . Thus Ore's condition holds even though the minimum-degree condition fails. For example,is a Hamiltonian cycle in this graph.
Suppose a graph satisfying Ore's theorem were not Hamiltonian. Extend it, on the same vertices, to an edge-maximal non-Hamiltonian graph . Adding edges preserves the degree-sum hypothesis. The complete graph is Hamiltonian, so has a missing edge . By maximality, has a Hamiltonian cycle, which must use the new edge. Removing it gives a Hamiltonian path in , labelled .
If some has both edges and , the path can be closed into the cyclecontradicting the choice of . Thus the index sets and are disjoint subsets of . Their sizes are and . Consequently , contradicting the degree-sum condition for the nonadjacent pair . Hence the original graph is Hamiltonian.
Put , and consider any coloring of . Choose a vertex . Among its neighbors, either at least are joined to it by red edges, or at least by blue edges.
In the red case, the induced complete graph on those neighbors contains either a red , which joins with to make a red , or a blue . The blue case similarly gives a red or a blue which extends with to a blue . Hence every coloring has the required configuration, andThis is the Ramsey number recursion.
Here is an explicit simplicial complex on six vertices. Take every subset of one of the following ten triangular facets:For example, denotes , with all its edges and vertices included. Its one-skeleton has all fifteen edges of the complete graph. Every edge belongs to exactly two triangles. The links of a simplex at the six vertices are the following cycles, with the first vertex understood to repeat at the end:Thus every vertex has a disk neighbourhood, as do edge and face interior points. The realization is a compact connected surface without boundary. Its Euler characteristic isThe classification theorem for surfaces identifies the unique closed connected surface with this Euler characteristic as the real projective plane. Consequently this complex triangulates . The explicit facet and link checks make this a genuine simplicial complex, not a polygon whose boundary identifications have been mistaken for simplicial faces.
Planar graph Created 2026-09-24 Updated 2026-10-14
A planar graph admits at least one graph drawing in which edges meet only at common endpoints. This is a property of the abstract graph, not a requirement on every graph drawing. A plane graph specifies one such drawing.[ref]
Planar Graphs; Bipartite Matching by Albert R. Meyer (6.042J lecture 5f). Planar Graphs; Bipartite Matching, slides lec 5f.3 and 5f.12
For example, the complete graph joins every pair of four vertices, giving six edges. Put its vertices at the corners of a square and its diagonals cross. Instead put at the corners of a triangle and inside it: the same six edges now meet only at their endpoints. The first graph drawing obscures planarity; the second proves it. In particular, its crossing number is zero.
The distinction matters whenever connections must fit on one surface without intersecting. A failed graph drawing may only need rearrangement, whereas nonplanarity by edge counts proves that every rearrangement fails.
Planar graph edge bound Created 2026-09-24 Updated 2026-10-14
A finite simple graph that is a connected graph and a planar graph, with vertices and edges, satisfies . Choose a plane graph: each facial boundary walk has length at least three, so . Substitute from the Euler formula for a connected planar graph.[ref]
Mathematics for Computer Science by Eric Lehman and others. Mathematics for Computer Science, §12.4, Lemma 12.4.2 and Theorem 12.4.3, printed pp. 485–486
The complete graph attains equality: . The bound also holds for a disconnected finite simple graph that is a planar graph with : place its connected components of a graph in disjoint regions and join them with new bridges in a graph, then apply the connected bound.
Rado graph 2026-10-14
The Rado graph is the unique countably infinite graph with the two-uniform hypergraph extension property. Equivalently, for any disjoint finite vertex sets , some new vertex is adjacent to every member of and no member of . The back-and-forth method proves uniqueness. Independent edge sampling on the natural numbers with any fixed produces this graph almost surely. It contains both edges and nonedges and therefore is not a complete graph. Its first-order axioms constitute the theory of the random graph.
Ramsey number 2026-10-14
For positive integers , the Ramsey number is the least integer such that every red-blue edge coloring of the complete graph contains either a red clique on vertices or a blue clique on vertices. The complete graph has all unordered pairs as edges; every edge gets exactly one color, with no requirement that incident edges have different colors. The definition and its graph interpretation appear in D. Yogeshwaran's Discrete Mathematics notes, section 5.3.
For example, asks how many vertices force a monochromatic triangle in a graph. Swapping colors gives . Also : either a red edge exists, or all edges are blue. On vertices, an all-blue coloring avoids both a red edge and a blue -clique. Under the convention that a one-vertex clique qualifies in either color, .
For , splitting the neighbors of one vertex by the colors of their incident edges givesIndeed, in a complete graph of the order on the right, at least neighbors are joined to that vertex by red edges, or at least are joined by blue edges. In the red case, the defining property of the smaller Ramsey number supplies either a blue -clique among the neighbors or a red -clique that extends by the chosen vertex; the blue case is symmetric. Starting from the one-vertex base cases, this recursively proves finite existence. The binomial upper bound for a Ramsey number packages the resulting estimate. [ref]
https://www.its.caltech.edu/~dconlon/RamseyLecture1.pdf. David Conlon's Graph Ramsey Theory notes, Lecture 1
present the neighbor argument and the sharp Ramsey number for triangles.Equivalently, every graph on at least vertices has an -clique or a -element independent set: color its edges red and the edges of its complement graph blue. This is the Ramsey theorem in graph theory. Larger monochromatic patterns have their own thresholds, such as a graph Ramsey number, matching Ramsey number or triangle-packing Ramsey number; these ask different questions from finding one clique.
Ramsey number for triangles Created 2026-10-14 Updated 2026-10-31
Every red-blue edge coloring of the complete graph contains a monochromatic triangle in a graph, and some coloring of contains none. Together the five-cycle Ramsey coloring and six-vertex monochromatic triangle argument giveThe threshold is exact: one carefully chosen coloring establishes the lower bound, while the upper bound must handle every coloring.
A familiar interpretation uses six people and colors each pair red if they know one another and blue if they do not. Assuming the relation is symmetric and every pair falls into exactly one case, there are either three mutual acquaintances or three mutual strangers. The conclusion concerns all three pairs within the group, not merely two relationships through a common person. There is no prediction about which color wins or which three people form the group.
The small size makes exhaustive verification practical. The complete graph has edges, giving red-blue colorings of labeled vertices; exactly 12 have no monochromatic triangle in a graph. They are the choices of a red cycle graph of length five, whose blue complement graph is another five-cycle. The complete graph has edges, giving colorings. Checking all triples in every coloring finds none without a monochromatic triangle in a graph; in fact the minimum number is two. These counts can be reproduced by assigning one bit to each unordered pair and testing whether the three bits of each triple agree. The monochromatic-triangle counting formula gives a separate explanation of the stronger minimum-two conclusion.
Ramsey theory Created 2026-09-24 Updated 2026-10-13
Ramsey theory studies configurations that every finite coloring of a sufficiently large structure must contain. Its striking message is that some order is unavoidable even when no organized construction was used. A basic example is the Ramsey number for triangles: color every edge of a complete graph on six vertices red or blue, in any way, and some triangle in a graph has all three edges the same color. Five vertices do not suffice.
The objects receiving colors matter. In the Ramsey number for triangles, colors belong to edges, which represent all unordered pairs of distinct vertices; the vertices themselves have no colors. In the finite Ramsey theorem, colors can instead belong to all -element subsets of a finite set. A monochromatic set or homogeneous set for a colouring expresses agreement among the appropriate colored objects.
Why is this useful? Ramsey theory provides existence guarantees in combinatorics that survive every possible assignment of a fixed finite number of colors. The Ramsey theorem turns this into a structural dichotomy: every sufficiently large graph contains a large clique or a large independent set. In arithmetic, the Van der Waerden theorem guarantees monochromatic arithmetic progressions. The beauty is the universal quantifier: an adversary can choose every color and still cannot prevent the promised configuration.
These guarantees concern precisely specified configurations under stated hypotheses. They do not justify selecting arbitrary patterns in empirical data after seeing the data, or attributing statistical significance to a selected pattern. A mathematical guarantee of some monochromatic configuration alone says nothing about the empirical meaning of that configuration.
The subject's name comes from F. P. Ramsey's [ref]. The [ref]
https://www.cs.umd.edu/~gasarch/BLOGPAPERS/ramseyorig.pdf. original paper, pp. 264-268, Theorems A and B
records receipt on 28 November 1928 and presentation on 13 December 1928. Ramsey introduced the Ramsey theorem for r-sets and finite Ramsey theorem as tools for a problem in mathematical logic, while recognizing their independent interest in combinatorics. He also distinguished proving that a finite threshold exists from finding its smallest value, the quantitative question captured by a Ramsey number.In a dense graph with many common neighbours for every pair of vertices, choose disjoint random small sets. A set is good if few vertices have no neighbour in it. The Markov inequality controls the number of bad sets, and random sampling makes almost every pair of good sets adjacent. Add unused common neighbours to connect each set and to repair the remaining missing adjacencies. If the number of used vertices stays below every common-neighbour count, this constructs disjoint branch sets of a graph minor representing a large complete graph.
Ratio definition of cutoff 2026-10-06
The ratio convention for cutoff for Markov chains requires for every fixed , with positive denominators eventually. Equivalently, any two fixed levels have asymptotically equal mixing times. This convention permits a bounded-time jump; definitions which additionally require diverging mixing times exclude such a jump. For nonlazy simple random walk on the complete graph , every fixed-level mixing time is eventually one.
Second-order encoding of three-colorability 2026-10-14
Represent a finite simple graph by a domain of vertices and a symmetric, irreflexive binary relation for graph adjacency. Introduce three unary second-order relation variables , one for each fixed named colour. Define the following abbreviations for first-order formulas in this expanded first-order signature:Then the existential second-order logic sentenceasserts that every vertex receives exactly one of the three colours and adjacent vertices receive different colours. The first clause gives coverage and pairwise disjointness of the three subsets; the second makes each subset an independent set. Empty colour classes are allowed, so expresses existence of a proper vertex coloring using at most three colours.
For the complete graph on the fixed vertices , one witness is , , . Each vertex satisfies exactly one predicate, and each of the three edges joins different predicates. Every valid witness assigns different colours to all three vertices; there are witness triples with these fixed vertex labels and fixed named colours. We are counting assignments, without identifying them under colour permutations or graph isomorphisms. For the complete graph , the pigeonhole principle forces two of its four vertices to share a colour, and those vertices are adjacent. Thus it has no witness triple. This calculation illustrates a complexity certificate without requiring the reader to reconstruct a machine computation.
Six relation witnesses for the labeled complete graph K3, and why K4 has none
. Details. Reproduce the diagram by running
python ../second-order-coloring-witness.py from the repository's _media directory. The script checks all witness triples for these two complete graphs before drawing them.Offer independent uniform edges of the complete graph per row and permit any one to be selected from each row. If a chosen graph has no graph component of order at least , the balanced component cut provides an empty cut whose sides both have at least vertices. Each candidate edge crosses that cut with probability at least , so a row can avoid crossing with probability at most . The union bound over at most cuts gives failure probability at most . Any fixed integer with suffices. The guarantee is simultaneous even for choices made after seeing every offered edge.

