M06 — Elliptic, parabolic, hyperbolic
A second-order equation carries its class in three coefficients, and the class decides what a solver must respect: an equilibrium that is settled everywhere at once, a diffusion that forgets its start, or a wave that arrives at a finite speed. Each class brings its own failure: a time step tied to , a time step tied to , or an iteration count that grows with the mesh.
Book pages: Reading the class off the equation, Elliptic, Parabolic (and
Why the time step is tied to the square of the mesh), Hyperbolic (and The
condition a wave equation imposes) in books/numerical-methods.
The question. Why does an explicit heat solver need , an explicit wave solver only , and a steady (elliptic) solve no time step at all, yet still slows down as the mesh is refined?
By the end you can:
- classify a second-order equation from , and say what each class means physically
- derive the explicit heat limit from the von Neumann growth factor, and recognise the blow-up
- explain why an implicit step is stable for every , and what it still costs
- measure a scheme's order with a convergence table, and say what it mixes
- state the CFL condition as a domain-of-dependence argument
- predict Jacobi's iteration count on Laplace's equation from its spectral radius
Assumes: M01 (convergence tables), M03 (linear systems), M05 (eigenvalues and spectral radius), and Taylor series.
How to use it: predict before you reveal, commit before you check, and move the controls until the equation's behaviour stops surprising you.
Warm-up: from earlier notebooks (closed book)
1. Reading the class
Setting: the problem, its sets and its symbols
Problem. Given an open and coefficients , not all zero, of a linear equation for , find at each point its class and its characteristic slopes , the real roots of .
| Symbol | In | Meaning |
|---|---|---|
| the independent variables; is for heat and wave | ||
| the unknown | ||
| the coefficients of , , ; constants on the sliders | ||
| a characteristic slope | ||
| the discriminant | ||
| exponents of the trial in the sympy classifier |
How these symbols connect
On an open region , the second-order coefficients of define, at each point , the quadratic for characteristic slopes . Its discriminant counts the real roots — two, one, or none — and assigns the equation's class at that point, independent of lower-order terms. Substituting the exponential trial reads off automatically as the coefficients of .
Symbol-by-symbol notes
$x,\ y$ — space–space or space–time
Both independent variables live in and enter the same classification algebra, whether are two spatial coordinates (Laplace) or space and time (heat and wave).
$A,\ B,\ C$ — pointwise functions, all on one side
In general can vary with so the class can change across , although the sliders fix constant values. Move every second-order term to the same side of the equals sign before reading , or a sign slip in or flips the sign of .
$m$ and $\Delta$ — characteristic slopes and discriminant
A characteristic slope solves (vertical characteristics occur when ). The sign of counts the real slopes at : positive gives two (hyperbolic), zero gives one (parabolic), and negative gives none (elliptic).
$p,\ q$ — symbolic probe exponents
Used only inside the SymPy helper classify: differentiating pulls down for each and for each . Dividing out leaves a polynomial whose degree-2 coefficients are .
Move every term to the left of a linear second-order equation in two variables:
A characteristic is a direction along which the equation does not fix the second derivative across it, so a disturbance can travel there. Its slope solves , a quadratic, so the number of real directions is decided by its discriminant
Physically: two directions means signals travel both ways at a finite speed (waves); one means the answer marches forward and smooths (diffusion); none means nothing travels, and every point feels every boundary at once (equilibrium). Start at Laplace (, ) and find the at which a direction first appears.
| quantity | value |
|---|---|
| -4 | |
| class | elliptic |
| real slopes | none |
Let the computer read the coefficients. Substitute : each second derivative returns a factor , or , so , , are the coefficients of those monomials, and lower-order terms land at lower degree and are ignored. The sympy helper above does exactly that.
| equation | class | |
|---|---|---|
| Laplace: | elliptic | |
| Heat: | parabolic | |
| Wave: | hyperbolic | |
| Cross: | hyperbolic | |
| Mixed: | depends on position |
The last row has : hyperbolic for , parabolic on , elliptic for . The class is a property of a point, not of an equation.
When the discriminant test breaks
- Assumes: a linear second-order equation in two variables, read at one point
- When it fails: with variable coefficients the class can change across the region ( has ); with three or more variables a single discriminant no longer exists
- Check: evaluate over the whole region, or the signs of the coefficient matrix's eigenvalues in more variables
2. Parabolic: the explicit heat scheme and its limit
Setting: the problem, its sets and its symbols
Problem. Given a diffusivity , a start with and a horizon , find with , and , approximated by FTCS on a grid; and find the mesh ratios for which the grid values stay bounded as .
| Symbol | In | Meaning |
|---|---|---|
| the temperature, the unknown; dimensionless here | ||
| diffusivity, m/s; here | ||
| the start: the triangle | ||
| mesh spacing with (21 nodes), and time step | ||
| nodes , ; times , | ||
| the scheme's value at , held at zero for | ||
| the mesh ratio , set by the slider | ||
| phase per cell of a Fourier mode | ||
| the growth factor per step of the mode with phase |
How these symbols connect
Given diffusivity () and initial profile on with zero endpoints, the continuous problem seeks the temperature solving up to . Discretising onto nodes and times produces grid values updated explicitly by FTCS, where , and enter only through the dimensionless mesh ratio . Testing a single Fourier mode of cell phase gives its per-step growth factor , which decides whether remains bounded as grows.
Symbol-by-symbol notes
$u_i^n$ — superscript is time level, not a power
The subscript indexes space and the superscript indexes time (not an exponent). The endpoints stay fixed, so only the interior values are updated.
$r = \alpha\Delta t/\Delta x^2$ — dimensionless mesh ratio
With in , in and in , the units cancel so is dimensionless. Because is squared in the denominator, holding fixed ties quadratically to .
$\theta$ — phase per grid cell
A discrete spatial wave advances in phase by radians from node to node . The interval covers every grid-resolvable wavelength by symmetry, from a flat mode () to the shortest node-to-node alternating mode (, where ).
$g(\theta)$ — per-step amplification factor
Substituting into the linear update multiplies each mode by per step, so after steps its amplitude scales by . A negative flips the mode's sign every step, while drives geometric growth.
$u_0$ — the triangle initial profile
rises linearly from at to at and returns to at . Its corner at the midpoint gives it a non-zero (though small) component in every high- Fourier mode.
Take on with at both ends. Forward in time, centred in space (FTCS):
The scheme sees and only through . Von Neumann: try one Fourier mode, , with the phase per cell. The bracket becomes , so
Stability needs for every . Smooth modes () have and are safe. The grid-scale sawtooth (, signs alternating node to node) has , and gives . With and that is . Halve and the step quarters: four times the steps, each over twice the nodes, so eight times the work to reach the same time.
The start is a triangle on 21 nodes. Physically it should only smooth and decay: a diffusing answer never exceeds its initial maximum.
What the explicit scheme does
Reveal result (lock in your prediction above first)
At : ; after 60 steps . The growth curves below, at three values of , are straight lines on a log axis once the sawtooth dominates: geometric growth.
At step 60 reaches 144. The triangle's sawtooth component is only about 0.005 at the start (the kink is the only non-smooth part), which is why the growth takes a few dozen steps to show. Run it longer and even blows up: 17 after 300 steps.
source: solvers/ot-solve/src/kernels/heat.rs:100-113
The browser kernel's step is the same line: next = u + r(u[i-1] - 2u[i] + u[i+1]), ends held at zero. It reports Unstable once max|u| passes .
let mut field = [0.0f64; CAP];
let norm = {
let state = a.state_mut();
let (u, rest) = state.split_at_mut(CAP);
let next = &mut rest[..CAP];
for index in 1..cells - 1 {
next[index] = u[index] + r * (u[index - 1] - 2.0 * u[index] + u[index + 1]);
}
next[0] = 0.0;
next[cells - 1] = 0.0;
u[..cells].copy_from_slice(&next[..cells]);
field[..cells].copy_from_slice(&next[..cells]);
grid::max_abs(&next[..cells])
};
When the explicit limit r ≤ 1/2 breaks
- Assumes: constant on a uniform mesh, so one describes every node
- When it fails: a variable or a stretched mesh has a local ; the largest one decides, and a single hot spot over the limit grows a sawtooth there
- Check: compute , and watch : a diffusing answer never exceeds its initial maximum
3. Parabolic: an implicit step
Setting: the problem, its sets and its symbols
Problem. Given §2's heat problem and grid and any mesh ratio , find with (backward Euler), and decide for which the step is stable and how accurate it is.
| Symbol | In | Meaning |
|---|---|---|
| the solution of , at ; | ||
| cells, , so | ||
| interior values at | ||
| the second difference: tridiagonal, on the diagonal, beside it | ||
| , set by the slider up to 10 | ||
| phase per cell of a Fourier mode | ||
| growth factors per step of backward Euler and Crank–Nicolson |
How these symbols connect
On §2's grid of cells () and dimensionless mesh ratio , stacking the interior unknowns into a vector expresses the spatial second difference as the tridiagonal matrix . Backward Euler evaluates that difference at the new time level, replacing the explicit update with the linear system at every step. Substituting a Fourier mode of cell phase defines the per-step growth factors and that govern stability and damping across all .
Symbol-by-symbol notes
$u^n$ — interior-node vector in $\mathbb{R}^{N-1}$
Because are fixed by the boundary conditions, they are omitted from . As in §2, the superscript marks time level , not a power.
$L$ — discrete second-difference matrix
has on the main diagonal and on the two adjacent diagonals, so with built in. The system matrix is symmetric and tridiagonal, so solving takes operations per step.
$g\lt em>{\text{BE}}$ vs $g\lt /em>{\text{CN}}$ — two implicit schemes
Both are per-step Fourier amplification factors over , analogous to in §2. Backward Euler evaluates the space difference solely at , while Crank–Nicolson averages the levels and equally.
$r$ — slider range past the explicit limit
is the same dimensionless ratio as in §2, with the slider extended up to to probe implicit behaviour far beyond FTCS's stability boundary.
Evaluate the space difference at the new time level instead (backward Euler):
Each step is now a tridiagonal linear system, (M03): operations by elimination, so not much dearer than an explicit step. Crank–Nicolson averages the explicit and implicit differences and is second order in time. Before substituting a Fourier mode, predict what the implicit step does past the explicit limit.
Reveal result (lock in your prediction above first)
The same Fourier substitution as in §2 gives
Both satisfy for every : unconditionally stable. Backward Euler's factor is also positive, so nothing flips sign. Move and watch where each factor sits in the band .
Stable is not accurate. Start from (exact solution ) and reach on the same 21-node grid with backward Euler. Every run is stable; the error grows with the step: at it is 28 times its value at .
| r | Δt | steps to t = 0.05 | backward Euler error |
|---|---|---|---|
| 0.4 | 0.001 | 50 | 0.002093 |
| 1 | 0.0025 | 20 | 0.004276 |
| 5 | 0.0125 | 4 | 0.018 |
| 20 | 0.05 | 1 | 0.05953 |
When an implicit step breaks
- Assumes: a long step is still short next to the time scale you care about
- When it fails: past that, it is stable and wrong: backward Euler over-damps, and Crank–Nicolson keeps near , so a kink rings instead of smoothing
- Check: halve and compare; if the answer moves by more than the tolerance, the step is set by accuracy, not stability
4. Measuring the order of a scheme
Setting: the problem, its sets and its symbols
Problem. Given the heat problem on , at both ends, , with exact solution , and FTCS at a fixed mesh ratio on grids , find the observed order such that the error at behaves like .
| Symbol | In | Meaning |
|---|---|---|
| the exact solution, | ||
| mesh spacing, halved per grid; the slider sets how many grids | ||
| time step , so it shrinks with the mesh | ||
| the fixed mesh ratio, one table column each | ||
| FTCS's value at , with at the last step | ||
| the error as a function of | ||
| observed order, , and the error constant |
How these symbols connect
For on with exact solution , fixing a mesh ratio and halving the spacing shrinks the time step via . Running FTCS to yields grid values , whose largest nodal discrepancy against defines the total error . Fitting across consecutive grid halvings produces the observed order for each column .
Symbol-by-symbol notes
$\Delta t = r\,\Delta x^2$ — coupled refinement
With held fixed down each column of the table, halving quarters and quadruples the number of steps to . The measured error therefore combines spatial and temporal discretisation errors into a single function of .
$E(\Delta x)$ — maximum nodal error at $t = 0.1$
is the -norm error over all grid nodes at the final time (dimensionless here, matching ). Comparing against the exact solution isolates discretisation error directly.
$p$ and $C$ — observed order and error constant
If , taking consecutive rows where halves gives , as in M01. The leading constant can depend on the chosen and on , not on .
$r \in \{0.4,\ 0.25,\ 1/6\}$ — three stable columns
All three ratios sit below §2's explicit stability bound , so every run is stable and the table measures convergence order rather than blow-up.
M01's convergence table works on a PDE exactly as on a derivative: run the scheme on grids , take the error against an exact solution, and read . Here the exact solution is at , and the scheme is FTCS at a fixed , so shrinks with the mesh.
Reveal result (lock in your prediction above first)
| Δx | error r=0.4 | error r=0.25 | error r=1/6 | order r=0.4 | order r=0.25 | order r=1/6 |
|---|---|---|---|---|---|---|
| 0.1 | 0.004294 | 0.00152 | 6.694e-06 | — | — | — |
| 0.05 | 0.001063 | 0.0003786 | 4.156e-07 | 2.015 | 2.005 | 4.01 |
| 0.025 | 0.0002649 | 9.457e-05 | 2.593e-08 | 2.004 | 2.001 | 4.002 |
| 0.0125 | 6.62e-05 | 2.364e-05 | 1.62e-09 | 2.001 | 2 | 4.001 |
Taylor's theorem explains it. The centred second difference is , the forward time difference is . With both errors are . Since for the heat equation (with ), the leading error is , which vanishes at and leaves .
The same stencil reads as order 2 or order 4 depending on how is tied to . A convergence table measures the total error, so a claim about the spatial order alone needs the time error made negligible (or cancelled) first. The trick is specific to this scheme and this equation; do not expect it elsewhere.
When a measured order breaks
- Assumes: every error source shrinks with the refinement you make, at a known rate
- When it fails: tying to mixes the time and space errors, so the table can show order 2 or 4 for the same spatial stencil
- Check: refine with held tiny to isolate the space error, then the other way round
5. Hyperbolic: the wave equation and the CFL condition
Setting: the problem, its sets and its symbols
Problem. Given a wave speed , a start , zero initial velocity and at , find with , , , approximated by leapfrog; and find how the Courant number decides whether the grid values stay bounded and how accurate they are.
| Symbol | In | Meaning |
|---|---|---|
| the displacement, the unknown | ||
| wave speed; here | ||
| the start: a Gaussian pulse of width 0.08 at , extended odd and 2-periodic, so d'Alembert's formula meets the fixed ends | ||
| the domain of dependence of | ||
| mesh spacing and time step | ||
| nodes , ; times , | ||
| leapfrog's value at ; is a fictitious level that encodes the zero velocity | ||
| the Courant number , set by the slider | ||
| phase per cell of a Fourier mode and its growth factor per step | ||
| the second difference, |
How these symbols connect
The wave equation (wave speed , initial shape , zero initial velocity, fixed ends ) carries information from the initial interval to the displacement . On the grid with and time step , leapfrog advances and using the spatial second difference weighted by , where is the dimensionless Courant number. Comparing the stencil's reach with — alongside a Fourier mode's phase and complex growth factor — shows how governs boundedness and accuracy.
Symbol-by-symbol notes
$f$ — odd, 2-periodic extension
Although the physical domain is with , is extended to all of by reflecting the Gaussian pulse oddly across and (period ). That extension makes d'Alembert's formula vanish identically at both endpoints, encoding inverted reflections.
$D(x, t)$ — physical domain of dependence
The closed interval on the initial line contains all initial data that can physically reach at speed . Changing outside has no effect on .
$\nu = c\,\Delta t/\Delta x$ — Courant number
With in , in and in , is dimensionless and counts how many grid cells a wave travels per time step. Notice enters linearly here, unlike for heat in §2.
$u^{-1}$ — fictitious level for zero initial velocity
Because leapfrog is a two-step recurrence needing both and to compute , starting at requires an extra level built from and the initial condition .
$\theta,\ g \in \mathbb{C}$ and $\delta^2$
Because leapfrog spans two previous time levels, substituting a Fourier mode of phase yields a quadratic in , so can be complex (capturing wave phase advance as well as amplitude). The discrete operator acts at interior nodes by .
with zero velocity at the start has d'Alembert's solution : the start splits into two halves that travel at speed and keep their shape. The value at depends only on the start in , its domain of dependence. Nothing outside that interval can affect it, however long you wait.
Centred differences in both time and space give leapfrog:
After steps node has read nodes to : an interval of half-width . The exact answer needs half-width , so the scheme can see what it must only if . That is the CFL condition: a scheme cannot be right where it cannot see. Von Neumann agrees: the factor solves , whose roots have product one, so exactly when for every , i.e. . Past it, for the shortest waves.
Here , , a Gaussian pulse of width 0.08 at , and the ends held at zero (the exact solution reflects with a sign change).
Reveal result (lock in your prediction above first)
, , . The leapfrog nodes sit on the exact curve: the largest gap is 1.1e-03, too small to see at this scale, and at the two coincide to rounding (the table's last row). Below, the domain of dependence of : the scheme's cone must contain the physical one.
| ν | steps | error | error, kernel's start |
|---|---|---|---|
| 0.5 | 40 | 0.004621 | 0.01313 |
| 0.8 | 25 | 0.002237 | 0.02507 |
| 0.9 | 22 | 0.00118 | 0.02936 |
| 1 | 20 | 6.661e-16 | 0.03339 |
The first error column starts with the Taylor step (zero velocity, second order). The kernel instead copies the start into the previous level, a first-order start, and that alone leaves the error in the last column at every . Now set and 100 steps: the shortest waves, present only at rounding level, have and take over.
source: solvers/ot-solve/src/kernels/wave.rs:115-135
The kernel's leapfrog step, with c2 the squared Courant number, and the rotation of the three time levels.
let c2 = courant * courant;
let mut field = [0.0f64; CAP];
let (norm, total) = {
let state = a.state_mut();
let (prev_block, rest) = state.split_at_mut(CAP);
let (u, rest) = rest.split_at_mut(CAP);
let next = &mut rest[..CAP];
for index in 1..cells - 1 {
next[index] = 2.0 * u[index] - prev_block[index]
+ c2 * (u[index - 1] - 2.0 * u[index] + u[index + 1]);
}
next[0] = 0.0;
next[cells - 1] = 0.0;
// Rotate the three time levels: prev <- u, u <- next.
prev_block[..cells].copy_from_slice(&u[..cells]);
u[..cells].copy_from_slice(&next[..cells]);
field[..cells].copy_from_slice(&next[..cells]);
let norm = grid::max_abs(&next[..cells]);
let total = energy(&u[..cells], &prev_block[..cells], cells, courant);
(norm, total)
};
When the CFL condition breaks
- Assumes: one known, constant wave speed
- When it fails: with a variable speed or a system, the fastest local wave decides; with a nonlinear equation the speed depends on the answer and can grow during the run
- Check: compute from the largest speed on the grid at every step; a conserved energy that drifts upwards is an instability starting
6. Elliptic: Laplace's equation by Jacobi iteration
Setting: the problem, its sets and its symbols
Problem. Given and boundary data , find with in and on . Discretised: find with by Jacobi iteration, and the number of sweeps that cuts the error by .
| Symbol | In | Meaning |
|---|---|---|
| the unit square, with boundary | ||
| the steady temperature, the unknown | ||
| on the top edge (), zero on the other three | ||
| interior nodes per side; on the slider | ||
| mesh spacing | ||
| the value at , | ||
| the five-point matrix times : on the diagonal, per neighbour; sparse and symmetric | ||
| the boundary values moved to the right-hand side | ||
| Jacobi's splitting, the diagonal | ||
| the iteration matrix | ||
| the error after sweeps, | ||
| the spectral radius, the largest eigenvalue modulus (M05) |
How these symbols connect
Laplace's equation on with boundary data on has no time variable: discretising on an interior grid of spacing couples all unknowns at once in , with known boundary values from moved into . Jacobi iteration splits out the diagonal of and sweeps repeatedly across the grid, so the error vector after sweeps obeys with iteration matrix . The spectral radius (M05) sets the asymptotic per-sweep decay factor and determines how many sweeps cut the error by .
Symbol-by-symbol notes
$n$ vs $h$ — interior nodes and mesh spacing
With interior nodes per side plus boundary nodes, each edge of the unit square is split into cells, so (not ). Stacking the interior grid gives unknowns, so , and are matrices.
$u \in C^2(\Omega) \cap C(\bar\Omega)$ and $g$
The solution is twice continuously differentiable in the open interior (so exists) and continuous up to the closed square to match on . Here is boundary data, unrelated to the growth factors in §2–§5.
$A$ and $\mathbf b$ — five-point stencil times $h^2$
Multiplying the discrete equation by leaves on the diagonal of and at each interior neighbour. Whenever a neighbour lies on , its known value from moves into the right-hand side .
$D$ and $M = I - D^{-1}A$ — Jacobi's splitting
is the diagonal of , so has zeros on its diagonal and at each interior neighbour. One application of replaces every interior value with the average of its four neighbours.
$\mathbf e^k$ and $\rho(M)$ — error vector and spectral radius
is the algebraic error against the discrete solution after sweeps (not the discretisation error against continuous ), with superscript indexing sweeps. Its asymptotic contraction factor per sweep is (M05), which must lie below for Jacobi to converge.
Steady heat in the unit square: , on the top edge and on the others. The exact solution is . The five-point stencil (times ) turns it into one linear system (M03), with no time in it: every unknown is coupled to every other through the matrix.
Jacobi splits with and iterates : each node becomes the average of its four neighbours. The error obeys with , so it shrinks like , the spectral radius (M05). For this matrix the eigenvalues are , and the largest, from the smoothest mode, is
Information moves one cell per sweep. Move the slider: the boundary value creeps down from the top edge.
After 60 sweeps the largest error against the direct solve is 1.02e-01 (it starts at 0.82). , so one sweep removes only 1.9% of the slowest error.
Reveal result (lock in your prediction above first)
| interior n | h | ρ = cos πh | predicted sweeps | measured sweeps | discretisation error | ρ from eigenvalues | order |
|---|---|---|---|---|---|---|---|
| 7 | 0.125 | 0.9239 | 174.5 | 165 | 0.004322 | 0.9239 | — |
| 15 | 0.0625 | 0.9808 | 712.1 | 664 | 0.001109 | 0.9808 | 1.963 |
| 31 | 0.03125 | 0.9952 | 2862 | 2646 | 0.000278 | — | 1.996 |
Since , the error falls like and
sweeps grow like . The smooth error needs many one-cell crossings to drain out.
Measured ratio 16.0 from to , step ratios 4.02 and 3.98. The measured counts sit a little below because the starting error is not purely the slowest mode. The spectral radius from the eigenvalues of matches to rounding, and the discretisation error has order 2 (M01's table again). The cure is not more sweeps: conjugate gradients needs iterations, multigrid .
When Jacobi iteration breaks
- Assumes: a spectral radius below one, which irreducible diagonal dominance guarantees here
- When it fails: as the mesh refines, so the smooth error modes barely move and the count grows like
- Check: plot the error or residual on a log scale: a straight line of slope ; if the count quadruples when halves, use CG or multigrid
Practice
Hint 1
The CFL condition is .
Hint 2
So ; convert seconds to milliseconds at the end.
Mixed practice: which method, and why? These mix this notebook with M01, M03 and M05.
Check yourself (closed book)
Keep these:
- , read with every term on one side, gives the class at a point: waves travel, diffusion forgets, equilibrium is settled everywhere at once.
- Explicit diffusion: , so and ; just above the limit a sawtooth grows geometrically.
- Implicit steps remove the limit for the price of a linear solve per step; they do not remove the time error.
- A convergence table measures the total error: tie to and you measure both at once.
- CFL: the scheme's domain of dependence must contain the physical one, .
- Jacobi converges like with : sweeps grow like , which is why elliptic solvers are Krylov or multigrid.
Your connection
Pick a model you know (a part heating, a signal on a line, a field at equilibrium). Which class is it, which limit would an explicit solver hit, and how would you notice?
Answers
Practice A. , : unstable.
Practice B. ms.
Practice C. about 6990 sweeps.
Mixed practice. solve the sparse system with CG or multigrid; the fixed time error dominates; compute the largest on the fine mesh.
Where the maths is derived
Optional. These notes give the intuition and application; the sources below give the full derivations and proofs.
§1 Reading the class
- Herman, Introduction to Partial Differential Equations, 2.6: Classification of Second Order PDEs: the discriminant, characteristic directions and canonical forms for each class.
§2 The explicit heat scheme
- LeVeque (2007), Finite Difference Methods for Ordinary and Partial Differential Equations: the method of lines for diffusion, von Neumann analysis and the limit (the chapter on diffusion equations).
§3 Implicit schemes
- LeVeque (2007), Finite Difference Methods for Ordinary and Partial Differential Equations: backward Euler and Crank–Nicolson for the heat equation, unconditional stability, and stiffness.
§5 The wave equation and the CFL condition
- LeVeque (2007), Finite Difference Methods for Ordinary and Partial Differential Equations: the CFL condition, domains of dependence and von Neumann analysis for hyperbolic problems (the chapter on advection equations and hyperbolic systems).
§6 Jacobi on the Laplacian
- Briggs, Henson and McCormick (2000), A Multigrid Tutorial: Jacobi on the model problem, the eigenvalues of its iteration matrix, and why the smooth modes converge slowly.
Compiled from notebooks/methods/m06_equation_classes.py — run locally with cd notebooks && uv run marimo edit methods/m06_equation_classes.py for live Python scratch cells.
Back to the book: Reading the class off the equation · Elliptic · Parabolic · Hyperbolic