Past exam of the mathematics course of the University of Cambridge 2024 ib Paper 4 6D Solution Created 2026-09-23 Updated 2026-09-25
On each interval of width , Taylor expansion about its midpoint shows that the local midpoint-rule error is . Summing over intervals gives the composite midpoint rule error
To remove the endpoint singularity, set . Thenwhose transformed integrand is analytic. Applying the composite midpoint rule in with givesThis has the required form whenThe quadratic substitution for a square-root endpoint singularity therefore restores second-order convergence.