Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 341 5 a Solution Created 2026-10-03 Updated 2026-10-05
Work in the real zero-boundary Sobolev space , whose members have square-integrable weak derivatives and zero endpoint trace. Define the bounded bilinear form and linear functionalThe weak formulation is to find with for every . Integration by parts recovers the differential equation for a smooth solution; conversely, this identity is the definition of its weak solution.
Use the full norm. The Cauchy-Schwarz inequality gives and . Also , so is a coercive bilinear form with constant one. The Lax-Milgram theorem states that a bounded, coercive bilinear form on a real Hilbert space determines a unique weak solution for every bounded linear functional. It therefore applies here.
The equivalent minimization problem isIf is the weak solution, symmetry and giveThis is positive unless , proving a unique global minimizer. Conversely, differentiating at gives the weak identity. Thus the unique energy minimizer is exactly the unique weak solution. As a check, the classical representative isIt satisfies both endpoint conditions and .
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 344 3 c Solution Created 2026-10-03 Updated 2026-10-05
For the stated uniaxial nematic order normalization, the nematic director is an eigenvector of with eigenvalue , and the two perpendicular eigenvalues are . ThereforeUsing precisely the Landau-de Gennes free energy convention in the preceding solution givesIf the quartic invariant were instead normalized as , its coefficient would be ; the physical predictions are unchanged after redefining .
For a nonzero global minimizer of the free energy, compare opposite values of the scalar nematic order parameter:The lower one has , soThe claim concerns the stable ordered phase, not every metastable stationary point. For the two signs are degenerate. For , equality of the ordered and isotropic free energies, together with stationarity, gives and . The finite jump exhibits the first-order phase transition driven by the cubic invariant.
First expand the variational integrand:Its needed partial derivatives are and . The Euler-Lagrange equation is thereforeThe general solution is . Subtracting the two endpoint equations gives ; adding them gives . HenceThis is the unique stationary solution. It is also the unique global minimizer: after discarding the fixed boundary terms, integration by parts rewrites as . For an endpoint-zero variation , the linear part vanishes at the displayed solution andwith equality only for .
Impose before varying. Writing , the restricted integrand isIts middle term is the total derivative of , so it can be dropped for fixed endpoints by part (b). The remaining Euler-Lagrange equation is . Integrating twice and imposing , givesThis is the unique global minimizer among paths on the specified line. To prove it, add any admissible variation with . The change in fuel, after dropping the fixed boundary term, isThe first integral vanishes by integration by parts and the equation for . Equality forces . No monotonicity or restriction to the segment between endpoints was imposed in the question; the minimizing coordinate can initially decrease for sufficiently large .
Past exam of the optimisation for data science course of the University of Oxford 2023 1 c Solution 2026-10-25
Set , and . Here is the proximal gradient mapping, is a squared Euclidean distance, and because is a global minimizer. The update gives .
First use the supplied inequality (1) with :Thus the objective function values, and hence the errors , are nonincreasing. Next use (1) with :Expansion of the squared Euclidean norm givesso the last bound is exactly .
The telescoping sum over therefore givesSince each summand is at least , we obtain the proximal gradient objective error boundThe bound holds for the last iterate. The monotonicity of the objective function values is what converts an averaged estimate into this last-iterate estimate.
Past exam of the optimisation for data science course of the University of Oxford 2023 2 c Solution 2026-10-25
There is a summation-index misprint. On the native PDF, paper page 3, equation (4) has inside a sum indexed by . The intended telescoping estimate has inside that sum; this is the estimate proved below and used in part (d). The index mismatch is present in the original PDF, rather than being introduced by the transcription.
Take the expectation of the supplied conditional expectation bound (3), using the tower property:Rearranging and forming a telescoping sum givesBecause is a global minimizer, for every realisation. Hence the corrected equation (4) isAll expectations at a finite iteration are finite here: a deterministic starting point and finitely many choices of the sampled index produce only finitely many possible iterates. The bound controls accumulated squared gradients, with an additive contribution from the stochastic gradient noise floor.
Past exam of the optimisation for data science course of the University of Oxford 2023 3 b Solution 2026-10-25
The subgradient inequality for the differentiable convex function givesThus is a global minimizer of with value zero. Subtracting an affine function preserves convexity.
We must also justify using part (a) for , since its partial derivative can differ from that of . First show that condition (6) for a singleton block implies the full coordinate Lipschitz continuity estimateIf , choose in (6). If it is zero but , apply the same argument starting at and reverse the displacement. If both partial derivatives are zero, the estimate is immediate. The availability of all real in (6) justifies these choices.
Now , so differences of this partial derivative along coordinate lines are unchanged. Hence has the same coordinate Lipschitz continuity constant and satisfies the singleton version of (6). Apply part (a) to with step size :Combining with its already established nonnegativity provesThe coordinate estimate survives subtraction of the supporting affine function. This is the step that allows the arbitrary comparison point to be exploited in part (c).
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.
Proximal gradient mapping 2026-10-25
For a convex function with a well-defined proximal operator, and a differentiable function , the proximal gradient mapping is the displacement of one proximal gradient method update divided by its positive step size . Writing , the subgradient optimality condition gives . For convex functions , its zeros are precisely the global minimizers of , by the subgradient optimality condition and subdifferential sum rule. When , it is the ordinary gradient.
Target: convex-optimization.bigb, under Proximal gradient method. Proximal gradient objective error bound 2026-10-25
For , with a convex function having an -Lipschitz gradient and a proper convex function with a well-defined proximal operator, the proximal gradient method with step size satisfies the displayed bound whenever a global minimizer exists. The one-step subgradient inequality and descent lemma giveThe objective function values are nonincreasing. A telescoping sum over , followed by comparison of the last error with the arithmetic mean of the errors, proves the result. The bound controls the last objective function error without requiring a strongly convex function or a unique minimizer.
Target: convex-optimization.bigb, under Proximal gradient method. Strong convexity gradient inequality 2026-10-25
For a differentiable strongly convex function with modulus and global minimizer , the supporting inequality givesCompleting the square shows that the last two terms are at least , which proves the result. Combining this with the descent lemma converts squared gradient decrease into a contraction of the objective function gap.
Target: mathematical-optimization.bigb, under Line search.