Topics (384k) Articles (398k) Users (410) Discussions (242) Comments (383) Files (13k) New article
Past exam of the numerical analysis course of the University of Oxford 2023 3 d Solution by
Codex 0 2026-10-25
Applying the implicit midpoint rule to the simple harmonic oscillator system givesFactor the change in the quadratic form and substitute these equations:Thus every step preserves the first integralFor completeness, the implicit equations are solvable for every real : putting , their coefficient matrix has determinant and the update isThis is an orthogonal matrix, as follows from . It therefore preserves the Euclidean norm, explaining geometrically the exact energy conservation. This is a concrete instance of Runge-Kutta conservation of quadratic invariants. Preservation of the circle does not assert that the numerical and exact solutions have the same phase at a fixed nonzero step size.
Past exam of the numerical analysis course of the University of Oxford 2023 3 c Solution by
Codex 0 2026-10-25
Let be continuous in its first variable and uniformly Lipschitz continuous in its second variable, with constant . Retain the finite-interval smoothness assumptions and the bound from the preceding subpart. We first establish solvability of each implicit step. For a proposed starting state , the maphas Lipschitz constant . If , the contraction mapping theorem on the complete state space gives a unique next state .
To compute a useful Lipschitz constant for the method, introduce its increment function byFor two starting states ,Rearranging gives the implicit midpoint Lipschitz estimateThus, for example, gives an increment Lipschitz constant at most , uniformly as .
For an explicit global error estimate, set . Subtract the numerical formula from the exact-value identity containing :The Lipschitz condition and the triangle inequality implyand thereforeIterating this inequality is the elementary discrete Gronwall inequality argument. For , summing the geometric series and using givesFor , . If , this provesWith the exact initial value, , the global error is and tends uniformly to zero on every such finite interval. If , the recurrence instead gives , with the same conclusion. Starting values merely converging to the exact initial value also suffice for numerical convergence; second-order accuracy requires their errors to be . The result concerns exact implicit solves and convergence on fixed finite intervals, not uniform accuracy over an unbounded time interval.
Past exam of the numerical analysis course of the University of Oxford 2023 3 b Solution by
Codex 0 2026-10-25
Work on a fixed finite interval . Write , , and use the paper's normalized local truncation errorAssume has bounded continuous derivatives through order three on this interval, with and . Assume also that the Jacobian matrix has operator norm at most on the segments joining to the endpoint averages. For a scalar equation this last hypothesis is simply there.
Two symmetric estimates separate the errors. By Taylor's theorem applied to about , the linear term integrates to zero on , givingLikewise the two linear terms in the endpoint expansions cancel, and their second-order remainders giveThe derivative bound on gives a Lipschitz condition in its second variable. Since , the triangle inequality now yieldsThe constant is independent of and as long as the steps remain in the fixed interval. This implicit midpoint consistency bound proves numerical consistency of order two. The corresponding unnormalized residual is ; the two powers conventionally called local truncation error differ because the paper divides by the step size. If local error instead means the error of an exactly solved numerical step started at , the small-step Lipschitz condition gives the bound as well.
Past exam of the numerical analysis course of the University of Oxford 2023 3 a Solution by
Codex 0 2026-10-25
Integrate the ordinary differential equation across one step, using the fundamental theorem of calculus:The midpoint quadrature rule approximates the integral by . Approximate the unknown midpoint state by the midpoint value of linear interpolation between the endpoint states:Combining these approximations gives the implicit midpoint ruleIt is an implicit time-stepping method because its new state occurs inside the evaluation of . An equivalent derivation uses a straight-line approximation on the step and imposes the ordinary differential equation at its midpoint, a one-stage collocation method.
Past exam of the numerical analysis course of the University of Oxford 2023 2 c Solution by
Codex 0 2026-10-25
Clearing the denominators in the rational interpolation conditions givesThese are linear equations for unknowns. The th row of the coefficient matrix, in the order , isThis rational interpolation linearization is equivalent to the original fraction conditions only if at every interpolation node. If , the cleared equation merely forces , leaving the fraction undefined.
For , the coefficient row becomesThis is the Vandermonde matrix, whose determinant is . Equivalently, a vector in its null space would define a degree-at-most- polynomial vanishing at all distinct interpolation nodes, which is zero by the preceding uniqueness proof. Thus the cleared linear system has exactly one solution.
There is also a constructive description of that solution. Define the monic polynomialThe polynomial is monic of degree and vanishes at every interpolation node. It must therefore equal . By polynomial division, write uniquelyThe quotient is monic of degree , andis the unique coefficient solution. This does not assert that is nonzero at every interpolation node.
For a counterexample with , , choose and the specified data , so . The cleared equations reduce togiving the unique solution , . But at the quotient is . Indeed, any genuine rational interpolant of this prescribed form would need ; then forces the constant numerator to be zero. At a nonzero denominator its value at would also be zero, never one. Cancelling the common factor in the cleared candidate would merely give the identically zero rational function, which still fails the data. Hence
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





