Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 1 17G a Solution Created 2026-09-24 Updated 2026-09-29
Let have vertices and edges. Its complement graph hasedges. If both graphs were planar, the planar graph edge bound would giveEquivalently, , whose larger root is . Thus an integer is impossible, proving that
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 3 17G iv Solution Created 2026-09-24 Updated 2026-09-29
If the edge lies in no triangle, no vertex can be adjacent to both endpoints; hence the neighbourhoods satisfy .
Suppose . The two disjoint neighbourhoods then partition . If both were independent, every edge would run between these two parts, so would be bipartite andcontrary to . Thus at least one neighbourhood contains an edge, and that edge forms a triangle with or .
We now prove by induction on the Triangle lower bound one edge above the Mantel threshold: every graph on vertices with at least edges has at least triangles. Part (ii) is the base case. For , if every edge lies in a triangle, part (iii) givesOtherwise choose an edge lying in no triangle and put . Deleting removes edges, so the graph hasIf , induction gives at least triangles in , while the nonindependence proved above supplies a further triangle through or .
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 122 1 b Solution 2026-09-28
Let count the triangles of the binomial random graph . ThenTwo distinct triangle indicators are dependent only when the triangles share an edge. Hence their ordered Janson dependency sum is
If , then . The first Janson inequality givesFor the reverse bound, the events that individual triangles are absent are decreasing, so Harris' inequality giveswhere keeps the logarithmic estimate uniform. Thus the probability is .
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 4 17H b Solution Created 2026-09-24 Updated 2026-09-25
The Hall marriage theorem says that a bipartite graph with classes has a matching saturating if and only ifwhere is the graph neighbourhood of . Necessity follows because the matching sends the vertices of to distinct vertices of .
For sufficiency, add vertices , join to every vertex of , and join every vertex of to . Let be an - vertex separator, and write and . If an edge joined a vertex of to a vertex of , it would give an - path avoiding . HenceHall's condition givesand therefore . By Menger theorem, there are internally vertex-disjoint - paths. Each has the form with and ; disjointness makes all the and all the distinct. Their middle edges form a matching saturating .
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 4 17H c Solution Created 2026-09-24 Updated 2026-09-25
Construct a bipartite graph with left vertices , right vertices , and an edge exactly when . For , every point of lies in some adjacent to one of those . ThusUsing finite additivity of Lebesgue measure and the equal-volume hypotheses,Hence for every . The Hall marriage theorem supplies a perfect matching, which has the form for a permutation of . Every matched edge means precisely that .
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 164 2 Solution Created 2026-09-24 Updated 2026-09-25
Write , , and . We construct a random graph homomorphism . Choose a root of the tree. Map it according to the degree-biased vertex distribution on the corresponding side of the bipartite graph; after mapping any vertex, map each child independently and uniformly to a neighbour of its parent's image.
Every oriented tree edge is then mapped uniformly onto the edges of . Every tree vertex in has the degree-biased marginal on , of entropy , and every vertex in has the analogous marginal of entropy . Repeated use of the chain rule for information entropy along the rooted tree givesSince a -vertex tree has edges,The maximum entropy distribution on a finite set gives and . HenceIf is the number of bipartition-respecting graph homomorphisms , the support of has size , so the maximum entropy distribution on a finite set also gives . ThusThere are bipartition-respecting maps in total, so a uniformly chosen one is a graph homomorphism with probability at least . This proves the Sidorenko inequality for trees.
Two dual faces of a plane graph share an edge exactly when their corresponding original vertices are adjacent. Their face-adjacency graph is therefore the original tree, which is a nontrivial bipartite graph. Colour the face for with one colour and alternate along the original tree. This gives a proper face colouring with two colours, and at least two are needed because there is an edge separating distinct faces. Hence the minimum is
For every perfect matching , each vertex occurs exactly once, so the feasibility inequalities giveIf a perfect matching uses only tight edges, equality holds. It therefore attains a lower bound valid for every perfect matching, proving minimum cost. In a bipartite graph this is the weak duality and complementary slackness certificate for the assignment problem. The Hungarian algorithm maintains feasible row and column potentials and seeks a perfect matching among tight edges.
Form a bipartite graph with left labels , right set , and an edge exactly when . A matching covering all left labels is precisely a choice of distinct representatives. Its neighborhood condition isThus this is necessary and sufficient. The underlying set may be infinite; only the number of sets to be represented is finite.
Represent the two sides of the marriage problem as the parts of a bipartite graph, with an edge for each allowed pairing. A matching is a set of edges with no common endpoint; a complete matching of covers every vertex in . When the two parts have equal size it also covers , giving a perfect matching.
Use dimensionless spin operators and nearest-neighbour exchange on a regular bipartite graph with N sites and coordination number of a lattice z. Count each bond once and define , real for the inversion-symmetric examples considered here.
For the ferromagnetic Heisenberg model, . Expanding the Holstein–Primakoff transformation about all spins along +z givesup to interactions of higher order in boson density, with . The isotropic spin-wave vacuum energy comparison starts with this normal ordering. The linear spin-wave approximation then givesEach ferromagnetic magnon lowers total by one. The fully aligned state is an exact eigenstate and ground state; there is no harmonic vacuum depletion or added zero-point energy in this normal-ordered Hamiltonian. The global spin-rotation multiplet remains degenerate. On a hypercubic lattice of spacing a, and , so . The exact one-magnon sector agrees with this result even at finite S; interactions enter for multiple magnons.
For the Heisenberg antiferromagnet, take and expand around a Néel state. On A, and ; on B, and . A bond becomesWith N/2 momenta in the magnetic Brillouin zone,The bosonic Bogoliubov transformation has and . For example and . It gives two branches in this reduced zone,The reduced-zone counting of bipartite spin waves gives N oscillators in total, not 2N. The negative vacuum correction and quantum depletion of Néel order, , distinguish the antiferromagnet from the ferromagnet. At nonzero temperature replace by . Hypercubic small-momentum modes have , hence linear physical frequency .
Self-consistency requires depletion much smaller than S and respects the Holstein–Primakoff occupation constraint. In one dimension the antiferromagnetic vacuum depletion diverges logarithmically, invalidating ordered spin-wave theory; it does not alone prove an exact gap or its absence. At positive temperature, isotropic short-range models in d≤2 cannot sustain such magnetic order by the Mermin-Wagner theorem. In three dimensions the quadratic ferromagnetic modes give the low-temperature magnetization reduction proportional to , whereas the antiferromagnetic thermal reduction scales as . Anisotropy, fields, frustration and magnon interactions alter these conclusions. [ref]
Physics 215C: Quantum Field Theory, Part 3 by John McGreevy. §4.1, contrasting ferromagnetic and antiferromagnetic low-energy dynamics
Take the complete bipartite graph . Its seven vertices have degrees four on one side and three on the other. Deleting any two vertices leaves at least one vertex on each side, so the remaining complete bipartite graph is connected.
Every cycle in a bipartite graph alternates between its two parts, using equal numbers of vertices from each. A Hamilton cycle here would have to use three vertices from one part and four from the other, which is impossible. Thus three-vertex connectivity and minimum degree three do not suffice for Hamiltonicity in this seven-vertex example.
A matching in a graph is a set of edges no two of which share a vertex. A cover here means a vertex cover: a set of vertices such that every edge has at least one endpoint in . It is not an edge cover.
Kőnig's theorem for bipartite matching states that, in any finite bipartite graph, the maximum size of a matching in a graph equals the minimum size of a vertex cover:Here is the matching number and is the vertex cover number.
In a bipartite graph, successive vertices along an edge lie in opposite parts. Following a cycle alternates parts at each step, so returning to the starting part requires an even number of edges. Thus a bipartite graph contains no odd cycle.
Conversely, choose a rooted spanning forest and colour each vertex by the parity of its depth in its component's tree. Suppose an edge had equally coloured endpoints. The unique tree path from to has lengthwhich is even. Adjoining makes an odd cycle. Therefore, if there are no odd cycles, every edge joins opposite colours, which supplies the required bipartition.This is the odd-cycle characterization of bipartite graphs. The argument applies separately to every connected component.
Path-cycle matching 2026-10-24
A path-cycle matching in a finite simple graph is a collection of mutually vertex-disjoint paths and cycles in a graph. Its used edges form a subgraph with every degree of a vertex at most two. Conversely, every finite connected component of a graph with maximum degree at most two is a graph path, a cycle in a graph, or an isolated vertex; following successive edges proves this classification. Discarding unused isolated vertices therefore converts any such subgraph into a path-cycle matching without changing its edge count. On a bipartite graph, maximizing the used edges is exactly bipartite b-matching with every .
Perfect matching Created 2026-09-24 Updated 2026-10-14
A perfect matching is a matching in a graph that covers every vertex exactly once. Its edges have no shared endpoints, and every vertex is an endpoint of one selected edge. It is useful when a collection must be divided into disjoint pairs with no element left over.
In a bipartite graph with equally many vertices on its two sides, a perfect matching can assign every person one allowed job and every job one person. The example under permanent of a matrix has three people and three jobs, with exactly three valid assignments. The blue edges below show those three perfect matchings; a crossing in the drawing is not an extra vertex.
Every selected edge covers two vertices, so a graph with an odd integer number of vertices has no perfect matching. An even integer number is necessary but does not guarantee existence: an isolated vertex cannot be covered. A perfect matching also need not be unique. For example, the complete bipartite graph has two perfect matchings, corresponding to the two ways of assigning two people to two jobs.
Counting all perfect matchings is a different question from finding one. For a zero-one biadjacency matrix of a balanced bipartite graph, the count is its permanent of a matrix. The nonzero determinant criterion for a perfect matching supplies an existence test, but cancellation means that a zero determinant does not rule one out.
Permanent (mathematics) Created 2026-10-14 Updated 2026-10-20
The permanent of a matrix adds the products obtained by choosing one entry in each row and one in each column. For an matrix with entries in the real numbers or complex numbers,Here each permutation chooses column in row , and the symmetric group lists every such bijection. The formula resembles the Leibniz formula for determinants, but omits the sign of a permutation. For a two-by-two matrix,The absence of alternating signs makes the permanent of a matrix particularly useful for counting allowed assignments.
For a zero-one matrix, let rows represent people, columns represent jobs, and mean that person can do job . This is the biadjacency matrix of a bipartite graph. A product in the permanent is one exactly when all the selected assignments are allowed; otherwise it is zero. Each surviving permutation assigns every person a different job, which is a perfect matching. Thus the permanent counts perfect matchings. This interpretation and the definition are given in Yufei Zhao, Probabilistic Methods in Combinatorics, §10.2, pp. 178–179.
For a fully enumerated example, takeAmong the six permutations of three columns, exactly three give nonzero products: , and . These tuples list the chosen column in each successive row. Each product is one, so . Their permutation signs are , giving . The diagram displays all three allowed assignments.
Three allowed one-to-one assignments contribute positively to the permanent, while their permutation signs give a determinant of minus one
. Details. A zero determinant need not mean that no assignment exists. The two-by-two all-ones matrix has permanent and determinant : its two assignments cancel in the determinant. The nonzero determinant criterion for a perfect matching is sufficient for existence, but the converse fails for a fixed zero-one matrix.
For nonnegative entries, the permanent instead sums assignment weights, with each assignment weighted by the product of its selected entries. It is then a total weight rather than necessarily an integer count. With arbitrary entries in the real numbers or complex numbers, even the permanent can have cancellation; the counting interpretation specifically uses zero-one entries. The permanent as probability of distinct independent choices gives another useful nonnegative interpretation.
There are terms in the defining sum, linking direct evaluation to the factorial. For the all-ones matrix, every term is one and the permanent is exactly ; the identity matrix has permanent one. Finding one allowed assignment and counting all allowed assignments are different questions. Their relationship to computational complexity theory was studied in L. G. Valiant, The complexity of computing the permanent, Theoretical Computer Science 8(2), 189–201, 1979. The elementary sum is useful for small examples, while the existing dense permanent approximation describes a more specialized way of estimating large counts.
Popular sum 2026-10-07
A popular sum of a finite set is an element having at least a specified number of ordered representations as , with . Popular sums define a dense bipartite graph when additive energy is large. Since the total representation count is , there are at most popular sums.

