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 , then
Indeed, 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.
For , expand . Absolute convergence of the integrated series follows from the same expression with in place of . Integrating termwise and substituting gives
This 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 to
The 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. Since
the residue of is , giving . Also
is 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 .
Use equal small excisions on the two sides of each real pole. The Cauchy principal value is
For , 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. Since
the sum is . Taking the real part yields the answer
The decay on the large arc follows directly from and the quadratic denominator.
Let . The useful identity on the square contour is
On 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 gives
At every nonzero integer , the residue is . At zero the Laurent series is
so the residue there is . The positive orientation and the residue theorem therefore give
Letting yields the alternating reciprocal-square sum
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. Thus
It is essential to include the apparently exceptional point . The Laurent series there is with holomorphic. At that point the integrand is , whose residue is . Hence
The displayed difference is interpreted by its removable singularity. It therefore defines a holomorphic function at every point of the required half-plane, including .
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 residue
Consequently
Comparing imaginary and real parts yields the upper-half-plane contour for square-root logarithmic integrals evaluation:
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 , so
The 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 factor
The 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, only
remains. 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 gives
Completing the square, the Gaussian integral is . Change variables to and ; their Jacobian determinant is . Integrating gives . The remaining integral is the ordinary beta function . Thus
Restoring 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 are
and 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 gives
Combining this with shows
The 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 .
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.
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 gives
It suffices to solve , giving
Nonzero contour integrals arise by enclosing one or both double poles . At , the residue is
The conjugate pole gives the conjugate expression for real . Taking real and imaginary linear combinations yields the real solutions
Their 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.
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 are
At , 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 is
Its 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 gives
Thus
The 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.
Jordan lemma states that if and is analytic in the upper half-plane outside a fixed circle, with
then 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, equivalently
If , the Taylor expansion of the analytic function shows that
For the real integral, apply contour integration in the upper half-plane to
Jordan's lemma removes the semicircular arc. The only enclosed singularity is the double pole at , whose residue is
The residue theorem therefore gives
Its real part vanishes because is an odd function, while its imaginary part is the requested integral. Hence
The Bromwich inversion formula gives
For , close the Bromwich contour in the left half-plane. The only enclosed singularity is the double pole at , whose residue is
The residue theorem therefore yields
For , the denominator has derivative
Hence the simple-pole residue is
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 , so
The small indentation is traversed clockwise and contributes times the residue at zero. The only pole strictly inside the indented contour is . Therefore
The two residues are
Consequently the Cauchy principal value is
An analytic branch of a square root determined by the branch is
If 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 is
On , one may instead take
The respective removed half-axes are their branch cuts.
On , define
It is analytic there, its square is , and
so it is the required branch. Substitution gives, for ,
The binomial series yields
hence the first three terms of the Laurent series are
Since
its residue at zero is . Under the change of variable , the two orientation reversals cancel, and the residue theorem gives
Put . Then
Thus
This 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.
For the real integral, first write
Let
With ,
The denominator has roots and , so only lies inside the contour. Its residue is , and the residue theorem gives
Consequently