A boundary closure supplies the boundary rows or ghost values needed by a spatial finite difference method. It must reflect the PDE boundary data and preserve a mesh-uniform stability estimate. Interior Von Neumann stability analysis cannot detect an arbitrary unstable boundary row; for example a row produces growth even beside an otherwise stable heat stencil.
For a linear recurrence relation with two distinct characteristic equation of a linear recurrence roots , the solution is . If , boundedness for forces , and fixes . This selects the decaying discrete mode in a finite difference method for a boundary problem on an unbounded interval. Roots on the unit circle require separate treatment; a repeated root there can contribute an unbounded factor .
Use dollar holdings , including the traded index, and let . The Itô formula gives
Define the state-dependent correlation , , and constants . The self-financing portfolio with consumption has wealth equation
Since all these assets are traded and , the volatility map is invertible. It is useful to optimize over Brownian portfolio exposures
whose market price of risk vector is
Indeed . Put .
For , normalize constant relative risk aversion utility to . Scaling wealth, holdings, and consumption by leaves the index state unchanged and multiplies reward by . Thus
For a finite smooth value with , the Hamilton-Jacobi-Bellman equation, including the shared-noise cross derivative, is
The last term is essential: index changes and the component of wealth are correlated. The first-order conditions yield
Because , , and , the optimized portfolio contribution is
Substitution gives the requested second-order nonlinear equation
Recovering dollar holdings from the exposures gives the optimal controls
Only the index holding carries the extra intertemporal hedging demand, because the index is the source of state variation. The stock positions hedge their common exposure through the index.
The power transformation of a complete-market investment equation gives a useful further simplification. Let , and define
Expanding the squared term and substituting cancels the two terms. The power-transformed investment equation is linear:
Then and . A practical finite difference method solves this linear differential equation on an expanding truncated interval in , enforcing the economically relevant positive solution and checking domain and mesh convergence. If correlation approaches limits strictly inside and the corresponding , the constant-coefficient Merton consumption-investment problem gives endpoint approximations . Without such asymptotics one must determine appropriate growth/transversality conditions; arbitrary fixed endpoint values are not justified. The statement's smooth decreasing correlation alone does not ensure globally bounded market prices of risk or a finite value. Any numerical candidate must also satisfy admissibility and the investment value transversality condition.
The printed includes . In that case choose , whose scaling is additive:
There is no shared-noise cross derivative because . The logarithmic case is
Thus the dollar holdings are the preceding formulas with and the hedge term omitted. This linear differential equation can be solved by the same truncation and convergence strategy.
For an evolutionary partial differential equation, stability of a numerical method means that errors in the starting data and forcing stay controlled on each fixed interval , with constants independent of the mesh. Fourier stability analysis is especially effective for a constant-coefficient finite difference method on a uniform infinite or periodic grid: translation invariance makes different Fourier modes evolve independently.
For a scalar one-step scheme on the integer lattice, insert , with . The Fourier symbol of each shift is , and the update reduces to
The amplification factor must be defined for every relevant frequency; for an implicit scheme this includes checking that its denominator is nonzero. The Parseval identity turns a bound into a discrete L2 norm bound. Thus gives contractivity, while the more general bound gives for . Conversely, frequencies with amplification uniformly greater than one produce unstable wave packets or periodic Fourier modes under refinement.
For a system, is an amplification matrix; for a multilevel scheme, a companion matrix evolves the vector of time levels. The actual requirement is a uniform bound on matrix powers, not just their spectral radius. A nontrivial Jordan block at a unit-modulus eigenvalue creates polynomial growth in the time index. Even simple eigenvalues inside the unit disk can fail to give a uniform bound if the eigenvector matrices become ill-conditioned as the mesh changes. Uniformly controlled diagonalization of a matrix, or a suitable quadratic energy estimate, resolves this issue. The power boundedness of a two-level Fourier scheme illustrates why root multiplicities and conditioning matter.
For the heat equation, put . Centered space with the Forward Euler method has
The Von Neumann stability analysis condition holds exactly for on the full frequency interval. The Backward Euler diffusion scheme instead has and is stable for every . The Crank-Nicolson diffusion scheme has
It too is unconditionally stable, but poorly resolved high-frequency modes have for large , giving oscillatory numerical transients. A-stability therefore does not guarantee strong damping; L-stability distinguishes the damping of the Backward Euler method.
For the advection equation , let . Forward time and centered space give
For nonzero fixed , repeated steps amplify some modes by a fixed factor greater than one, so the method is unstable under the usual refinement . This calculation also shows the refinement qualification: if , its finite-time growth can be bounded by , though the restrictive scaling defeats the usual hyperbolic time-step choice. For , the upwind finite difference scheme has
so it is stable for . The Lax-Wendroff advection scheme instead has
giving . These examples separate the effects of the spatial stencil, temporal approximation and Courant number; a higher order of a numerical method by itself does not establish stability.
A periodic boundary condition is ideal for this analysis. The discrete Fourier transform diagonalizes the circulant update, with only the discrete frequencies needed on a grid of points. A bound on all is a convenient guarantee over every such grid. On the whole line, the Fourier transform uses a continuous frequency interval and the Parseval identity proves the corresponding square-summable-data estimate.
Homogeneous Dirichlet boundary conditions do not admit arbitrary complex exponential Fourier modes. For the standard centered second difference on interior points, a discrete sine transform diagonalizes the actual boundary-value matrix:
The same heat amplification formulas then apply at these sine frequencies. For example, the exact forward-Euler contractivity limit on that fixed grid is ; the mesh-independent sufficient limit follows by including all frequencies. Homogeneous Neumann boundary conditions can similarly permit a discrete cosine transform, provided the endpoint discretization and its weighted inner product are chosen consistently. The constant mode is then present, reflecting conservation of the heat equation's spatial mean. For inhomogeneous boundary conditions, subtract a suitable lifting of the prescribed boundary data and estimate the induced source using the homogeneous evolution's bound and a Duhamel principle estimate. Bounds for the lifting and source must themselves be uniform in the mesh.
General boundary conditions require separate boundary stability of a finite-difference method. For an advection equation, incoming data are prescribed at the inflow boundary, while an outflow closure must respect the outgoing characteristics. An interior periodic Fourier symbol cannot detect a growing mode confined near a boundary. A normal-mode test on a half-line seeks modes with and that satisfy both the interior recurrence and boundary closure. Their existence proves instability, and uniform control requires more than merely excluding isolated growing roots; the Uniform Kreiss--Lopatinskii condition addresses boundary resolvent bounds. Alternatively, a direct energy method using summation by parts can include the boundary terms and establish the required estimate.
Variable coefficients and nonuniform meshes usually destroy exact Fourier transform diagonalization. Frozen-coefficient Fourier stability analysis is then a useful diagnostic, but it is not automatically a proof for the full variable-coefficient boundary problem. The mesh-uniform energy method in question 5 is an example of a direct proof. Also, an L2 norm proof is not automatically a mesh-uniform maximum-norm proof: finite-dimensional norm-equivalence constants may grow with the number of grid points.
Finally, stability measures error propagation; consistency of a numerical method measures the defect of inserting the exact solution. For a well-posed linear initial-value problem in the chosen norm, the Lax equivalence theorem says that a consistent approximation is convergent exactly when it is stable. Boundary discretization and starting data must be included in that assertion. A Fourier calculation proves convergence only after consistency, well-posedness and the actual boundary treatment have also been checked.
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.
Sample the diffusion coefficient at edge midpoints and write
Centered differences of the two fluxes give the conservative finite-difference stencil
For example, the part is
Taylor expansion about shows that the odd powers cancel between the two face fluxes and that the result equals . The same calculation in gives total truncation error
Let . A one-dimensional Taylor expansion gives
Adding the three coordinate directions shows that the exact solution has stencil defect
This is the local defect of the seven-point Dirichlet Laplacian. Its inverse has max-norm size : this follows from the discrete maximum principle, for example by comparison with the grid restriction of , whose stencil is . Therefore the grid error is .
The question writes this error as , so
In the more usual terminology, the finite difference method is second-order accurate.
At an interior grid point, the five-point finite difference method gives
Let
where the zero Dirichlet boundary values are already incorporated. Stack the unknowns with the index varying fastest. Using the Kronecker product, define
Then the semidiscrete equation is
Moreover,
Thus the directional matrices commute, as in the five-point Dirichlet Laplacian as a Kronecker sum.