Past exam of the mathematics course of the University of Cambridge 2013 iii Paper 26 1 iii Solution Created 2026-10-03 Updated 2026-10-07
The bipartite graph property means that a walk starting in ends there precisely when its length is even. Thus the even-length walk generating function on a bipartite graph is . Deleting the last edge of an odd-length self-avoiding walk leaves an even-length one; each such prefix has at most possible last-edge choices. Hence , and for ,These inequalities also hold with infinite values. Their finite positive prefactor shows that the two power series have the same radius of convergence ; alternatively apply the root formula to the even subsequence.
Past exam of the mathematics course of the University of Cambridge 2013 iii Paper 38 4 b Solution Created 2026-10-03 Updated 2026-10-07
Let the bipartite graph have parts . Add a source , a sink , capacity-one edges for and for , and capacity on each original edge directed . Use the max-flow min-cut theorem: maximum flow value equals minimum cut capacity. Also use Integrality of the Ford-Fulkerson algorithm: integral capacities admit an integral maximum flow, found by integral augmenting paths.
An integral flow selects a matching in a graph, because each left and right vertex carries at most one unit. Conversely every matching gives a unit flow along its selected paths. Hence maximum flow value equals maximum matching cardinality.
A minimum cut has capacity at most , whereas crossing even one original edge would cost . For its source side , no edge of the original graph runs from to . Thereforeis a vertex cover, and its cardinality is exactly the cut capacity. Conversely, given any cover , use . No original edge crosses this cut, because both its endpoints would otherwise be outside the cover; its capacity is . Thus minimum cut capacity equals minimum cover size, proving König's theorem for bipartite matching:For the algorithm, repeatedly find augmenting paths in the residual network, then take to be the vertices reachable from . Each integral augmentation increases flow by at least one; the total value is at most . Each reachability search takes time, so this procedure takes time. The network uses only polynomially many edges and integer capacities, yielding the requested polynomial-time algorithm and an explicit cover.
Past exam of the mathematics course of the University of Cambridge 2013 iii Paper 75 2 a Solution Created 2026-10-03 Updated 2026-10-07
On a connected bipartite graph, every exchange bond can attain its lower classical energy . Set on one sublattice and on the other, for any unit vector . This Néel state minimizes all bonds simultaneously and hasThe direction parametrizes the continuous orientation degeneracy; disconnected components can choose their orientations independently.
A triangular lattice illustrates geometric frustration. For three fixed-length spins on a triangle,The minimum requires their sum to vanish, giving coplanar -degree spins rather than antiparallel alignment on every bond. A three-sublattice pattern realizes this condition on the nearest-neighbour triangular lattice. Its energy per bond is , and global rotations produce equivalent classical states.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 79 3 Solution Created 2026-10-03 Updated 2026-10-07
We will prove a polynomial progression in a high-energy fourfold difference set. The route is to extract a large subset with a small difference set, construct a dense Freiman s-isomorphism model, and use the Bogolyubov lemma and the pigeonhole principle. To respect the proof requirement, every ingredient beyond the elementary rules for Freiman homomorphisms is established below.
Assume . Since three entries of an additive quadruple determine the fourth, , so a nonvacuous hypothesis has . Let . Then and . Define the popular sum set . The contribution to additive energy from its complement is at most . Since , the bipartite graph on two copies of whose edges have sums in has at least edges. Moreover .
Put and . Here is a dependent random choice argument producing the small difference set. Independently choose two right vertices, allowing repetition, and let be their common left neighbourhood. The Cauchy-Schwarz inequality gives . Call an ordered pair of left vertices bad if its common right neighbourhood has fewer than elements. The expected number of bad ordered pairs in is at most , because a fixed bad pair survives both random choices with probability at most . ThusChoose a realization attaining at least this expectation. Then , and . Remove from every vertex having more than bad partners in . At most vertices are removed. The remaining set has , and any have at least vertices for which both and are good.
For such a , there are at least right vertices adjacent to , and at least right vertices adjacent to . These paths givea representation with four members of . For fixed , the tuple of four sums determines uniquely, so there are at least distinct tuples. Select one ordered pair for each member of . Tuples belonging to different differences are disjoint. Counting all possible tuples in provesIn particular, with , we have and for . This is the required small-difference set form of the Balog-Szemerédi-Gowers theorem, proved by counting paths rather than cited.
We next control higher iterated sumsets. Choose a nonempty minimizing , so . We prove the Petridis minimal-growth lemma in the form for finite . Order , and let consist of those for which is new in the union of the translates . Then . Every member of already occurs in an earlier translate of . By minimality, , also when the complement is empty. Thus the new contribution from is at most . Sum over to prove the lemma. Iterating with gives .
For completeness, the Ruzsa triangle inequality in the needed form isFor each , fix . The map is injective: adding the coordinates recovers , and then . Take , , and apply the preceding bounds. We obtain the Plünnecke-Ruzsa inequalityIn particular has at most elements.
We now prove a slightly wasteful version of the Ruzsa modeling lemma, avoiding any assumption about the diameter of . Set . Choose a prime larger than all , , and much larger than . Arbitrarily large primes exist by the elementary argument that a prime divisor of one plus the product of all primes up to a given bound exceeds that bound. For a uniformly chosen nonzero multiplier modulo , each nonzero has uniform among the nonzero residues. Call a multiplier forbidden if some such agrees modulo with , where . There are at most such residues. For , a union bound therefore makes the probability of being forbidden less thanChoose a nonforbidden . Represent by integers in and partition that interval into sixteen consecutive pieces of diameter less than . One piece contains the images of a subset with . Let be the integer representative of in that piece, reduced modulo .
A difference of eight sums of these representatives has absolute value less than . If its original difference in is zero, it is a multiple of , hence zero. Conversely, if its reduction modulo is zero, it equals with ; our choice of forces its original difference to be zero. This proves that is a Freiman s-isomorphism of order eight. Injectivity follows by padding a one-term equality to eight terms with a fixed element. Consequently has subset densityNo primality of is needed.
Here is the cyclic Bogolyubov lemma with all its Fourier analysis on a finite abelian group details. Use , , and normalized convolution on a finite group. A finite geometric series proves orthogonality, and expanding the finite sums proves the Parseval identity on a finite group, Fourier inversion on a finite group, and . For , the nonnegative functionhas support exactly and Fourier coefficients on a finite abelian group . Put . The Parseval identity on a finite group gives . The total fourth moment of the frequencies outside is at most .
If for every , then . The zero frequency contributes with no loss. Separating the large and small frequencies in Fourier inversion on a finite group yieldsThus contains the Bohr set expressed in distance coordinates by . This is consistent with the existing character-distance convention for a Bohr set: here it is enough that each character lies in the corresponding short arc around one.
We finally prove the needed nonwrapping progression in a cyclic Bohr set, including for composite . Write and . Partition the -dimensional unit cube into boxes. The points with coordinates modulo one, , give by the pigeonhole principle an integer with for all . ThenThese points are distinct modulo , since their integer representatives lie between zero and . Their number is at least . For the same argument simply chooses .
The Freiman s-isomorphism induces a bijection : define it on a representation by taking the same two positive and two negative images. Equality of representations uses an order-four relation, and injectivity uses the converse relation. If three consecutive members of satisfy , their preimages satisfy the same equality, since its expansion is an equality of eight-term sums in . Hence the inverse image of is an ordinary arithmetic progression in , with distinct terms.
To remove the multiplicative constant from the length bound, let and . The length just proved is at least , where . Choose so that for , and set . For , two distinct members of give a nonzero , and has length three, at least . For , the singleton suffices. In every nonempty case,with depending only on . If empty sets are permitted, the required length is zero and there is no substantive assertion.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 38 5 a Solution Created 2026-10-03 Updated 2026-10-06
Form a bipartite graph with one vertex for each row and one for each column, putting an edge exactly where . For a set of row vertices, let be its neighbouring column vertices. Since is a doubly stochastic matrix,The Hall marriage theorem therefore supplies a perfect matching. Its incidence entries define a permutation matrix supported on the positive entries of , hence on the ones of . Entrywise , so
Past exam of the mathematics course of the University of Cambridge 2015 ii Paper 3 14I c Solution Created 2026-09-24 Updated 2026-10-06
Add missing cross-edges to a hypothetical non-Hamiltonian balanced bipartite graph until it is maximal with that property. The complete bipartite graph is Hamiltonian for , so a missing cross-edge remains. Adding it creates a Hamilton cycle, and removing it gives a Hamilton pathFor each , consider the conditions and . Since , they hold together for some . Following the path from to , crossing to , following the remaining path backwards to , and crossing back to gives a Hamilton cycle already in the original maximal graph. This contradiction proves the stated Hamiltonicity criterion.
For , two disjoint copies of have vertices in each class and minimum degree . For , the disjoint union has vertices in each class and minimum degree . Both are disconnected and hence non-Hamiltonian. Thus the sharp counterexamples have for every .
Past exam of the mathematics course of the University of Cambridge 2015 ii Paper 4 14I Solution Created 2026-09-24 Updated 2026-10-06
A matching in a graph from to is a collection of edges with disjoint endpoints covering every vertex of ; equivalently it chooses a distinct neighbour in for each . For a finite bipartite graph, the Hall marriage theorem says this exists exactly when for every . Necessity follows by counting the distinct matched neighbours.
For sufficiency, induct on . If a nonempty proper subset is tight, , Hall's condition holds on . It also holds on : for , the original condition applied to gives . Induction provides two disjoint matching in a graph whose union covers . If no nonempty proper subset is tight, choose an edge , possible by Hall's condition. Delete its endpoints. Each nonempty subset of had at least one extra neighbour, so deleting leaves Hall's condition intact. Induction and then the edge finish the proof. The single-vertex case is immediate.
For the degree condition, fix and double-count with weights:Every denominator is nonzero; the last inequality uses along each edge. The Hall marriage theorem therefore proves the required matching exists. Finiteness, as in the usual course version of the theorem, is understood; the same proof covers a finite with arbitrary and finite degrees.
Past exam of the mathematics course of the University of Cambridge 2016 ib Paper 4 20H b Solution Created 2026-09-24 Updated 2026-10-06
An extreme point of a convex set cannot be written as a nontrivial convex combination of two distinct members. If a permutation matrix with and doubly stochastic, each zero entry of forces the corresponding entries of to be zero by nonnegativity. The unique possible nonzero entry in each row must then be one by the row sum. Thus , proving that every permutation matrix is extreme.
Conversely, let be a doubly stochastic matrix that is not a permutation matrix. At least one entry lies strictly between zero and one. Form a bipartite graph whose two vertex classes are rows and columns, with edges precisely at these fractional entries. Every incident row has at least two fractional entries: a single fractional entry, with all other entries zero or one, could not give row sum one. The same holds for columns.
A finite nonempty graph whose incident vertices all have degree at least two contains a cycle. In a bipartite graph that cycle has even length. Assign alternating signs to its entries, giving a nonzero matrix with every row and column sum zero. Choose smaller than the distance of each cycle entry from both zero and one. Then and remain doubly stochastic matrices, are distinct, and satisfySo is not extreme. ThereforeThis alternating-cycle perturbation of a doubly stochastic matrix proves the extreme-point part of the Birkhoff-von Neumann theorem directly.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 109 1 Solution Created 2026-10-03 Updated 2026-10-06
For a family , let its lower shadow consist of all -sets contained in members of . The local LYM inequality isTo prove it, use double counting on the pairs with , and . Each contributes pairs; each contributes at most . Hence , exactly the displayed Local LYM inequality after using .
To deduce the LYM inequality, start with an antichain in the Boolean lattice and assign it weight . If its largest occupied rank is , replace that whole rank by its lower shadow. The result remains an antichain: if an old lower-rank member were contained in a new shadow member, it would also be contained in an original rank- member, contradicting the original antichain property. Nor can a new member be contained in an old one, since every old member has size at most and equality would give the same contradiction. The Local LYM inequality shows that this replacement does not decrease the weight. Repeating eventually leaves an antichain on rank zero, whose weight is at most one. ThereforeFor the empty family the conclusion is immediate; the same argument includes the singleton family containing the empty set.
The antichains of maximum size are exactly the full middle levels. More precisely, for even only attains the bound in Sperner theorem; for odd either or does. To prove that there are no others, put . If , the LYM inequality and imply equality in every term's bound . Thus every member lies on a middle level. For even , there is only one such level, so it must be full.
For odd , let be the rank- members and the rank- members. Consider the bipartite graph of inclusions between those levels. Both parts have size , and the degree of a vertex is . If is the neighbourhood of , double counting gives . Since the family is an antichain, avoids ; equality forces and to be the full complement of . Equality in the degree count means that every edge into comes from , so there are no edges between and its complement.
This inclusion graph is connected: any two -sets can be joined by successively exchanging one element, and each exchange passes through their -set union. Every upper vertex has a lower neighbour. Thus must be empty or the whole lower level, proving the classification. For the graph is just one edge, and for the unique maximum family is . This establishes equality in Sperner theorem without assuming that equality in the LYM inequality alone always forces a middle level.
For the set-pair bound, choose a uniformly random permutation of , and let be the event that every element of appears before every element of . Since , their relative order is uniform, andFor distinct , choose and . These are distinct because is empty. On , precedes ; on , precedes . Thus the events are pairwise disjoint events, giving the Bollobas set-pairs inequalityThis Bollobas set-pairs inequality immediately gives another proof of the LYM inequality: enumerate the members of an antichain, and take , . For , incomparability means , while . The set-pair hypotheses therefore hold, and makes the resulting sum exactly the LYM inequality.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 111 2 ii Solution Created 2026-10-03 Updated 2026-10-06
Let be the singular values of the normalized adjacency operator of a bipartite graph, with the uniform inner products used above. Its ordinary matrix in an orthonormal basis on each side is . Expanding the trace of proves the box norm singular-value identityTherefore (ii) immediately implieswhich is (iii).
Conversely, the square of the Hilbert-Schmidt norm of this operator issince a graph indicator function takes values zero and one. Under (iii), every with is at most , soThus (iii)(ii) with . This bound also covers the empty and complete bipartite graphs.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 111 2 i Solution Created 2026-10-03 Updated 2026-10-06
Use uniform expectations on the two nonempty parts, and equip their function spaces with the inner product . Let andSince the bipartite graph is a biregular graph, both row and column averages of vanish. The normalized adjacency operator of a bipartite graph therefore splits into the map between constant functions, of singular value , and between their orthogonal complements.
There is no singular value larger than . Indeed, for , the Cauchy-Schwarz inequality givesAveraging in uses the constant column degree and gives . For every operator is zero. Thus the second singular value isIf one part has a single vertex, missing singular values are interpreted as zero; the biregular graph then has .
The discrepancy in (i) is exactly . Its supremum over is the cut norm . To pass from this bound to arbitrary bounded real-valued functions, use the positive and negative parts and the identity for . Applying this separately to both factors givesHere is a bound on , unrelated to any cardinality.
If , take real unit left singular vector and right singular vector with and . The Cauchy-Schwarz inequality and imply . HenceThis proves (i)(iii), with a constant independent of both part sizes. The case satisfies the same conclusion immediately.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 212 3 Solution Created 2026-10-03 Updated 2026-10-06
Use a directed bipartite graph with one vertex for each job and one for each agent. Job vertices have supply and agent vertices demand . An arc from job to agent has cost and nonnegative flow ; an upper bound may be added, but is already implied by the balances. The minimum-cost flow formulation of the assignment problem isInteger supplies and demands give an integral optimum by integrality of the transportation problem. Its positive arcs form a perfect matching, hence give one job per agent.
A network simplex algorithm basis for this connected -vertex network has tree arcs, whereas an integral assignment has only positive flows. For , at least basic tree arcs therefore carry zero flow. This unavoidable degeneracy in linear programming can cause zero-step pivots, extra bookkeeping and cycling unless an appropriate pivot rule is used. The Hungarian algorithm exploits the assignment structure directly rather than maintaining many zero-flow basic arcs.
Suppose the assignment dual potentials satisfy . For every feasible assignment ,If the selected assignment uses only arcs with , its cost equals this lower bound. Weak duality and complementary slackness certify optimality. The PDF correctly denotes the feasible assignment by ; the TeX aid mistakenly replaces it with .
The Hungarian algorithm maintains feasible assignment dual potentials and a matching in a graph of zero reduced cost edges, where . Search for an augmenting path in a matching in this equality graph. If there is none, let be the reachable jobs and the reachable agents in the alternating search from unmatched jobs. Every agent in is matched to a job in . SetReduced costs from to its complement decrease by , those from outside into increase, and the remaining ones do not change. Thus feasibility and current matching equalities are preserved, while at least one new equality edge appears. Continue until an augmenting path in a matching increases the matching size. A perfect matching in the equality graph then has the same value as the dual linear program and is optimal.
For the example, start with the row minima and . The reduced cost matrix isMatch job to agent . Searching from both unmatched jobs gives and ; the minimum cost to an agent outside is . Update to and :The new equality edge augments the matching. From unmatched job , the next alternating search reaches agent and its matched job , giving and . Now . The updated feasible assignment dual potentials and reduced costs areThe augmenting path in a matching uses job to agent , the reversed matched edge to job , then the new edge to agent . It gives the optimal assignmentThe dual linear program value is , an independent optimality certificate.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 215 1 c Solution Created 2026-10-03 Updated 2026-10-06
Let interchange the two complete graphs, sending to and fixing . This involution preserves the transition matrix of the simple random walk. A mirror coupling under an involution starts at , keeps until the hitting time of , and then makes the two walks move identically. Each coordinate has the correct transition probabilities, and they coalesce precisely at . The coupling inequality for total variation gives
There is a genuine error in the printed expected hitting time bound, as well as an unspecified initial law. For , write and for . From every clique vertex there is a positive chance of reaching within two steps, uniformly over the finite state space for each fixed , so has finite expected value. First-step analysis, using the degree of a vertex at and at the other clique vertices, givesSolving these linear equations yieldsIn particular even the attachment vertex exceeds the printed bound by one. The valid uniform replacement is , the hitting time of the bridge vertex between two cliques formula.
We must also handle arbitrary starting states, including , before applying the mirror argument. Identify related vertices and consider the lumped Markov chain on . Its transition matrix has for , , for and , and , with all other entries zero. Here the row for only ranges over .
For and , direct two-step calculation givesAll these entries are at least . Thus for every , where is the uniform distribution on a finite set and . This is a Doeblin condition. At each two-step block couple the two quotient endpoints to the same sample from with probability , using the residual probability distributions otherwise. The first successful block has expected value at most , so the alignment time has . Lift each endpoint coupling of probability distributions to the original walks by their conditional two-step path laws; this preserves every marginal path law. The success test uses fresh block randomness and so permits restarting the walks with their original transition matrix at the aligned endpoints.
At alignment the original walks are equal or related. Use identical transitions in the first case and the mirror coupling under an involution in the second. The resulting coalescing coupling has coalescence time satisfying for every pair of initial states. Therefore Markov inequality and the pairwise mixing diameter implyFor the hint's particular starting states, the quotient one-step laws from two different clique indices have a common component of mass at least : for two ordinary indices it is ; for one attachment index it is . A maximal coupling therefore aligns those indices with probability , as suggested. The two-step argument above additionally covers .
The nonlazy walk is an aperiodic Markov chain for , because the connected graph contains a triangle. For it is a periodic Markov chain on a bipartite graph; each bipartition class has stationary mass , and the walk stays on a single class at each time. Hence and the mixing time is infinite. The asymptotic conclusion is valid for .
Past exam of the mathematics course of the University of Cambridge 2017 ii Paper 2 15H Solution Created 2026-09-24 Updated 2026-10-05
For a finite bipartite graph with left vertex set , Hall marriage theorem says that a matching in a graph covering exists exactly when for every . Necessity follows because distinct matched neighbors of lie in .
For sufficiency, induct on , the empty case being immediate. If a nonempty proper subset has , apply the induction hypothesis to the graph on . For the remaining graph, every satisfiesso induction matches the remaining vertices too. If there is no such tight subset and , every nonempty proper subset has at least one extra neighbor. Select an edge and remove its endpoints. Each subset of the remaining left vertices loses at most one neighbor, so it still satisfies the required condition; induction supplies the rest of the matching in a graph. The case follows directly from the condition.
For a doubly stochastic matrix , make a bipartite graph joining row to column when . For a row subset ,Hall marriage theorem therefore gives a perfect matching, or a permutation , with .
Past exam of the mathematics course of the University of Cambridge 2018 ib Paper 4 20H Solution Created 2026-09-24 Updated 2026-10-03
A cut is a partition of the vertices with the source in and sink in ; its capacity is the sum of capacities of directed edges from to . The max-flow min-cut theorem says that maximum flow value equals minimum cut capacity. With integral capacities, there is an integral max-flow theorem attaining the maximum.
Construct a bipartite graph with one vertex for each row and column and an edge whenever . Add source-to-row and column-to-sink edges of capacity , and give row-to-column edges infinite capacity. An integral flow is precisely a set of independent s, so its maximum value is the largest such set.
A finite-capacity cut places some rows on the sink side and some columns on the source side; these lines cover every , since an uncovered row-to-column edge would cross the cut with infinite capacity. Its capacity is the number of selected lines. Conversely every line cover defines such a cut. Max-flow min-cut therefore proves the maximum number of independent s equals the minimum number of covering lines, the matrix form of König's theorem for bipartite matching.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 110 2 Solution Created 2026-10-03 Updated 2026-10-05
Symmetrization for an arbitrary real coefficient. Among graphs maximizing , choose one maximizingFor a vertex , put . This is the contribution of edges and triangles in a graph containing . If are nonadjacent, Zykov symmetrization replacing by a clone of changes by ; the opposite replacement changes it by . Maximality implies , so both changes preserve .
Let and . In the first replacement the vertex degrees in increase by one and those in decrease by one; in the opposite replacement these changes reverse. The changes to cancel when the two replacements are added. Since ,If the two vertex neighbourhoods differ, one replacement increases , a contradiction. Thus every pair of nonadjacent vertices has the same vertex neighbourhood. Nonadjacency, with equality allowed, is an equivalence relation: if and are nonadjacent and and are nonadjacent, their identical vertex neighbourhoods forbid as well. Its classes are independent sets and every cross-class edge is present. ThereforeThis edge-triangle symmetrization works for either sign of .
The exact supporting line. For , writeWe prove the triangle support line between bipartite and tripartite Turan graphs by maximizing . First . For , its values are respectively . For , the exact balancing of the Turan graph gives , while and the arithmetic-geometric mean inequality gives . Hence
By edge-triangle symmetrization a maximizing graph can be taken complete multipartite graph; among such maximizers use one with the fewest nonempty parts. If there are at least four parts, let be the two smallest sizes. Then . Merging them loses edges and triangles in a graph, so the objective changes byThis contradicts the choice of the number of parts. Thus at most three parts remain.
For three part sizes , the objective isIf , merging the parts of sizes does not decrease it, again contradicting minimality. If and , transferring one vertex from the largest to the smallest part raises by and strictly increases the objective. Thus a three-part maximizer has all sizes differing by at most one, and is . A maximizer with at most two parts has objective at most , since it has no triangles in a graph and the Mantel theorem bounds its edges. Finally,Therefore every graph satisfies . At the prescribed edge count this givesFor , the conclusion is simply the nonnegative lower bound zero. All rounding in the Turan graphs has been retained.
One edge above the bipartite threshold. Write . We prove the Triangle lower bound one edge above the Mantel threshold by induction on , allowing at least edges. For , five edges on four vertices give two triangles in a graph, and adding edges preserves this bound.
We will also use the following consequence of an inductive bound: on vertices, at least edges, for an integer , force at least triangles in a graph. Delete surplus edges first to leave exactly . Repeatedly delete an edge in a triangle in a graph until edges remain. The Mantel theorem guarantees such a triangle in a graph at every step; each deletion destroys at least one distinct triangle in a graph. Apply the inductive bound to the remaining graph.
Now take exactly edges. If every edge lies in a triangle in a graph, the edge-triangle incidence bound gives . This is at least for ; the base case was handled separately.
Otherwise choose an edge in no triangle in a graph. Its endpoints have disjoint vertex neighbourhoods, so . Deleting removes exactly edges and leaves at least edges. If , it leaves at least edges, and the strengthened inductive bound gives at least triangles in a graph already.
If , induction gives at least triangles in a graph after deletion. There must be an additional triangle in a graph containing or . Otherwise both and are independent sets; since they are disjoint and cover all vertices, would be bipartite graph, contradicting by the Mantel theorem. HenceThe bound is sharp: add one internal edge to one class of the complete bipartite graph . Its triangles in a graph are precisely that edge together with each of the vertices in the other class.
Past exam of the mathematics course of the University of Cambridge 2018 ii Paper 1 17I b Solution Created 2026-09-24 Updated 2026-10-03
The Erdős-Stone theorem states that if the chromatic number of is , thenIf is a bipartite graph with at least one edge, its chromatic number is two, so and therefore
Past exam of the mathematics course of the University of Cambridge 2018 ii Paper 1 17I c Solution Created 2026-09-24 Updated 2026-10-03
First consider a -free bipartite graph with parts , each of size at most , and edges. Count pairs in which is a -element subset of the graph neighbourhood of . Any vertices of have at most common neighbours, since common neighbours would form the complete bipartite graph . ConsequentlyIf the average degree of a vertex is bounded in terms of , then and the required result is immediate. Otherwise, convexity of and the preceding inequality giveand hence . Every graph has a bipartite spanning subgraph containing at least half its edges, obtained by choosing a random bipartition. Applying the bipartite estimate to that subgraph proves the Kővári–Sós–Turán theorem in the required form:
The stated "nice" subsets of the finite cyclic group are Sidon sets. Ifthen . Niceness forces ; the alternative pairing would force . Thus the ordered nonzero differences are distinct elements of the nonzero residue classes. Thereforeso