Past exam of the numerical analysis course of the University of Oxford 2017 3 b iii Solution 2026-10-31
Fix , write , , and let on this interval. The Hermite interpolation conditions give bothTwo applications of integration by parts therefore giveOn this single cubic piece, the same calculation also givesHere inside the interval, and all four endpoint values of are zero. Since , we obtain the exact identityThis is an integral inequality, with no assertion that the integrand on the left has one sign pointwise. The stronger nodal derivative conditions make the boundary terms vanish on each interval separately; part (i) only needed their cancellation after summing.
The stated Hermite interpolating polynomial exists uniquely in . Indeed, a polynomial in the kernel of a linear map of the value-and-derivative data map has a double root of a polynomial at each of distinct interpolation nodes. A nonzero such polynomial would have polynomial degree at least , which is impossible. The map is therefore an injective function and a linear map between vector spaces of the same finite dimension of a vector space, , and hence is a linear isomorphism. No higher smoothness of the original function is required to construct it.
An explicit illustration uses interpolation nodes , values , and zero derivatives at every interpolation node. The clamped cubic spline is on and its reflection on . Its Hermite interpolating polynomial is the quartic polynomial . On , , and the corresponding reflected formula holds on . Direct integration gives , , and , exactly as the energy identity predicts.
A clamped cubic spline and a Hermite interpolating polynomial with the same nodal values and derivatives: the excess second derivative roughness penalty is
. Details. Choose the bounded, nonnegative nondecreasing function from part (d), and defineThe function is convex and nondecreasing. For , the triangle inequality, monotonicity, and convexity giveHence is a convex function. By the gradient of a radial function formula and the fundamental theorem of calculus,for whenever . A monotone function has at most countably many discontinuities, so part (d) makes the exceptional radii -null. The origin is also -null. Define ; thus -almost everywhere.
For every in the orthogonal group, , including at zero. Consequently is invariant under the orthogonal group. Moreover away from the null origin, and composition of pushforward measures givesPart (c) therefore gives . The Knott–Smith optimality criterion makes a transport map given by a convex function's gradient optimal for the quadratic transport cost. Uniqueness from Brenier's theorem yieldsSince directions agree, this also identifies the optimal value:
Past exam of the optimisation for data science course of the University of Oxford 2023 3 a Solution 2026-10-25
Fix and put , the block coordinate gradient. For , define the one-variable function . By the chain rule,The last equality holds because the coordinates of outside are zero. The fundamental theorem of calculus and the Cauchy-Schwarz inequality therefore giveFor , the supplied condition (6), applied at the fixed starting point with parameter , bounds the integrand by . Integration yieldsThis argument needs only the given directional Lipschitz continuity and continuous differentiability; convexity is not needed for this part. If the block coordinate gradient is zero, the inequality is equality.
Past exam of the optimisation for data science course of the University of Oxford 2023 3 d Solution 2026-10-25
The supporting inequality in part 2(a) bounds below by an affine function plus a positive squared Euclidean norm, making it a coercive function. Its continuity gives a global minimizer , which is unique by strict convexity. Let , and . Here is the block size, so its role differs from the number of component functions in Question 2. Use randomized block coordinate descent with uniformly sampled blocks of size , independently at each update. Sampling uniformly from a fixed partition into equal-sized blocks gives the same calculation, since each coordinate has inclusion probability .
Let be a common upper bound on the block Lipschitz constants. Part (c) permits . With step size , part (a) givesSumming squared partial derivatives according to their inclusion probabilities,For a strongly convex function, part 2(a) also yields the strong convexity gradient inequalityIndeed, substitute into the supporting inequality and complete the square in : the expression is at least for every .
Combining the last three estimates gives a contraction in conditional expectation:By the tower property and repeated application,An optimization epoch counts coordinate partial derivative evaluations: it comprises block updates or one full gradient update. With sampling with replacement, an optimization epoch is this work measure; it need not visit every coordinate. Consequently the block method needsto bring the expected objective function gap below , for , up to integer rounding.
For the steepest descent method, use a global Lipschitz gradient constant . Part (c) with the full block permits . The descent lemma with step size , together with the strong convexity gradient inequality, givesAn exact line search along the negative gradient does at least as well in objective function decrease per update. Ignoring its additional work, the resulting epoch complexity isThe common coordinate-based guarantees favour blocks by a factor in epochs. In fact, with the conservative constants and , both methods have the same guaranteed contraction per update, while a block update uses only coordinate partial derivatives.
This compares the bounds justified by the given constants. For a particular objective function, sharper constants give the comparison against ; an actual speedup of is not universal. Computing a block coordinate gradient also need not cost exactly of a full gradient evaluation. The epoch complexity comparison assumes that coordinate partial derivative counts are a useful measure of work, and does not itself establish a wall-clock comparison.
Since on , substitute to obtainThe functions are measurable, so this proves Lebesgue integrability. Also gives . Hence is integrable on as well.
For fixed endpoint values, the Euler-Lagrange equation isIt follows by differentiating the functional along with , integrating the term by parts and applying the fundamental lemma of the calculus of variations.
For this quadratic integrand it becomes . If , write ; the condition at zero gives , and that at requires . Consequently is the only extremal when is not an integer. If is a positive integer, all extremals areThe integer case must be handled separately: with both endpoints zero has only . If negative real is allowed, the hyperbolic-function solutions also yield only zero under these endpoints. These statements concern stationary functions; no minimum is assumed.
The function is measurable and . The interval has finite measure, so its integral is at most one. Hence it is integrable, despite its oscillations near zero.
A natural cubic spline is piecewise cubic, interpolates the data, has continuous first and second derivatives at the knot, and has zero second derivative at the outer endpoints. Its nodal second derivatives here satisfy and the usual matching equationso . The resulting pieces areDirectly, the values are , both first derivatives at one equal two, both second derivatives there equal six, and . Thus all spline conditions hold.
The second data set adds the values of the affine function to the first. Adding to the spline preserves derivative matching and the zero endpoint second derivatives, so uniqueness of the natural interpolant gives the new spline . Its first piece is , and its second is . This is the affine covariance of natural cubic spline interpolation.
Natural cubic interpolation and an affine change of the data
. The second interpolant is obtained by adding to the first. Dots mark the three interpolation nodes of each curve. Details.One version of dominated differentiation under the integral sign is the following. Let the parameter range be open. Suppose is integrable, exists for almost every , and near each parameter value its absolute value is bounded by an integrable function of independent of . ThenThis follows by applying the dominated convergence theorem to difference quotients, bounded by that same integrable function through the mean value theorem.
On any compact parameter interval , the original integrand is bounded by , using . Its first and second parameter derivatives areTheir absolute values are bounded respectively by and , both integrable on . Applying the theorem twice proves that is twice differentiable and givesThis last integral is absolutely convergent: its integrand is bounded near zero and bounded by at infinity. Substituting yieldsThe expression for is finite and independent of , which is all that is required.
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:
The distinct powers all solve . By the allowed root bound they are all its solutions. A residue of order must therefore equal ; conversely , because characterizes the exponents with . This proves the equivalence with and gives exactly elements of order whenever any such element exists.
To establish existence at the full order too, put and let count elements of order . By Lagrange's theorem for finite groups, these orders divide . The first result gives or . Thereforeusing the standard divisor-sum identity for Euler's function. Equality forces every deficit to vanish, so .
Finally let , which has order eight. Its fourth power is the unique nonidentity square root of one, namely . Since ,because . This proves the stated residue squares to two.
The partial sums are measurable, nonnegative and increasing. By the monotone convergence theorem,A nonnegative measurable function with finite integral is finite almost everywhere: if it were infinite on a positive-measure set, every constant multiple of that set's indicator would be a lower bound, forcing an infinite integral. Thus the series converges almost everywhere.
For , the geometric series givesAll terms are nonnegative, so monotone convergence permits termwise integration. Part (i), with , givesThis series is finite for , which also proves integrability of the original nonnegative function.
On a product of sigma-finite measure spaces, Tonelli's theorem equates product and iterated integrals for a nonnegative measurable function, allowing infinite values. Fubini's theorem says that an absolutely integrable measurable function has integrable sections almost everywhere, their section integrals are integrable, and both iterated integrals equal the product integral. Absolute integrability may be checked first by applying Tonelli to the absolute value.
For a fixed centre , the triangle inequality gives , so the distance-to-centre function is continuous. Its preimage of is the closed ball, hence is closed. Since that closed set contains the corresponding open ball, it contains its closure:Here the bar on the right denotes a closed ball, while the bar on the left denotes closure.
The defining function is smooth and has gradient . This cannot vanish on its zero level, since the origin does not lie there. The regular level-set theorem therefore makes a two-dimensional submanifold, with tangent space and normal space
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.
The moment generating function is where finite. The continuity theorem states that, if moment generating functions are finite on a common open interval containing zero and converge there to the moment generating function of a probability law, the corresponding distributions converge weakly to that law.
Integrating the gamma density and using the gamma integral givesFor a geometric waiting time, on , summing the geometric series giveswhen . For , deterministically. The waiting times between successive heads are independent and identically distributed, so and . ThereforeIndeed the denominator is and the numerator is . On any sufficiently small fixed neighbourhood of zero these moment generating functions exist for all sufficiently small . The limit is the moment generating function of a gamma law with shape and rate , so
Past exam of the options II course of the University of Oxford 2008 printed variant C C2 Solution 2026-10-31
The distinct powers all solve . By the allowed root bound they are all its solutions. A residue of order must therefore equal ; conversely , because characterizes the exponents with . This proves the equivalence with and gives exactly elements of order whenever any such element exists.
To establish existence at the full order too, put and let count elements of order . By Lagrange's theorem for finite groups, these orders divide . The first result gives or . Thereforeusing the standard divisor-sum identity for Euler's function. Equality forces every deficit to vanish, so .
Finally let , which has order eight. Its fourth power is the unique nonidentity square root of one, namely . Since ,because . This proves the stated residue squares to two.
Past exam of the options II course of the University of Oxford 2008 printed variant D D3 b Solution 2026-10-31
The partial sums are measurable, nonnegative and increasing. By the monotone convergence theorem,A nonnegative measurable function with finite integral is finite almost everywhere: if it were infinite on a positive-measure set, every constant multiple of that set's indicator would be a lower bound, forcing an infinite integral. Thus the series converges almost everywhere.

