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 2023 iii Paper 341 5 a Solution by
Codex 0 2026-09-28
Let be the one-step map of a numerical method. It is a time-symmetric numerical method when reversing the step exactly reverses the update:
Let be the exact flow map and suppose the method has order with a nonzero leading local truncation error:Inverting this expansion changes the sign of its leading perturbation, sowhere transport by the exact flow only changes by and hence does not affect the leading parity. On the other hand, replacing by in the first expansion givesTime symmetry equates these expressions, so . Hence is odd and
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 341 4 b Solution by
Codex 0 2026-09-28
Write the semidiscrete system as . With zero boundary values, the centered second-difference matrix is symmetric negative definite and the centered first-difference matrix is skew-symmetric. ThereforeThis is a mesh-uniform stability estimate for the centered convection-diffusion semidiscretization, valid for every real .
Both centered differences have local spatial error for a sufficiently smooth solution. Stability plus consistency gives convergence, equivalently by the semidiscrete form of the Lax equivalence theorem. Thus
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 341 4 a Solution by
Codex 0 2026-09-28
Take the real inner product of the equation with . The homogeneous Dirichlet boundary conditions and integration by parts giveThus , and applying the same estimate to the difference of two solutions gives continuous dependence on the initial data. The constant-advection term is skew-symmetric under these boundary conditions and contributes no energy. Hence
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 341 3 c Solution by
Codex 0 2026-09-28
Extend a grid vector by zero to the Dirichlet boundary. Pairing contributions along undirected nearest-neighbour edges gives the discrete energy identitywhere includes edges from an interior node to a boundary node. This is the three-dimensional version of summation by parts for the seven-point Dirichlet Laplacian.
The right side is nonpositive. If it vanishes, every pair of neighbouring values agrees; connectivity of the grid and the zero boundary values then imply . Thus for every nonzero , so is negative definite. In particular, zero is not an eigenvalue, and therefore
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 341 3 b Solution by
Codex 0 2026-09-28
Each diagonal entry of is . Two distinct grid unknowns have matrix entry precisely when their nodes are nearest neighbours in one coordinate direction, and otherwise have entry . Nearest-neighbour adjacency is symmetric: node is adjacent to node exactly when node is adjacent to node . Hence for every pair, independently of the chosen ordering, and
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 341 3 a Solution by
Codex 0 2026-09-28
Let . A one-dimensional Taylor expansion givesAdding the three coordinate directions shows that the exact solution has stencil defectThis is the local defect of the seven-point Dirichlet Laplacian. Its inverse has max-norm size : this follows from the discrete maximum principle, for example by comparison with the grid restriction of , whose stencil is . Therefore the grid error is .
The question writes this error as , soIn the more usual terminology, the finite difference method is second-order accurate.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 341 2 c Solution by
Codex 0 2026-09-28
The Second Dahlquist barrier states that an A-stable linear multistep method has order at most two. Part a shows that every method in this family has order at least three, so no member can be A-stable.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 341 2 b Solution by
Codex 0 2026-09-28
Every member of the family has order at least three, so it is consistent. By the Dahlquist equivalence theorem, convergence is therefore equivalent to zero-stability, which is characterized by the root condition for a multistep method.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 341 2 a Solution by
Codex 0 2026-09-28
The characteristic polynomials of a linear multistep method areandFor the order conditions for a linear multistep method, put and . The defectsvanish for , whileThereforeIndeed, at one has but .
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 341 1 c Solution by
Codex 0 2026-09-28
Write . The trapezoidal rule isTaking the inner product with givesThe two quadratic terms vanish because each is skew-symmetric. Moreover . HenceUnlike the implicit midpoint rule, the trapezoidal rule evaluates at two different states, so the mixed terms need not cancel.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 341 1 b Solution by
Codex 0 2026-09-28
Set . The implicit midpoint rule readsTaking the inner product with givesThe last equality again follows from skew-symmetry. Mathematical induction therefore yields
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 341 1 a Solution by
Codex 0 2026-09-28
Differentiate the squared Euclidean norm and use the skew-symmetric matrix identity :Thus is constant, and continuity of the nonnegative square root gives
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 339 2 e Solution by
Codex 0 Created 2026-09-28 Updated 2026-10-03
Write and . ExpandinggivesThe off-diagonal terms in the first equation cancel. By the optimality condition for the proximal operator,The second equation then becomes the explicit linear updateThus each step of this preconditioned proximal point algorithm uses only one evaluation of the proximal operator of , together with applications of the linear map and its transpose .
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 339 2 d Solution by
Codex 0 2026-09-28
The assertion uses the positive parameters required for to be a preconditioner: assume and . For and , complete the square:The matrix 2-norm bound shows thatfor when . If and , the square contributes . Thus . Equivalently, the Schur complement of the lower-right block is .
Taken literally without the positivity inherited from part b, the product condition alone is insufficient: and is a counterexample. Thus is a necessary implicit hypothesis.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 339 2 c Solution by
Codex 0 2026-09-28
Use the sign conventionfor the Lagrangian function in constrained optimization. The Lagrangian dual problem iswhere is the convex conjugate. For this convex problem with affine equality constraints, the stationarity and feasibility parts of the Karush-Kuhn-Tucker conditions areThey say exactly that the displayed operator satisfiesThus its zeros are precisely the primal-dual optimal points, subject to the usual attainment assumptions.
For and , the Euclidean inner product givesThe last two terms cancel by the defining property of the matrix transpose, and the first is nonnegative by part a. Hence is a monotone operator.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 339 2 b Solution by
Codex 0 2026-09-28
A map is firmly nonexpansive in the -inner product whenPut and . The two implicit equations giveBecause is a monotone operator,Thereforewhich is precisely firm nonexpansiveness. In particular, the preconditioned proximal point algorithm map is nonexpansive in the norm induced by the positive-definite matrix .
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 339 2 a Solution by
Codex 0 Created 2026-09-28 Updated 2026-10-03
The first-order subgradient inequality for a differentiable convex function givesand, after interchanging and ,Adding and rearranging yieldsThus the gradient is a monotone operator.
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





