Abstract

In this paper, the Saul’yev finite difference scheme for a fully nonlinear partial differential equation with initial and boundary conditions is analyzed. The main advantage of this scheme is that it is unconditionally stable and explicit. Consistency and monotonicity of the scheme are discussed. Several finite difference schemes are used to compare the Saul’yev scheme with them. Numerical illustrations are given to demonstrate the efficiency and robustness of the scheme. In each case, it is found that the elapsed time for the Saul’yev scheme is shortest, and the solution by the Saul’yev scheme is nearest to the Crank–Nicolson method.

1. Introduction

Many problems in financial derivatives [1], option pricing [2], chemical diffusion [3], computational fluid dynamics [4], hydrodynamics [5], and control theory [6] can be modeled using partial differential equations (PDEs). In recent years, a lot of attention has been devoted to the study of nonlinear PDEs and methods for numerical solutions of nonlinear problems. Our aim in this paper is to approximate the solution of a nonlinear PDE with initial and boundary conditions by using an efficient numerical method so-called the Saul’yev finite difference scheme.

As said in [7], a noticeable feature of the explicit finite difference methods is the restriction of the size of the time step due to stability requirements. For most problems, these are impractical methods. On the other hand, it is widely known that implicit schemes are stable but must be solved in a matrix system at each time level. Hence, it would be nice if we could find stable schemes which are explicit too.

The ADE scheme is documented by Saul’yev in [8] and is the abbreviation of the phrase “alternating direction explicit” method. The Saul’yev scheme is explicit; therefore, it needs less computational works in comparison with implicit schemes. It is unconditionally stable and first-order accurate. The Saul’yev method has been applied to many problems in literature. Roberts and Weiss [9] applied the Saul’yev scheme to first-order hyperbolic equations. Dehghan [7] obtained the numerical solution to an inverse problem by the Saul’yev scheme. In [10], Campbell and Yin applied the Saul’yev scheme to some quasilinear one-dimensional advection-diffusion problems. They derive the stability conditions for combinations of diffusion and advection schemes. Authors of [11] presented simple revisions to the Saul’yev scheme that make it more accurate without a significant loss of computation efficiency. Saul’yev scheme was used to solve telegraph equation in [12]. Sun [13] used Saul’yev’s scheme to formulate certain approximation schemes. In addition, the first article discusses the application of the Saul’yev scheme to one-factor option pricing problems [14]. Soheili and co-authors [15] used the Saul’yev scheme in order to approximate the solution of stochastic partial differential equations. Moreover, stochastic alternating direction explicit (SADE) finite difference schemes for solving stochastic time-dependent advection-diffusion and diffusion equations are applied in [16]. Abbasbandy and Shirzadi [5] used the Saul’yev scheme for solving one-dimensional equations of conservation law form.

The Saul’yev method was used for the digital simulation under derivative boundary conditions [17, 18]. Stability criteria, a modified Saul’yev’s explicit method, for parabolic PDEs were derived and compared with those of classical Saul’yev’s explicit method and Crank–Nicholson’s implicit method by Towler and Yang [19]. Ali and Abdullah discussed the analysis and implementation of the explicit Saul’yev difference scheme for the solution of 2D time fractional subdiffusion equations [20]. A new group explicit method for solution of diffusion equation was presented by Tavakoli and Davami [21]. Saul’yev-type asymmetric schemes had been widely utilized in solving diffusion and advection equations, so that Saul’yev type schemes are derived from the exponential splitting of the semidiscretized equation [22]. The Saul’yev finite difference algorithms were utilized for the electrochemical kinetic simulations of mixed diffusion/homogeneous reaction problems [23, 24]. A combined mixed finite element ADI scheme was employed to solve Richards’ equation with mixed derivatives on irregular grids [25].

In this paper, we use the Saul’yev scheme for a fully nonlinear partial differential equation with initial and boundary conditions, in which this scheme not only is explicit but also is unconditionally stable. As we shall see, the scheme is consistent and monotone too. We will study the numerical solution of the problem by means of a particular kind of the finite difference schemes. The Saul’yev scheme is an explicit method for solving partial differential equations. To the best of our knowledge, such an approach has not been previously employed to solve this kind of nonlinear problem.

The contents of this paper are the following: in the next section, we introduce a nonlinear partial differential equation. In Section 3, we apply the Saul’yev scheme for the nonlinear problem. The consistency, monotonicity, and stability of the scheme are shown in Section 4. Numerical experiments are performed in Section 5. Finally, we sum up the conclusions in Section 6.

2. Nonlinear Partial Differential Equation

Consider the following nonlinear partial differential equation:where and are the given points, with initial and Dirichlet boundary conditions,where is a known value. Function is the solution of the following nonlinear ordinary differential equation:

The famous work of [26] was one of the first to call broad attention to the transaction costs in finance and presents the theoretical discussion of function . In contrast to [27] that the ordinary differential equation (3) is solved with the ode45 function in MATLAB, we use the exact solution of (3) in this paper. It is worth noting that the ode45 function in MATLAB is based on the Runge–Kutta one-step solver. Some other similar equations arise in computational finance in various forms, and it is important to know that these PDEs do not have analytic computable solution, and we must resort to numerical methods in order to find an approximate solution.

To study the consistency of the Saul’yev scheme, we need to bound the approximation of the nonlinear term in the equation. Hence, Theorem 1 plays an important role in the consistency of the scheme in Section 4. Moreover, the solution of equation (3) is defined in Theorem 2, which will be used in Section 5.

Theorem 1. Let . Then, is a continuously differentiable function at and satisfieswhere is the real numbers set, and

Proof. see [28].

Theorem 2. The unique solution of equation (3) is defined as

Proof. See [29].

3. Saul’yev Scheme for the Nonlinear Problem

The problem (1) is described in an infinite domain . We consider the truncated numerical domain and divide it into an mesh ( and are integers) with the spatial step size in direction and the time step size in direction , respectively.

Grid of mesh points is defined bywhere , and . Notation is used for and approximated the solution of our fully nonlinear PDE in and . Here, we use the forward finite difference approximation for the first-order time derivative as

Also, we introduce two operators (, central, and , Saul’yev) for approximation of the second-order derivative as

Substituting approximations (8), (9), and (10) into equation (1) leads to the following difference equation:

In function , we approximate the second-order spatial derivative by . If we consider instead of in in (11), the scheme can only be solved by a nonlinear iteration in each time step which is quite time-consuming. By denoting and , we get the difference equation:for . Although the approximation (12) does not appear explicit because and are on the left-hand side, a suitable use of the equation makes it explicit. If we write (12) in the form of (13) and begin the calculation at the left boundary, then move to the right, so that only the single value is unknown, and the scheme will be explicit.

According to Theorem 2, the range of function is the interval ; therefore, , and hence , for all and . On the other hand, it is obvious that ; therefore, in (13), we have . The next section contains an analysis of the scheme described above.

4. Consistency, Monotonicity, and Stability Analysis

4.1. Consistency

As said in [30], dealing with reliable numerical schemes, the consistency of the difference scheme with the equation is a necessary requirement because this means that the exact theoretical solution of the partial differential equation approximates well to the solution of the difference equation as the step sizes tend to zero. In other words, the problem of consistency is the problem of finding the condition for which a discrete problem is an approximation of the corresponding continuous problem. Let us consider equation (1) with exact solution as , and let represent the finite difference scheme (11). Hence,

It will be shown that as and . By means of Taylor series, we havein which

In the same state,in whichAlso,in which

Hence, by (15) and (17),

Let us denote , and . It should be noted that the use of in (9) will not cause any ambiguity here. We see

As we introduce the function in Theorem 1, it follows that

Applying the mean value theorem for the function , we will have

Therefore,

For the truncation error, we will see

Hence,where the upper bound of , , and are introduced in (19), (22), and Theorem 1, respectively.

4.2. Monotonicity

In the numerical schemewe say it is monotonicity preserving, if any positive perturbation to any of produces a positive perturbation of . If is differentiable, then this is equivalent to

In the case of nondifferentiable , we will use the following definition of monotonicity [31]. A discretization of form (30) is monotone if either or

In many problems such as financial applications of PDEs, finite difference schemes should produce positive values, but not all schemes have this property. In the next theorem, we will see the monotonicity of the Saul’yev scheme.

Theorem 3. If the time step in numerical scheme (13) is selected, such thatthen the scheme is monotone.

Proof. We consider perturbing by an amount . Because ,Also, we perturb by an amount , the difficulty in verifying these relations for discrete (13) comes from the nonlinear term . Consider as follows:Because is an increasing function [29], henceand then, . Therefore,hence , and finally,In the same manner, we perturb by . Then, we haveIn the case of perturbing by , we consider as follows:As and because is an increasing function,and then, . By supposing and then , we haveTherefore, , and finally,

4.3. Stability

Another important feature of a finite difference equation is its stability. It is a property concerned with the behavior of errors produced in the finite difference solution due to errors introduced in a previously calculated solution. In this subsection, we show that the Saul’yev scheme for the nonlinear equation (1) is unconditionally stable by using the matrix method.

Equation (12) can be written in the matrix formwhere

Considering , we will have

For the scheme given by (45), the error equation at the level can be written as . Eigenvalues of matrix are as

By Theorem 2, , and hence, , for all and . On the other hand because , hence we have

Therefore, the spectral radius , and the Saul’yev finite difference scheme is unconditionally stable.

5. Numerical Experiments and Discussion

In this section, we use a 1.80 GHz Intel(R) Core(TM) with 4 GB memory for all computations. The scheme was implemented in MATLAB R2013a.

Comparing an explicit method, we consider the classical forward time central space scheme [32]. We solve nonlinear equation (1) with (2), (3) in the matrix form , and , in which matrix can be written as

is a tri-diagonal matrix. Following choice of parameters on interval are used and shown in Figure 1. Elapsed time is 0.274005 seconds.

In comparison by implicit schemes, first we consider the classical backward time central space scheme [32]. The difference equation for (1) by BTCS can be written asfor and . This scheme is unconditionally stable for all . It is worth to note that we applied Thomas algorithm for solving systems in the BTCS program. Parameters are used in computational. Abovementioned parameters are plotted in Figure 1. Elapsed time for this computation is 2.283767 seconds. We compare the Saul’yev solution of (1) with the solution for the choice of parameters . It is plotted in Figure 2. Here, the elapsed time for BTCS is 0.886669 seconds, and the elapsed time for Saul’yev is 0.064191 seconds. Absolute error of BTCS and Saul’yev schemes is plotted in Figure 3 too. Errors are computed, and , in which

We note that returns a row vector E containing the maximum element from each column matrix ; then, (52) returns the largest element in E. In the same state, we have mean instead of in (52) for . Also, the error of BTCS and Saul’yev schemes for on (0, 100) is plotted in Figure 4.

The second implicit method which we compare with the Saul’yev scheme is the Crank–Nicolson (CN) method [32]. We solve nonlinear equation (1) with (2) and (3) by CN asfor each . This scheme is unconditionally stable for all like the BTCS scheme. This procedure is applied for the parameters on interval and is shown in Figure 5. Here, elapsed time is 1.608705 seconds. We applied Thomas algorithm in the CN program as we used it in the BTCS program.

On the other hand, we compare Saul’yev and CN in Figure 6 for parameters . Elapsed time for CN is 0.192018 seconds, and elapsed time for Saul’yev is 0.128141 seconds. The difference between two solutions by Saul’yev and CN is shown in Figure 7. In this computation, we see and .

Among four schemes FTCS, BTCS, CN, and Saul’yev, only Saul’yev is both explicit and unconditionally stable. As can be seen in Table 1, the elapsed time for the Saul’yev scheme is shortest than BTCS and CN, which are implicit. In these computations, the used parameters are on .

We computed and of BTCS and CN for some and are shown in Table 2 for parameters on . We note if , partial differential equation (1) will be a quasilinear equation instead of the nonlinear equation. It is widely known that the accuracy of CN is higher than BTCS. Table 2 shows that Saul’yev solutions are closer to CN solutions.

6. Conclusions

This article has outlined an approach for the study of a nonlinear partial differential equation with initial and boundary conditions. We studied the numerical solution of the problem by means of a particular kind of the finite difference schemes. Saul’yev scheme is an explicit method for solving partial differential equations. An advantage of this scheme is the little amount of CPU times used in determining the solution compared to the implicit schemes. In contrast to more explicit schemes, the Saul’yev finite difference scheme is unconditionally stable. Hence, there is no restriction of the size of the time step. Several numerical methods have been considered and compared for computing the solution of the nonlinear partial differential equation. The theoretical analysis carried out in this paper shows that the method is consistent and monotone too. Practical implications of the scheme demonstrated the robustness of the scheme. We employed the Saul’yev scheme for a fully nonlinear partial differential equation with initial and boundary conditions, in which this scheme not only is explicit but also is unconditionally stable. As we shall see, the scheme is consistent. We studied the numerical solution of the problem by means of a particular kind of the finite difference schemes. For future works, this approach can be employed to solve these kinds of nonlinear problems.

Data Availability

The datasets supporting the conclusions of this article are included within the article and its additional file.

Conflicts of Interest

The authors declare that they have no conflicts of interest.