Bounded two-dimensional capacitor field model Created 2026-10-14 Updated 2026-10-31
The diagrams solve an explicitly bounded Dirichlet problem in a uniform charge-free medium of constant permittivity. Take a width scale and terminal electric potential difference . Two zero-thickness ideal plate segments occupy at , with electric potentials . Fix on the entire rectangle , . This boundary is an additional enclosing equipotential, rather than a condition at infinity. The model is invariant along the omitted third direction. The connection between the electric potential, its gradient, and the charge-free Laplace equation follows from electrostatics.[ref]
On a square mesh of spacing , the finite difference method imposes
at free nodes, while plate and outer nodes retain their prescribed electric potentials. There are nodes. Each plotted gap aligns exactly with the mesh; the smallest gap has 16 mesh intervals. The generators solve the resulting linear system by the conjugate gradient method, stopping when the maximum dimensionless five-point residual is below , and use central finite differences to approximate away from plate nodes.
The discrete maximum principle keeps the computed electric potential between and . Reflection checks require evenness in and oddness in ; halving tests discretization effects, while enlarging the outer rectangle tests sensitivity to its artificial boundary conditions. These are different checks: a small residual only establishes that the discrete equations were solved. Differentiating near zero-thickness endpoints is especially sensitive to the mesh, so the plots do not report a converged edge peak. No total electric charge, exact open-domain three-dimensional capacitance, or measured material property is extracted from this model.
For a bounded numerical check, compare with the plotted at midplane positions . At , the largest change in is approximately , at ; the other five sampled changes are below . At , moving the outer rectangle from to while retaining changes these samples by at most approximately . These calculated sensitivities support the qualitative comparison and expose its limits; they are not experimental uncertainties or evidence that the artificial boundary has converged to infinity.
Replacing the derivative in by a central finite difference gives . Its principal root is , while the parasitic amplification root is . On a fixed time interval, converges uniformly to exactly when and . A fixed nonzero parasitic amplitude alternates between two incompatible limits, but a vanishing starting error can converge despite the root's modulus exceeding one. This distinguishes fixed-time numerical convergence from long-time absolute stability.
For the mixed forward, central finite difference, and backward derivative regularizer on , with dividing points and , the overlap multiplicity bound for piecewise difference operators has . On the middle interval, the error kernel is for , with L1 norm . Young's convolution inequality bounds that part of the bias by . If the two outer intervals together have squared error at most , combining the three pieces gives the displayed estimate for and . Interpreting as the inverse of the Volterra integration operator requires the range of the Volterra integration operator boundary condition .
With and , a local volatility pricing equation becomes the displayed backward equation. Central finite differences and the explicit Euler method give . Nonnegative weights require and . Under these conditions the update is a convex combination, yielding maximum-norm stability. With smooth coefficients, positive diffusion, fixed positive remaining maturity and suitable consistent boundary treatment, its ordinary error is . Volatility bounds alone do not imply all this regularity or a Greek error expansion.
The Laplacian detects whether a value lies below or above nearby values, to second order. For a scalar field whose partial derivatives through order four are continuous functions, take the arithmetic mean of four equally spaced neighbors:
Applying Taylor's theorem in each coordinate cancels the first- and third-order terms between opposite neighbors. The two pairs leave
This is an asymptotic expansion, rather than an equality for arbitrary . Rearranging gives the familiar central finite difference approximation
This finite difference replaces partial derivatives by five sampled values. The arithmetic mean lies above the center for a sufficiently small if the Laplacian is strictly positive there, and below if it is strictly negative. A zero Laplacian cancels this second-order discrepancy without requiring equality of individual values.
At , the bowl has center value zero and four neighbor values , so the discrepancy is exactly . The saddle has neighbor values , whose arithmetic mean is exactly zero. For the Gaussian function the discrepancy is , agreeing with .
A harmonic function need not equal this four-neighbor arithmetic mean for a finite . The polynomial has everywhere, but . Higher-order terms remain even when the second-order terms cancel.
At a local minimum, each coordinate second derivative is at least zero, hence the Laplacian is at least zero. At a local maximum the inequality reverses. The sum alone does not characterize an extremum: cancellation at a saddle point of a scalar function can also produce zero. The local-average interpretation explains why the heat equation smooths differences, and helps motivate the heat equation maximum principle.
With , the central finite difference converts the decay equation to
The continuous ordinary differential equation has the general solution . The discrete linear recurrence is second order and requires two initial values, such as . Trying gives the characteristic equation of a linear recurrence . Its roots are
so
There are no repeated roots, and the same formula extends to negative integer if required.
To demonstrate the continuum limit, put . Then and , with . For ,
uniformly, since . More precisely , giving an error on a fixed interval. Thus , selects the physical discrete mode and corresponds to .
The other root is a parasitic amplification root:
For fixed , even and odd mesh points approach values differing by . Equivalently successive mesh values have a nonvanishing alternating jump despite their time separation tending to zero. This mode cannot converge uniformly to a continuous ODE solution; its limiting envelope also grows rather than decays.
For step-dependent initial data the precise result is the centered two-step discretization of exponential decay criterion:
Sufficiency follows from the two uniformly bounded exponential envelopes on a fixed interval. Necessity follows from convergence at the adjacent points : , , and the coefficient formulas force , . In particular a nonzero but vanishing starting error is not excluded. Starting with the exact value gives and still converges on each fixed interval. The assertion about “remaining” solutions therefore concerns a fixed nonzero parasitic amplitude, not every nonzero step-dependent amplitude. The method is nevertheless not damping-stable for arbitrarily long times because .
A spatial finite difference method and time discretization for a linear evolution problem give a recurrence . To obtain numerical stability on , one needs a bound uniform in the permitted grid sizes and time steps. More generally a growth estimate is sufficient. The finite-time stability versus power boundedness distinction matters: growth per step of can be compatible with the latter finite-time estimate, whereas unrestricted geometric growth at a fixed Courant number is not.
The eigenvalue method diagonalizes into modes. If is a normal matrix, the spectral theorem gives . Thus gives contraction, and gives the preceding growth estimate. A diagonalizable matrix has , so its condition number must remain bounded uniformly as the mesh changes. A stable-looking list of eigenvalues alone is insufficient.
Indeed,
Both eigenvalues are one, but the Jordan block gives growth proportional to , violating uniform finite-time numerical stability. A nonnormal Fourier amplification matrix can similarly exhibit large amplification even with its eigenvalues inside the unit disk. Eigenvector conditioning and the full powers of the amplification operator are essential.
For constant-coefficient schemes on a periodic or infinite grid, a Fourier transform diagonalizes scalar translation-invariant stencils. This yields von Neumann stability analysis using the Fourier amplification symbol . The discrete Parseval identity turns a bound on into a discrete L2 norm estimate. For systems, the symbol is a matrix; a uniform power bound for matrix Fourier symbols is required, rather than a bound on its spectral radius alone.
For the heat equation, a central finite difference in space and the explicit Euler method in time give
The scalar condition for every frequency is exactly . With zero Dirichlet boundary conditions, the spatial matrix is symmetric and diagonalized by sine modes, leading to the same uniform sufficient restriction. By contrast, the Backward Euler diffusion scheme has and is stable for every .
For the advection equation , , centered space with the explicit Euler method gives , , and . At fixed positive Courant number, repeated powers are unbounded as the mesh is refined. The upwind finite difference scheme instead has
which gives contraction precisely for . This comparison shows why the spatial stencil and time method must be analyzed together.
Boundary treatment can destroy the normality or mode decomposition available on a periodic grid, so a finite-interval scheme needs its own uniform operator estimate. Multilevel time schemes likewise require the root condition for a multistep method and uniform bounds for the associated amplification matrices; simple scalar root tests do not establish these bounds for arbitrary systems. Once consistency of a numerical method, a well-posed linear evolution problem and the required numerical stability estimate hold, the Lax equivalence theorem gives numerical convergence. Eigenvalues provide a powerful route to that estimate when the accompanying eigenvector and boundary analysis is justified.
Write , and march backward from the terminal payoff. At the interior grid point use
The central finite difference spatial approximation and backward-in-calendar-time explicit Euler method give
Here , , and . At a far-left boundary use ; at a far-right boundary the call asymptotics are . These boundary values are inserted into the adjacent interior updates. Smooth-solution Taylor expansion gives consistency order in the evolution equation.
Let and sample a sufficiently smooth periodic exact solution. The central finite differences have expansions
and
The semidiscrete right side therefore equals . The spatial consistency of a numerical method is second order, for each fixed . There is no time discretization in the stated ordinary differential system, so no separate temporal approximation order is being assigned. The Taylor statement concerns smooth solutions; L2-compatible initialization of grid data handles nonsmooth initial data without undefined point sampling.
For fixed finite matrices, the matrix exponential and a Taylor expansion show
This agrees through degree two with , even when and do not commute. On a fixed time interval, and the telescoping identity
turns the one-step defect into global error for . Hence Strang splitting is second order in general; for commuting matrices it is exact.
For the spatial discretization, use , and the interior vector , with . The central finite differences give
Here lists lower diagonal, main diagonal and upper diagonal, in that order. Thus and . Discrete summation by parts gives
The matrix exponential is consequently a contraction in the Euclidean norm, while is an orthogonal matrix for real . Therefore
Repeated split steps are contractive in the mesh-weighted norm , uniformly in the spatial mesh and without a Courant–Friedrichs–Lewy condition. The split semidiscretization is unconditionally stable. No commutativity or shared eigenvectors are needed for this Strang splitting contraction for symmetric diffusion and skew advection. Its time-order proof is for fixed spatial matrices; as , commutators can grow, so this stability result alone is not a uniform-in-mesh second-order error estimate.
Divide the second-order difference equation by and set . The first quotient is a central finite difference approximation to ; the quotient approximates . Their Taylor series errors are for a sufficiently smooth function. This is therefore a finite difference method for the second-order linear differential equation in part (a).
At a fixed , take with integral. Since , the exact bounded discrete solution satisfies
Likewise . The decay selected by boundedness in the linear recurrence relation becomes exactly the decay selected by boundedness in the ordinary differential equation.
The Volterra integration operator is injective and has dense range. Its range of the Volterra integration operator is , and its Moore–Penrose inverse of an operator is differentiation on this domain. Thus the error estimate for implicitly requires , in addition to the printed assumption. For an arbitrary function the same calculation bounds error against , but that function need not be in .
Put , and . The three stencils are forward, central finite differences, and backward on , and , respectively. All shifted evaluation points lie in . For , apply and change variables in each of the six evaluation terms. The resulting integration intervals are
Pair with , with , and the two middle intervals. Each pair has disjoint interiors, so almost every point is counted at most three times. This overlap multiplicity bound for piecewise difference operators proves
For the bias on the middle interval, write the central finite difference as an average of . The fundamental theorem of calculus gives
where . Extend by zero to the real line. Young's convolution inequality bounds the middle-interval error by . Combining its squared error with the supplied outer-interval estimate gives the central-difference noise-bias bound
The triangle inequality and the operator norm estimate now give
For , balancing noise and approximation bias minimizes this upper bound at
for sufficiently small that . Capping the parameter at supplies an admissible rule for all positive noise levels. More generally, and suffice; avoids needing or dividing by .
To prove convergence for every admissible datum, not just data, let with and extend by zero. Each stencil is a forward, centred or backward average of . Translation continuity in Lp makes each averaged difference from tend to zero in . Restricting those three bounds to their respective intervals proves . The noise-bias decomposition for linear regularization, with , finishes the convergent regularization of an inverse problem.
If the bound is to hold for all , the error functional must annihilate every polynomial of degree at most two, because such a polynomial has . Applying it to gives
Therefore
so is the central finite difference approximation.
At , the central finite difference equations are
with , . For this is a linear system , with row coefficients
The right-hand side starts from and includes in its first entry and in its last entry. Under , both off-diagonal coefficients are negative, so . Omitting nonexistent endpoint columns can only reduce this sum. Therefore is strictly diagonally dominant. In particular the linear discrete system is nonsingular.
Use the Backward Euler method in time and the prescribed central finite differences in space. With and , the implicit finite difference method for the advection-diffusion equation is
Equivalently, for and , the new time level solves
The spatial terms are evaluated at the new time level, making this an implicit scheme. On the whole line there are no finite-endpoint boundary conditions; in the next part its solution is chosen in the l2 sequence space.
Write the computed function values as , where . The computed central finite difference satisfies
The two contributions are respectively evaluation absolute error and truncation error. For , step-size choice for a noisy central derivative minimizes their sum: its derivative is , negative before and positive after
If , the bound tends to zero as and has no positive minimizing step.
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 expansion
Here 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 combination
The 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]
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, is
The Taylor series of sine gives the signed truncation error
Thus , and . Halving divides the leading truncation error by four. Combining the two centered difference quotients with Richardson extrapolation gives
Indeed, the coefficient becomes ; the coefficient vanishes. This is the even-power case of Richardson extrapolation discussed in Persson's authored lecture notes.[ref]
For and , the actual computations are
The 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.
Figure 1.
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 , define
Summing the geometric series gives . Expanding the exponential function near zero yields
The leading truncation error again has , . On the uniform nested grids with and intervals, Richardson extrapolation therefore gives
This 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]
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 .
Figure 2.
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]
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.
Suppose and each sampled value of has absolute error at most . For a central finite difference with , the triangle inequality and the sharp central-secant derivative error give
For , the derivative of this bound is . It changes sign at , proving the unique minimum, of value . This balance explains why reducing the step indefinitely amplifies sample absolute error even as truncation error decreases.
Trigonometric inequality 2026-10-25
An inequality involving trigonometric functions. For , the fundamental estimate follows from and . Thus , and integrating gives . For , this implies . These bounds give explicit errors for central finite differences applied to sine modes.