Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2002 Paper 2 3 Solution Created 2026-10-18 Updated 2026-10-20
Branches and cuts. For the square root of z squared minus one, a branch point is a point around which analytic continuation along an arbitrarily small closed loop can change the value of a chosen branch of a multivalued function. Near , the square root behaves as ; near it is a nonzero analytic factor times . One circuit around either point reverses its sign. Thus the finite branch points are . Infinity is not a branch point: in the expression is , which has two single-valued meromorphic choices near zero.
A single branch cut can join to ; its shortest choice is the real segment . Any surviving loop then surrounds either both branch points or neither, so it produces no sign change. Alternatively, use two branch cuts, and , each joining a branch point to infinity. On the resulting slit region one can choose a consistent branch of a multivalued function.
For the finite cut, fix at infinity, equivalently for . To give its actual values on both sides, putFor , the selected square root isHere ; when , . Squaring verifies the formula because . Its real part has the sign of , its imaginary part has the sign of , and it matches the chosen value at infinity. In particular, the two boundary values on the branch cut areOutside the cut, . Reversing the global branch of a multivalued function reverses every displayed value.
Differential equation. Write with this finite cut, and orient counterclockwise with one circuit around it. Since is fixed and avoids the branch points, differentiation under the integral sign givesOn the contour . ThereforeThe last contour integral vanishes because the expression in brackets returns to its original value after circling both branch points. This proves , including at ; division by is unnecessary.
Shrinking a counterclockwise contour around the finite square-root cut
. The upper lip runs from 1 to -1, and the lower lip returns from -1 to 1. The endpoint arcs have vanishing integrals. The values shown use the branch that behaves as z at infinity. Details.Value at zero. Near either endpoint , the integrand at zero is . A small arc of radius has length and hence contributes . The upper lip runs from to , and the lower lip from to . ThusUsing evaluates the final integral as , and soThe same deformation gives . The sign of reverses if either the global square-root choice or the contour orientation is reversed; the differential equation is unaffected.
Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2003 Paper 2 5 Solution Created 2026-10-18 Updated 2026-10-20
The Laplace transform is wherever it converges. For sufficiently large , suitable exponential bounds justify integration by parts and differentiation under the integral sign, givingFor a nonnegative integer and real , substitute in the gamma integral. The result extends holomorphically to , givingThis also follows recursively from the second identity, starting with .
Put , and . For a solution with finite initial values and the required transform bounds, the transformed equation isThe initial-value terms cancel, leaving . On the real interval , a nonzero solution satisfiesIntegration gives . Inverting term by term yieldsTaking gives a nonzero solution, verified by direct substitution. It is , and the rational transform agrees with the general Laplace transform of a Laguerre polynomial. No claim about solutions with singular initial behavior is needed to produce this regular solution.
Let . For , integrate over the upper semicircle. Jordan's lemma removes the arc, and the residue theorem at givesTaking the real part and using evenness in both and yieldsThe case follows directly from an inverse tangent primitive. The complex exponential is essential on the contour: the cosine alone has a growing exponential component.
For , differentiation under the integral sign gives . This derivative is a conditionally convergent improper integral; the Dirichlet test makes its tails uniform on compact subintervals of , justifying the differentiation. Setting givesFinally let . Its differentiated integrand is absolutely integrable, so and . HenceIf , and diverge at the origin, whereas is the corresponding Dirichlet integral.
The discrete base factors in the displayed construction inherit their variational parameters. Accordingly write , not a parameter-independent , for the joint base probability mass function or probability density function. The continuous noise factors can be parameter independent while the discrete factors are dependent. Calling the entire base law parameterless while retaining its nonzero score function would be inconsistent.
Let push the base law forward to , and defineUse a fixed base measure , with counting measure for discrete coordinates and Lebesgue measure for continuous coordinates. Assume locally parameter-independent support, differentiability and an integrable domination permitting differentiation under the integral sign. A valid reparameterization gradient givesApply the product rule before simplifying:This is the required combined score and pathwise gradient estimator. A sample from and the integrand on the last line give an unbiased stochastic gradient under the stated regularity conditions. Its first term is a score-function gradient estimator contribution; the remaining terms differentiate the sampled objective along the continuous transformation. The same separation appears in the general stochastic computation graph construction.[ref]
All derivatives inside the expectation hold fixed. They still include both explicit parameter dependence and dependence through . For a continuous coordinate ,The model joint density is fixed as changes, but its composition with need not be constant. Discrete coordinates are not differentiated as real-valued paths; their changing probabilities enter through the score function. Moving supports or parameter-dependent branch boundaries require additional care and are not justified merely by formally interchanging a derivative and an integral.
Set and . The definition of pushforward measure gives the confinement energy . The chain rule and differentiation under the integral sign, whenever justified, giveFor example, bounded Hessian matrix is sufficient: it gives , and the first two differentiated integrands are bounded by . The dominated convergence theorem applies because has finite second absolute moments. Compactly supported endpoints also suffice because all interpolating points lie in one compact set.
The printed growth assumption alone does not ensure a classical second derivative. Here is a counterexample within the stated assumptions. On the line take the bounded nonnegative smooth functionand the probability measures , . Both have finite second absolute moments. Their translation transport plan is optimal: its cost is one, while every coupling has cost at least the square of its mean displacement, also one. At , , so satisfies . Each summand is nonnegative, and the Fatou lemma givesThus the requested classical identity requires an additional integrability assumption on the Hessian matrix; quadratic growth controls the energy but not its second derivative.
For a confinement potential that is a -strongly convex function, the derivative formula, where valid, yieldsThe underlying displacement convexity conclusion is valid under the printed assumptions without that extra differentiation hypothesis. Apply convexity of pointwise and integrate:The same argument on every subinterval makes convex, so the second derivative lower bound also holds in the sense of distributions.
Use an independent copy of under the product measure . Write , , andSince the pushforward measure of under is , the interaction energy isTwo applications of the chain rule giveThe factor is retained. This classical identity requires differentiation under the integral sign to be justified, just as in part (b). Bounded Hessian matrix of is sufficient, since is integrable; compactly supported endpoints are another sufficient case. The printed quadratic-growth condition alone does not provide this domination.
The failure can occur for the interaction energy too. Take the even interaction potential and replace the endpoint probability measures in part (b) by and . Keep the origin fixed and translate every other atom by one. This coupling is increasing on the line, hence is optimal: its assigned values extend to a nondecreasing transport map, which is the gradient of a convex function. Differences between translated atoms remain integers, so their mutual interaction vanishes. Only interactions with the origin contribute, giving , with from part (b). It therefore also lacks a finite classical second derivative at .
A finite first moment suffices for the velocity, but may not suffice for the printed potential. For example, has all the stated properties. If is the law of with density on , then but , and for every . Thus the literal definition of needs a finite second absolute moment, or another hypothesis ensuring integrability of .
For the specified class , define the velocity fields directly by and . Equivalently, use the renormalized interaction potentialThe bounded Hessian matrix and implyThus is finite, is twice continuously differentiable in space, and has , by dominated differentiation under the integral sign. Its rotated negative gradient is exactly . Whenever is finite, the two potentials differ only by an -independent constant and give the same transport equation.
We check the hypotheses for characteristic representation of a measure-valued continuity equation. For every ,For any coupling , the Lipschitz condition on also givesTaking the infimum over couplings proves the uniform boundApplying the same estimate at two times of one curve proves time continuity of , uniformly in . Also , so is bounded on compact time intervals. Spatial partial derivatives of are continuous and bounded by , using dominated convergence in space and weak convergence of probability measures in time for the bounded continuous kernel . All corresponding facts hold for .
The characteristic representation of a measure-valued continuity equation says that a continuous velocity field, continuously differentiable and globally Lipschitz in space and with locally uniform linear growth, has a global characteristic flow map solvingFor each , its pushforward measure is the unique weak solution in of the associated continuity equation. The hypotheses have all been verified above, and the fields have zero divergence, so these are also the two required transport equations. Explicitly,For completeness, the Gronwall inequality givesso these pushforward measures have finite first absolute moments. Integrating against proves continuity in the Wasserstein distance. The chain rule proves the weak identity. For uniqueness at a fixed terminal time , use the backward test function , where is continuously differentiable with compact support. It satisfies and has compact spatial support uniformly for , by the backward linear-growth bound. The weak identity with temporal cutoffs therefore gives , identifying every weak solution with the displayed pushforward measure.
Finally compare the two characteristic curves with the same initial point . Put . The spatial Lipschitz condition and the boxed velocity estimate givefor almost every time; the integral form gives the same conclusion at zeros of . The Gronwall inequality impliesThe pushforward measure is a coupling of . Integrating the last bound against the probability measure provesThe same constant depends only on the uniform bound for the Hessian matrix of , and is independent of the prescribed curves and their common initial data.
On any bounded parameter interval , the derivative of the integrand has the integrable majorantThe dominated convergence theorem therefore justifies differentiation under the integral sign at every real , givingUse integration by parts in this absolutely convergent integral, with . Both boundary terms vanish, since the sine is zero at and the Gaussian tends to zero at infinity. HenceIt follows that , or equivalently . This identity holds on all of , including zero. With the supplied Gaussian integral value,The fourth power comes from the printed phase ; the parameter has been differentiated with that phase throughout.
For every integer , the th derivative with respect to of is times a sine or cosine with a sign. Its absolute value is at most on the finite interval . This is an integrable dominating function independent of . Repeated differentiation under the integral sign is therefore justified for every order, giving .
A sufficient differentiation under the integral sign theorem is the following local domination criterion. Suppose is measurable for each , is integrable at one point of a neighborhood of , and for almost every the function is differentiable on . Assume an integrable function satisfies for and almost every . Then is differentiable on the interior of andThe mean value theorem bounds the difference quotients by , and the dominated convergence theorem passes their pointwise limit through the integral. Applying this criterion locally throughout proves differentiability there. One may impose the stronger condition that every is integrable from the outset.
A useful differentiation under the integral sign theorem is this: if is integrable, is differentiable in almost everywhere, and on every compact parameter interval is bounded by an integrable function of , then , under the usual pointwise continuity hypotheses. It follows by applying dominated convergence to difference quotients. The theorem can be iterated when a corresponding bound holds for the second derivative.
On a compact interval , the original integrand is bounded by , using . Its first and second parameter derivatives arewith integrable bounds and . Thus is twice differentiable. Subtracting the integrals givesThe final integral is finite: its integrand tends to one at zero and is absolutely bounded by at infinity. Consequentlywhich establishes the required parameter-independent constant without needing an explicit Fresnel integral evaluation.
Write , using the square-root branch positive on real . Integrating the differential equation and using boundedness at zero givesThe integration constant is zero since . Continuity of then shows , so extends continuously with .
The Laplace transform of a derivative and differentiation under the integral sign giveIntegrating and using as real fixes the constant:The initial value theorem for Laplace transforms gives . It is tempting to apply the derivative rule immediately to , but its stated regularity is only continuity. To justify that step, define . ThenUniqueness of the Laplace transform gives , and hence is continuously differentiable and
With , setThen the first integral gives . On the descending and ascending halves of the physical track choose respectively and , so that . Solving for givesThe unsquared equation requires . At this says ; it is not permissible to retain other values merely because the displayed formula for has a squared denominator.
For completeness, the Euler-Lagrange equation also gives . Thus decreases through zero exactly once, so the chosen parameter runs through the whole single arch without an extra branch. Differentiating the formula for and dividing by gives, continuously also at ,Using yieldsSince , the arc length is obtained by cancelling one factor of in . The conditions and becomeThese determine a unique parameter pair for each . To see uniqueness, regard as the expected value of under a probability density function proportional to on . Differentiation under the integral sign gives the covariance identityThe first argument decreases with and the second increases. The strict sign follows by applying to two independent unequal values and averaging; the integrable endpoint singularity of causes no problem. As , the weight concentrates at , so . As , endpoint estimates give numerator and denominator , so . Continuity then covers every . At one recovers the cycloid and .
Smoothness qualification. Near ,and the other endpoint has . These are smooth graphs on , not graphs on the closed interval. Indeed a finite endpoint slope would make the conserved diverge as . The travel time remains finite becauseThus the printed phrase “smooth solution” must be understood on the interior, with improper endpoint limits. The variational calculation supplies necessary stationary arches; it does not by itself prove global minimality in every larger class of tracks.
On the small clockwise contour , decreases from to . Uniformly on that arc, , and henceThe large arcs also vanish. To make this precise for the displayed geometry, take them on the left semicircle , , split at the cut. On the principal holomorphic branch, , , and . The estimation lemma givesFor the last bound, symmetry and on imply that the angular integral is at most . The exact choice of large arcs does not affect the limiting result. The vertical improper integral converges absolutely because decays as .
Taking limits in the closed contour integral now yields , where . ThusAs an optional explicit evaluation, put and define . Differentiation under the integral sign and the Gaussian integral give and . Therefore and in terms of the error function and complementary error function.
For the independent statistical sample, write the likelihood function and log-likelihood function asThe expected Fisher information in the whole statistical sample isUnder the regularity conditions that permit differentiation under the integral sign, the score function has expected value zero andFor an interior statistical parameter, assuming identifiability and , the regular asymptotic normality of a maximum likelihood estimator statesThus the large-sample normal approximation is . The inverse information is the leading sampling variance approximation; the displayed convergence specifies its precise asymptotic meaning.
Quartic decay sectors for a contour integral 2026-10-31
For a contour integral with factor , the quartic term dominates the linear term on rays at large radius. Writing gives real part for the leading exponent. There are four decay sectors, centered at and each of angular width . On a closed subsector the integrand and all its derivatives decay faster than any exponential in , locally uniformly in . Contours joining two such sectors therefore allow differentiation under the integral sign and have vanishing infinite endpoint terms. Distinct geometric contours still need an independence proof; their initial moments often give a Vandermonde matrix calculation.
Renormalized interaction potential 2026-10-25
For a twice continuously differentiable interaction potential with and a probability measure with finite first absolute moment, this subtraction produces a finite potential even if is infinite. Taylor's formula and linear growth of the gradient giveDominated differentiation under the integral sign gives and . If the unrenormalized convolution is finite, the two potentials differ only by a constant, so they generate the same velocity field when that field depends on their gradient.
Reparameterization gradient Created 2026-10-06 Updated 2026-10-25
A reparameterization gradient differentiates an expected value by representing the simulated random variable as a differentiable transformation of parameter-independent noise. For , the identity requires justified differentiation under the integral sign. For a normal distribution, use with drawn from the standard normal distribution.
Score-function gradient estimator 2026-10-25
For a parameter-independent integrand , the displayed score-function gradient estimator follows by differentiating the sampling probability density function or probability mass function, using . It requires conditions permitting differentiation under the integral sign, or the corresponding sum, and control of support changes. It applies to discrete choices without pretending that their sampled values are differentiable paths. If , add .
Scorer Hi function 2026-10-05
For real , the integral representation isUsing differentiation under the integral sign twice and then integration by parts shows . The cubic decay makes the integral converge for every real .
