Insert an exact smooth solution of a differential equation and expand about . The unscaled local truncation error, with every term moved to the left, is
Here the constant, first-derivative, and second-derivative terms all cancel, using the chain rule identity . Hence the formal defect convention gives
At , the coefficient of is , so there is no further cancellation. At any other , the cubic coefficient is nonzero.
There is a degeneracy at : both the first-derivative coefficient and vanish. The raw defect still has the displayed formal order two, but it cannot be normalized by into an ordinary first-order consistency of a numerical method test. Thus a convention requiring this nondegenerate normalization would leave the ODE order undefined at . In either convention, it is not a convergent approximation to arbitrary initial-value data; the next part explains why.

Articles by others on the same topic (0)

There are currently no matching articles.