Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2007 Paper 1 10 Solution Created 2026-10-18 Updated 2026-10-20
For a nonzero real function, write with . Multiplying the Sturm-Liouville equation by and integrating givesThus the stated vanishing boundary product proves .
For the variational statement, the first variation isWith admissible boundary conditions that also make for every allowed variation, the fundamental lemma of the calculus of variations identifies stationary functions with the eigenfunctions and stationary values with their eigenvalues. Zero Dirichlet boundary conditions, zero Neumann boundary conditions, and matched periodic data give familiar examples. The single printed condition proves the quotient identity but, by itself, does not specify the admissible variations needed for stationarity; the boundary conditions for variational Rayleigh quotients make this distinction explicit.
For the half-line equation, multiplication by gives and . Use the regular radial boundary condition at zero and square-integrable decay at infinity, under which the proposed Gaussian is admissible. With , , , soThe ratio of the two Gaussian integrals is , from a change of variables and the Gamma function recurrence. Differentiating gives , so the minimum on occurs at . The Gaussian variational bound for a radial harmonic oscillator therefore givesHere the trial actually satisfies the differential equation with . Moreover, on the same regular decaying domain, integration by parts gives . Hence the estimate is exact, with . For , regular radial data mean the Neumann boundary condition ; imposing a zero Dirichlet boundary condition there would exclude this trial and give a different problem.
Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2008 Paper 1 10 Solution Created 2026-10-18 Updated 2026-10-20
For nonzero with , the first variation of the Rayleigh quotient under isChoose fixed admissible homogeneous boundary conditions that make the variation boundary term vanish, such as zero endpoint values or zero endpoint derivatives. Compactly supported then show that a stationary function satisfies the Sturm-Liouville equation with . Conversely an eigenfunction satisfying those admissible conditions makes the variation zero. Multiplying its differential equation by and integrating by parts givesso the stipulated energy boundary term yields . The displayed energy condition alone is not a full specification of the admissible variations; it must be paired with boundary conditions for this variational equivalence.
For the final Dirichlet problem take the trial function , with . ThenThe Rayleigh-Ritz variational principle makes this an upper bound for the lowest eigenvalue. It is strictly above the true value: equality would require itself to be a lowest eigenfunction, but cannot vanish throughout for a constant . ThereforeAlthough the weight vanishes at the left endpoint, it is positive in the interior and its weighted quadratic norm is positive for every nonzero admissible continuous function; this does not obstruct the stated Dirichlet variational comparison.
Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2008 Paper 1 9 Solution Created 2026-10-18 Updated 2026-10-20
Take fixed-endpoint variations with . The first variation isThe boundary term vanishes by the endpoint conditions. The fundamental lemma of the calculus of variations gives the Euler-Lagrange equation . Along its solutions,When , this proves the Beltrami identity .
For the surface , the line element is . The arc-length integrand for a graph is . It has no explicit dependence and satisfies . Thus is constant. Choosing the fixed direction along a smooth nonconstant segment and integrating yieldsThe same result follows by defining the transverse arc coordinate , which changes the metric to . Its geodesics are straight lines in coordinates. This proves the formula for geodesics on a generalized cylinder and shows it gives locally shortest paths. The additional straight lines in the unrolled plane are also geodesics, but cannot be represented as graphs . Classical differential-geometric statements assume the surface has sufficient smoothness; the arc-length coordinate itself only requires the displayed integral to be well defined.
Fermat principle states that the optical path length , or equivalently travel time , is stationary under small variations of the ray with fixed endpoints. Stationarity need not mean a global minimum.
For a plane ray written as , use , with . Its stationary paths obey the Euler-Lagrange equationIt follows by taking the first variation, integrating the term in by parts, and using zero endpoint variations.
For fixed endpoint values, a stationary differentiable path obeys the Euler-Lagrange equationIt follows by taking the first variation of the functional and integrating the term in by parts; vanishes at the endpoints.
Choose homogeneous Dirichlet boundary conditions , and take a nonzero real admissible trial . Write the numerator as and denominator as . For an endpoint-zero variation , integration by parts givesThus the first variation of the Rayleigh quotient isBy the fundamental lemma of the calculus of variations, stationarity is equivalent toConversely, multiplying an eigenfunction equation by and integrating gives , so its first variation vanishes. This establishes the equivalence for the chosen Sturm-Liouville problem. Homogeneous Neumann boundary conditions, or a mixed Dirichlet-Neumann pair, also cancel the boundary term; general Robin boundary conditions require adding the corresponding boundary contribution to the numerator.
The original PDF has a typographical omission: its displayed equation has rather than on the right. Taken literally, it is an inhomogeneous boundary value problem, not the stated Sturm-Liouville problem. The quotient and the later eigenfunction expansion identify the intended equation, which the following derivation produces explicitly.
Choose homogeneous Dirichlet boundary conditions and a nonzero real admissible . Then because . For an endpoint-zero variation , integration by parts givesThe first variation of the Rayleigh quotient is thusBy the fundamental lemma of the calculus of variations, stationarity is equivalent toConversely, multiply this corrected eigenvalue equation by and integrate. The same boundary cancellation gives , so the first variation vanishes. This proves the requested equivalence for the intended equation. Homogeneous Neumann boundary conditions, or a Dirichlet condition at one end and a Neumann condition at the other, also eliminate the boundary term. General Robin boundary conditions would require the corresponding boundary contribution in the numerator.
For fixed initial and final coordinates, the two Euler-Lagrange equations areIndeed the first variation of the functional isIntegration by parts moves the time derivatives from the variations; their endpoint values are zero. The fundamental lemma of the calculus of variations then gives the two equations above.
The total derivative contributes only the boundary termThis is fixed by the endpoint data, so its first variation vanishes. It cannot change the Euler-Lagrange equations or which path minimizes .
For a direct check, let . ThenThe equality uses commuting mixed partial derivatives. Thus , as in total time derivatives preserve fixed-endpoint Euler-Lagrange equations.
This is an isoperimetric constraint, imposed on the whole path rather than separately at each time. Introduce a constant Lagrange multiplier and replace the variational integrand by . The modified Euler-Lagrange equations areSolve these together with the fixed endpoint conditions, treating as an unknown constant, then choose its value so thatThe multiplier is constant because there is one scalar integral constraint. A condition imposed at every time would instead call for a time-dependent multiplier. As usual, this multiplier procedure assumes the constraint is regular, so its first variation does not vanish identically on all admissible variations.
Take nonzero real trial functions with square-integrable and sufficient decay for integration by parts. For a compactly supported variation , the first variations areThe quotient rule for the functional then yieldsBy the fundamental lemma of the calculus of variations, stationarity for all such is equivalent toConversely, multiplying a decaying eigenfunction equation by and using integration by parts gives , so its Rayleigh quotient equals and its first variation vanishes. Thus the stationary values of the functional are the energy eigenvalues. The word "extrema" in the question includes stationary points here: higher eigenfunctions can be saddle points of the unrestricted Rayleigh quotient.
The Rayleigh-Ritz variational principle givesChoose an admissible trial family, calculate its Rayleigh quotient, and minimize over its parameters to obtain the best upper bound within that family. Equality holds for the exact ground state; a restricted family generally gives only an upper bound.
Write and . The admissible set is the closed affine subspace . Symmetry of the coefficient matrix givesIf minimizes the energy, its first variation vanishes: differentiating at gives . Hence is a weak solution.
Conversely, if is a weak solution, every admissible has and thereforeby uniform ellipticity. This is the Dirichlet principle for the stated symmetric energy.
Let be a smooth variation with . Assuming the usual continuous second derivatives of , stationarity of the functional under gives its first variationIntegration by parts removes the derivative of ; its boundary term vanishes because the endpoint values are fixed. Thusfor every such variation. The fundamental lemma of the calculus of variations implies the Euler-Lagrange equation .
For arc length, , soThe function is strictly increasing; hence is constant. With endpoints and , , the extremal isIt is also the global shortest curve: integrating the unit displacement vector dotted with the curve velocity gives the endpoint distance, which is at most the integrated speed by Cauchy-Schwarz inequality; the straight segment attains equality. A vertical segment is described parametrically or after rotating axes, since it cannot be represented by on a nontrivial horizontal interval.
Let , with at both endpoints. At an extremal the first variation is zero:Integrate the second term by parts once and the third term twice. The boundary term isThe given fundamental lemma therefore givesThis is the classical form under the usual smoothness hypotheses ensuring the displayed derivatives exist; without that extra regularity the variation first yields its distributional form.
For the concrete functional the equation is . Write , and . A general solution is . The two initial conditions give and . The final derivative condition gives , and the final value condition then gives . Thus an extremal isIt solves the differential equation, has initial value zero and initial derivative one, and at both its value and derivative vanish, using . These checks verify all four prescribed endpoint conditions.
Take a smooth variation with vanishing on the boundary; compactly supported test functions suffice for the interior equation. At an extremum, the first variation is zero:Integration by parts removes the derivatives from . The boundary terms vanish, givingThe fundamental lemma of the calculus of variations gives the Euler-Lagrange equationThis is the classical equation for sufficiently smooth admissible extrema; for weaker regularity the first-variation identity supplies its weak form.
For the squared-gradient integrand, the equation is , namely the Laplace equation. Put and write any admissible function as , with on the boundary. The energy identity isBy the divergence theorem, the middle integral is ; equivalently it vanishes by weak integration by parts for zero-trace functions. The final term is nonnegative and vanishes at . Thus this is a global minimum, not merely a stationary value:
Let and . For a smooth variation , the first variation isHere the last expression follows by two integrations by parts. Taking variations supported in the interior and applying the fundamental lemma of the calculus of variations gives the Euler-Lagrange equation for a second-derivative functional:If both endpoint values and slopes are free, their independent variations force the natural boundary conditions for second-derivative functionalsIf an endpoint value or slope is fixed instead, its corresponding variation vanishes and the associated natural condition is not required.
For , differentiate using the chain rule:The Euler-Lagrange equation cancels the first term. Consequently , and if there is no explicit dependence,This is a Beltrami identity for a second-derivative functional.
Take independent smooth variations and . Differentiating the functional and using integration by parts gives its first variationFirst choose variations vanishing at the endpoints. To use the stated form of the fundamental lemma of the calculus of variations, take with arbitrary smooth , and similarly for . The lemma makes vanish, and hence makes the unweighted coefficient vanish in the interior; continuity extends this to the endpoints. Applying the same argument to gives the Euler-Lagrange equationsIf either endpoint value of or is free, the corresponding variation there is arbitrary. The remaining boundary term gives the natural boundary conditions for a free endpoint: for a free value and for a free value at that endpoint. With both coordinates free at both endpoints, all four conditions apply.
For the specified integrand these equations reduce toand the natural conditions are at each free endpoint. Eliminating givesIts four independent modes give the full general solutionAt zero, and . Vanishing forces , givingAt the two derivative conditions become and . Their coefficient determinant is nonzero, so . Thus the unique stationary extremal with all four natural boundary conditions is . The word extremal here means a stationary point of the functional; the indefinite integrand does not require this point to be a minimum.
Write . For endpoint-zero variations , the first variations areFor a normal constrained extremal, choose a variation with . Given any , use the implicit function theorem to choose a small correction in the direction so that preserves the constraint. Differentiating it and the stationarity condition at zero givesIntegrate the derivative-of-variation term by parts. Since the variations vanish at both endpoints, the boundary term is zero. The fundamental lemma of the calculus of variations then givesThe regularity condition on the constraint is what permits the coefficient of to be normalized to 1. In a degenerate case, the general multiplier statement uses with the two coefficients not both zero; the source's displayed form is the normal case.
For a string described as a function graph , its arc-length element is . Inextensibility therefore givesThis also forces , with equality only for the straight function graph.
Write . At a regular constrained extremal, the first variation of is not identically zero. Choose a variation for which ; the implicit function theorem supplies a correction in the direction to each other variation so that remains one. Stationarity of on these corrected variations implies for one scalar .
Put . Integration by parts gives, for an arbitrary twice continuously differentiable variation ,Taking variations with zero endpoint values and using the stated fundamental lemma of the calculus of variations gives the Euler-Lagrange equation. The remaining endpoint values are free and independent, giving the natural boundary conditions:If the constraint is not regular, the general multiplier statement permits an abnormal pair with ; the source's general normal-form derivation implicitly excludes that case. In its quadratic example, regularity follows automatically from normalization: .
For that example , so the equation and endpoint conditions reduce toMultiply the equation by and integrate. The boundary term vanishes, givingThe last integral equals one, so , the functional value at the constrained extremal.
Finally multiply the equation for by and the equation for by , then subtract and integrate. The derivative terms give only the vanishing boundary term , while the terms cancel. Therefore . For distinct multipliers this proves
For the regular Sturm-Liouville setting assume is positive and continuously differentiable, are continuous, and . Apply a multiplier to . Its first variation, divided by two, isEndpoint-vanishing variations and the allowed fundamental lemma giveIf an endpoint value is free, its variation is arbitrary, giving the natural condition at that endpoint. At a prescribed endpoint value the variation vanishes there, so no additional natural condition is imposed.
For eigenfunctions with different eigenvalues, multiply their equations by and subtract after integration. The resulting boundary expression vanishes under common homogeneous Dirichlet or common natural boundary conditions. Hence , proving weighted orthogonality.
For the final Dirichlet problem the normalized stationary modes areSolving with both endpoint values zero gives these and excludes nonpositive . Distinct sine modes have zero integral product on . Their Dirichlet values also make the same boundary expression vanish, which explains orthogonality even though their endpoint derivatives do not obey the natural conditions.
For global minimality, the Fourier sine expansion of an endpoint-vanishing function and Parseval's identities give . Equality holds exactly in the first sine eigenspace. ThereforeDistinct modes are orthogonal; the two sign choices of the same minimum are not orthogonal to each other. This distinguishes the family of stationary modes from the two representatives of the minimizing eigenspace in the question's wording.
