Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 124 1 a Solution Created 2026-10-03 Updated 2026-10-06
An additive arithmetic function satisfies for coprime integers ; a completely additive arithmetic function satisfies this for all positive . In either case . The Fundamental theorem of arithmetic gives , where means that the prime valuation of at is exactly .
Under the discrete uniform distribution on , the expectation of the indicator function of isThe formula remains valid when . Applying linearity of expectation to the finite prime power decomposition proves the required mean formula:
For the last assertion, write the excess prime-factor multiplicity directly as a sum of nonnegative indicator functions:Here is the prime omega function and is the total number of prime factors. The expectation is bounded independently of , sinceThus Markov inequality gives vanishing probability on every diverging scale:
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 124 3 c Solution Created 2026-10-03 Updated 2026-10-06
For an additive arithmetic function , one standard form of the Turán-Kubilius inequality usesIt states, with an absolute constant,For real , this also bounds the variance under the discrete uniform distribution, because centering at the actual expectation minimizes the mean square.
For the prime omega function, . The Mertens theorem for reciprocal primes states . The contribution of higher prime powers is bounded by , as proved in 1(a). It follows that and . Writing , the Turán-Kubilius inequality and Chebyshev inequality therefore yieldThe bounded error in is absorbed by, for example, using the threshold around for sufficiently large .
For the multiplication table problem, call a pair good when and . The preceding Chebyshev inequality excludes only pairs by either of the first two conditions. For the greatest common divisor condition, linearity of expectation under uniform sampling of the two coordinates givesMarkov inequality therefore excludes only another pairs.
The prime factors of a product form the union of those of its factors. Consequently, for every good pair,On the other hand, apply the proved concentration estimate at . Since , for large every integer with is exceptional there. There are only such integers. Products of good pairs lie in this exceptional set; products having only bad representations are at most as numerous as the bad pairs. This proves the multiplication-table upper bound, using distinct prime factors alone:
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 207 2 c Solution Created 2026-10-03 Updated 2026-10-06
Assume the 1000 individuals are initially disease-free. The event being counted is onset during the ten-year period, not occupancy of the pre-clinical state at its end. Using the estimated transition intensity as a constant onset rate and linearity of expectation, the expected number of onsets isThe first-order approximation is close, but does not account for depletion of the disease-free group.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 211 3 a Solution Created 2026-10-03 Updated 2026-10-06
Choose any strictly positive pricing kernel . The assumed componentwise expectations and the linearity of expectation giveThe integrand is nonnegative, so its expectation is also nonnegative and hence zero. A nonnegative random variable with zero expectation vanishes almost surely. Since almost surely, this forces almost surely. Both conclusions follow:The strict positivity of the pricing kernel is essential: a kernel allowed to vanish could miss a positive payoff on its zero set. No normalization is assumed in this abstract market; that normalization follows only if a unit-priced unit-payoff cash asset is included.
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 2017 ia Paper 2 9F a Solution Created 2026-09-24 Updated 2026-10-05
The binomial theorem makes the sum of the proposed probability mass function equal to ; every term is nonnegative. Realize the associated binomial distribution as , where the are independent variables with the Bernoulli distribution of parameter . Each has expected value and variance . Linearity of expectation and variance additivity for independent random variables yieldAt or this is a constant random variable; the same formulas apply, with the endpoint mass understood by continuity.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 214 3 a Solution Created 2026-10-03 Updated 2026-10-06
Fix an edge and orient it from to . For each spanning tree , let be its unique graph path from to . Assign a signed unit graph path flow to oriented edges: value in the direction used by , value on the reversed orientation, and zero otherwise. Define its meanEach has net divergence one at , minus one at and zero elsewhere, so is a unit flow. The mean spanning-tree path current also satisfies the Kirchhoff cycle law. Although its verification is permitted to be omitted, a short counting argument makes it explicit. Let be the two-component spanning forests separating and , write for the component containing , and let be the number of spanning trees. Deleting an edge used by the oriented tree graph path gives one such forest. Conversely adjoining an edge across its two components gives a unique tree with that edge on its -to- graph path. ConsequentlyThe gradient form proves the Kirchhoff cycle law directly and is Ohm's law for unit edge resistance. The Kirchhoff node law then gives , and the electrical unit flow is unique: the difference between two such voltages is a harmonic function on a graph and hence constant on the connected finite graph.
If , its single-edge route is the unique tree graph path from to , so . If , that tree graph path does not use , so . ThereforeBy Ohm's law, ; for a unit terminal current, this voltage difference is exactly the effective resistance between the terminals. We have proved the requested edge-inclusion formula for a uniform spanning tree:Now use linearity of expectation and the fact that every spanning tree has exactly edges. This gives Foster's theorem:The sums here use unoriented edges exactly once. For unit conductance this is the displayed identity; with conductances the inclusion probability and summand become .
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 214 3 c Solution Created 2026-10-03 Updated 2026-10-06
Group the random resistance cost by unoriented edges. For , its resistance contributes once whenever the walk traverses it in either direction. Pathwise,The graph is finite and the commute has finite expected value. Linearity of expectation, or Tonelli theorem for these nonnegative terms, therefore permits taking expectations of the sum. By the directed edge occupation in a random-walk commute, both directed traversal counts have expected value . ThusApply Foster's theorem from part (a) to obtainThe factor two counts the two orientations of each edge. It would be lost by treating the expected directed count in part (b) as an expected count for both directions together. The same distinct-terminal and simple-random-walk conventions from part (b) remain in force.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 109 1 a Solution Created 2026-10-03 Updated 2026-10-05
Choose a Uniformly random maximal chain in a Boolean lattice by taking a uniformly random permutation of and successively adjoining its elements. A fixed -element set occurs on this maximal chain in a Boolean lattice with probability . Because an antichain meets every such chain in a partially ordered set at most once, linearity of expectation gives the LYM inequality:Here is the Lubell mass.
For equality in the LYM inequality, the integer must equal one for every maximal chain in a Boolean lattice, since every chain has positive probability. Choose of rank . If , take and , and choose a permutation with its first elements equal to , its th element , and its next element . Interchanging those two adjacent elements changes precisely the rank- member of the corresponding maximal chain in a Boolean lattice, replacing by . All other members are unchanged and none belongs to the antichain. The new chain must still meet , so .
Successive exchanges connect all -element subsets: exchange an element outside a desired target for an element missing from it, decreasing the number of differences each time. Thus contains the whole rank- level. Every set of another rank is comparable with some set in that level, so the antichain contains nothing else. If or , its sole possible member is already the whole corresponding level. Conversely, every full level meets every maximal chain in a Boolean lattice exactly once. Hence
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 214 2 a Solution Created 2026-10-03 Updated 2026-10-05
Write and . By translation invariance and linearity of expectation,Let . Since , splitting the expectation at the threshold givesRearranging produces the slightly stronger estimateOnly the mean and boundedness of the random variable are used; independence of the vertex-membership events is unnecessary.
Past exam of the mathematics course of the University of Cambridge 2019 ia Paper 2 12F Solution Created 2026-09-24 Updated 2026-09-29
Let be the indicator random variable of . Then , so linearity of expectation givesUsing variance of a sum andwe obtain
For the circular array, let indicate that bulbs and are both on, with indices read modulo . Then . Non-neighbouring indicators are independent, whileThere are individual terms and ordered neighbouring pairs in the double covariance sum, so
The event is exactly . If , Markov inequality givesIf , then implies . By Chebyshev inequality,Therefore in the second regime.
Past exam of the mathematics course of the University of Cambridge 2019 ib Paper 4 9H b Solution Created 2026-09-24 Updated 2026-09-29
By independence of the two simple random walks, linearity of expectation, and symmetry of their transition probabilities,The Chapman-Kolmogorov equation identifies the inner sum as , soA simple random walk on the integer line can return to only at an even time. Since it is recurrent at , part (a) givesTherefore .
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 109 1 Solution 2026-10-03
For a uniform set family , the Local LYM inequality isTo prove it, count the incident pairs with , , and . Every contributes exactly pairs, whereas every belongs to at most members of . Thereforewhich is the displayed inequality after using the binomial coefficient identity .
The LYM inequality says that every antichain satisfiesFor the proof from the local inequality, take the lowest occupied level below the middle and replace that level by its upper shadow. The result remains an antichain: any new containment involving a set in the upper shadow would already give a containment involving the member of immediately below it. The dual form of the Local LYM inequality says that this replacement cannot decrease the Lubell mass. Repeating upward below the middle, and similarly replacing high levels by their lower shadows, eventually puts the whole family in one middle level. Its final Lubell mass is at most one, so the original mass is also at most one.
For the maximal chain in a Boolean lattice proof, choose a Uniformly random maximal chain in a Boolean lattice. An -element set lies on it with probability . Because an antichain meets each chain at most once, the expected value of the number of its members on the chain is at most one. By linearity of expectation, that expected value is precisely the displayed sum.
The Sperner theorem follows because for every . If equality holds in the resulting cardinality bound, every member lies on a largest level. For even this is the unique middle level. For odd , the two middle levels have equal size; the regular connected inclusion graph between them and equality in Local LYM inequality force a chosen portion of the lower level to be either empty or the whole level. Hence the maximum antichains are exactly the complete middle level, with either middle level allowed when is odd.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 339 2 c ii Solution Created 2026-10-03 Updated 2026-10-05
A fixed edge is monochromatic exactly when none of the hyperplanes separates its endpoints. Each hyperplane fails to cut it with probability at most , and the hyperplanes are independent. ThereforeLet count monochromatic edges. Applying linearity of expectation to these indicator random variables givesIndependence between different edges is unnecessary; only the independently sampled hyperplanes are used. The signs provide at most colors, whether or not every sign region is nonempty.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 13C b iii Solution Created 2026-09-24 Updated 2026-10-03
For , linearity of expectation gives . The mean therefore satisfiesIf , the coefficient of is negative and the stable equilibrium isIf , the positive feedback from batch addition dominates deaths and grows exponentially at rate . At the threshold , it grows linearly as .
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 17G d Solution Created 2026-09-24 Updated 2026-10-03
For each edge , let be the indicator random variable of the event that precisely one endpoint lies in . Independent inclusion of the two endpoints with probability givesBecause , linearity of expectation givesSome realization therefore has . Retaining its crossing edges gives a subgraph that is bipartite, with vertex classes and , proving the random cut lower bound.
Now suppose is an even number and instead choose uniformly among all subsets of size . For a fixed edge ,and the reverse orientation has the same probability. ThusAnother application of linearity of expectation givesAt least one such balanced choice attains this expectation, and its crossing edges give the required subgraph that is bipartite. This is the balanced random cut lower bound.
Past exam of the mathematics course of the University of Cambridge 2021 ii Paper 1 17G a Solution Created 2026-09-24 Updated 2026-09-25
The binomial random graph has vertex set , and each unordered pair of distinct vertices is included as an edge independently with probability .
Let count copies of the complete graph . Each -element vertex set forms a copy with probability , so linearity of expectation givesThe event is . By the first moment method,This is the clique count in a binomial random graph.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 208 3 a Solution Created 2026-09-28 Updated 2026-10-03
Each bin is empty precisely when all balls avoid it, soThe linearity of expectation does not require independence and gives
Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 3 17F a Solution Created 2026-09-24 Updated 2026-09-25
Colour every vertex of a graph independently and uniformly with three colours, and retain precisely the edges whose endpoints have different colours. Each edge is retained with probability , so linearity of expectation gives expected retained edge countSome colouring therefore retains at least edges. Its retained subgraph is three-colourable, and deleting edges if necessary leaves exactlyedges without increasing its chromatic number. This is the three-colourable two-thirds subgraph lemma.
To prove sharpness, take . If is three-colourable and its colour classes have sizes , then they are independent sets, sowhere the final inequality follows from Cauchy-Schwarz inequality. Since ,Given , choose with . Then every three-colourable subgraph has at most edges.