Finite Difference Methods
Contents (hide)
1. Introduction
Finite differences are routinely used in order to descritize and solve the Black-Scholes partial differential equation. The log-asset price space and the time to maturity are typically discretized. Based on the resulting grids, the partial derivatives are approximated. Depending on the approximation used, the most popular methods are the explicit method, the implicit method and the
-method. A special case of the latter is the very popular Crank-Nicolson method.
All methods use derivative approximations. In particular, first derivatives can be computed using
- Forward differences, where
- Backward differences, where
- Central differences, where
Second derivatives are approximated by
.
All approximation schemes lead to a linear system of equations. Such systems are typically tridiagonal, and can be solved rapidly using the L-U decomposition. For options with early exercise, such as American or Bermudan options, iterative methods, such as the iterative SOR method can be employed.
In all cases examined here (where the options are not backward looking), the BMS partial differential equation that the derivative price
will satisfy is
In order to transform this differential equation into one with constant coefficients, which is easier to handle, we use the transformation
. We will also use the transformation
, in order for
to denote the time to maturity, rather than the actual time. Then, the differential equation becomes (with
)
In the sections below we assume a rectangular grid over the log-price/time space. Say that we introduce the grid size
across the log-price, and
across time. We use
points over the log-price support, and
points over the interval {0,T$}. We will use the notation
to denote the derivative price when the underlying asset log-price is
and there is
time to maturity. Recall that although in principle the log-price can take any value in
, in order to implement a numerical solution we will have to truncate the support, over the interval
.
2. The boundary conditions
All derivatives will satisfy the above relationship, regardless of their payoff structure. Different derivative contracts will specify different boundary conditions. The numerical implementation of a solver will deal with the discretization of the partial derivatives, and the specification of the boundary conditions.
We differentiate between two sets of boundary conditions, with respect to the availability or not of an early exercise feature.
If early exercise is not allowed, the boundary conditions are easy to specify and implement. Plain vanilla European and Barrier options will fall within this category. In the case of a European style contract, the boundary condition on maturity will be
, where
is the payoff as a function of the log price. In addition, boundary conditions have to be specified on the option value, as the underlying log-price hits the truncation interval. If barriers are present, these will determine the boundaries: for example, if the option is cancelled when a boundary is crossed, then the option value on this boundary is zero. If boundaries are not specified, the behaviour of the option value as
has to be investigated. The option Delta (that is
) can be used for this assessment. As an example, call (resp. put) options will have
(resp.
) as
, and
(resp.
) as
.
If the option can be exercised early, it follows that the option values have to be at least equal to the payoffs of immediate exercise (otherwise, trivial arbitrage opportunities will exist). This will imply the condition
.
3. Explicit differences method
This is the easier to implement method, but also the most unstable numerically. Assume that we are at the interior point
, where the derivative price is
. We shall approximate:
- The time derivatives using forward differences,
- The log-price derivatives using central differences,
Finaly, substituting into the PDE yields the following expression, which has to be satisfied at each time
.
The solution of the PDE moves in a recursive fashion: Starting at time
we can use the above relationship to retrieve the value of the function at time
. Solving for
, we can express the PDE solution in an intuitive form
where
Therefore, starting on the maturity, where the price of the derivative equals its payoffs, that is to say
It is easy to verify that this method is equivalent to a trinomial tree, where the transition probabilities are
,
, and
. The extra
term discounts the expected payoffs.
Solving backwards through the grid is straightforward. Starting with the values
which are set on maturity, we can compute the values of
based on the above relationships. We can compute these values for all
, but not for the first and the last grid points. For these we employ the boundary conditions, which will set
and
denote the Deltas for very small and very large prices, respectively. Using the same procedure we can loop backwards through the whole grid.
4. Implicit differences method
The implicit differences method is implemented by approximating the time derivatives using backward differences.
The PDE now yields:
In order to make this expression comparable to the one we used in the Explicit Differences scheme, we move all time subscripts forward by one,
. Then, we have
We can see that now knowing the prices at time
does not lead to the prices at time
as easy as before. Nevertheless, we can rewrite the above as
where the values for
,
and
are defined above. Once again, these equations will apply for all values
, except the boundary ones. For them, special care has to be taken, and as before we will have (for all
)
We cannot solve each equation for the updated derivative prices, but we can solve all equations, jointly, as a system. If we denote with
the (column) vector of the prices at time
, then we can express the system in the form
Where:
- The matrix
is tridiagonal, given by
- The vector
is nearly identical to the vector of the prices
, apart from the boundary elements, given by
The above tridiagonal system can be solved numerically using the L-U decomposition, or other methods. If the derivative has American features, then the solution has to be subject to the constraint
. Such contrained problems can be solved using the iterative SOR method.
5. The theta-method
The
method is somehow between the Explicit and Implicit schemes, being a weighted average of the two.
It is perhaps easier for the exposition, if we trivially express the Implicit method as a matrix equation, in order to be of a form similar to the Explicit one
where
is the identity matrix, and
has elements the right hand sides of the Explicit method solution, namely
The
method is a cocktail of
Implicit and
Explicit. By multiplying the two corresponding systems with their respective weights, and summing up, we end up with a tridiagonal system of the form
As a triagonal system, it can be solved using any of the methods described with the Implicit scheme.
6. The Crank-Nicolson method
The Crank-Nicolson method (often misspelled as Crank-Nicholson) is a special case of
. In this case, the above systems simplify to
with
and
What links here?
What links here?
Got a question?
A short note
''To stop bots posting Viagra adverts as comments I have put a password in place. It just reads AEKARA, which you can use to edit the pages on this site. Sorry for any inconvenience but it was getting a real pain.
Comments(add/edit)
jpeclqpdfukyuofzgqui, http://carolinaartmag.com/ Buy Zoloft, wAvKhQA.
Printable View