Original solutions to both sections and all six questions of the Numerical Solution of Differential Equations paper sat on 22 June 2011. Source: released Mathematics papers, Part B 2007 11.pdf. The real-triangularization assertion in question 6 is corrected to complex triangularization. Statements are not reproduced.
Use the normalized local truncation error
The Taylor theorem expansions about are
Substitution gives exactly
Thus the theta method has order two exactly for , and otherwise order one, as a statement about the method on a sufficiently smooth class of problems. The leading term vanishes at one half, and a function with nonzero third derivative shows that the next term does not vanish universally. As usual, a uniform order estimate assumes bounded relevant derivatives; mere existence of on the open interval gives the stated pointwise remainders but not, by itself, a uniform bound. Special exact solutions can of course have zero truncation error even for a first-order method.
Put . Subtracting the numerical update from the exact update with its local truncation error gives
The Lipschitz condition in the solution variable and the triangle inequality imply
The assumed positive denominator permits division. With and , repeated substitution of this Lipschitz one-step error bound yields
Here because , so the displayed geometric series quotient is well defined. For implicit steps, the same condition makes the scalar update map a contraction mapping, ensuring a unique numerical next value.
On the Dahlquist test equation, set . The theta method has stability function
With the decaying-solution convention, its region of absolute stability is . Writing , squaring numerator and denominator gives
For this is the open disk with centre and radius . At it is the open left half-plane. For it is the exterior of the closed disk with centre and radius . The pole , when present, lies outside the stability region.
Every with satisfies the inequality exactly for . If , sufficiently large negative real fails it. Therefore
If absolute stability is instead defined by bounded amplification, the boundary is included; this convention does not change the A-stability conclusion for the open left half-plane.
Figure 1.
Absolute stability regions of the theta method at zero, one half and one; green regions damp the scalar test solution
. Details.
In the normalization used by the supplied coefficient expansion, the local truncation error of the linear multistep method is
The nonzero sum in the denominator is an explicit hypothesis. Consistency of a numerical method requires uniformly on a fixed finite time interval for every sufficiently smooth exact solution as . Equivalently, the two polynomial identities are
These follow by inserting constant and affine functions, or by setting the first two Taylor coefficients to zero.
Zero-stability means that perturbations of the starting values of the zero-step recurrence remain bounded by a fixed multiple of their initial size, uniformly as the number of steps tends to infinity on a fixed time interval. In particular solutions of obey with independent of .
The equivalent root condition for a multistep method is
A root outside the unit circle gives exponential growth of a recurrence relation mode; a repeated root on it gives polynomial growth. Repeated roots strictly inside it are harmless because their polynomial factor is dominated by decay.
The first characteristic polynomial factors as
The two quadratic roots have product one. Both can lie in the closed unit disk only if both have modulus one, requiring . At the root one is triple and ; at the root minus one is double. Both fail the root condition for a multistep method. In the intervening open interval the two quadratic roots are distinct conjugate unit-modulus roots, different from one. Thus
Using , the supplied expansion gives
Throughout the zero-stable range, , so every such method has order two. There is a unique higher-order choice:
Here and , giving exactly order four, with normalized leading truncation error . But the extra roots are , one of modulus greater than one. By the Dahlquist equivalence theorem this consistent but non-zero-stable method is not convergent for arbitrary consistent starting values.
Let , and define analogously. The Crank-Nicolson diffusion scheme is
Use and zero values on every boundary node for every time level. This is the theta method with applied to the spatial finite difference method for the heat equation.
Write . The update can be rearranged as
When , the right side is a convex combination of old values: its coefficients are nonnegative and sum to one. Assume all old values lie in . A new maximum is interior because boundary values are zero and . At its node the left side is at least , while the right side is at most , a contradiction. A new minimum similarly makes the left side at most and the right side at least , again a contradiction.
The initial values satisfy the bounds by construction; mathematical induction proves
The new-time matrix is a strictly diagonally dominant matrix with positive diagonal and nonpositive off-diagonal entries, so the linear update is uniquely solvable. This Crank-Nicolson maximum principle under a step restriction concerns preservation of value bounds, which is a stronger requirement than scalar A-stability.
For nonnegative initial data, . The proved Crank-Nicolson maximum principle under a step restriction immediately gives for all indices. For nonpositive initial data, and the same bound gives . Equivalently, apply positivity to , since the finite difference method is linear and has homogeneous Dirichlet boundary conditions. Both conclusions use .
For the second-order boundary value problem, introduce an unknown initial slope and solve the initial value problem , with , . Its endpoint mismatch is . The shooting method seeks a root ; in general the dependence of the flow on is nonlinear. A sign-changing bracket for a continuous allows the bisection method, provided the intervening initial value solutions exist up to .
For Newton's method, solve the parameter sensitivity equation alongside the trajectory. With and ,
Then and the update is whenever .
For the third-order problem, shooting from leaves both and unknown, requiring two shooting parameters to satisfy two right-endpoint conditions. Shooting backwards from already knows and ; only is unknown, with the single residual . Backward shooting reduces the nonlinear solve from two scalar unknowns to one. This parameter-count advantage does not by itself guarantee numerical stability of backward integration.
The four-point midpoint third derivative uses the four values at , centred at . The Taylor theorem about that midpoint gives
Thus, for , take the interior equations
Impose the two value conditions exactly, , , and approximate the remaining condition with the second-order backward finite difference:
This gives equations for . The endpoint derivative formula equals , so its residual tends to zero along with those of the four-point equations. Every stencil lies within ; no unprescribed ghost value is introduced. The construction is therefore a consistent finite difference method for all three boundary conditions.
The five-point equations for the Poisson equation are
with prescribed boundary values. If , an interior maximal value is at most the average of its four neighbours. Since no neighbour exceeds the maximum, equality forces all four to equal it. Repeating along adjacent nodes propagates that value to the boundary. Thus the discrete maximum principle gives , in particular the usual positive-maximum bound with zero included.
For an error estimate assume the exact solution has bounded continuous fourth partial derivatives up to the boundary. The local truncation error then satisfies by the Taylor theorem. Put , so and on boundary nodes. The Discrete Poisson barrier on a square
satisfies exactly, on the grid boundary, and . Set . Then , with nonpositive boundary values. Applying the discrete maximum principle twice gives
For nonzero smooth Dirichlet boundary data , impose at the boundary nodes. The error still vanishes there, so the same argument and order apply, under the same fourth-derivative regularity of the exact solution. Smooth boundary values alone do not remove every possible corner-regularity issue.
Replace by . At a positive interior maximum , the neighbour average is no larger than , so . Thus cannot have such an interior maximum. The positive-maximum form of the discrete maximum principle therefore remains valid:
With the error equation is , where under the preceding regularity assumptions. Since for the same Discrete Poisson barrier on a square, the comparison functions prove
There is no loss of uniqueness: apply the positive-maximum argument to both signs of a homogeneous discrete solution. The continuous weak formulation also has the coercive bilinear form , so the added positive reaction term strengthens its positive energy.
Let , and . Subtract the exact fixed-point equation to obtain . Hence convergence for every initial vector is equivalent to . If this holds, it holds after complexification; applying it to a complex eigenvector gives , so . Conversely, the complex Jordan normal form expresses each power as a finite sum of terms from its blocks. Every term tends to zero when all eigenvalues have modulus below one. Thus
The convergence criterion for a stationary iteration needs complex triangularization or Jordan normal form. The paper's assertion that every real matrix is similar to a real upper-triangular matrix is false when nonreal eigenvalues occur; complex triangularization supplies the intended argument. In the Gauss-Seidel method, with split into diagonal, strictly lower and strictly upper parts, .
For , eliminating the ghost values gives the symmetric pentadiagonal matrix
All other off-diagonal entries vanish. The first two equations are
and the last two are
For the matrix is , for it is , and for it is because both ghost contributions meet the same unknown. The diagonal entries are positive in every case, so the lower triangular matrix is invertible and the Gauss-Seidel iteration is well defined.
An eigenvalue of makes singular. Let and be the sums of absolute lower and upper entries in row . The row's diagonal-dominance margin is
Interior full rows have , , giving margin . Boundary rows have larger margins; for instance the first gives , and the second gives at least . Therefore would make a strictly diagonally dominant matrix, hence nonsingular, a contradiction.
At it is weakly diagonally dominant with strict boundary rows. Its nonzero nearest-neighbour entries make it an irreducibly diagonally dominant matrix. The nonsingularity theorem for that class again contradicts singularity. For the small matrices above all rows are already strict at this value. Hence
There is also a stronger conclusion. For ,
including the overlap. Since is positive definite, is a symmetric positive-definite matrix. The Gauss-Seidel convergence from diagonal dominance and positive definiteness theorem consequently gives the stronger bound .
Source: released examination bundle, Part B 2007 11.pdf, pages 248–255. All six questions in both halves are covered. No mark allocations are printed.
Substitute a smooth exact solution into the linear multistep method and expand about . Its residual is
Consistency of a numerical method requires the coefficients of and to vanish. Therefore and , giving the unique choice
For this choice the next coefficient is , so the residual is . The normalized local truncation error, obtained by dividing the residual by , is . Hence the method has order one.
A zero-stable has a uniformly bounded response to small perturbations of its starting values and accumulated residuals on a fixed time interval as . Equivalently, its first characteristic polynomial satisfies the root condition for a multistep method: every root has modulus at most one, and each root on the unit circle is simple.
For the consistent parameters, the recurrence for is , with characteristic polynomial
Let . Choose and ; together with these generate exactly . Since ,
This parasitic mode violates the root condition and grows without a bound independent of the number of steps. Scaling its starting amplitudes gives the same unbounded amplification for arbitrarily small initial perturbations. Thus the only consistent method in the family is not zero-stable.
A method has numerical convergence if it approximates the exact solution uniformly at mesh points on every fixed finite interval as , whenever its starting approximations converge to the corresponding exact starting values, for sufficiently smooth solutions of a well-posed initial-value problem.
The Dahlquist equivalence theorem states that a fixed-coefficient linear multistep method is convergent if and only if it is consistent and zero-stable, under the usual Lipschitz condition on the differential equation and convergent starting data. In this family numerical consistency forces the parameters found in part (a), and part (b) proves that choice is not zero-stable. All other parameter choices are inconsistent. Therefore no member of the family is convergent.
With , define the semidiscrete Fourier transform by
For finite-support sequences, expand the squared modulus and use orthogonality:
Consequently
For a general square-summable sequence, truncate it to . The identity makes the transformed truncations Cauchy in , and completeness defines the transform as their limit. Passing to the limit proves the Parseval identity
The infinite series need not converge absolutely pointwise; the interpretation is sufficient for the stability analysis.
Transforming the spatial shifts and putting gives the real amplification factor
For the denominator is at least one, so the implicit step is a bounded Fourier multiplier on . Set and use . The numerator is no greater than the denominator, so . The other inequality is
If , the bracket is nonpositive and this always holds. If , the concave quadratic has its maximum at , with value . Therefore precisely under the stated condition
and without a mesh-ratio restriction when . The Parseval identity now gives
Iteration proves stability with constant one. It is conditional for and unconditional for . The sampled initial data have finite support, hence belong to . This is the Fourier stability threshold for a mixed-width heat scheme.
Figure 1.
The exact stable mesh-ratio region for the mixed-width heat scheme
. Details.
On nonnegative states the characteristic speed is , so upwind finite difference scheme uses the left spatial difference. With , the conservative upwind finite difference scheme is
Explicitly the flux difference is . Preservation of nonnegativity under the given Courant restriction, proved next, justifies the same left-upwind direction at every step.
Write and assume . Suprema are understood where the printed maxima on the infinite domain are not attained. We prove the invariant interval simultaneously with the stated speed bound.
Suppose the interval property holds at time . By the mean value theorem, the divided difference
is between and ; when the two states coincide define it as . The update is the convex combination
Both coefficients are nonnegative and sum to one, so the same interval property holds at time . It is true initially and hence for all times by induction. Therefore
The propagated nonnegativity is essential; it keeps the flux increasing on the entire range of the numerical solution.
The convex-combination formula proved in part (i) gives for every . Taking the supremum and using nonnegativity gives
This is the discrete maximum principle for the nonlinear upwind step and proves the requested conditional stability under the propagated Courant–Friedrichs–Lewy condition.
Introduce and solve the initial-value system
The unknown initial slope is the shooting method parameter. Integrate to one and solve the scalar residual equation , using a secant iteration or a bracketed root finder when suitable data are available.
For a Newton update, integrate the sensitivity equations along the current shot:
Then and the update is when this derivative is nonzero. After a root has been found, the corresponding shot satisfies both endpoint conditions. This formulation does not presume that a nonlinear boundary-value problem necessarily has a unique solution.
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 fine matrix and right-hand side from part (b), with diagonal . Starting from an iterate , take weighted Jacobi smoothing steps
Form the residual . For coarse interior indices , use full-weighting restriction
The prolongation operator matrix is linear interpolation of a coarse correction: and , with zero endpoint corrections. Thus . Choose the Galerkin coarse-grid operator , solve exactly, and correct . The entries of , and above specify every matrix in the cycle. A rediscretized coarse operator is another standard choice if used consistently.
For a nonsingular coarse operator, the fine-grid iteration matrix of this pre-smoothed two-grid cycle is
The purpose of under-relaxation is to damp fine-grid oscillations, leaving smoother error for coarse-grid correction. For the diffusion-dominated one-dimensional operator, is the usual effective choice; the high-frequency symbol then has modulus at most for . Coefficients and convection can change the best parameter, so this is a motivated choice rather than a universal optimum. Under the diagonal-dominance condition, the unweighted Jacobi matrix already has norm less than one in the maximum norm, and its convex combination with the identity remains convergent for .
The coefficient signs alone do not imply the assertion as printed. Two interior nodes can have rows and , with a separate boundary node. Taking interior values one and boundary value zero satisfies every stated coefficient inequality and , but its maximum is not on the boundary. Connectedness of the geometric domain does not ensure connectedness of this stencil graph.
The usual extra assumption is that every interior node has a path of positive stencil coefficients to a prescribed boundary node. Under this assumption let be the global maximum and suppose an interior node attains it. Then
All summands are nonpositive, so equality forces at every neighbor with . Propagate along a path to the boundary to find a boundary node with value . This proves the discrete maximum principle under boundary-reaching stencil connectivity, and exhibits why the literal hypotheses need that qualification.
A diameter-only bound also needs the normalization of a Laplacian stencil, beyond its coefficient signs. For example, a single interior row with allows and on a domain of fixed diameter. Thus arbitrary rescaling of the printed coefficients rules out a universal diameter-only estimate.
For the intended normalized Laplacian stencil, assume and for , with , as holds for the standard two-dimensional central stencil. Let . Then . Use the truncation error convention , so ; reversing the convention does not change the absolute-value argument.
The two functions satisfy . On the prescribed boundary , so their maximum boundary values are at most . Apply the discrete maximum principle from part (a), with its boundary-connectivity assumption. Since ,
This is the standard quadratic-barrier error estimate for a discrete Laplacian. The calculation identifies exactly the additional normalization needed for the bound intended by the question.
The displayed estimate requires a nonnegative barrier. As printed, a counterexample is obtained with two interior nodes, each having row to one boundary node. Set , , and , . Both interior rows have and . Put one node in each of and take . Then the proposed right-hand side is while .
For the intended use, suppose and the stencil has the maximum principle established in part (a). Set . On either subregion,
At boundary nodes these functions equal . Hence
which proves the intended discrete elliptic barrier estimate
For a normalized stencil with and a sign-changing barrier, shifting it by its minimum gives the valid general replacement . The supplied barrier in part (d) is positive, so the printed estimate applies there without a sign problem.
The given stencil has nonnegative neighbor weights, zero row sums and a path from every unknown node to the Dirichlet boundary. Thus the discrete maximum principle applies, including at the reflected Neumann edge. The barrier is positive throughout the square.
At an ordinary interior node, central differences differentiate this quadratic exactly, giving . At , the reflected horizontal part is
and the vertical part is two. Thus there. Part (c) therefore permits
On the Dirichlet boundary, the largest barrier value is . Consequently
The truncation error at the Neumann edge is divided by the barrier response , producing a contribution of order . Thus its lower local order does not reduce this global maximum-norm error bound.
With zero boundary values eliminated, the diagonal of is . The Jacobi method is therefore
which averages the four neighboring components. The sine addition identity shows that the supplied product vectors are eigenvectors, with
The discrete sine vectors form a basis, so these are all eigenvalues. Their largest modulus is
attained at the lowest and highest sine frequencies. Thus the asymptotic error reduction factor per iteration is . If the convergence rate is expressed logarithmically, as . A fixed error reduction therefore takes Jacobi sweeps. For the special grid , and one sweep solves its single interior equation.
The endpoint in the printed nonnegative-parameter hypothesis must be excluded. We first establish the intended result for , then describe that endpoint exactly.
Write for the two directional matrices; they commute because they act on separate tensor-product coordinates. At a limit , the intermediate vector also has a limit . Subtract the two limiting equations in the form that cancels and ; this gives . Hence for . Substitution then gives , precisely the required discrete equation.
Eliminating the intermediate vector gives the alternating direction implicit iteration matrix
The sine-product basis simultaneously diagonalizes , with eigenvalues and , where
Thus
For , each factor has modulus strictly less than one. Hence , proving convergence from every starting vector to the unique discrete solution.
At the two factors are both , so . The forcing terms cancel in the composed iteration as well, and for every starting vector. An incorrect initial vector therefore remains incorrect forever, even though the sequence is constant and has a limit. This disproves both the literal fixed-point implication and the claimed general convergence-to-solution assertion at zero; strict positivity of is the necessary repair.

Articles by others on the same topic (0)

There are currently no matching articles.