In the historical backdrop of option pricing model, the Black-Scholes or Black-Scholes-Merton model   is a standout amongst the most generous model. This model showed that the significance that mathematics plays an important role in the field of finance.
The Black-Scholes model was first published by Fischer Black and Myron Scholes in their 1973 seminal paper  , “The Pricing of Options and Corporate Liabilities”, published in the Journal of Political Economy. In the same year, they derived a partial differential equation, now called the Black-Scholes equation, which estimates the price of the option over time. Robert C. Merton was the first to publish a paper escalating the mathematical understanding of the options pricing model, and created the term “Black-Scholes options pricing model”.
Let us consider S as the price of the stock, which we consider as a random variable. V(S, t) be the value of an option as a function of time and stock price, K be the strike price, r be the risk-free interest rate, be the Volatility/the standard deviation of the stock return, and t be the time in years. Then the famous Black-Scholes equation that was developed by Fisher Black and Myron Scholes is
The above equation is a second-order parabolic partial differential equation known as Black-Scholes equation is actually a variation of a famous equation in physics that models the transfer of heat.
This equation can be solved by both analytically and numerically. Black and Scholes (1973) of M.I.T. first found the solution by taking advantage of previous research on option pricing that gave an idea of what the solution would look like. In  Mellin transformation was utilized to explain this model. They did not require variable change or explaining dispersion condition. R. Company, A.L. Gonzalez, L. Jodar  solved the Black-Scoles model which was modified with discrete dividend. They utilized a delta-characterizing grouping of generalized Dirac-Delta function and connected the Mellin transformation to acquire an integral formula. At last, the solution was approximated they approximated by utilizing numerical quadrature estimation.
In this article, a finite difference scheme is used to approximate the solution. This article is organized in the following way. Section 2 consists of the discussion of the dynamics of the model problem, and then the formulation of an explicit difference method to approximate the model and establishment of the stability of the scheme by convex combination in Section 3. In Section 4, we progress a programming code in MATLAB for the implementation of the numerical results for explicit finite difference scheme for Black-Scholes model. We compare the numerical solution with the analytical solution. We estimate the relative error of the numerical scheme in L1-norm that leads to show the rate of convergence graphically. We also compare the explicit method with the result obtained by another work using semi-implicit method  .
2. The Black-Scholes Model
The Black-Scholes model is a powerful tool for valuation of equity options. In the early 1970’s, Myron Scholes, Robert Merton, and Fisher Black made an important breakthrough in the pricing of complex financial instruments by developing what has become known as the Black-Scholes model. This model displayed the importance that mathematics plays in the field of finance.
The Black-Scholes model is used to calculate the theoretical price of European put and call options, ignoring any dividends paid during the option’s lifetime. While the original Black-Scholes model did not take into consideration the effects of dividends paid during the life of the option, the model can be adapted to account for dividends by determining the ex-dividend date value of the underlying stock.
This section consists of the basic assumptions in the Black-Scholes model  . The hugest is that volatility, a measure of how much a stock can be relied upon to move in the close term, is a constant over time. The Black-Scholes model additionally assumes stock move in a way referred to as an arbitrary stroll; at any given time, they are as liable to climb as they are to move down. These suppositions are blended with the rule that option pricing ought to give no instant gain up to either merchant or purchaser. The correct six suppositions of the Black-Scholes model are as per the following:
1) No dividends are paid, 2) option must be exercised upon expiration, 3) market movement course cannot be anticipated, 4) no commission is charged in the exchange, 5) interest rate stays steady and 6) stock returns are ordinarily distributed, hence volatility is consistent.
The equation of Black-Scholes is
It is a 2nd order partial differential equation (PDE) in S-space and 1st order in time. We generally use: at present t = 0, at expiry t = T.
For European call option  , let us denote the function value V by C. Now we define the initial and boundary conditions. In particular, we must consider final and boundary condition in the case of European Call option. The value at final time t = T can be calculated from the definition of call option. If at final time stock price is greater than strike price the call option will be worth because the buyer can buy the stock for K and sell it instantly for S and gain profit. But if then the buyer will not exercise the option and it will be worthless. So at t = T the option value is known is called the final condition and it is expressed as
For boundary conditions, we consider the value of C at S = 0 and as . If S = 0 then from the Equation (1) the payoff must also be 0. So the consequent boundary condition when S = 0:
when it is more likely that the option will be exercised and the value will be . As the exercise price has not any impact on the option value, so the option value is equivalent to
This is the right boundary condition. Finally, the Black-Scholes initial [final] boundary value problem for European call option is
3. Objective and Methodology
The main objective of this article is to study the Black-Scholes partial differential equation and find the solution numerically for a European call option so that the dynamics of this model can be understood. A finite difference scheme will be introduced to approximate the numerical solutions. The boundary conditions will be used for the European call option. The stability of this numerical scheme is also studied. The study will be conducted theoretically. For this purpose, some computer programs such as MATLAB, Mathematica was used.
4. Numerical Solution
In most cases, it is very difficult to obtain the analytical solution of partial differential equation, even we obtain an analytical solution but in a very complex form. Therefore one needs to solve the PDE numerically. Finite difference method   is one of the popular methods that have been used to solve partial differential equations. In this section, a finite difference scheme is developed in order to obtain to solve the Black-Scholes model numerically.
4.1. Explicit Difference Scheme
Time and Space discretization:
The interval is divided into N equally length subintervals having length ∆t. The underlying asset/stock will take prices in the interval . However, an artificial limit is introduced which is normally three or four times bigger than the strike price K. This interval is also divided into M equally sized subintervals having length ∆S. Therefore the space is approximated by a grid
where n = 0,.., N and i = 0,...,M . Whenever it is written Cn it’s actually mean the numerical value of C(nΔt,iΔS )
Now to formulate an explicit difference scheme, the Black-Scholes partial differential equation
is discretized using the following formulae:
The discretization of the time derivative is obtained by backward difference formula as below:
[Note: As many Partial Differential Equations have an initial condition, the new time step solution is approximate by discretizing the time derivative by forward difference formula. But in this case, the value of the option at the expiration time or at the final time is known which can be explained by the definition of call option. That is why backward difference formula is used for time derivative to calculate the previous time step solution, in this case, the option value at present-time.]
Now the discretization of the first order derivative of S is obtained by central difference approximation and the second order derivative of S is obtained by a symmetric central difference approximation.
Now using Equations (9)-(11) in Equation (8) we get,
This is the explicit difference scheme for Black-Scholes equation.
4.2. Stability Condition
Here the establishment of the stability condition for numerical scheme of Black-Scholes equation is discussed. For stability condition, it is considered that the scheme is without the source term i.e. considering . Therefore,
For convex combination, the sum of coefficient is equal to 1. And also,
5. Numerical Results
Consider for purposes of graphical presentation the value of a call option with strike price K = 100. The risk-free interest rate r = 0.12, the time to expiration is T = 1 measured in years, and the volatility is = 0.10. The value of the call option is plotted over a range of stock prices surrounding the strike price is illustrated in Figure 1.
Figure 1 is produced by MATLAB. The figure shows the price of the stock at different time.
Figure 1. Numerical solution for European call at different time steps with K = 100, r = 0.12, σ = 0.1, T = 1.
Figure 2 is the analytic solution of the Black-Scoles model for the same parameters as before is.
If the above two figures are combined into one, one can easily examine how the analytical and numerical solutions differ with each other. For identification, two different colors were used. Here the values of T, r, K, σ are same as previous and the temporal grid size ∆t = 0.01, and spatial grid size ∆S = 1.50.
From Figure 3, it is observed that the two solutions are almost superimposed. The red color represents the numerical solution and green represents the analytic solution. Two solutions cannot be distinguished by the naked eye. Hence the numerical scheme has a very small error.
Now to find the relative error for the scheme, the computation of the relative error in L1-norm which is defined by
Figure 2. Analytic solution for European call at different time steps with K = 100, r = 0.12, σ = 0.1, T = 1.
Figure 3. Analytic solution and Numerical solution at initial time (K = 100, r = 0.12, σ = 0.1, T = 1).
where is the analytic solution and is the numerical solution of Black-Scholes model for European call option. We perform our numerical scheme for t = 0 to 1, r = 0.12, K = 100, σ = 0.10 with temporal grid size ∆t = 0.0500 and spatial grid size ∆S = 3 which satisfy the stability conditions.
The relative error is shown in Figure 4.
From Figure 4 it is seen that as time t goes from 0 to 1, the relative error becomes smaller and smaller. For explicit difference scheme, the relative error is less than 0.0035 which is quite acceptable. Figure 5 represents that the error is decreasing with respect to the smaller discretization parameters ∆t and ∆S, which shows the convergence of the explicit difference scheme.
Figure 4. Relative error for explicit difference scheme in the order of 10−3.
Figure 5. Relative error of explicit difference scheme for different temporal and spatial grid size in the order of 10−3.
Table 1. Comparison between the semi-implicit method and explicit method.
Table 2. Approximate value by explicit centered method and the exact value.
6. Comparison with Other Numerical Scheme
In this section, a comparison is made between our explicit difference scheme with another numerical scheme that was used in finding the approximate solution of Black-Scholes model which is Semi-implicit method  .
For a European call option with , T = 0.25, K = 10, r = 0.1, σ = 0.4, with temporal grid size N = 2000 and spatial grid size M = 200, the Semi-implicit method and Explicit method were used to set the table below.
From Table 1 it is seen that explicit scheme gives better results than semi-implicit method. But the results obtained by the scheme that was developed here are not much close to the exact value. But if the temporal grid points are increased up to N = 41,000, spatial grid points up to M = 1000 and set the other parameters value as above then the following values (Table 2) were found for different stock prices.
This article concerned with the numerical solution of Black-Scholes model. The model is studied and derived an explicit finite difference scheme and established a stability condition of the scheme. The relative error of the explicit scheme was estimated by comparing the numerical solution with the analytical solution in L1-norms and presents the convergence features of the scheme graphically. The numerical simulation results are seen in good agreement with the well-known qualitative behavior of the Black-Scholes PDE. Also, a comparison is presented between the explicit method and the result obtained by another work using the semi-implicit method where our result is found more accurate than that of the semi-implicit method.
 Jodar, L., Sevilla-Peris, P., Cortes, J.C. and Sala, R. (2005) A New Direct Method for Solving the Black-Scholes Equation. Applied Mathematics Letters, 18, 29-32.
 Company, R., Gonzalez, A.L. and Jodar, L. (2006) Numerical Solution of Modified Black-Scholes Equation Pricing Stock Options with Discrete Dividend. Mathematical and Computer Modeling, 44, 1058-1068.