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 2022 iii Paper 341 Section A 2 b Solution by
Codex 0 2026-09-28
For the intended collocation weights, interpolation makes the associated quadrature rule exact for every polynomial of degree at most one, so the method has order at least two. It has order at least three precisely when the node polynomial is orthogonal to constants:ThusAt this is the two-stage Radau IIA method. Since one node is fixed at the endpoint, no value of makes the two-node quadrature exact through degree three, so order four cannot occur.
For completeness, the tableau exactly as printed has order zero when , since . At the two signs coincide because the second weight vanishes, and the resulting method has order two.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 341 Section A 2 a Solution by
Codex 0 Created 2026-09-28 Updated 2026-10-05
For the nodes and , the Lagrange basis isDirect integration givesand thereforeThe collocation Runge-Kutta method also requiresThis exposes a sign error in the printed tableau: its lower-right entry is shown as . With in that position, the tableau is exactly the claimed collocation method. Taken literally, the printed weights satisfy , so the method is not even consistent unless and cannot be a collocation method for general .
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 341 Section A 1 c Solution by
Codex 0 2026-09-28
A highest-order method in this family has order . The Second Dahlquist barrier says that an irreducible A-stable multistep method has order at most two, so and hence . Part b then leaves only the trapezoidal rule. Its amplification factor isand whenever . Thus the trapezoidal rule is the unique highest-order A-stable method of the stated form, apart from representations containing removable common factors.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 341 Section A 1 b Solution by
Codex 0 2026-09-28
For , imposing order two givesThe method is therefore the trapezoidal ruleIts first characteristic polynomial is , so it satisfies the root condition for a multistep method.
For , the four conditions through order three giveand henceHereso the root condition for a multistep method again holds. Both methods are consistent and zero-stable, and the Dahlquist equivalence theorem therefore proves that both are convergent.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 341 Section A 1 a Solution by
Codex 0 2026-09-28
Substitute the exact solution and expand every value about . The coefficient of in the defect is zero for exactly whenThese are the order conditions for a linear multistep method, specialized to the two nonzero derivative coefficients. The first failed identity determines the leading local truncation error.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 339 3 c iv Solution by
Codex 0 Created 2026-09-28 Updated 2026-10-03
Projected gradient descent with unit step isThus this instance reduces to alternating Euclidean projections.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 339 3 c iii Solution by
Codex 0 Created 2026-09-28 Updated 2026-10-03
The squared distance to a convex set satisfiesThe map is firmly nonexpansive because is firmly nonexpansive, soThus is one-smooth in the Euclidean norm.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 339 3 c ii Solution by
Codex 0 2026-09-28
The functionis the Moreau envelope of the convex indicator , and is therefore convex. It is nonnegative and vanishes exactly on . Since , the minimum of over is zero, and every minimizer belongs to both and .
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 339 3 c i Solution by
Codex 0 2026-09-28
Take and . Their proximal maps are the projections , soThe Douglas--Rachford shadow sequence converges in finite dimensions to a point of when the intersection is nonempty.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 339 2 c iv Solution by
Codex 0 2026-09-28
For , primal projected gradient descent isProjection onto is itself a constrained quadratic program. The dual method only projects componentwise onto and uses the fixed matrix , so its iterations can be substantially cheaper, especially when can be prefactored and the number of constraints is moderate.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 339 2 c iii Solution by
Codex 0 2026-09-28
When has full row rank, projected gradient ascent with step has linear convergence and requiresiterations, up to the initial-error constant. The accelerated projected method of Nesterov requiresWithout full row rank, the general smooth-convex bounds are and , respectively, when a dual optimum lies within distance of the initial point.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 339 2 c ii Solution by
Codex 0 2026-09-28
The Hessian of is . Thus is strongly convex exactly when has full row rank. In that case one may useIn all cases, the gradient has Lipschitz constant bounded by
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 339 2 c i Solution by
Codex 0 2026-09-28
Let . Since , projected gradient ascent on the nonnegative orthant iswhere the positive part is componentwise and one may take .
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 339 1 c iii Solution by
Codex 0 Created 2026-09-28 Updated 2026-10-03
The maximizer defining is , soConsequentlyThus the proximal point algorithm for is ordinary gradient descent with step on its smooth Moreau envelope.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 339 1 c ii Solution by
Codex 0 2026-09-28
Set . Expanding the square givesThe function is one-strongly convex, so its Fenchel conjugate is differentiable with one-Lipschitz gradient. The displayed identity therefore proves that the Moreau envelope is differentiable even when is nonsmooth.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 339 1 c i Solution by
Codex 0 2026-09-28
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 339 1 b ii Solution by
Codex 0 2026-09-28
Rearranging part i and using the polarization identity givesDropping the final nonpositive term proves
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 339 1 b i Solution by
Codex 0 2026-09-28
The proximal optimality condition givesThe subgradient inequality therefore yields, for every ,
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 336 1 c ii Solution by
Codex 0 2026-09-28
At , the ordinary saddles coalesce at zero and . The contributing scale is . The standard cubic saddle-point approximation givesEquivalently, the coefficient is .
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





