Past exam of the mathematics course of the University of Cambridge 2015 ii Paper 2 10G Solution Created 2026-09-24 Updated 2026-10-06
In RSA, choose with distinct large primes, an exponent coprime to , and satisfying . Publish and keep secret. Encrypt a residue as and decrypt by . Fermat's little theorem on each prime and the Chinese remainder theorem prove decryption, including messages not coprime to .
A customer knows a nonzero multiple of . Write with odd. Choose a base at random. A nontrivial already factors . Otherwise compute modulo . The last entry is . If the first occurrence of is preceded by , thenIndeed, the two prime components of this square root of must have opposite signs. This procedure succeeds for some bases: by the Chinese remainder theorem, choose a base whose component modulo has order and whose component modulo has order . Its odd -th power is already a nontrivial square root of . Trying bases therefore gives an explicit factoring algorithm, and repeated random choices give the usual efficient attack. More precisely, if the two components' orders have different powers of , the procedure succeeds. For a uniform element of a cyclic group with -part , those order valuations have probabilities for and for . Independence of the two prime components shows that equal valuations have probability at most . Thus a random unit succeeds with probability at least . Once is factored, every customer's private exponent is computable. The exceptional is an identity cipher and is already insecure.
For the outsider's RSA common-modulus attack, find integers with by Bézout's identity. For a unit message,using modular inverses for negative powers. If a ciphertext is a nonzero nonunit, its greatest common divisor with factors instead; zero ciphertext corresponds to the zero message for a squarefree modulus. The common message is recoverable without a private key. For a generic unit message this alone does not supply the factorization or all private keys, so it does not demonstrate a complete break for unrelated messages. The nonunit case does give that stronger break.
Past exam of the mathematics course of the University of Cambridge 2015 ii Paper 2 11B Solution Created 2026-09-24 Updated 2026-10-06
For , expand . Absolute convergence of the integrated series follows from the same expression with in place of . Integrating termwise and substituting givesThis proves the Mellin transform representation of the Riemann zeta function.
Take the Hankel contour along the lower side of the negative axis towards zero, around zero counterclockwise, and back along the upper side. For the small-circle contribution tends to zero. On the lower and upper rays, respectively, , so the two integrals combine toThe gamma reflection formula now proves agreement of the two representations. At an integer , the contour integral has a zero while has a pole: their product is interpreted by its finite limit, equal to , not by multiplying literal zero and infinity.
For nonpositive integers the integrand is single-valued, and the contour closes around zero. Sincethe residue of is , giving . Alsois odd. Its Laurent series therefore has only odd powers. Multiplication by cannot produce a term, and the subtracted constant cannot do so when . Hence the contour integral vanishes and for every positive integer .
Past exam of the mathematics course of the University of Cambridge 2015 ii Paper 3 6B Solution Created 2026-09-24 Updated 2026-10-06
Use equal small excisions on the two sides of each real pole. The Cauchy principal value isFor , close the complex contour in the upper half-plane and indent above , leaving the poles outside the contour. The residue theorem and the vanishing of the large semicircle integral give the principal-value integral as times the sum of the two real-pole residues. Each clockwise indentation contributes times its residue. Sincethe sum is . Taking the real part yields the answerThe decay on the large arc follows directly from and the quadratic denominator.
Past exam of the mathematics course of the University of Cambridge 2016 ib Paper 2 13A Solution Created 2026-09-24 Updated 2026-10-06
Let . The useful identity on the square contour isOn the vertical edges the first term equals one; on the horizontal edges and . Thus on every edge. Also and the contour has length , so the estimation lemma givesAt every nonzero integer , the residue is . At zero the Laurent series isso the residue there is . The positive orientation and the residue theorem therefore giveLetting yields the alternating reciprocal-square sum
Past exam of the mathematics course of the University of Cambridge 2017 ib Paper 1 13A b i Solution Created 2026-09-24 Updated 2026-10-05
Write . For and , close upwards as before. The residue theorem includes the poles at and , and the assumed decay in the upper region makes the arc contribution vanish. ThusIt is essential to include the apparently exceptional point . The Laurent series there is with holomorphic. At that point the integrand is , whose residue is . HenceThe displayed difference is interpreted by its removable singularity. It therefore defines a holomorphic function at every point of the required half-plane, including .
Past exam of the mathematics course of the University of Cambridge 2017 ib Paper 2 13A Solution Created 2026-09-24 Updated 2026-10-05
The residue theorem states that a meromorphic function with finitely many poles inside a positively oriented simple closed contour and none on it satisfies . The function must be holomorphic on a neighbourhood of the contour and its interior away from those poles.
Write and . Both integrals converge absolutely. Use the principal complex logarithm in the upper half-plane, with , and an upper semicircle of radius indented above zero by a clockwise semicircle of radius . The branch values on the negative real side are upper limits; equivalently use contours arbitrarily slightly above that side before taking a limit.
For , the large arc is and the small arc is , so both vanish. On approached from above, and . The oriented negative segment therefore contributes , and the positive segment contributes . The only enclosed pole is , with residueConsequentlyComparing imaginary and real parts yields the upper-half-plane contour for square-root logarithmic integrals evaluation:
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 306 3 Solution Created 2026-10-03 Updated 2026-10-05
Use a genus-zero Polyakov path integral, target signature and all four momenta incoming. Define the Mandelstam variables by , , . The string mass-shell condition is and momentum conservation is , soThe reduced amplitude omits the overall momentum-conservation Dirac delta distribution and any conventional overall scattering-matrix phase. Interpret each tachyon vertex operator as normal ordered; self-contractions must not be included.
The free-boson worldsheet propagator is . Wick theorem then evaluates the normal-ordered exponential correlator as the Koba-Nielsen factorThe worldsheet zero mode supplies momentum conservation. Four vertices give and the sphere contributes through the string genus expansion, leaving .
The sphere's residual Möbius transformations fix three insertion points. In sphere gauge fixing for four string vertices, take . The worldsheet ghost fields, equivalently the Faddeev-Popov determinant for this residual group, supply . At finite , this determinant grows as , while the matter correlator decays as by momentum conservation and the tachyon mass shell; their product has a finite limit. Equivalently the weight- matter operator at infinity is normalized with , while the ghost pair uses the inverse factor. After stripping the fixed-position normalization, onlyremains. Here choose the standard complex-coordinate measure . With instead, the reduced normalization must acquire a factor two to give the same requested amplitude. Absolute vertex/sphere normalization is a convention; this choice fixes it consistently with the displayed prefactor.
Set , , . Then and the integrand is . To evaluate the complex beta integral first work where . This ensures convergence near , and infinity. Set and . Schwinger parameterization givesCompleting the square, the Gaussian integral is . Change variables to and ; their Jacobian determinant is . Integrating gives . The remaining integral is the ordinary beta function . ThusRestoring and substituting the Mandelstam variables proves the Virasoro–Shapiro amplitude:For physical scattering the original position integral generally fails to converge. The formula defines the amplitude by analytic continuation from the convergence domain, with the desired scattering boundary value at real poles; the convergent integral should not be claimed valid for every physical momentum.
The gamma function is a meromorphic function, with simple poles at nonpositive integers and no zeros, while its reciprocal is an entire function. Consequently it is a meromorphic function of the independent invariants and a crossing-symmetric scattering amplitude: permuting leaves it unchanged. Its generic channel poles areand the same tower in and . They represent the exchanged bosonic string mass spectrum: the tachyon, massless states including the graviton, and an infinite sequence of massive closed-string levels. There are no threshold branch cuts at this tree order.
A precise check of factorization is the Virasoro–Shapiro amplitude pole residue. Near , set in the nonsingular factor. The gamma function recurrence givesCombining this with showsThe residue is a degree- polynomial in , consistent with exchange up to spin and scattering-amplitude factorization. At exceptional kinematics reciprocal Gamma zeros can remove apparent poles. In particular, when both and approach nonpositive integers, the zero from cancels the putative double pole, leaving channel simple-pole terms. Thus one must not count products of numerator poles without using .
Past exam of the mathematics course of the University of Cambridge 2017 ii Paper 2 21F Solution Created 2026-09-24 Updated 2026-10-05
By the argument principle, the number of zeros minus poles, counted with multiplicity, in the fundamental parallelogram is . The logarithmic derivative is periodic with the same lattice, so the integrals over opposite sides cancel. Thus the numbers of zeros and poles are equal.
The Weierstrass elliptic function gives a degree-two map whose fibers identify and . An even elliptic function is constant on these fibers, so it descends to a single-valued function on the sphere. This is meromorphic even at a branch value: near a half-period the involution is , the Laurent series of has only even powers, and has a double zero and provides a local coordinate in . At the image of , gives the same conclusion at infinity. A meromorphic function on the Riemann sphere is a rational function, so .
A meromorphic antiderivative need not be elliptic. Take . Its double poles have zero residue, so integrating on the punctured plane gives a single-valued primitive, since every closed-contour integral is a sum of zero residues. The primitive extends meromorphically over each pole, with local principal part . If were elliptic, it would have precisely one pole modulo the lattice, with residue , contradicting the zero sum of residues in a fundamental parallelogram. This is a nonconstant counterexample satisfying the stated premise; the preceding descent proves that even elliptic functions are rational in the Weierstrass function.
Past exam of the mathematics course of the University of Cambridge 2017 ii Paper 4 7E Solution Created 2026-09-24 Updated 2026-10-05
Substitute the Laplace contour-integral method for a linear differential equation into the differential equation and use . Integration by parts around a closed contour avoiding singularities givesIt suffices to solve , givingNonzero contour integrals arise by enclosing one or both double poles . At , the residue isThe conjugate pole gives the conjugate expression for real . Taking real and imaginary linear combinations yields the real solutionsTheir derivatives are , , and their Wronskian is , so they are linearly independent on every interval avoiding zero. Both extend analytically across zero and remain independent as functions; the vanishing Wronskian at zero reflects the singular leading coefficient of the printed differential equation there.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 306 4 Solution Created 2026-10-03 Updated 2026-10-05
The closed string already contains the particle required for quantum gravity. For bosonic string theory in its critical dimension of string theory, the mass-shell condition and closed-string level matching areAt , the states are massless. After imposing the Virasoro constraints and quotienting null string states, the transverse polarization tensor decomposes into symmetric trace-free, antisymmetric and scalar pieces under . They describe a graviton, the Kalb–Ramond field and the dilaton. In particular, the symmetric trace-free sector is a massless spin-two graviton. Its number of degrees of freedom is .
The state–operator correspondence associates each physical string state with a string vertex operator. For example, the matter part of a massless closed-string vertex operator isIts conformal weights are , so its integrated form is invariant under changes of string worldsheet coordinates. At fixed insertion positions it is accompanied by from the worldsheet ghost fields. Physical vertices represent BRST cohomology classes; longitudinal changes of the polarization tensor are BRST-exact operators and decouple from physical scattering amplitudes. For the graviton, this string-state gauge redundancy becomes the linearized target-space diffeomorphism .
The Polyakov path integral computes a closed-string scattering amplitude by inserting the external string vertex operators, integrating their unfixed positions and the inequivalent worldsheet moduli, and including the worldsheet ghost fields. On a Riemann sphere three positions are fixed by the residual conformal group. For example, contractions of tachyon vertex operators produce the Koba-Nielsen factor, whose position integral gives the Virasoro–Shapiro amplitude.
The string dual resonance property means that one crossing-symmetric scattering amplitude has equivalent expansions in the different channels: its poles exhibit intermediate string states in each channel, rather than separate channel contributions being added again. The scattering-amplitude factorization at a pole identifies the intermediate particle and its couplings. Set , so and the closed-string tachyon has . For four such external states the Mandelstam variables obey . The Virasoro–Shapiro amplitude has generic -channel poles at , exactly the bosonic string mass spectrum in these units.
The massless pole gives an especially direct check. With overall normalization and , the Gamma function recurrence givesThusThe quadratic residue in contains a spin-two exchange. A scalar exchange alone could not give this angular dependence. Combined with the known massless spectrum and scattering-amplitude factorization, it identifies exchange of the graviton, with possible scalar contributions from the dilaton; the antisymmetric Kalb–Ramond field does not couple to two identical scalar tachyons here. Consequently the graviton participates in interactions, rather than being an isolated free state.
Decoupling longitudinal graviton polarizations forces a universal coupling to the conserved stress-energy tensor. Consistency of this massless spin-two gauge invariance extends the linearized coupling to the nonlinear dynamics of general relativity. At distances large compared with , the gravitational sector of the effective action begins with the Einstein-Hilbert action, alongside dilaton and Kalb–Ramond field terms and higher-derivative string corrections. The infinite tower of string states supplies the short-distance completion of this quantum gravity expansion.
Interactions are organized by string worldsheet topology. A constant dilaton gives the string coupling , and a connected oriented surface of genus has Euler characteristic . Its weight is ; with normalized external vertices,The sphere is tree order, the torus is one loop, and each additional handle adds a factor . Each coefficient is an integral over worldsheet moduli, so this is string perturbation theory in , with an independent low-energy expansion in .
For the one-loop vacuum contribution, torus modular invariance identifies with , . Integration is over the standard fundamental domain of the modular group,The potential short-proper-time region , responsible for a point-particle ultraviolet divergence, is absent. It would count metrics already represented elsewhere in . Torus modular invariance is therefore the geometric reason for one-loop ultraviolet finiteness. More explicitly, in the vacuum integrand is proportional to , with the Dedekind eta function; the complete expression is invariant under the modular group.
Ultraviolet finiteness does not make the bosonic one-loop vacuum energy finite. The remaining long-tube region is an infrared divergence from the tachyon: . It signals instability of the bosonic vacuum. Tachyon-free consistent backgrounds remove this particular obstruction, though other infrared effects must still be treated. The ultraviolet improvement comes from the extended string and the complete spectrum together with the worldsheet gauge identifications; the genus expansion remains a perturbative description of quantum gravity.
Past exam of the mathematics course of the University of Cambridge 2019 ib Paper 1 13F Solution Created 2026-09-24 Updated 2026-09-29
Jordan lemma states that if and is analytic in the upper half-plane outside a fixed circle, withthen on the upper semicircle ,Indeed, . Using symmetry and on gives
The residue of at an isolated singularity is the coefficient of in its Laurent series, equivalentlyIf , the Taylor expansion of the analytic function shows that
For the real integral, apply contour integration in the upper half-plane toJordan's lemma removes the semicircular arc. The only enclosed singularity is the double pole at , whose residue isThe residue theorem therefore givesIts real part vanishes because is an odd function, while its imaginary part is the requested integral. Hence
Past exam of the mathematics course of the University of Cambridge 2019 ib Paper 4 14D a Solution Created 2026-09-24 Updated 2026-09-29
The Bromwich inversion formula givesFor , close the Bromwich contour in the left half-plane. The only enclosed singularity is the double pole at , whose residue isThe residue theorem therefore yields
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 2 13A b Solution Created 2026-09-24 Updated 2026-10-03
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 2 7A Solution Created 2026-09-24 Updated 2026-10-03
Apply the residue theorem to the upper-half-plane semicircle, with a small semicircular indentation above the pole at . The large arc contributes zero because , soThe small indentation is traversed clockwise and contributes times the residue at zero. The only pole strictly inside the indented contour is . ThereforeThe two residues areConsequently the Cauchy principal value is
Past exam of the mathematics course of the University of Cambridge 2020 ib Paper 1 12G Solution Created 2026-09-24 Updated 2026-09-29
An analytic branch of a square root determined by the branch isIf and are two such branches, their ratio is analytic and satisfies . Since a domain is connected and takes values in the discrete set , is constant. Thus throughout or throughout .
For , the principal square root isOn , one may instead takeThe respective removed half-axes are their branch cuts.
On , defineIt is analytic there, its square is , andso it is the required branch. Substitution gives, for ,The binomial series yieldshence the first three terms of the Laurent series are
Sinceits residue at zero is . Under the change of variable , the two orientation reversals cancel, and the residue theorem gives
Past exam of the mathematics course of the University of Cambridge 2020 ib Paper 2 12B iii Solution Created 2026-09-24 Updated 2026-09-29
Put . ThenThusThis is actually a Taylor series, because is a regular point. The point is a simple pole. At infinity,extends analytically to , so infinity is a removable singularity of , with extended value zero.