Topics (384k) Articles (398k) Users (410) Discussions (242) Comments (383) Files (13k) New article
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 341 4 a Solution by
Codex 0 2026-09-28
The clamped energy space isTwice applying integration by parts, with the boundary terms killed by the clamped conditions, gives the symmetric bilinear formConsequentlyfor every nonzero : equality forces almost everywhere, and the clamped boundary values then force . Hence is symmetric and positive definite.
Strictly under the stated assumption rather than , the first integral need not be finite for every . The literal energy domain is therefore ; under the usual coefficient assumption , it is exactly and the form is coercive there.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 341 3 c Solution by
Codex 0 2026-09-28
Let there be interior points. The Dirichlet discrete Laplacian has positive valuesfor the eigenvalues of its negative, and the amplification eigenvalues are . Therefore the Backward Euler diffusion stability on a finite Dirichlet interval isIf, as usual, a Courant number is restricted to nonnegative values, this again reduces to all . The additional negative branch is a finite-grid artefact and disappears to as the mesh is refined.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 341 3 b Solution by
Codex 0 Created 2026-09-28 Updated 2026-10-14
Insert the Fourier mode into the scheme. von Neumann stability analysis givesFor every physical Courant number , one has . Thus the method is unconditionally stable: the range is .
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 341 3 a Solution by
Codex 0 2026-09-28
This is the Backward Euler diffusion scheme with a centered second spatial difference. Taylor expansion gives first order in time and second order in space:With the parabolic scaling and fixed , the combined error is .
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 341 2 c Solution by
Codex 0 2026-09-28
Put and . The weights and stage matrix becomeFor algebraic stability of a Runge-Kutta method,soA positive-semidefinite matrix with a zero diagonal entry must have every entry in that row and column equal to zero. Here the off-diagonal entry never vanishes for finite . Therefore there is no admissible value of for which the method is algebraically stable.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 341 2 b Solution by
Codex 0 2026-09-28
A two-node collocation method already has order at least two. It has order at least three exactly when its node polynomial is orthogonal to constants on :Equivalently,This is the additional quadrature order condition .
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 341 2 a Solution by
Codex 0 Created 2026-09-28 Updated 2026-10-05
The Lagrange interpolation polynomial basis at isThe collocation Runge-Kutta method has stages and updatewhere and . Explicitly,
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 341 1 c Solution by
Codex 0 2026-09-28
For the test equation , put . The amplification roots satisfyThe quadratic Schur stability criterion shows that both roots lie in the closed unit disk whenTo check these inequalities on the closed left half-plane, write with . The right side of the second inequality isAfter squaring, the difference between its square and is a polynomial in and with nonnegative coefficients:The first inequality follows from the same displayed positive expression. The unit-circle cases are semisimple, so the entire closed left half-plane is in the linear stability domain. Hence the method is A-stable.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 341 1 b Solution by
Codex 0 2026-09-28
At the first characteristic polynomial isIts roots satisfy the root condition for a multistep method: the only unit-modulus root is the simple root , and the other root has modulus . The method is consistent because part a gives positive order. The Dahlquist equivalence theorem, in the form allowed by the question for this derivative-augmented method, therefore proves convergence.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 341 1 a Solution by
Codex 0 2026-09-28
Insert the exact solution and expand about . Since and , the left side isThe coefficient of on the right side isfor , with the last term absent for . These coefficients agree through ; at the left side minus the right side is . Thus the local truncation error is and the method has order three.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 339 2 e Solution by
Codex 0 2026-09-28
SetThe gradient has Lipschitz continuity with constantwhere the norm is the spectral norm. The proximal gradient method is thereforeFor , part d makes the second step explicit:where is the capped simplex; when , this proximal step is the identity.
A standard fixed choice is ; the wider interval also gives convergence under the usual forward-backward conditions. For a general convex objective, the function-value error is . If has full column rank, the quadratic term is strongly convex and an appropriate fixed step gives a linear convergence rate.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 339 2 d Solution by
Codex 0 Created 2026-09-28 Updated 2026-10-03
Take and , sois the capped simplex. A linear objective over this convex polytope attains its maximum at a zero-one extreme point. Choosing the coordinates at which is largest givesEquivalently, an exchange of weight from a smaller component to a larger one never decreases the objective. Thus the sum of the largest components is the support function .
Part c now givesBy the projection onto a box-constrained hyperplane, hasConsequently the proximal operator is evaluated by solving this one-dimensional equation for , then substituting the resulting projection.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 339 2 c Solution by
Codex 0 2026-09-28
The function is the support function . For a nonempty compact convex set,so its convex conjugate is the indicator function . Applying the Moreau decomposition,Multiplication of an indicator function by a positive scalar does not change it, and its proximal operator is the Euclidean projection onto a convex set. Therefore
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 339 2 b Solution by
Codex 0 2026-09-28
For a proper lower-semicontinuous convex function , its proximal operator isThe squared norm is strongly convex, so the minimizer is unique. The subdifferential sum rule gives the necessary and sufficient conditionMore generally,The subgradient inversion rule for the convex conjugate says exactly when . Hencewhich is precisely the proximal optimality conditionSince , this proves the generalized Moreau decomposition
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 339 2 a Solution by
Codex 0 2026-09-28
The objective is strictly convex, so the minimizer is unique. The Slater condition makes the Karush-Kuhn-Tucker conditions necessary and sufficient. Absorb the box constraints into the Euclidean projection onto a convex set and attach a scalar multiplier to . Stationarity over the box is equivalent towhile primal feasibility requires . Coordinatewise, these conditions areThey are also sufficient because they minimize the Lagrangian over the box and satisfy the equality constraint. Thus the projection onto a box-constrained hyperplane reduces to solving the displayed one-dimensional continuous, nonincreasing equation for . The multiplier need not be unique on a flat interval, but the projected vector is unique.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 339 1 d Solution by
Codex 0 2026-09-28
Write for row of , and define affine functionsThenThe pointwise maximum of convex functions is convex, so is a convex function. Moreover,so has Lipschitz continuity. The simpler bound is also valid.
Let be the active set. The subdifferential isthe convex hull of all active slopes. In particular, choosing any active index gives the subgradientAt a tie, every convex combination of the tied slopes is also valid.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 339 1 c Solution by
Codex 0 2026-09-28
Let be an optimal dual multiplier and define the maximum violationDual stationarity and strong duality imply, for every ,Since every component of is at most and ,It follows that the exact maximum-violation penalty obeysChoose any . A primal optimum has and penalized value , whereas every infeasible point has and penalized value strictly greater than . Thus the penalized problem and the original linear program have exactly the same minimizers.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 339 1 b Solution by
Codex 0 2026-09-28
Associate a nonnegative Lagrange multiplier with each inequality. The Lagrangian dual problem begins withIts infimum over is finite exactly when , in which case it equals . The dual linear program is consequentlyFor any primal-feasible and dual-feasible ,which proves weak duality. Strong duality means equality of the two optimal values. The stated strict feasibility is the Slater condition; together with finiteness of the primal optimum it gives strong duality and an attained dual optimum .
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 339 1 a Solution by
Codex 0 2026-09-28
The Euclidean projection onto a convex set is nonexpansive, and because the optimum is feasible. Therefore the projected subgradient method satisfiesThe subgradient inequality gives , while Lipschitz continuity of the finite convex function gives . HenceSumming this telescoping inequality for , and then bounding the smallest term by the average, yieldsWriting , the right-hand side is minimized by the constant step sizeSubstitution givesIf , the initial point is already optimal and the result is immediate.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 337 2 h Solution by
Codex 0 2026-09-28
Write , so , and take . The small-wavenumber static structure factor behaves asThe spatial Fourier transform of in dimensions scales as . Thusand in three dimensions . Since this two-point correlation function tends to zero rather than to a nonzero constant at large separation, it is incompatible with true long-range ferromagnetic order and hence with spontaneous symmetry breaking at this higher temperature.
Pinned article: Introduction to the OurBigBook Project
Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
Intro to OurBigBook
. Source. We have two killer features:
- topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculusArticles of different users are sorted by upvote within each article page. This feature is a bit like:
- a Wikipedia where each user can have their own version of each article
- a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.Figure 1. Screenshot of the "Derivative" topic page. View it live at: ourbigbook.com/go/topic/derivativeVideo 2. OurBigBook Web topics demo. Source. - local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
- to OurBigBook.com to get awesome multi-user features like topics and likes
- as HTML files to a static website, which you can host yourself for free on many external providers like GitHub Pages, and remain in full control
Figure 2. You can publish local OurBigBook lightweight markup files to either OurBigBook.com or as a static website.Figure 3. Visual Studio Code extension installation.Figure 5. . You can also edit articles on the Web editor without installing anything locally. Video 3. Edit locally and publish demo. Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension. - Infinitely deep tables of contents:
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact





