Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 67 3 a Solution Created 2026-10-03 Updated 2026-10-14
There is a genuine indexing defect in the printed PDF: its new value is at , while every old-time coefficient is centered at . On a fixed grid the literal residual containsFor a general solution the leading term is , so this is not a consistent diffusion discretization. It also leaves one new interior value unspecified while imposing a generally incompatible update on a prescribed boundary value. The calculation that follows is for the intended same-node update ; that correction is necessary, not an unnoticed transcription change.
For the midpoint flux stencil for one-dimensional diffusion, defineAssume sufficient smoothness of and the solution for the displayed remainders. Multiplying the centered Taylor expansions of and givesThe first time difference is . After using the diffusion equation, the normalized local truncation error isTherefore, for the corrected update,The first is the residual divided by the time step; the second is the unnormalized one-step defect. At fixed they are respectively and . A rate based on derivatives is not justified for a merely bounded nonsmooth .