Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2003 Paper 1 10 Solution Created 2026-10-18 Updated 2026-10-20
Choose homogeneous Dirichlet boundary conditions, , and nonzero admissible functions with finite and positive . Variations obey the same zero endpoint values. At a stationary Rayleigh quotient, set . ThenThe boundary term vanishes, and the fundamental lemma of the calculus of variations gives the Sturm-Liouville equation . Thus stationary functions are eigenfunctions. Conversely, multiply that equation by and integrate by parts to obtain ; its first variation then vanishes by the same calculation. This proves that stationary values are the corresponding eigenvalues. Homogeneous Neumann boundary conditions also make the displayed boundary terms vanish; general Robin boundary conditions can require a boundary contribution to the quadratic form.
For , , on , the polynomial trial function satisfies the endpoint conditions. Its Rayleigh quotient usesso the polynomial estimate is . The trigonometric trial function givesand hence . Both are upper bounds on the lowest eigenvalue, by the Rayleigh-Ritz method; neither trial is an exact eigenfunction, so the inequalities are strict.
Their closeness has a useful explanation beyond their similar single-arch shapes. Both trial functions are symmetric under , forcing . The reflection-symmetric trials for a linearly weighted Rayleigh quotient therefore reduce this problem to a constant multiple of the ordinary Dirichlet energy quotient. The sine is the best trial within this symmetric class, and the polynomial's value is only a factor larger. The unrestricted lowest eigenfunction can be asymmetric because the weight is asymmetric.
Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2003 Paper 1 2 ii Solution Created 2026-10-18 Updated 2026-10-20
Choose the stationary solution satisfying and . Hence . Subtracting it gives the homogeneous problemThis boundary lifting leaves a Dirichlet boundary condition at one end and a Neumann boundary condition at the other, as in the fixed-temperature and fixed-flux heat equation on an interval.
Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2004 Paper 1 10 Solution Created 2026-10-18 Updated 2026-10-20
For example, impose homogeneous Dirichlet boundary conditions , and use variations vanishing there. Homogeneous Neumann boundary conditions are another choice removing the boundary terms. Put , , and . At a stationary function let . The quotient rule gives . After integration by parts, stationarity under every allowed variation givesso the fundamental lemma of the calculus of variations yields the stated Sturm-Liouville problem. Conversely an eigenfunction with those boundary conditions has and makes the quotient stationary. The lowest eigenvalue minimizes the Rayleigh quotient under the usual self-adjoint, lower-bounded hypotheses; higher eigenvalues are stationary values with orthogonality constraints when minimizing successively.
The hydrogen equation becomes . Its radial energy quotient is thereforeRegularity at zero and decay at infinity remove the boundary term . The condition fixes an arbitrary amplitude for these trial functions; it is not their three-dimensional probability normalization, which cancels from the quotient.
For , elementary exponential integrals give , , and . HenceFor the compactly supported linear trial for hydrogen, the norm, gradient and Coulomb integrals are , , and , respectively. ThusThe derivative changes from negative to positive at four, so this is the minimum over positive . The quantum variational principle gives upper bounds on the ground-state energy; the exponential trial is better, and in fact satisfies the exact differential equation at . It is the nodeless hydrogen ground state in the given units. The linear trial is admissible for the energy quadratic form despite its derivative jump at ; it need not possess a classical second derivative at that point.
By Fourier's law, insulation means zero outward heat flux. The Neumann boundary conditions are . The constant mode equals the initial integral average . For , the cosine coefficients areOdd modes and modes divisible by four vanish; write the remaining indices as . The heat flow from a triangular initial temperature with insulated endpoints givesThe nonconstant modes decay, so uniformly as . Integrating the heat equation gives , explaining the conserved mean. The cooled case tends instead to zero because heat leaves through its ends.
The initial triangle has nonzero endpoint slopes, so it is not compatible with the insulated condition at the corner . The series nevertheless recovers the continuous initial temperature and satisfies the insulated condition for every ; one should not assert continuity of its spatial derivative at that initial corner.
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.
For the insulating wall, the image instead has the same strength . With the distances defined above,It has the required source in the physical domain. Its normal derivative isAt the terms are and , so they cancel. The Neumann boundary condition leaves the additive constant free.
Write . A rotationally symmetric fundamental solution of the Laplace equation is harmonic for . The Laplace equation in polar coordinates reduces to , so . Integrate over a disk of radius around the source. The divergence theorem givesTaking therefore givesChanging the reference length inside the logarithm merely adds a constant. Notice the sign convention: the potential equation in this question is , whereas this Green function satisfies . Thus the point-source potential used below is .
For the two insulating walls, successive Euclidean reflections in and generate sources of strength at for every integer . Only lies inside the physical strip. This is the Neumann image lattice for a point source in a strip. SetThe raw sum of logarithmic potentials diverges by additive constants. A well-defined potential is obtained by pairing opposite images and subtracting their constant reference terms:Each paired summand is on compact subsets away from the source. The series therefore has local uniform convergence, as do the required derivative series. It givesIn the corresponding -derivative, the images pair as and at , and as and at . Their opposite horizontal separations make the derivatives cancel. Thus both homogeneous Neumann boundary conditions hold. The constructed solution is even in ; without a condition at infinity the side conditions alone would allow further homogeneous harmonic functions.
For fixed , uniform convergence on permits integration term by term. The th term has integralHere is the ordinary real inverse trigonometric function, taking values in . Summing from to makes a telescoping series:The source flux splits equally between the upper and lower parts of the strip. The next two parts give the single-wall constructions that underlie the image lattice.
One suitable choice is homogeneous Dirichlet boundary conditions, , with variations vanishing there. Assume real and the stated positive . Introduce a Lagrange multiplier for . For real variations, integration by parts givesThe boundary term vanishes, so the fundamental lemma of the calculus of variations yieldsMultiplying this equation by , integrating, and using the boundary conditions gives . Thus the multiplier, the eigenvalue, and the constrained stationary value coincide. Conversely every normalized eigenfunction makes the first variation vanish for all tangent variations satisfying .
Homogeneous Neumann boundary conditions, at both endpoints, or mixed Dirichlet and Neumann conditions also work with this energy form. General Robin boundary conditions require the corresponding boundary terms in the form; they cannot simply be inserted into the displayed unmodified integral.
Write and . For a real variation, with ,Suitable endpoint conditions are homogeneous Dirichlet boundary conditions, homogeneous Neumann boundary conditions , or one of each. They remove the variation boundary term and the product . Stationarity for all interior variations is equivalent toConversely, multiplication of an eigenfunction equation by and integration by parts gives , hence . General Robin data require their boundary-energy contributions unless these endpoint products happen to vanish.
Use an eigenbasis orthonormal with respect to the weight: . For complex coefficients use the Hermitian version of the quotient, with absolute squares. Self-adjointness givesWhen , dividing numerator and denominator by yieldsIf , these ratios are undefined, but the unscaled formula and upper-bound conclusion remain valid. The assumptions are a problem with a self-adjoint operator bounded below and a complete eigenbasis, with the trial function in its energy-form domain. The Rayleigh-Ritz method minimizes this quotient over an admissible trial family, obtaining an upper bound on . Higher eigenfunctions are stationary directions and need not be unrestricted extrema.
The necessary boundary identity for a self-adjoint operator isAt regular endpoints, a standard full family of separated self-adjoint conditions iswith real coefficients and neither pair , zero. For example, if , both functions obey at , so there. The cases and the endpoint follow directly. These include Dirichlet boundary conditions, Neumann boundary conditions and Robin boundary conditions.
Separate vanishing at each endpoint is sufficient but not necessary. Coupled conditions such as and , with real , make the two endpoint forms equal and hence their difference zero. More generally the allowed endpoint data must be a maximal subspace on which the boundary form vanishes; this ensures that the adjoint has the same domain. Merely imposing extra endpoint restrictions until the boundary term vanishes proves symmetry, but can overrestrict the domain and fail to give self-adjointness.
Let , where for a nonzero admissible real function. Writing , its first variation isChoose boundary conditions making the boundary term vanish, for example homogeneous Dirichlet boundary conditions, homogeneous Neumann boundary conditions, or a corresponding mixed pair. Arbitrary interior variations then give the Sturm-Liouville problemMultiplying this equation by and integrating by parts, with , yieldsThus eigenfunctions are stationary directions of the quotient. The lowest eigenvalue is its global minimum; higher eigenfunctions need not be unrestricted maxima or minima. General Robin boundary conditions require including their boundary energy in the quotient unless the displayed endpoint products also vanish.
The Rayleigh-Ritz method chooses admissible trial functions depending on finitely many coefficients and minimizes this quotient over them. Expansion in a complete orthonormal basis with weight shows , so the trial minimum is an upper bound on the true lowest eigenvalue. In a finite basis, the minimization becomes a generalized eigenvalue problem for the stiffness and weighted mass matrices. Enlarging the trial space can only lower or preserve this upper bound.
Self-adjoint form. Grouping the two derivative terms gives . Thus a regular Sturm-Liouville operator isThe boundary conditions are mixed Neumann boundary conditions at zero and Dirichlet boundary conditions at . For , , and , as required. The boundary term vanishes for two functions satisfying these conditions, confirming self-adjointness on that domain.
Constrained variation. Introduce a Lagrange multiplier for the normalization and varyIts first variation isThe endpoint term vanishes because and . The Euler-Lagrange equation is thereforewhich is exactly the original eigenvalue problem for the boxed choices of . Multiply by and integrate by parts. The same endpoint conditions giveThus the stationary functional values are the eigenvalues, with . More generally, before normalization the relevant Rayleigh quotient is
Unperturbed ground mode. At , the equation is . The quadratic form is nonnegative, and zero eigenvalue would force a constant function incompatible with the endpoint at . For positive , . The derivative condition forces , while the other endpoint gives . HenceThe lowest eigenvalue and normalized eigenfunction are
Trial-function bound. The Rayleigh-Ritz method says that the minimum eigenvalue is no larger than the quotient of any admissible trial function. The same still satisfies both boundary conditions and retains unit norm. Its derivative is , givingUsing ,Therefore the affine-parameter Sturm-Liouville eigenvalue bound isThis is an upper bound for every , not merely a small-parameter approximation. As a lower-bound check, and the unperturbed variational minimum imply for every admissible normalized . Thus
First decompose the initial dependence using . Only the cosine indices and occur. Expand the remaining factor in a Fourier sine series:For , two integrations by parts giveThus even vanish, while for odd . The nonzero double-series coefficients are and . Their separate heat-mode decay factors giveAt the bracket is , which recovers the initial profile with the displayed sine coefficients. Each term satisfies the mixed Dirichlet boundary conditions and Neumann boundary conditions.
The far field is proportional to , since . After matching the growing terms, write the exterior solution asAn added constant has here been excluded by interpreting the far-field condition as . Differentiate and impose the radial Neumann boundary condition:The Orthogonality of Legendre polynomials makes each coefficient vanish separately. Thus for , and . ConsequentlyIndeed , which vanishes at the boundary, while the correction decays at infinity. If the far-field condition is intended to specify only the leading growing term, an arbitrary additive constant is also allowed; its gradient has no effect on the Neumann boundary condition.
When , write the differential expression in divergence form,Two integrations by parts give the Lagrange identity for a Sturm-Liouville operator:The terms cancel because is real. Hence the exact boundary criterion, in the sense of self-adjointness defined in the question, isAt regular endpoints, all separated homogeneous conditions of the following type satisfy it:with real coefficients, not both zero at either endpoint. The allowed value-and-flux pairs at an endpoint are proportional, so their determinant vanishes. This includes Dirichlet boundary conditions, Neumann boundary conditions, Robin boundary conditions and arbitrary mixtures of these at the two ends.
Coupled conditions can also work: periodic conditions and make the two endpoint expressions equal; simultaneous minus signs give the antiperiodic case. Thus requiring each endpoint term separately to vanish is sufficient, but not necessary.
More generally, for regular endpoints set and . All maximal homogeneous self-adjoint boundary conditions can be written with real two-by-two matrices satisfying and . If an endpoint is singular, the relevant limiting boundary form and admissible domain must instead be specified; the assumption only in the interior does not itself fix those endpoint limits.
Fix one self-adjoint choice of separated homogeneous Dirichlet boundary conditions or Neumann boundary conditions at each endpoint. The stated product condition then makes the boundary term vanish. Multiplication of by and integration by parts giveHence define the quadratic functionalsand for nonzero admissible . The first expression for is linear in the operator , and is linear in the weight .
To prove the minimum statement, expand an admissible function in a complete weighted orthonormal system of eigenfunctions of the Sturm-Liouville problem, , with ordered eigenvalues . Self-adjointness and orthogonality of Sturm-Liouville eigenfunctions giveEquality is attained by a lowest eigenfunction, soThis is the Rayleigh-Ritz variational principle. The endpoint product condition is shorthand for fixed choices of boundary type: allowing each trial function to choose different endpoint types would not define one fixed self-adjoint eigenvalue problem.
Two integrations by parts give the boundary form of the Sturm-Liouville operator:The interior terms cancel because are real. Thus the required endpoint condition isFor a regular interval, a standard self-adjoint domain is specified by one real homogeneous Robin boundary condition at each endpoint:where neither pair of real constants is identically zero. At each end, these conditions force the two boundary data vectors of to be proportional, making the displayed form zero. Dirichlet boundary conditions and Neumann boundary conditions are the cases and . Coupled conditions also work, for example and , whose two endpoint contributions cancel. Self-adjointness uses the maximal common domain with these conditions, not an arbitrary smaller symmetric restriction.
The weighted inner product must be nondegenerate. The usual interpretation is almost everywhere, allowing isolated endpoint zeros as in part (b), with the operator defined on its appropriate weighted domain. Merely allowing a weight that is zero on an entire interval would not by itself define the stated operator or a positive-definite inner product on ordinary functions.
Choose the separated cosine solutions instead:Its derivatives are and . They vanish on the appropriate opposite sides of the square for integer , so the outward normal derivative is zero everywhere on the boundary. Also .
This is nonzero for every pair of integer indices, including a zero index. For it is the constant solution, illustrating the zero mode allowed by Neumann boundary conditions. Negative indices give the same cosine modes. The construction is the Neumann part of the Dirichlet and Neumann spectra of a square.
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.

