Numerical Methods in Computational Finance. Daniel J. Duffy
Читать онлайн книгу.rel="nofollow" href="#uf1e56f7f-72fe-58ff-b6c8-b02923aac331">22, and 23.
6 The initial value problem (2.1) was originally used as a model test of finite difference methods in (Dahlquist (1956)). The resulting results and insights are helpful when dealing more complex IVPs.
Finally, this chapter and Chapter 3 are recommended for readers who may not be familiar with ODE theory and ODE numerics. It is a prerequisite before moving to partial differential equations.
2.3 DISCRETISATION OF INITIAL VALUE PROBLEMS: FUNDAMENTALS
We now discuss finding an approximate solution to Equation (2.1) using the finite difference method. We introduce several popular schemes as well as defining standardised notation.
The interval or range where the solution of Equation (2.1) is defined is
Not only do we have to approximate functions at mesh points, but we also have to come up with a scheme to approximate the derivative appearing in Equation (2.1). There are several possibilities, and they are based on divided differences. For example, the following divided differences approximate the first derivative of
(2.8)
The first two divided differences are called one-sided differences and give first-order accuracy to the derivative, while the last divided difference is called a centred approximation to the derivative. In fact, by using a Taylor's expansion (assuming sufficient smoothness of
FIGURE 2.1 Continuous and discrete spaces.
(2.9)
Note that the first two approximations use two consecutive mesh points while the last formula uses three consecutive mesh points.
We now decide on how to approximate Equation (2.1) using finite differences. To this end, we need to introduce two new concepts:
One-step and multistep methods
Explicit and implicit schemes.
A one-step method is a finite difference scheme that calculates the solution at time-level
An explicit difference scheme is one where the solution at time