Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 66 1 ii Solution Created 2026-10-03 Updated 2026-10-14
Applying the preceding derivative identity repeatedly yields the Bézier derivative control polygon for every order:where the forward finite difference is andThe induction step multiplies by the remaining degree and takes one more finite difference. Derivatives above order vanish. In particular,If the actual parameter interval has length and is its normalized coordinate, derivatives in the original parameter acquire the additional factor . These formulas allow derivative evaluation and join tests using only the control polygon.
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 66 3 ii Solution Created 2026-10-03 Updated 2026-10-14
There are no numerical continuity bounds determined by and alone: the subdivision mask coefficients matter. First check constant reproduction, for every residue , and convergence. For the usual stationary scalar scheme, two useful calculations are a uniform contraction test and a spectral obstruction test. Higher smoothness is tested with derived difference subdivision masks.
Write and . Using backward differences , the generating-function identityproves the subdivision difference scheme relation . Iterating gives . To test a candidate limit, suppose the requisite sum rules hold, so is a finite Laurent polynomial. The scaled derivative controls are refined by the subdivision maskwhose residue sums are one. Their first differences are refined byThe powers of are essential because each refinement shrinks parameter intervals by .
A lower continuity bound comes from proving uniform contraction. The infinity norm of one difference-refinement step is bounded byIf , adjacent derivative controls contract geometrically at every location. More generally, form the -step subdivision maskand test . This proves convergence of the constant-preserving derivative scheme to a continuous limit. One justification is to compare consecutive piecewise-linear interpolants: their difference is bounded by a constant times the maximum adjacent-control difference, and the geometrically decreasing bound is summable. To identify the limit as , use fixed-degree Cardinal B-spline interpolants of the original refined controls. Their th derivatives are sums of the scaled finite differences; convergence of both functions and derivatives gives . Testing successive supplies a guaranteed lower bound.
An upper continuity bound comes from an observable noncontracting shape mode. Build finite local subdivision matrices for on a refinement-invariant control neighborhood. For a digit their entries are , since the new index is . Restrict to the realizable difference space and discard modes that do not affect the limit. A word corresponds to a nested parameter location. If its product has an observable eigenvalue with , repetition of this word makes some scaled derivative differences grow rather than tend to zero. For a stable limit representation, regularity would force these differences to vanish; hence general-position data cannot have continuity. A modulus-one mode requires examination of whether it actually persists, rather than an automatic rounding rule.
The two calculations can be organized through the joint spectral radius of these restricted matrices:These norm and spectral bounds for subdivision regularity make the test computable from the subdivision mask. The right bound certifies all-word contraction when it is less than one; the left bound detects a repeated-word obstruction when it exceeds one. Longer products improve the tests. A single matrix's spectrum is not a substitute for controlling arbitrary products. The product estimates also appear in Charina's analysis of subdivision regularity; the strict contraction and observable-mode arguments above explain their respective roles.
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 66 3 b Solution Created 2026-10-03 Updated 2026-10-14
Use the equal-time points to estimate velocity and acceleration with centered finite differences:At the endpoints use one-sided formulas of the desired order. A differentiated path and its time parametrization can instead supply these quantities. Let denote the gravitational acceleration, directed downwards. In the accelerating camera, the effective downward vector is , so the locally felt upward vector is . For a stationary camera this gives , fixing the sign.
The apparent-gravity camera frame is obtained by orthogonal projection and a cross product:When , are perpendicular unit vectors, and completes a right-handed orthonormal basis: . Also , so the felt-up vector lies in the plane, with its transverse component pointing towards positive .
The stated exclusion of ensures , but it does not ensure . If felt-up is parallel to travel, the roll angle is undetermined rather than the construction being impossible. Every transverse orthonormal basis then has the required plane property. For continuity, project the previous into and normalize it, using . If this projection is also too small, choose a coordinate unit vector least aligned with and project that vector instead. Switch to this transported choice near the parallel case to avoid numerical amplification. A stopped vehicle likewise needs a chosen limiting travel tangent vector, since its zero velocity itself has no direction. None of this requires a Frenet frame, which can fail where curvature vanishes.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 69 2 Solution 2026-10-14
Write the Bernstein basis as , with for out-of-range indices. The Bernstein polynomial isDifferentiation and the identities and give . Shifting the first sum's index therefore yieldsRepeating this calculation takes another forward finite difference of the coefficients and lowers the degree by one. Induction proves the derivatives of Bernstein polynomials formulaFor , define a continuous function on byAll sampled arguments lie in , since the largest is . At the degree- sampling point , this gives exactly the coefficient , and hence . The rescaling is essential: the sampling meshes are and , and the function depends on . For , the derivative is the constant , interpreted as a degree-zero Bernstein polynomial.
Now fix and assume . The supplied uniform limit of normalized finite differences, together with and uniform continuity of , shows thatPositivity and imply . For completeness, if then , and . Splitting according to whether and using Chebyshev's inequality givesFirst let and then ; this proves uniform convergence for each continuous . Finally,Thus Bernstein polynomial derivatives converge uniformly to the corresponding derivatives of , for each fixed with . Continuity of alone is sufficient for the definition of , but not for this derivative conclusion.
Past exam of the mathematics course of the University of Cambridge 2011 ii Paper 3 39A i Solution Created 2026-09-24 Updated 2026-10-14
Put and , with for fixed . Substitute a smooth exact solution of the heat equation into the Adams-Bashforth method. Define its one-step defect as the left side minus the right side of the unscaled update. The centered finite difference satisfiesThe Taylor expansion in time givesSince and , the first two terms cancel, leavingThis is the requested local error of the unscaled update. If “local truncation error” denotes the defect divided by , it is instead under fixed : the centered spatial error is then . The scheme is second order in time at fixed spatial discretization, which is a separate order statement.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 341 7 Solution Created 2026-10-03 Updated 2026-10-14
For a fully discrete linear partial differential equation evolution, write in a specified discrete norm. Finite-time stability of a numerical method meanswith independent of the allowed meshes. For a multistep method, augment the state with its time-history values and include a stable starter. Bounds may grow as when the continuous problem has growth; demanding decay for all time would be a stronger assertion. The treatment of initial data, forcing, Dirichlet boundary conditions, and the norm is part of the hypothesis, not a detail supplied by an interior calculation.
For constant coefficients on an infinite or periodic uniform grid, von Neumann stability analysis substitutes the Fourier mode . The discrete Fourier transform and the Parseval identity turn a uniform multiplier estimate into a discrete L2 norm estimate. In a one-step scalar scheme, proves contractivity, while gives finite-time stability. In a multilevel scheme, every root of a polynomial in its amplification polynomial of a multilevel finite difference scheme matters, as does uniform control of the associated companion matrix.
For the Forward Euler diffusion scheme with ,Thus for all frequencies exactly whenSufficiency follows since ; necessity follows from the highest-frequency mode on even periodic grids. This gives the usual parabolic mesh restriction . For the Backward Euler diffusion scheme,so every is stable. The Crank-Nicolson method hasagain of modulus at most one for all , but stiff modes approach rather than zero. These are PDE manifestations of the A-stability and L-stability distinctions for time integration.
For advection , assume and set . The upwind finite difference scheme is , withIt is contractive when . This also has a direct maximum-norm proof: each newest value is a convex combination of two old values. The resulting Courant–Friedrichs–Lewy condition expresses that the numerical domain of dependence covers the physical one. For negative , the upwind direction must be reversed. By contrast, Forward Euler method time stepping with the centered first finite difference has and for nonzero . Under fixed nonzero refinement it is unstable, since a fixed nontrivial mode grows geometrically over steps. This is not a claim of instability under every imaginable mesh coupling: instead bounds its spurious finite-time growth, since .
The leapfrog advection scheme illustrates a multilevel subtlety. Its amplification polynomial of a multilevel finite difference scheme isFor , both roots of a polynomial have unit modulus and separation at least . A uniformly conditioned eigenbasis of the companion matrix then proves power boundedness of a two-level Fourier scheme for arbitrary history data. At and a grid admitting , the roots coincide on the unit circle, and a Jordan block produces growth. Thus the endpoint fails the ordinary arbitrary-history root condition for a multistep method; checking only that both moduli equal one misses the instability. Restricting the starter or filtering the parasitic mode is an additional hypothesis.
The energy method handles variable coefficients and finite boundaries for which Fourier stability analysis may be unavailable. For the Backward Euler diffusion scheme with homogeneous Dirichlet boundary conditions, define . The discrete summation by parts identity isTake the inner product of with . The elementary identity givesThis proves unconditional contractivity including the actual boundary treatment. More generally, a dissipative operator gives of operator norm at most one: with , dissipativity implies , and the Cauchy-Schwarz inequality gives . In finite dimensions this also proves invertibility. For the second-order backward differentiation formula, the BDF2 discrete energy identity used in question 4 controls both time levels and proves unconditional diffusion stability. A repeated root strictly inside the disk is harmless here; the energy argument supplies the uniform bound without a singular eigenvector formula.
A second technique is eigenvalue stability analysis of a finite difference method. Under the method of lines, a time integrator advances by . If is a normal matrix, the scalar linear stability domain criterion on all controls its powers exactly in the corresponding L2 norm. For the centered Dirichlet discrete Laplacian, its eigenvalues lie between and zero; intersecting this interval with a time integrator's stability interval determines its mesh restriction. A uniform bound on the diagonalization of a matrix is needed for nonnormal diagonalizable systems. Eigenvalues alone can be misleading. For example,has both eigenvalues inside the disk for , but the upper-right entry of is . Taking , , this grows like . Hence stable scalar eigenvalues do not give mesh-uniform stability. Boundary closures can introduce precisely the extra growth that an interior Fourier symbol overlooks, so boundary stability of a finite-difference method must be checked separately.
For nonlinear spatial discretizations, a useful replacement for Fourier stability analysis is a convexity argument. If the Forward Euler method map is nonexpansive in a chosen norm for , the second-order strong stability preserving Runge-Kutta methodis also nonexpansive under the same restriction. Indeed, for two inputs, the triangle inequality gives . Its Taylor expansion is , proving order two. Such strong stability preserving Runge-Kutta methods transfer suitable forward-step bounds without relying on a linear spectral calculation.
Finally, consistency of a numerical method explains what stability buys. For a linear Hadamard well-posed problem, the Lax equivalence theorem equates convergence of a consistent discretization with its stability, under the stated approximation-space and norm hypotheses. Directly, if the error satisfies , iteration gives the discrete Duhamel principleThus vanishing normalized local truncation error and initial error yield convergence. With a nonlinear Lipschitz step estimate, the discrete Gronwall inequality plays the same role. A stable but inconsistent stencil, such as the literal defective formulas in questions 3 and 4 under their usual refinement, is not rescued by any amplification bound. The decisive checks are a mesh-uniform evolution bound, a valid boundary closure, and consistency with the actual PDE.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 15D e Solution Created 2026-09-24 Updated 2026-10-03
Compose the two constructions in part (d) to obtainusing two queries to . Forover , the finite difference isThis is affine with slope . Apply the one-query affine procedure from part (c) to the implemented oracle . It returns with certainty, after which the fixed classical computationrecovers the quadratic coefficient. Since one use of consists of one use each of and , the algorithm makes exactly two calls to the original oracle .
Consider the discrete linear system withThis is a finite periodic analogue of the Poisson equation, using the negative second finite difference with unit grid spacing. It is also a Graph Laplacian equation on a cycle graph; no continuum approximation is being claimed here.
Summing the four equations gives zero on the left, since each value occurs twice positively and twice negatively. A necessary condition is therefore . The Fourier diagonalization of a circulant matrix shows that this is also sufficient: the only zero eigenvalue of is the constant mode , and .
For the displayed forcing, the discrete Fourier transform givesDivide only at the three nonzero eigenvalues, and choose to impose zero arithmetic mean:Direct substitution gives . All other vectors satisfying the linear system are , because the kernel is the space of constant vectors. Thus balanced forcing determines the differences between values, while a reference level is an extra choice. This small model explains why a periodic Poisson equation needs both a compatibility condition and a normalization.
Reaction-diffusion spectral decay threshold Created 2026-10-14 Updated 2026-10-18
On the unit interval with zero Dirichlet boundary conditions, has sine-mode growth rates . Every finite-energy initial condition decays exactly when the largest rate is negative, namely . A centered finite difference grid with has eigenvectors and growth rates . Its all-data decay threshold is the displayed , strictly less than and approaching it from below. Equality leaves a stationary lowest mode; exceeding the threshold allows growth.
Richardson extrapolation 2026-10-14
Richardson extrapolation improves an approximation by combining two resolutions so that their leading truncation errors cancel. The useful surprise is that the size of that leading error need not be known: its scaling under refinement is enough. This lets an existing finite difference method or quadrature rule produce a more accurate answer from two runs, without first deriving a new method from scratch.
Suppose approximates a fixed limit as the positive resolution parameter tends to zero, with an asymptotic expansionHere is known, is independent of , and denotes Big O notation. The same asymptotic expansion, with the same , must describe both and . Nested grids make it natural to reuse samples, although nesting itself does not establish this error model. Define the linear combinationThe weights sum to one, preserving , while . Thus Richardson extrapolation gives : the next available term in the asymptotic expansion determines the improved order. Justin Solomon's numerical analysis text develops this cancellation for finite differences and applies it to numerical integration.[ref]
https://people.csail.mit.edu/jsolomon/share/book/numerical_book.pdf. Justin Solomon, Numerical Algorithms, §14.3.3 and Exercise 14.9
Geometrically, regard the approximation as a function of . Its first two terms are a straight line . The two computed points lie at positive ; extending the line through them to gives . This is why the operation is extrapolation: it estimates a value outside the sampled parameter interval. The remaining curvature corresponds to the uncancelled terms of the asymptotic expansion.
Worked example: a centered derivative of sine. For the smooth function , the exact derivative at is . The centered difference quotient, a central finite difference, isThe Taylor series of sine gives the signed truncation errorThus , and . Halving divides the leading truncation error by four. Combining the two centered difference quotients with Richardson extrapolation givesIndeed, the coefficient becomes ; the coefficient vanishes. This is the even-power case of Richardson extrapolation discussed in Persson's authored lecture notes.[ref]
https://persson.berkeley.edu/math128a/lecture_notes/math128a_lecture_notes_chapter_4.html. Per-Olof Persson, Math 128A, Chapter 4, §§4.1–4.2
For and , the actual computations areThe absolute error drops from about for to for , an improvement by roughly a factor of 498. Refining again gives , whose absolute error is about . The refined truncation errors decrease by nearly four for and nearly sixteen for , reflecting their second and fourth orders.
Centered sine derivative errors: second order before Richardson extrapolation and fourth order after cancellation
. Source. Details. The logarithmic scale on each axis turns power laws into straight lines. The dashed reference curves are and , the magnitudes of the leading truncation errors. The plotted errors are computed with 70-digit decimal arithmetic, rather than clipped to a display floor; this isolates the asymptotic expansion from roundoff error.
Worked example: integrating an exponential. Approximate the definite integral of the exponential function on :For numerical integration, the composite trapezoidal rule adds the areas of trapezoids between successive samples; this is the quadrature use of the endpoint average that also occurs in the ODE trapezoidal rule. On equal intervals, with , defineSumming the geometric series gives . Expanding the exponential function near zero yieldsThe leading truncation error again has , . On the uniform nested grids with and intervals, Richardson extrapolation therefore givesThis linear combination is exactly composite Simpson's rule on the finer grid, whose spacing is . On each coarse panel, an old endpoint receives weight and the new midpoint weight ; shared old endpoints receive weight . These are the usual Simpson's rule weights multiplied by . The equivalence is explained directly in LeMesurier's university notes.[ref]
https://lemesurierb.people.charleston.edu/elementary-numerical-analysis-python/notebooks/definite-integrals-3-simpson-richardson.html. Brenton LeMesurier, MATH 375, §19.1: The Basic Simpson's Rule by Richardson Extrapolation
For two coarse panels and four fine panels,The absolute errors are about , and , respectively. Reusing the fine-grid samples makes Richardson extrapolation especially attractive here: the resulting Simpson's rule needs no samples beyond those already used by .
Exponential quadrature on nested grids: trapezoidal areas, reused sample nodes, and the fourth-order Simpson combination
. Source. Details. When the improvement is justified. Richardson extrapolation requires the stated asymptotic expansion and the correct positive . If the actual leading exponent is , its coefficient after combination is , so the leading truncation error generally remains. Merely knowing does not supply a common coefficient or a higher-order remainder. A discontinuity of a function, a singular endpoint, or unrelated changes between grids can invalidate the assumed asymptotic expansion; refinement alone does not guarantee improvement for every numerical problem.
Roundoff error and errors in the sampled values survive the cancellation of truncation error. If the coarse and fine values have absolute perturbations bounded by , the perturbation in is bounded by ; for this is . In floating-point arithmetic, a centered difference quotient can also amplify sample errors through division by , so an indefinitely smaller need not be more accurate. Persson's notes describe this balance between truncation error and roundoff error.[ref]
https://persson.berkeley.edu/math128a/lecture_notes/math128a_lecture_notes_chapter_4.html. Per-Olof Persson, Math 128A, Chapter 4, §4.1: Roundoff Error Instability
The same cancellation idea appears in step-doubling error estimation. For an order- one-step method for an ordinary differential equation, two half steps each contribute local truncation error of order , so their accumulated leading local error has ratio to one full step. This explains the denominator there; the appropriate exponent follows from that local error model, rather than automatically from a generic use of Richardson extrapolation.
Second-difference analyzing function 2026-10-14
The Haar wavelet provides an explicit one-vanishing moment comparison:It cancels a constant polynomial, but not a nonconstant affine function. To obtain two vanishing moments by an equally transparent construction, take three adjacent unit intervals with heights proportional to :The L2 norm normalization follows from . Direct integration givesThus has exactly two vanishing moments. In fact its coefficient is a finite difference of adjacent local integrals:The weights are those of the second-order central difference. The first moment balances the centres of the three intervals; it is not enough merely to balance their signed areas.
Signed overlaps of the Haar and second-difference analyzing functions with constant, linear, and quadratic test polynomials
. Details. This is a normalized analyzing function, with no orthonormal basis assertion. Indeed, its unit translate has nonzero L2 inner product:Hence these translates already fail orthogonality. The Daubechies wavelet construction imposes additional refinement and orthogonality requirements; two vanishing moments and unit L2 norm by themselves do not supply those requirements.
Telescoping sum Created 2026-10-14 Updated 2026-10-20
A telescoping sum cancels intermediate sequence terms, leaving boundary terms. For a finite sequence of real numbers , the displayed identity follows because every occurs once with each sign. Applying it to an infinite series also requires checking the limit of the boundary terms; finite cancellation alone does not prove that the series is a convergent series.[ref]
5.2 Infinite Series. Calculus Volume 2, §5.2 Infinite Series: Telescoping Series definition and successive partial-sum identities
For , expanding the finite sum givesNo monotone sequence assumption is required. Consider the original sequence . Its successive finite differences are , soThe large intermediate rise and fall disappear from the net change. This is useful whenever one knows successive changes rather than every absolute value: adding the changes reconstructs the final value from the initial one. It also checks a cumulative-update calculation without requiring all increments to be positive.
Opposite signs cancel the intermediate sequence terms, leaving the final value minus the initial value
. Original nonmonotone sequence . Linked green entries have the same magnitude and opposite signs; the unmatched entries are and . The increments are , whose sum is one. Details.A finite difference measures one discrete change. The identity is the discrete counterpart of the fundamental theorem of calculus: accumulation of changes returns the endpoint difference. The related summation by parts transfers a finite difference from one factor of a product to another, with explicit boundary terms.
Tridiagonal matrix algorithm 2026-10-14
The Thomas algorithm is Gaussian elimination specialized to a tridiagonal matrix: each row couples an unknown only to its immediate neighbours. Eliminating one unknown changes just the next diagonal entry and right-hand side. Provided all pivot elements are nonzero, a forward sweep followed by back substitution solves an -unknown linear system in time and storage, using Big O notation. Treating the same entries as a full matrix wastes the zeros: classical dense LU factorization and solve costs grow cubically for factorization and quadratically for storage.
A concrete reason to care is the Dirichlet Poisson solution by tridiagonal elimination: a three-point finite difference for the second derivative couples adjacent points on a mesh, producing precisely this tridiagonal matrix. The same structure occurs in one-dimensional Crank-Nicolson method calculations. NPTEL's archived Lecture 13 introduces the Thomas algorithm from that time-stepping problem and labels the procedure “Thomas algorithm (1949)”.[ref]
Thomas algorithm (NPTEL Lecture 13). Lecture 13, Thomas algorithm: opening historical attribution and Crank Nicolson motivation
Truncation error Created 2026-09-29 Updated 2026-10-14
Truncation error is introduced by replacing an exact operation with a finite approximation. It remains even when all arithmetic is exact. For , the forward finite difference for its derivative at givesThus the truncation error is exactly : gives and gives . In finite precision, however, the numerator subtracts nearly equal values, and their roundoff error can be amplified by division by . For smooth data with bounded evaluation errors of scale , a typical bound has competing terms . Smaller reduces the first term and increases the second; with fixed positive constants the balancing scale is . This is why blindly refining a finite difference eventually stops improving it.
For fixed and , uniform convergence of normalized finite differences to , uniform continuity of , and imply uniformly. Positivity and partition of unity make Bernstein polynomials contractions in the supremum norm. Consequently . The differentiability assumption is essential; continuity alone does not define the target derivative.
Weighted Jacobi method for the one-dimensional Poisson equation Created 2026-10-03 Updated 2026-10-18
For the centered second-difference matrix with diagonal and off-diagonals , the weighted-Jacobi eigenvalues areThe method converges for every grid size exactly when .
Multiplying both and by leaves and the weighted Jacobi method unchanged. Thus the same formula applies to the positive second-difference matrix with diagonal and neighboring entries , the finite difference form of the one-dimensional Poisson equation with Dirichlet boundary conditions. Its eigenvectors have components , and has eigenvalues . At , upper-half modes have factors between and , while low-frequency factors remain close to one on fine grids. This explains why the weighted Jacobi method helps a multigrid method by reducing oscillatory errors, even when it is a slow solver on its own.[ref]
CS267: Supplemental Notes for Lecture 17 — How Multigrid Damps High Frequencies by James Demmel. Error eigenvector expansion, coefficient 1/3 + (2/3) cos(jπ/2^i), and concluding upper-half-frequency attenuation statement
Weyl differencing 2026-10-14
Taking a finite difference lowers the degree of a polynomial phase. For , expand by shifts and apply the Cauchy-Schwarz inequality to those shift sums. This gives , where enforces that lie in . Although individual terms can be complex, the entire sum is real and nonnegative because it equals a sum of squares. For , the phase is .




