Past exam of the mathematics course of the University of Cambridge 2018 ii Paper 4 1G Solution Created 2026-09-24 Updated 2026-10-03
Suppose first that a simple continued fraction is eventually periodic. Its periodic tail is fixed by the Möbius transformation represented by the continued-fraction matrix of one full period:ThusThe infinite tail is not rational, since a rational simple continued fraction terminates. Hence is a quadratic irrational, and the finite initial block expresses the original number as another rational Möbius transform of . Therefore every eventually periodic simple continued fraction represents a quadratic irrational.
Apply the continued-fraction algorithm to :The complete quotient then repeats, givingThe convergents through one term before the final areThe last of these satisfies the Pell equationso a positive solution is
Past exam of the mathematics course of the University of Cambridge 2018 ii Paper 4 2F Solution Created 2026-09-24 Updated 2026-10-03
LetAssume for a contradiction that is rational. For every , both andare integers, because the are integers. Their positive differencemust therefore be a positive integer.
On the other hand, concavity of for gives . Since ,Eventually , contradicting its integrality. Hence
The integrality assumption is essential. For example, take , , andThen , but the exponential series givesThus the result does not remain true for arbitrary real .
Past exam of the mathematics course of the University of Cambridge 2019 ia Paper 1 12F i Solution Created 2026-09-24 Updated 2026-09-29
For a partition of an interval , putThe upper Darboux sum and lower Darboux sum areThe upper and lower integrals areThe bounded function is Riemann integrable when these values agree, and their common value is its Riemann integral.
For the indicator of the rational numbers, every nondegenerate interval contains both a rational number and an irrational number. Hence every upper sum is one and every lower sum is zero. The function is not Riemann integrable.
Past exam of the mathematics course of the University of Cambridge 2019 ia Paper 1 9D Solution Created 2026-09-24 Updated 2026-09-29
The Cauchy functional equation first gives and . If , then continuity at the given point givesso is continuous at zero. For every ,so is continuous everywhere.
Put . Additivity gives for integers and then for rational numbers. For any real , choose rationals ; continuity gives
For the multiplicative equation, . If , then for every . Otherwise . In that caseand cannot vanish because . Hence is everywhere positive. The continuous function satisfies the Cauchy functional equation, so . Therefore the complete family is
Past exam of the mathematics course of the University of Cambridge 2019 ia Paper 4 2E Solution Created 2026-09-24 Updated 2026-09-29
The second series converges absolutely, for example by the ratio test, and is the odd part of the exponential series:This value is irrational. Indeed, if were algebraic, then would satisfymaking algebraic over the algebraic numbers and hence algebraic, contrary to the Hermite theorem on the transcendence of e. Thus the second sum is in fact transcendental.
Past exam of the mathematics course of the University of Cambridge 2019 ia Paper 4 8E a Solution Created 2026-09-24 Updated 2026-09-29
A set is countable if it is finite or admits an injection into the natural numbers; equivalently, its elements can be listed by a finite list or a sequence.
The product of two countable sets is countable: after choosing enumerations, its elements are indexed by pairs , and these pairs can be listed diagonally. Thus an injection followed by an injection proves that is countable.
The integers are listed as , so is countable. Every rational number is represented by a pair , so is countable as the image of a countable set.
Finally, if are countable, choose listings , allowing repetitions for finite sets. The diagonal listing of the pairs lists every , proving that a countable union of countable sets is countable.
Past exam of the mathematics course of the University of Cambridge 2021 ia Paper 4 7E c Solution Created 2026-09-24 Updated 2026-09-25
LetThe tail satisfiesFor every fixed positive integer , this is smaller than for all sufficiently large .
The binary expansion has digits at factorial positions and arbitrarily long blocks of zeros, but it is neither eventually zero nor eventually periodic. Since a rational number has an eventually periodic binary expansion, is irrational. If it were an algebraic number of degree , part (b), or equivalently the Liouville approximation theorem, would give a fixed positive multiple of as a lower bound for all rational approximations. The fractions violate that bound. Thus is a transcendental number.
Let . Part iii gives . Since division by is possible in the rational numbers,is a two-coboundary. HenceThis is a degree-two instance of the vanishing of finite-group cohomology when the group order is invertible on the coefficient module.
Past exam of the mathematics course of the University of Cambridge 2022 ia Paper 1 10D Solution Created 2026-09-23 Updated 2026-09-25
Let be continuous. If it were unbounded, one could choose with . The Bolzano-Weierstrass theorem gives a subsequence , but continuity would then give , contradicting unboundedness.
Now let . Choose with . A convergent subsequence and continuity give at its limit. Applying the same argument to shows that the infimum is attained. This proves the extreme value theorem on a closed bounded interval.
The functionis continuous and bounded, but attains neither its infimum nor its supremum . For the second example, enumerate the rationals in as and setEvery nondegenerate interval contains infinitely many rational numbers, hence some with arbitrarily large ; therefore is unbounded on every such interval.
For the running extrema, compactness lets us writeThe function is uniformly continuous on . Given , choose such that whenever . If and , every new value with is at most . Since ,Interchanging handles the other order. Applying this argument to proves continuity of as well.
Finally fix and put . For each positive integer , there must be some with . Otherwise, for some the continuous function would satisfy on the interval . By the intermediate value theorem, would have a constant sign there. The valueswould then increase or decrease by at least at every step, contradicting boundedness of . Thus and
Past exam of the mathematics course of the University of Cambridge 2022 ia Paper 4 2D Solution Created 2026-09-23 Updated 2026-09-25
LetIf were rational, thenwould make rational. But if in lowest terms, then , which is impossible by unique prime factorization: the exponent of on the two sides is respectively a multiple of three and one more than a multiple of three. Therefore
Use the given convergent seriesSuppose this number were . Choose large enough that . Multiplication by makes both the rational number and the partial sum through integers. Their differencewould therefore be an integer. It is positive, whilefor sufficiently large , a contradiction. Hence
A transcendental number is a complex number that is not a root of any nonzero polynomial with rational, equivalently integer, coefficients. LetIf and were an algebraic number, then would satisfyover the algebraic extension . By transitivity of algebraic extensions, would be algebraic over , contradicting its transcendence. If , then and would again be algebraic. Thus
Past exam of the mathematics course of the University of Cambridge 2022 ia Paper 4 8F b ii Solution Created 2026-09-24 Updated 2026-09-25
The integers are countable under the enumerationPart (i) then shows that is countable. The mapis a surjection from onto the rational numbers. Selecting, for example, the representation in lowest terms with positive denominator gives an injection in the other direction. Thus is countable.
Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 3 15D a Solution Created 2026-09-24 Updated 2026-09-25
Start two registers in . Apply to the first and then reversibly evaluate into the second, obtainingThe evaluation can be implemented by repeated squaring and reversible modular multiplication using a number of elementary arithmetic operations polynomial in .
Measure the second register. Because is injective within one period and , the first register becomes a uniformly weighted periodic cosetThe quantum Fourier transform of a periodic coset state followed by measurement returnsReduce the rational number to lowest terms. Sinceits denominator is . Test whether by repeated squaring. The promised injectivity means that is the least positive period, and , so this congruence holds exactly when . The test therefore certifies whether the run succeeded; this is heralded exact quantum period finding when the period divides the register size.
One run succeeds with probabilitybecause success is equivalent to being coprime to . A standard estimate for the Euler totient function gives for all sufficiently large , with the finitely many smaller cases absorbed by changing the positive constant . Repeating independently times therefore makes the probability that every run fails at most . Every step, including the repetitions and the classical verification, takes time polynomial in .
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 203 3 b Solution 2026-09-28
For a real boundary point , the Boundary-point Bessel flow for SLE says that is a Bessel process of dimensionWhen , one has , so part 2(b), including its logarithmic case, shows that no fixed boundary point is swallowed.
If the trace touched the real line away from its starting point, or if a later segment crossed an earlier segment, the resulting hull would disconnect from infinity a nonempty real interval, which contains a rational number. Applying the preceding argument after every rational time and using the Conformal Markov property of SLE rules this out on a countable probability-one event. Continuity of the trace then shows that no two distinct times have the same image. Thus is simple for .
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 305 3 iv Solution Created 2026-09-24 Updated 2026-09-25
If , divide the cubic equation by and define the rational numbersThen every integer anomaly-free assignment supplies a rational solution of
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 201 3 b Solution Created 2026-09-24 Updated 2026-10-14
Assume . For every pair of rationals , Doob upcrossing inequality givesby monotone convergence theorem. Thus every rational interval is upcrossed only finitely often almost surely. If a real sequence has distinct limit inferior and limit superior, it completes infinitely many upcrossings of some rational interval between them. Hence converges in the extended real line almost surely.
Fatou lemma givesso the limit is finite almost surely and integrable. This is the -bounded form of the martingale convergence theorem.
A limit point of is a point such that, for every , the punctured neighbourhood meets . A closed set contains all of its limit points.
Every nonempty open interval contains a rational number; applying this to shows that every is a limit point of . Thus the limit points of form , and is not closed.
With , one has . Since , ii proves boundedness. Write the positive rational number in lowest terms. The radius and its angular derivative repeat after . After such radial oscillations,so both the position and the radial and transverse velocities return to their initial values. The elapsed time iswhich is finite and positive because is bounded above and below by positive constants. Thus the motion is periodic. The orbit is a closed, generally self-intersecting rosette orbit, with radial oscillations during complete revolutions; for integral it has evenly spaced lobes around the origin. It never reaches the origin and is not a circular orbit.
Exactly , and can be sustained as constant stage game outcomes. Their long-run average payoffs are , and , respectively. We assume the usual repeated game monitoring convention: both players observe each completed joint action before the next round. The source's colour convention puts the blue lower-left row payoff first and the red upper-right column payoff second.
For necessity, row action earns against , so playing it forever guarantees a nonnegative long-run average payoff against every opposing pure strategy. Similarly, column action earns against and guarantees zero or more. Conversely, column action holds the row player's best possible stage payoff to , and row action holds the column player's to . Thus each player's minmax payoff is exactly .
Any Nash equilibrium must give both players at least zero, an individually rational payoff in a repeated game. Every off-diagonal cell has a negative payoff for one player: and hurt row, and hurt column, hurts row and hurts column. Repeating any such cell forever therefore permits a profitable unilateral deviation to the zero-guaranteeing action. The three diagonal cells pass this necessary test.
For sufficiency, fix target or . Each player's finite-state strategy has initial state and an absorbing state . In , output the player's component of ; remain in if the completed joint action equals , and otherwise move to . In , row always outputs and column always outputs , regardless of further observations. These are two-state grim trigger strategies; the separate machines are drawn below. The input is the observed joint action, so after any off-path history the prescribed continuation states agree.
If neither player deviates, the target is repeated forever. If a player first deviates at a finite round , the opponent enters for all later rounds. Against column action , every row action earns at most zero; against row action , every column action earns at most zero. All payoffs are bounded, so the total reward before and at , divided by the horizon, tends to zero. The deviator's upper limiting average is therefore at most , below either target payoff or . This proof tests arbitrary future deviations, not merely a single changed action. It also rules out improvement by deviations whose averages fail to converge, if the criterion is extended by an upper or lower limit.
For target , one-state machines outputting and forever suffice: each is a best response to the other in every round. Their long-run average payoffs are zero and no unilateral deviation can improve them. In fact, the punishment is credible because is a stage Nash equilibrium, so the two positive-target constructions are also subgame perfect equilibria under the stated monitoring assumption. The general punishment mechanism is described in [ref]
Lecture 15: Repeated Games by Asu Ozdaglar. slides 12–15; those slides use discounting, while the finite-prefix argument here uses long-run averages
.“Outcomes of the stage game” here means a fixed action pair repeated forever. Allowing time sharing also sustains some average payoff vectors that are not stage cells: for example, a deterministic alternating cycle gives , with a two-phase finite-state strategy and the same permanent punishment. An off-diagonal cell may occur in a sustainable cycle; the impossibility above concerns its constant repetition, not every appearance on an equilibrium path. With finite-state pure strategies, an undisturbed path is eventually periodic, so its limiting cell frequencies are rational numbers.
For the intended finite representation, put . For each , form the mintermA Boolean valuation satisfies exactly when its selected subset is . Therefore the weighted formula utility representationrepresents exactly: at the Boolean valuation for , only that minterm contributes, with weight . This proves completeness and the bound of rules simultaneously. Zero-weight rules may be omitted. The bound counts rules; writing each minterm also requires symbols in Big O notation.
For the computational question, assume rule weights are rational numbers encoded in binary. This makes exact equality of sums a finite computational task. With this conventional encoding, equivalence of weighted formula utility representations is co-NP-complete.
For membership, the complement has a short witness: a Boolean valuation on the variables occurring in either rule base. Evaluate each propositional formula, sum the weights of satisfied rules, and accept the witness if the sums differ. Propositional formula evaluation takes polynomial time. Exact sums of binary rational numbers also have polynomially bounded bit lengths: the product of their denominators has bit length at most the sum of the input denominator lengths. Thus non-equivalence lies in NP, and equivalence lies in co-NP.
For hardness, take a Boolean satisfiability problem instance and constructThe first utility function is one at satisfying Boolean valuations and zero elsewhere, while the second is always zero. ConsequentlyThe unsatisfiable Boolean formula problem is co-NP-complete, as the complement of the NP-complete Boolean satisfiability problem. The construction is a polynomial-time reduction, proving hardness even with the single weight .
Two qualifications matter in the literal wording. First, unrestricted real weights have no specified finite encoding, so a standard bit-complexity classification needs the encoding assumption above. Second, the problem says only that is nonempty. If infinite is allowed while rule bases remain finite, its completeness claim is false. For , take when is infinite and when is finite. A finite rule base mentions only a finite subset of the variables. The Boolean valuations for and agree on all those variables but have different required values. No such rule base represents this . Thus the construction answers the intended finite-set question and identifies the missing hypothesis in the unrestricted statement.
Factorization over the rational numbers givesThe rational roots add nothing to the splitting field. By Eisenstein's criterion at , is irreducible. Put and . Its splitting field is . The real field has degree ; the nonreal element has degree over it. Thus , and its faithful action on the three nonrational roots identifies
