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 .
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 69 2 a Solution Created 2026-10-03 Updated 2026-10-14
Write , , and assume are sufficiently smooth for the following Taylor expansions. The symmetric half-grid diffusion consistency calculation giveswhereThe normalized local truncation error of the full update is consequentlyThe PDF prints an advection equation, , whereas this stencil approximates conservative diffusion, . For the literal printed equation the leading defect is , which generally does not vanish: the method is inconsistent, with an normalized defect.
For the intended variable-coefficient conservative diffusion equation, the first two terms cancel and . Under the parabolic step scaling , this is , while the unnormalized one-step local truncation error is . These two orders use different normalizations. With numerical stability and compatible smooth initial and boundary conditions, the intended diffusion problem has global error on a fixed time interval. Positivity and boundedness of alone do not justify the displayed Taylor expansion; coefficient regularity is also needed for that error formula.