Past exam of the communication Theory course of the University of Oxford 2010 3 c i Solution 2026-10-31
Let the input probabilities be and put . The output distribution and conditional entropy areFor fixed , the first and third output masses sum to . Their entropy is maximized when they are equal, so . Equivalently, if ,The same bound holds at by continuity. Therefore , with equality for symmetric outer input probabilities. Writing , differentiate:The unique zero is ; strict concavity makes it the global maximum. Thus andThe optimum output is .
Past exam of the communication Theory course of the University of Oxford 2011 1 b iii Solution 2026-10-31
The given logarithmic moment iswhere the term is zero. It is attained by the positive distributionwhose probabilities sum to one. Write , so . For any distribution with the required logarithmic moment,Consequently the unique maximizer and its entropy areThe increasing weights are consistent with the prescribed moment; they need not be a decreasing power law.
Past exam of the communication Theory course of the University of Oxford 2011 1 c Solution 2026-10-31
Write . For each row put ; the positive row entries form a probability distribution because the row sum is one. When , define the probability distributionPart (a), applied on this row support, gives . Its weighted sum expands asRows with contribute zero, since all in such a row vanish. Using the convention that zero-weight logarithmic terms are zero, the result isBoth stochasticity conditions have a role: row sums normalize the comparison distributions, while column sums preserve the total contribution from .
Past exam of the communication Theory course of the University of Oxford 2011 3 a ii Solution 2026-10-31
A discrete memoryless channel has finite input and output alphabets and fixed conditional probabilities , whose rows sum to one. Memorylessness means that for successive uses, conditional on the input sequence, the output probabilities factor as the product of these one-use conditional probabilities.
Past exam of the computer science course of the University of Oxford 2018 Algorithms 2 c Solution 2026-10-31
Root the tree arbitrarily. For each vertex , let be the minimum vertex cover size in its descendant subtree, conditional on selecting , and the corresponding minimum conditional on omitting . Process the vertices in postorder traversal. For every child of ,At a leaf of a rooted tree, the empty sums give . Return at the root .
For algorithm correctness, if is selected, each child subtree may independently use its cheaper state, since the connecting edge is already covered by . If is omitted, each child must be selected to cover its connecting edge. Distinct child subtrees have no edges between them because the input is a tree. These observations prove the recurrences by structural induction. Each edge contributes constant work once, giving time complexity and space with adjacency lists. The single-vertex tree correctly has optimum zero. This is minimum vertex cover of a tree by dynamic programming.
Past exam of the computer science course of the University of Oxford 2019 Algorithms 1 a Solution 2026-10-25
Use nonnegative amounts on the original directed edges of the flow network. A feasible flow is a function satisfying the capacity constraints and flow conservation at every internal vertex:Its flow value is net outflow at the source,Summing flow conservation shows that this is also net inflow at the sink. Subtracting incoming flow matters when the source has incoming edges.
An – cut of a flow network is a partition of a set with and . Its cut capacity is the total outward flow network edge capacity,Incoming edges do not contribute to this sum. Equivalently, one may use the antisymmetric net-flow convention, but the nonnegative arc convention above will also be used in the subsequent reductions.
Past exam of the computer science course of the University of Oxford 2019 Algorithms 1 b Solution 2026-10-25
Sum net outflow over all vertices in the source side . An internal directed edge occurs once positively and once negatively, so it cancels. All internal vertices have zero net outflow by flow conservation, and the sink is outside . ThereforeThe second sum is nonnegative, while every term in the first satisfies its capacity constraint. Consequently,This is direct accounting from flow conservation; it does not invoke the max-flow min-cut theorem.
Past exam of the computer science course of the University of Oxford 2019 Algorithms 1 d Solution 2026-10-25
Separate the forced integer portion from the choice of rounding direction. Put and . Define residual demandsThese are nonnegative integers, since the original row and column sums are integers. Also . Each fractional part satisfies .
Construct a flow network with a vertex for each row and column, source-to-row arcs of flow network edge capacity , row-to-column arcs of flow network edge capacity one exactly where , and column-to-sink arcs of flow network edge capacity . The amounts themselves define a fractional feasible flow of flow value . No flow can exceed , the total source flow network edge capacity. Because all constructed flow network edge capacities are integers, an integral maximum flow also has flow value and saturates every source and sink arc.
Let be its middle-arc flow, taking when that arc is absent. Then , and the required answer isAt an already integral entry no middle arc exists, so that entry stays fixed. At a nonintegral entry the two possibilities are precisely its floor and ceiling. Flow conservation gives and , preserving every original row and column sum.
This is matrix rounding with fixed margins. There are vertices and at most arcs. Exact rational arithmetic computes the floors and residual demands in polynomial time in the encoded input length; the resulting flow network edge capacities are small integers, so there is no need to scale by a potentially large common denominator.
Past exam of the computer science course of the University of Oxford 2019 Algorithms 2 d Solution 2026-10-25
Let and choose any column probability vector , for example the first coordinate unit vector. Because has nonnegative entries and each row sums to one, maps the probability simplexinto itself: and .
The iterates need not converge, so take their arithmetic averages,A telescoping sum givesBoth vectors on the right before subtraction have L1 norm one, so .
The probability simplex is closed and bounded in finite-dimensional Euclidean space, hence compact by the Heine-Borel theorem. It follows that a subsequence converges to some . Passing to the limit in the displayed identity, using continuity of the linear map , gives , with and .
This proves stationary distribution existence for a finite Markov chain without any Markov chain irreducibility or aperiodicity assumption. Those stronger hypotheses concern uniqueness and convergence, not the existence required here.
Where its denominator is nonzero, normalization enforces cooperative-game efficiency and preserves cooperative-game symmetry and the null player axiom. The violated axiom is cooperative-game additivity.
For an exact counterexample on three players, let be the majority game, and let be the dictatorship in which a coalition wins precisely when it contains player one. Their probabilistic Banzhaf indices arewith . HenceUnnormalized indices add, so . Their sum is , while . ThereforeThe sum game is a valid transferable utility game, although it is not binary; that is the natural domain of the additivity axiom. The failure comes from a game-dependent scaling factor. A zero denominator, as for the zero game, makes the displayed normalization undefined unless a separate convention is supplied; none of the counterexample's denominators vanish.
Use Model 3 and keep every prescribed row at its prescribed column. Initialize one queen in every other row, and minimize the conflict countThis sum counts attacking pairs; is exactly a valid completion. A neighbor changes the column of one unfixed row. Evaluate such neighbors and move to one with lower , breaking equal choices arbitrarily. Minimizing , or maximizing , is hill climbing on complete domain assignments; these assignments need not yet satisfy the inter-row constraints. Fixed rows are never moved.
The min-conflicts algorithm chooses a conflicted unfixed queen and places it in a column giving the smallest conflict count against the other queens. Recomputing only the affected pair contributions makes a move cheaper than reevaluating every pair. Equal-cost moves can help cross plateaus; bounded sideways moves or repeated random starts of only the unfixed queens can escape some traps. These modifications still preserve the prescribed positions.
Return a board only after checking and every prescribed position. A local minimum with positive is not proof of impossibility. A queens completion problem may be unsatisfiable even when its prescribed queens do not attack each other; unrestricted restart policies give no finite worst-case success bound. If every row is fixed, simply validate the one board. For a guaranteed decision procedure use finite backtracking, possibly with constraint propagation, instead of relying on hill climbing.
Past exam of the history of mathematics course of the University of Oxford 2023 1 Solution 2026-10-25
The passage belongs to the English reception of Euclid's number theory. Henry Billingsley's The Elements of Geometrie by Henry Billingsley, published in 1570, brought the Elements into English with extensive explanatory material. The original title page advertises translation and annotations; the extract's worked examples show what explanatory prose could add to a compact definition. Henry Billingsley's numbering calls this Definition 23 of Book VII; the familiar modern numbering is VII, Definition 22. The difference is editorial, not a difference in the perfect number being defined.[ref]
The Elements of Geometrie by Henry Billingsley. Title page and Book VII, Definition 23, in the Text Creation Partnership transcription
[ref]Book VII, Definition 22. Definition and guide
Here a number's parts are its positive proper divisors, rather than arbitrary pieces of a sum or all smaller integers. In modern notation the definition iswhere is the sum-of-divisors function. Thus is not a perfect number: its positive proper divisors total . It is essential to exclude itself: including it would double the required sum. The pairing of a divisor with the fraction of the whole explains the extract's language of halves, thirds and so on. Its examples are complete checks because they identify every positive proper divisor, not merely some convenient decomposition.
The larger mathematical context is the construction in Book IX, Proposition 36. If is a prime number, then is a perfect number. To reconstruct the argument, prime factorization gives all its divisors as and , with . A finite geometric series therefore givesThe choices produce . The primality assumption matters: choosing produces , whose sum-of-divisors function is , not . The construction gives a reason for the examples and connects perfect numbers with Mersenne primes.[ref]
Book IX, Proposition 36. Statement, construction and guide
The extract itself supplies a definition and examples, not a classification or a mathematical proof that such numbers are rare. In particular, the converse that every even perfect number has this form belongs to the later Euclid-Euler theorem; it should not be read back into this passage. The historically significant feature is the transmission of deductive arithmetic through vernacular explanation: a book called geometry also teaches the divisibility theory needed for a general construction.
Past exam of the history of mathematics course of the University of Oxford 2023 9 Solution 2026-10-25
Standards of mathematical proof changed between the seventeenth and nineteenth centuries because both the objects studied and the operations performed on them changed. A finite geometrical construction, an infinite expansion, and an abstract group raise different questions about justification. There was no universal seventeenth-century indifference to rigour followed by its sudden nineteenth-century invention. The more defensible thesis is that successful methods repeatedly exposed unstated assumptions; later work made some of those assumptions into explicit definitions, hypotheses and existence arguments.
Pierre de Fermat's adequality illustrates the distinction between an effective method and its justification. For , comparing neighbouring expressions givesDividing by and suppressing the remaining term in produces . There is an independent finite verification:Thus the result can be secure even when the general procedure raises a question: why is the increment first nonzero for division and then discarded? In the parabola construction of question 2, the same issue appears in replacing a strict geometrical comparison by adequality and extracting the subtangent. A historical explanation must describe this operation on its own terms rather than silently equate it with a modern derivative.[ref]
Fermat's rule for maxima and minima by the Garden of Archimedes. Procedure of adequality and tangent example
Isaac Newton and Gottfried Wilhelm Leibniz supplied different languages for the new calculus. Isaac Newton's Introduction to the Quadrature of Curves by Isaac Newton, first published with the 1704 Opticks, presents quantities generated by motion and considers their rates of change. Its mature language of first and last ratios seeks exact relations as increments vanish; it should not be confused with simply asserting that a small error is harmless. Gottfried Wilhelm Leibniz's 1684 Nova methodus pro maximis et minimis by Gottfried Wilhelm Leibniz presents a calculus of differentials and operational rules. Their common problem was to explain why procedures using vanishing increments establish exact results, while their chosen objects and modes of explanation differed.[ref]
Introduction to the Quadrature of Curves by Isaac Newton. Opening discussion of generated quantities and fluxions; 1704 publication distinguished from the archived 1711 Latin and 1710 English texts
[ref]Nova methodus pro maximis et minimis by Gottfried Wilhelm Leibniz. Acta Eruditorum, October 1684, 467–473, original pages reproduced by the Mathematical Association of America
George Berkeley's The Analyst by George Berkeley (1734) exposes the logical pressure point. For the cube,The finite identity does not become a legal division at . The modern repair is to keep throughout the identity and prove that its right-hand side tends to . That limit is different from a quotient evaluated at zero. George Berkeley's criticism therefore concerns the grounds of inference, not whether the established rules often produce correct answers. His theological polemic also reminds us that standards of mathematical proof could be contested outside specialist calculation.[ref]
The Analyst by George Berkeley. 1734, §§13–18, critique of evanescent increments and changes of hypothesis
The infinite introduced another burden. Joseph Fourier's 1822 use of trigonometric series to represent arbitrary functions greatly extended what calculations in mathematical physics could express. But deriving Fourier coefficients by orthogonality only shows what those coefficients must be if the proposed operations are legitimate. It does not prove convergence, equality with the initial data, or interchange of an integral and an infinite sum. The example of a constant expanded in a Fourier sine series makes a hidden qualification visible: the terms all vanish at the endpoints, even when the assigned data do not. The correct theorem must specify the domain and mode of representation.[ref]
Propagation de la chaleur dans un solide rectangle infini. §233, broad representation claim and integral coefficients
Peter Gustav Lejeune Dirichlet's 1829 memoir supplies a particularly precise example of changing proof obligations. It criticises a convergence argument of Augustin-Louis Cauchy's which used complex substitution into an arbitrary function and an insufficient comparison between signed series. Peter Gustav Lejeune Dirichlet supplies the instructive pairThe first series converges by the alternating series test; the second diverges because their difference is the harmonic series. Nevertheless . Thus asymptotic equality of terms does not transfer convergence between conditionally convergent signed series. A comparison principle valid for positive terms needs additional justification when cancellation is involved. The example refutes a mode of inference rather than merely correcting a numerical answer.[ref]
Sur la convergence des séries trigonométriques by Peter Gustav Lejeune Dirichlet. 1829, opening objections and explicit counterexample
Augustin-Louis Cauchy's own foundations programme is part of this change. The 1821 Cours d'analyse by Augustin-Louis Cauchy makes limits, continuity and series convergence central to elementary reasoning. Yet its Sum theorem of Cauchy also shows why announcing rigour does not make every proof adequate. In modern terminology, continuous functions can have a discontinuous pointwise limit. An explicit series version isEach term is a polynomial and the partial sum is . The convergence does not hold in uniform convergence: with , the error tends to rather than zero. The modern uniform limit theorem repairs the inference by requiring one bound on the error to work throughout the domain. This example diagnoses the missing control under a pointwise reading; it does not settle every historical interpretation of Augustin-Louis Cauchy's infinitesimal language.[ref]
The issue is the order of dependence in quantifiers. Pointwise convergence permits the threshold to depend on both the error tolerance and the point. Uniform convergence requires a threshold depending only on the tolerance. If is continuous near and the convergence is uniform, choose so that nearby, then use the continuity of this fixed to make . The triangle inequality proves . Writing out this proof reveals what a vague statement that the tail is small leaves unproved.
Another nineteenth-century development concerns the foundations of the real numbers themselves. Richard Dedekind's Continuity and Irrational Numbers by Richard Dedekind (1872) asks for an arithmetical account of the continuity often borrowed from a drawn line. A Dedekind cut separates the rational numbers into lower and upper classes. For instance,defines a gap in the rational numbers corresponding to . The cut is determined without assuming that a rational number fills it. The extended number system then supports existence theorems that a geometrical picture alone had suggested.[ref]
Continuity and Irrational Numbers by Richard Dedekind. 1872 preface and §§III–V; English translation in Essays on the Theory of Numbers
This matters for apparently elementary proofs. Suppose is continuous on with . Repeated bisection constructs nested intervals whose endpoint values have opposite signs and whose lengths tend to zero. To conclude that there is a common limiting point, one needs the completeness of the real numbers. Continuity then forces its value to be zero. Over the rational numbers, changes sign between and but has no rational zero. Thus even a proof that avoids pictures must explain the existence of its limiting object. Richard Dedekind's account makes that requirement an explicit part of the mathematical setting, rather than an intuition about a continuous line.[ref]
Continuity and Irrational Numbers by Richard Dedekind. §VII, existence of limits and its relation to completeness
There is a parallel change in algebra. Heinrich Weber's 1882 definition in question 6 describes arbitrary elements through laws of composition. To assess such a definition one proves implications between axioms. The passage's finite set hypothesis implies that cancellative multiplication has an identity element and inverse elements; without that hypothesis, the positive integers under addition supply a counterexample. This is a new kind of proof obligation: one must establish that a proposed abstract definition has the intended consequences, rather than rely on their familiarity in particular numerical or permutation examples.[ref]
The principal change was towards explicit control of operations, hypotheses and existence. Effective symbolic algorithms persisted, and geometric reasoning remained valuable. What became increasingly demanding was the passage from success in examples to a general claim: an infinitesimal step needed justification, an infinite expansion needed a convergence theorem, a limiting point needed a complete number system, and an abstract definition needed its consequences proved. The examples also prevent a simple progress story: nineteenth-century mathematicians disagreed about admissible reasoning, and a programme devoted to rigour could itself become the object of a successful critique.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 27 1 a Solution Created 2026-10-03 Updated 2026-10-06
Let . Regroup the finite divisor sum using the least common multiple:This is nonnegative. If has no prime factor in , only can contribute to the inner sum, so it equals . This proves the required pointwise upper-bound sieve inequality. Whenever a term defining is nonzero, and their prime factors lie in . Hence , and every prime factor of lies in . Thus these are upper-bound sieve weights of level , as described by the Selberg least-common-multiple weights.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 27 3 a Solution Created 2026-10-03 Updated 2026-10-06
Set , and restrict attention to the set of squarefree integers all of whose prime factors lie in . Coefficients indexed by non-squarefree integers do not affect , so they may be set to zero. PutIn particular, the normalizing sum runs to , as in the PDF; the converted TeX's is a transcription error. Define . The finite multiples version of Möbius inversion isIt follows by substituting the definition and using . Taking gives . Thus the Selberg sieve diagonalization and the Cauchy-Schwarz inequality giveEquality holds at , which satisfies the constraint. Inverting, and writing , yieldsFor set . The formula has and gives minimum .
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 27 3 b Solution 2026-10-06
Write , where is the prime omega function. If , its contribution to the Dirichlet convolution isSince , summing over the prime factors proves the log-weighted convolution bound for three to the prime omega, . On , , henceThis is the required inequality. The standard Chebyshev estimate bounds its right side by . To bound the latter sum, use multiplicativity and extend to all numbers with prime factors at most :The Mertens second theorem states . Taking logarithms of the product, with a summable remainder, gives . Therefore the product is , proving the summatory bound for three to the prime omega in the required range:
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 27 4 b Solution Created 2026-10-03 Updated 2026-10-06
Put , with the offset logarithmic integral function. The permitted standard sieve estimate can be taken as the Brun–Titchmarsh theorem:For , . Also . Thus both terms defining are , uniformly over the permitted moduli. Apply the Cauchy-Schwarz inequality in the formThis is the weighted arithmetic-progression error bound. The prime omega function and Euler totient function weights can therefore be handled using an unweighted mean error and a separate positive sum.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 27 5 b Solution 2026-10-06
Finite rearrangement and the Von Mangoldt divisor identity giveFor , integral comparison of the increasing logarithm gives . Moving to real changes the main term by . Thus the integrated Chebyshev sum hasFor , chooseThese are logarithmic Möbius function weights; they need not be upper-bound sieve weights. For , the Möbius inversion identities and giveHence the expression suggested in the question isWe will use the elementary Möbius harmonic logarithmic moments, , for whichHere is a proof of the needed estimates. From , replacing floors by gives . Also , because . Substituting the permitted harmonic number estimate gives , so .
For , the weighted Dirichlet hyperbola method gives the harmonic divisor sum expansionExplicitly, for , . Substitute the harmonic estimate and , obtained by unit-interval integral comparison. This proves the expansion without a prime-distribution theorem. Since , we have , and thereforeThe summed error is bounded by , by integral comparison. Thus .
Finally substitute the asymptotic for into . The main term isThe error sum is : partition the integers into ; each interval contributes , and the resulting series converges. Using the moment estimates proves the Selberg symmetry formula:In particular, the factor two comes from the quadratic logarithmic moment, rather than from an assumption of the Prime number theorem.
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 3 34D Solution Created 2026-09-23 Updated 2026-10-14
Let the Bravais lattice have primitive vectors , and putThe reciprocal lattice has the basisThe scalar triple product and cross product identities giveConsequently every satisfies for every lattice point , and conversely these three conditions force the coefficients of in the reciprocal basis to be integers. This proves that the displayed vectors generate .
In the Born approximation, suppose that the crystal potential is the sum of translates of one atomic potential over the finite set of lattice sites. Its Fourier transform at the momentum transfer factors asThus the single-atom scattering amplitude is multiplied by the crystal lattice structure factor . Writingseparates the sum into three finite geometric series. For this givesWhen the are large, a factor has a sharp maximum when . All three factors are therefore simultaneously large precisely when . These are the reciprocal-lattice peaks of a finite crystal.
For the stated body-centered cubic lattice basis,the reciprocal-basis formula givesEquivalently,The shortest nonzero reciprocal vectors have squared Euclidean norm , so
In elastic scattering, . If and is the angle between and , Euclidean geometry givesThe first possible diffraction peak therefore occurs atas , by the small-angle approximation. This is the elastic Bragg scattering condition for the shortest reciprocal-lattice vector.
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 3 35A a Solution Created 2026-09-24 Updated 2026-09-25
For an ideal gas of identical bosons, the Bose-Einstein distribution gives the mean occupation of a discrete one-particle state aswhere is the chemical potential. If the spectrum is sufficiently dense to use a density of states , the discrete sum becomes