Past exam of the mathematics course of the University of Cambridge 2015 ii Paper 3 14I a Solution Created 2026-09-24 Updated 2026-10-06
A Hamilton cycle is a cycle graph which visits every vertex of a finite graph exactly once, apart from returning to its starting vertex. A graph is Hamiltonian when it contains such a cycle.
Past exam of the mathematics course of the University of Cambridge 2015 ii Paper 3 14I b Solution Created 2026-09-24 Updated 2026-10-06
Let be a longest path. Every neighbour of either endpoint lies on it. Among the indices , mark those with an edge and those with an edge. Their total number isso some index has both marks. The edges at that index close the path into the cycle graphThe minimum-degree hypothesis also forces the graph to be a connected graph: each component would otherwise have at least vertices. If , an edge from this cycle to an outside vertex would give a longer path by opening the cycle at its incident vertex. Hence , proving the Dirac theorem and Hamiltonicity.
The bound is sharp. For , take two disjoint copies of , with minimum degree . For , take two copies of sharing exactly one vertex. The minimum degree is , but the shared vertex is a cut vertex, which no Hamiltonian graph can have. Both constructions have
Past exam of the mathematics course of the University of Cambridge 2017 ia Paper 2 12F c Solution Created 2026-09-24 Updated 2026-10-05
Couple the walk on the cycle graph to a simple symmetric random walk on the integer line by taking , using the same increments. The visited integer interval has distinct residues until its length reaches ; an interval of exactly consecutive integers contains every residue once. Consequently the cover time on the cycle is exactly in this coupling.
Since , telescope the range-expansion times and use linearity of expectation, without assuming those times are independent:This is the expected cover time of a cycle. The restriction makes the two neighbours distinct, matching the supplied transition rule.
Past exam of the mathematics course of the University of Cambridge 2018 ii Paper 4 17I Solution Created 2026-09-24 Updated 2026-10-03
The diagonal Ramsey number is the least positive integer such that every red-blue edge colouring of the complete graph contains a monochromatic copy of .
For the existence and bound, write for the least forcing either a red or a blue . Given a vertex of , the pigeonhole principle says that at least incident edges are red or at least are blue. In the first case those red neighbours contain a red , which joins to to make a red , or a blue ; the second case is symmetric. HenceStarting from and using Pascal's identity gives the binomial upper bound for a Ramsey numberThereforewhich proves both existence and the required estimate.
To determine , color a cycle graph red and its complement graph, also a , yellow. This colors without a monochromatic triangle, so . At any vertex of a red-yellow , at least three of the five incident edges have one color. If an edge among their three other endpoints has that color, it completes a monochromatic triangle with the chosen vertex; if none does, those three endpoints themselves form a triangle of the other color. Thus , and
The same local argument proves uniqueness on . No vertex can have three incident edges of one color: their other endpoints would either contain an edge of that color or form a triangle of the other color. Every vertex therefore has vertex degree at most two in each color, and because the two degrees sum to four, each is exactly two. Each color class is consequently a regular graph of degree two on five vertices, hence a single . Up to relabelling, the coloring is exactly the cycle-and-complement coloring above.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 122 1 c Solution 2026-09-28
Put . For any fixed with , let count copies of the cycle graph in . ThenPairs of distinct -cycles are dependent only when they share an edge. Classifying them by their common paths givesThe first Janson inequality therefore givesfor an absolute and all sufficiently large . Choose so that . A union bound over the at most choices of shows that, with high probability, every set of at least vertices contains a .
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 122 1 c Solution Created 2026-09-24 Updated 2026-09-25
The sharp Hamilton cycle threshold for the Erdős-Rényi model says thatonly above the window . The hypothesis therefore places above that window. The Hamiltonicity-to-pancyclicity sprinkling principle then says that three independent rounds contain every cycle graph , , with high probability: one round supplies a Hamilton cycle, while the other two supply the chords and short-cycle edges used to obtain all intermediate lengths.
The union of the three rounds has individual edge probabilityBy the standard monotone coupling, it is a subgraph of . Since being pancyclic is an increasing graph property, the required probability tends to one. If , interpret the latter parameter as , in which case the conclusion is immediate.
Pentagon capacity code 2026-10-14
These five words are independent in the strong square of the cycle graph : a nonzero difference is a nonedge in the first or the second coordinate. A three-dimensional orthonormal representation with common vertical squared component proves the matching upper bound. Consequently .
Consider the discrete linear system withThis is a finite periodic analogue of the Poisson equation, using the negative second finite difference with unit grid spacing. It is also a Graph Laplacian equation on a cycle graph; no continuum approximation is being claimed here.
Summing the four equations gives zero on the left, since each value occurs twice positively and twice negatively. A necessary condition is therefore . The Fourier diagonalization of a circulant matrix shows that this is also sufficient: the only zero eigenvalue of is the constant mode , and .
For the displayed forcing, the discrete Fourier transform givesDivide only at the three nonzero eigenvalues, and choose to impose zero arithmetic mean:Direct substitution gives . All other vectors satisfying the linear system are , because the kernel is the space of constant vectors. Thus balanced forcing determines the differences between values, while a reference level is an extra choice. This small model explains why a periodic Poisson equation needs both a compatibility condition and a normalization.
Prism graph 2026-10-14
A prism graph joins two copies of a cycle graph by matching corresponding vertices. The triangular prism graph is the three-cycle case, with six vertices and nine edges.
Ramsey number for triangles 2026-10-14
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.
Strong orientation 2026-10-14
A strong orientation is an orientation of a graph with strong connectivity: for every ordered pair of vertices, there is a directed path from to . A length-zero directed path permits . Ordinary connectivity of the underlying undirected graph is necessary, but does not ensure this two-way reachability after directions are chosen. The acyclic is not a strong orientation; the cyclic is, since a journey can continue around its directed cycle.
Attach a new vertex to that triangle in a graph by the single edge . This edge is a bridge in a graph. If oriented , no directed path leaves for the triangle in a graph; if oriented , no directed path from the triangle in a graph reaches . Neither choice gives a strong orientation, even when the triangle in a graph itself is cyclically oriented. By contrast, the four-vertex cycle graph has the strong orientationFollowing this directed cycle reaches any requested vertex in at most three steps. Removing any one of its undirected edges leaves a graph path through all four vertices, so it has no bridge in a graph.
For more than one vertex, a strong orientation cannot also be an acyclic orientation: directed paths from to and back give a nonempty closed directed walk, from which removing repeated portions leaves a directed cycle. A directed graph containing one directed cycle need not have strong connectivity, as the attached shows.
Tree (graph theory) 2026-10-13
A tree is a nonempty connected graph containing no graph cycle. Think of seven locations joined so that everyone can reach everyone else, but no connection supplies an alternative route. For a finite simple graph with vertices, three descriptions are equivalent: being a tree; having exactly one simple graph path between every pair of distinct vertices; and being a connected graph with exactly edges. Here a simple graph path repeats no vertex. Connectedness in the last description is essential. [ref]
https://www.maths.tcd.ie/~dwilkins/Courses/MA2C03/MA2C03Courseware_2014to15/MA2C03_S4_Yr1415.pdf. Trinity College Dublin, graph theory notes, Theorems 4.24–4.26 and Corollary 4.27
For a concrete tree, label the vertices and take the edgeswhere abbreviates the unordered pair . There are seven vertices and six edges. The unique graph path from to is , using five edges. The degree sequence in label order is : its sum is , as the degree-sum formula predicts. Each of is a leaf of a graph, having vertex degree one.
A seven-vertex tree: one graph path, two connected components of a graph after deletion, and one graph cycle after insertion
. Details. Deleting edge leaves precisely two connected components of a graph, on and . Every edge of a tree is a bridge in a graph. Instead add edge to the original tree: it closes the unique existing graph path into exactly one graph cycle. Thus a tree provides economical connections with no redundancy: a single failed link separates locations. Every finite tree with at least two vertices has at least two instances of a leaf of a graph; the endpoints of a longest graph path supply them. [ref]
https://www.mathstat.dal.ca/~janssen/2113/notes/class14/. Dalhousie University, Trees: leaves and indispensable edges
The number alone proves nothing about connectedness: a cycle graph on together with an isolated vertex has seven vertices and six edges, yet is disconnected. Briefly, two different simple graph paths between the same vertices would contain a graph cycle. Repeatedly removing a leaf of a graph and its incident edge proves the tree count by mathematical induction, starting with one vertex and no edges.
Vertex cover Created 2026-10-05 Updated 2026-10-14
A vertex cover chooses vertices that collectively touch every edge of a graph. Think of placing monitors at junctions: if a monitor watches every connection incident to its junction, a vertex cover watches all connections. The minimum vertex cover asks how few monitors suffice. This is a model of covering connections through their endpoints, rather than of monitoring distances in the drawing.
For a finite simple graph , a vertex cover is a subset satisfyingBoth endpoints may be selected; the condition requires at least one. An isolated vertex covers no edge, so a minimum vertex cover never needs it.[ref]
Graph Theory by Reinhard Diestel. Diestel, Graph Theory, fourth electronic edition, Section 2.1, definition of vertex cover
Take the cycle graph with vertices and edges . The set is a vertex cover: vertex covers and , vertex covers and , and vertex covers as well as . In particular, the closing edge is covered even though vertex is unselected.
The unselected vertices form an independent set. This is the key connection: an edge missed by would have both endpoints in , precisely what an independent set forbids. For every subset ,Here is the complement of a set within ; the graph itself keeps all its edges. The complement graph is a different construction.[ref]
https://introtcs.org/public/lec_12_NP.html. Barak, Introduction to Theoretical Computer Science, Chapter 14, vertex-cover exercise
A minimum vertex cover and its maximum independent complement on the same five-cycle
. Details. The endpoints of any maximal matching form a vertex cover: an edge avoiding all endpoints would enlarge that matching in a graph. Consequently a graph with no matching in a graph of size has a vertex cover of size at most . This supplies a convenient vertex cover, but it need not be a minimum vertex cover.
Vertex cover number Created 2026-10-14 Updated 2026-10-14
The vertex cover number records the size of a minimum vertex cover:The vertex cover number is a number, while a minimum vertex cover is a set attaining it. For the cycle graph , the independence number is , so the complement correspondence gives . The vertex cover above attains this size.
Every matching in a graph gives a lower bound on the vertex cover number. Its edges have no shared endpoints, so covering each selected edge requires a different vertex. Thus, for any matching in a graph and any vertex cover ,where is the matching number. Exhibiting a matching in a graph and a vertex cover of the same size certifies that both are optimum. Kőnig's theorem for bipartite matching says that every finite bipartite graph admits this equality: .[ref]
Graph Theory by Reinhard Diestel. Diestel, Graph Theory, Section 2.1, Theorem 2.1.1 and its lower-bound argument
For the complete bipartite graph , let the left vertices be and the right vertices be . All six edges join to . Selecting covers every edge; selecting gives a matching in a graph of size two. The lower bound and this vertex cover give , so . The remaining vertices form a largest independent set of size three. Crossings of drawn edges are not extra vertices.
The bipartite graph hypothesis matters. In a triangle in a graph, any two vertices form a minimum vertex cover, while any two edges share an endpoint. Hence and . Similarly, the cycle graph has and . The inequality for the matching number remains valid, but equality can fail.
Wheel graph 2026-10-05
A wheel graph is the join of graphs of a cycle graph and a single vertex. Every wheel with a rim of at least three vertices has a graph minor: partition the rim into three nonempty consecutive connected sets and use its centre as the fourth branch set of a graph minor.




