Numerical solution of the Black-Scholes PDE

:: Why a numerical solution ::

:: Transformation of the Black-Scholes equation ::

:: Discretization ::

:: Implicit scheme for a call option ::

:: SOR method ::

:: Comparison of numerical pricing: European vs. American option ::

European option - algorithm for the transformed function u American option - algorithm for the transformed function u Implement the algorithm above.

:: Practice problems ::

  1. Optimal omega for the SOR method. Prove that the eigenvalues of the matrix
    img
    are
    img
    for k=1,2,...,n. Use this result to derive the optimal omega for SOR method applied to numerical solution of the Black-Scholes equation. The optimal omega shoud be expressed as a function of gamma defined in the lectures (depending on time and space step, and on stock volatility). Hint: Prove it firstly for a=0, b=1 and them show the relation between the eigenvalues of this matrix and the original one.

  2. Implement the numerical pricing of an American put. Use it to solve the following pricing problem: The stock price follows a geometrical Brownian motion with parameters mu=0.20, sigma=0.40. The stock does not pay dividends. Interest rate equals 10 percent. Compute the price of a put option with expiration in 3 months and exercise pirce 10 USD for the following stock pricces: 0, 2, 4, 6, 8, 10, 12, 14, 16 USD. Round the results to 4 decimal places. You can check your results with those below:
    img


Financial derivatives - exercises
Beáta Stehlíková, FMFI UK Bratislava


E-mail: stehlikova@pc2.iam.fmph.uniba.sk
Web: http://www.iam.fmph.uniba.sk/institute/stehlikova/