








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!









A topic-by-topic guide covering Euler and Taylor series methods, Runge-Kutta methods,
stability theory, linear multistep methods, and the Dahlquist barriers — with full derivations
and worked examples throughout.
Original study notes — independently written summary and explanation
Let f(·,·) be continuous in a region containing the rectangle D = {(t,y) : t₀≤t≤T, |y−y₀|≤K}, for
positive constants T and K. Suppose there exists a Lipschitz constant L>0 such that |f(t,u)
−f(t,v)| ≤ L|u−v| whenever (t,u),(t,v) ∈D. Since D is closed and bounded, there is a non-
negative constant Mf = max{|f(t,u)| : (t,u) ∈D}; assume Mf(T−t₀) ≤ K.
Then there exists a unique, continuously differentiable function y(t) defined on [t₀,T]
satisfying the IVP. The Lipschitz condition can be replaced by the stronger (but often easier
to check) assumption that f is continuous in t and continuously differentiable in y, meaning
∂f/∂y is a continuous function of t and y.
For dy/dt = f(t,y), t ∈[a,b], y(a)=y₀ with a unique solution, let h=(b−a)/N. Since y(t) is twice
continuously differentiable, a Taylor expansion gives y(t₁) = y(t₀) + hy′(t₀) + (h²/2)y″(c) for
some c between t₀ and t₁. If h is small, h² is very small, giving the approximation:
y(n+1) = y ₙ + h·f(t , y )ₙ ₙ
This is Euler's method: taking h small enough minimises the error and gets the method to
converge.
Assumptions: the IVP has a unique, twice continuously differentiable solution on [a,b]; f is
continuous with continuous partial derivative in y; |∂f/∂y| ≤ L for some L>0. Define the error
e ₙ = y ₙ − y(t ). The proof strategy: (1) bound the error eₙ ₙ ≤ B ₙ for all n; (2) show B →0 asₙ
h→0.
Subtracting the Taylor expansion y(t(n+1)) = y(t ) + h·f(t ,y(t )) + (h²/2)y″(τ ) from the Eulerₙ ₙ ₙ ₙ
update y(n+1) = y ₙ + h·f(t ,y ), and using continuity of y″ (so |y″(t)|≤M for some M, by theₙ ₙ
extreme value theorem) together with the Mean Value Theorem applied to f(t ,y )−f(t ,y(t )),ₙ ₙ ₙ ₙ
gives:
|e(n+1)| ≤ (1+hL)|e | + (h²/2)Mₙ
This is a recurrence of the form v ₙ₊₁ ≤ A·v ₙ + B, which has the closed-form bound v ₙ≤ Aⁿv₀ +
[(Aⁿ−1)/(A−1)]B. Substituting A=1+hL, B=(h²/2)M, and using (1+hL)ⁿ < e^(nhL) (from the
Taylor series of the exponential) together with nh=b−a, gives the final bound:
|e | ≤ e^((b−a)L) · (M/2L) · h → 0 as h → 0ₙ
(with the constant independent of N and h). The error goes to zero as h goes to zero,
proving convergence. Since the error scales linearly in h, Euler's method converges, but only
slowly — |e | = O(h).ₙ
z = O(hᵖ) if there exist h₀, C>0 such that |z| ≤ C·hᵖ for all 0
Given s distinct points c₁<...
For an autonomous ODE f(y): ℝᵈ→ ℝᵈ, using the chain rule repeatedly gives the derivatives
of the true solution: y′=f, y″=f′f, y‴=f″(f,f)+f′f′f. Comparing the Taylor expansion of the true
solution against the Taylor expansion of a general flow map Φ (y) = y+hf+(h²/2)f′f+(h³/6)(f″ₙ
(f,f)+f′f′f)+O(h⁴):
Order 1 (matching the O(h) term): differentiating z(h) = Ψ (y) at h=0 gives z′(0) = Σᵢbᵢf(Yᵢ(0))ₙ
= (Σᵢbᵢ)f(y), so for at least first-order consistency we need:
Σᵢ bᵢ = 1 (first order condition)
Order 2: differentiating again and evaluating at h=0 (using the simplifying condition Σ aᵢ =cᵢ)ⱼ ⱼ
gives z″(0) = 2(Σᵢbᵢcᵢ)·f′(y)f(y), leading to the condition:
Σᵢ bᵢcᵢ = 1/2 (second order condition)
Order 3: continuing this expansion gives two further conditions:
Σᵢ bᵢcᵢ² = 1/3, Σᵢ Σ bᵢaᵢ c = 1/6ⱼ ⱼ ⱼ
These are the classical RK order conditions — a method satisfying all conditions up to a
given order achieves that order of consistency (and, combined with stability, that order of
convergence).
Applying a numerical method to the scalar test equation y′=λy, λ,y ∈ℝ (or ℂ) gives yⁿ =
[R(hλ)]ⁿy₀ for some function R, the stability function of the method:
Explicit methods have R a polynomial in hλ (R(hλ)=P(hλ)); implicit methods have R a rational
function, R=P/Q, for polynomials P and Q.
Writing the stage equations for y′=λy in vector form, (I−hλA)Y = y ·ₙ 𝟙 , Cramer's rule gives
each stage Yᵢ as a ratio of polynomials in hλ (since the determinant of a matrix is a
polynomial function of its entries). Substituting into y(n+1)=y +hλ·bᵀY gives, afterₙ
simplification:
R(hλ) = 1 + hλ·bᵀ(I−hλA) ¹⁻ 𝟙
If the RK method is explicit (aᵢ =0 for j≥i), then A is strictly lower triangular, so det(I−hλA)=1ⱼ
— confirming explicit methods always have polynomial stability functions.
The (absolute) stability region for a method is {μ ∈ℂ: |R(μ)|<1}. For Euler, this is the disk of
radius 1 centred at −1; for the trapezoidal rule, it is the entire left half of the complex plane {μ
: Re(μ)<0} — since |1+μ/2|<|1−μ/2| is equivalent to μ/2 being closer to −1 than to +1, which
holds exactly when Re(μ)<0.
A method is A-stable if its stability region contains the entire left half of the complex plane —
equivalently, y=0 asymptotically stable for the ODE implies y=0 asymptotically stable for
the numerical method, for every h>0 and every eigenvalue with negative real part, with no
restriction on step size. Trapezoidal rule is A-stable; Euler is not. Generally: implicit methods
often have no step-size restriction; explicit methods generally do.
For the general linear ODE y′=By, B ∈ℝ^(d×d), if the eigenvectors u₁,...,ud of B form a basis,
diagonalising via M=[u₁|...|ud] and Λ=M ¹BM gives a decoupled system. Applying any RK⁻
method and changing variables to z=M ¹y reduces the problem to d independent scalar⁻
equations dzᵢ/dt=λᵢzᵢ — so stability of y*=0 for the full system reduces exactly to checking |
R(hλᵢ)|<1 for every eigenvalue λᵢ of B (Theorem 4.5.1 and its Corollary).
A k-step LMM (k ∈ℕ) is defined by:
Σ ⱼ₌₀ᵏ α y(n+j) = h·Σ ⱼ ⱼ₌₀ᵏ β f(y(n+j)) ⱼ
with parameters α ,βⱼ ⱼ∈ℝ, h>0. We require αk≠0 (so y(n+k) appears on the LHS) and α₀≠0 or
β₀≠0 (otherwise it's really a (k−1)-step method). The method is explicit if βk=0 (y(n+k)
depends only on already-known values); otherwise implicit. The recursion can only compute
y ₙfor n≥k, so it must be supplemented with initial values y₁,...,y(k-1) (typically from a one-
step method).
α₁y(n+1)+α₀y ₙ = h(β₀f(y )+β₁f(y(n+1))). The θ-method, y(n+1) = yₙ ₙ + h[(1−θ)f(y )+θf(y(n+1))],ₙ
has α₁=1, α₀=−1, β₀=1−θ, β₁=θ, for θ ∈[0,1]. This unifies three familiar methods: θ=0 gives
Euler; θ=1 gives implicit Euler; θ=1/2 gives the trapezoidal rule.
The leapfrog method y(n+2) = y ₙ+ 2h·f(y(n+1)) has α₂=1, α₁=0, α₀=−1, β₀=β₂=0, β₁=2.
The Adams-Bashforth family has αk=1, α(k-1)=−1, α =0 for j=1,...,k−2 (explicit, so βk=0); theⱼ
remaining β are chosen for accuracy properties. Examples: k=1 recovers Euler; k=2 givesⱼ
y(n+2) = y(n+1) + h[(3/2)f(y(n+1)) − (1/2)f(y )]; k=3 gives y(n+3) = y(n+2) + h[(23/12)f(y(n+2))ₙ
− (4/3)f(y(n+1)) + (5/12)f(y )].ₙ
Adams-Bashforth methods can be derived by constructing an interpolating polynomial πk,f(t)
(of degree at most k−1) through the k points (t ,f(y )),...,(t(n+k-1),f(y(n+k-1))), then using thisₙ ₙ
polynomial to approximate f when integrating the ODE from t(n+k-1) to t(n+k):
y(n+k) − y(n+k-1) = ∫ f(y(t))dt ≈ ∫ πk,f(t) dt
Worked derivation of AB2: with π₂^f(t) built from (t ,f(y )) and (t(n+1),f(y(n+1))) via Lagrangeₙ ₙ
interpolation, integrating over [t(n+1),t(n+2)] and simplifying the resulting integrals gives
exactly y(n+2)−y(n+1) = −(h/2)f(y ) + (3h/2)f(y(n+1)) — matching the AB2 formula above.ₙ
An elegant alternative approach treats differentiation as an algebraic operator. Define the
shift operator Es g(t)=g(t+s), the forward difference operator Δs g(t)=g(t+s)−g(t), the
backward difference operator ∇s g(t)=g(t)−g(t−s), and the differentiation operator Dg(t)=g′(t).
A Taylor expansion shows Eh = e^(hD) exactly (as operators). Since Δh = Eh−1 = e^(hD)−1,
this gives D = (1/h)ln(1+Δh). Similarly, since Eh ¹ = e^(−hD), and⁻ ∇h = 1−Eh ¹ = 1−e^(−hD), ⁻
this gives D = −(1/h)ln(1− ∇h).
Expanding ln(1−x) = −Σ xⁿ/n (convergent for −1≤x≤1) gives D = (1/h)Σ ₙ ∇hⁿ/n = (1/h)( ∇h +
(1/2) ∇h² + (1/3) ∇h³ + ...). BDF methods approximate D by truncating this series:
The residual of a LMM at time t(n+k) is r ₙ = Σ α y(t(n+k)) − h·Σ β y′(t(n+k)) — it measures howⱼ ⱼ ⱼ ⱼ
well the true ODE solution y satisfies the equation defining the LMM. A LMM has order of
consistency p if r ₙ= O(h^(p+1)).
Taylor-expanding y(t(n+j)) and y′(t(n+j)) around t ₙ and substituting into r ₙleads, after
collecting terms order by order in h, to the order conditions for LMMs:
Σ α = 0ⱼ ⱼ (order ≥ 0 / consistency)
Σ α ·j = i·Σ β ·j^(i-1),ⱼ ⱼ ⁱ ⱼ ⱼ for i=1,...,p
Worked example: verifying that the leapfrog method (α₂=1,α₁=0,α₀=−1, β₁=2, others zero)
satisfies these conditions for i=0,1,2 but fails at i=3 — confirming the leapfrog method has
order of consistency exactly p=2.
Associated to a LMM are the first characteristic polynomial ρ(z) = Σ α zʲ and secondⱼ ⱼ
characteristic polynomial σ(z) = Σ β zʲ, for zⱼ ⱼ ∈ℂ.
Consistency alone is not sufficient to guarantee convergence of a LMM — a crucial and
easy-to-miss point. Applying a LMM to the trivial equation y′=0 (constant solution) gives the
linear recurrence Σ α y(n+j)=0, whose general solution is yⱼ ⱼ ₙ = ΣΣ cᵢ ·nⱼ ⁱ⁻¹·ẑ ⁿ, where ẑ are the ⱼ ⱼ
distinct roots of ρ(z), each with multiplicity m .ⱼ
For |y | to remain bounded as n→∞, we require |ẑ |≤1 for all roots; and if any root hasₙ ⱼ
multiplicity m >1, we further require the strict inequality |ẑ |<1 (since nⱼ ⱼ ⁱ⁻¹ẑ ⁿ→0 as n→∞ for i≥1 ⱼ
only if |ẑ |<1 strictly).ⱼ
Definition (Root Condition): a LMM satisfies the root condition if all roots z of ρ(z) satisfy |z|
≤1, and all roots with multiplicity greater than 1 satisfy |z|<1. Note that z=1 is always a root of
ρ(z) for a consistent method of order p≥1, since Σ α =Σ α ·1ʲ=ρ(1)=0 is exactly the order-0ⱼ ⱼ ⱼ ⱼ
consistency condition.
Assume f is sufficiently smooth and a LMM uses an initialisation y₁,...,y(k-1) such that
lim(h→0)|y −y(t )|=0 for j=1,...,k−1. Then the numerical solution yⱼ ⱼ ₙconverges to the true
solution on any finite time interval as h→0 if and only if the LMM has order of consistency
p≥1 and satisfies the root condition.
If additionally |y −y(t )|=O(hᵖ) for the initialisation, then max(0≤n≤N) |y −y(t )| = O(hᵖ) — theⱼ ⱼ ₙ ₙ
order of convergence matches the order of consistency.
Theorem: the maximum achievable order for a k-step LMM is:
This is a hard structural limit — no amount of clever coefficient choice can exceed it for a
given number of steps, and it explains why implicit methods can achieve meaningfully higher
accuracy than explicit ones for the same computational "memory" (number of steps k).
Applying a LMM to the test equation y′=λy gives Σ (α −zβ )y(n+j)=0 with z=λh, whoseⱼ ⱼ ⱼ
characteristic equation is exactly ρ(z)−zσ(z)=0. The (absolute) stability region of a LMM is:
S = {z ∈ℂ: all roots of ρ(z)−zσ(z)=0 satisfy |z|<1}
y →0 as n→∞ if hλₙ ∈S. The boundary of S is characterised by the locus where a root has |z|
=1, i.e. z=e^(iθ); on this boundary, z = ρ(e^(iθ))/σ(e^(iθ)) for θ ∈[−π,π] — this parametrisation
(the "boundary locus method") is the standard practical way to plot a LMM's stability region.
A LMM is A-stable if S contains the entire left half of the complex plane — i.e. asymptotic
stability of y=0 for the ODE implies asymptotic stability of y=0 for the LMM, for all h>0.
Any A-stable LMM has order of convergence p≤2. This is a remarkably strong and surprising
restriction: no matter how many steps k are used, an A-stable linear multistep method can
never exceed second-order accuracy — a genuine structural ceiling that distinguishes LMMs
from RK methods (which can be both A-stable and high order, e.g. implicit RK methods of
order ≥4 exist that are A-stable).
A weaker, more flexible notion: a LMM is A(α)-stable, for some angle α ∈(0,π/2), if S
contains an α-wedge in the left half-plane, {z ∈ℂ : |arg(z)−π| < α} ⊆S — i.e. all points within
angle α of the negative real axis. This allows higher-order methods to still have useful (if not
unconditional) stability guarantees, trading off the size of the stable region against
achievable order.
This guide was written independently as a personal revision resource, condensing and
explaining the core concepts and derivations covered across a Numerical ODEs and
Applications module. It is intended to support understanding and exam preparation rather
than to replace engagement with the original course material.