Abstract
This study proposes a uniformly convergent finite difference scheme on a uniform mesh to solve singularly perturbed boundary value problems for second-order ordinary differential-difference equation of the convection-diffusion type. Error estimates are produced for the proposed numerical scheme. The theoretical results are supported by numerical simulations of test problems.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
Introduction
Singularly perturbed differential-difference equations (SPDDEs) are the outcomes in mathematical models of practical importance such as those in the fields of physics and biology [1, 2]. Due to the presence of the perturbation parameter and the delay term, the solution to such a class of problems may exhibit boundary or interior layers. Due to the dependence of the solution profile on the singular perturbation parameter, the numerical approaches designed for addressing regular problems turn out to be inapplicable. Also, the traditional numerical schemes on uniform meshes do not produce uniformly convergent results for SPDDEs. The first advancements in the study of singularly perturbed differential-difference equations have been initiated by Lange and Miura [3, 4]. They carried out the analytical work for solving the boundary-value problems for singularly perturbed linear second-order differential-difference equations with small shifts. The problems with solutions that display layer behaviour at one or both of the boundaries were studied. It has been discovered that the size of the shifts compared to the perturbation parameter plays a vital role in the solution profile of the problem. Kadalbajoo and Sharma [5,6,7] provided numerical methods for boundary value problems with delay argument comparable to perturbation parameter. Kadalbajoo and Ramesh [8] discussed numerical schemes to approximate the solution of the boundary value problem, which is defined on Shishkin meshes. Kadalbajoo and Devendra Kumar [9] obtained the scheme for the singularly perturbed boundary value problem by using the B-spline collocation technique with piecewise uniform meshes. Mohapatra and Natesan [10] proposed adaptive grid computational techniques for solving singularly perturbed differential-difference equations on a nonuniform mesh. Nageshwar Rao and Chakravarthy [11, 12] presented a tridiagonal fitted finite difference technique for singularly perturbed linear second-order differential-difference equations and focused on how shift affects the behaviour of the boundary layer or the oscillatory behaviour of the solution. Sahihi et al. [13] solved singularly perturbed second-order differential-difference equations using the reproducing kernel Hilbert space method based on a collocation approach. Swamy et al. [14] presented a computational technique for singularly perturbed delay differential equations exhibiting twin-layers or oscillatory solution. kiltu et al. [15] presented a higher-order numerical scheme for solving reaction-diffusion-type singularly perturbed delay differential equation with solution exhibiting layer or oscillatory behaviour. Sirisha et al. [16] proposed a mixed finite difference approach to solve singularly perturbed differential-difference equations with mixed shifts by using domain decomposition. Ravi Kanth and Murali [17] presented a numerical method for nonlinear singularly perturbed delay differential equations by fitted splines method. Rai and Sharma [18] focused on the interpolation technique for singularly perturbed delay differential equation with or without a turning point, on a piecewise uniform Shishkin mesh. Chakravarthy and Kumar [19] presented a fitted operator finite difference scheme for a reaction-diffusion-type singularly perturbed delay differential equation based on Numerov’s technique. Subburayan and Ramanujam [20] presented uniformly convergent finite difference method with piecewise linear interpolation on Shishkin meshes. Woldaregay and Duressa [21] considered the exponentially fitted operator mid-point upwind finite difference method to solve the singularly perturbed boundary value problem.
It is well known that when traditional numerical methods are used, these types of problems with smaller values of perturbation parameter generate erroneous results. So, it is essential to develop numerical techniques that could provide higher precision, despite the smaller values of the perturbation parameter, i.e., techniques that are parameter uniform convergent. Studying how the shift parameter affects the thin layer structure of the solution is another crucial component for these kinds of problems. To deal with these issues, in the present paper, we used a fitting parameter on a higher-order finite difference scheme for a singularly perturbed boundary value problem with a small negative shift. Briefly, the outline is as follows: In Sect. 2, we state the continuous problem and the problem is replaced with an approximate boundary value problem for computational feasibility. Also, some important properties of the analytical solution of the modified problem are presented. In Sect. 3, an exponentially fitted finite difference method is presented for the modified problem. Convergence analysis of the numerical scheme is discussed in Sect. 4. Section 5 presents numerical results and graphs for the solutions to the test problems. Discussion on the efficiency of the method and the conclusions are given in Sect. 6.
Statement of the Problem
Consider the singularly perturbed two point boundary value problem of convection-diffusion type with a small negative shift in the first derivative term
under the interval condition
and the boundary condition
where \(0<\epsilon \ll 1\) is the pertutbation parameter, and \(\delta \) is the delay (shift) parameter. As \(\delta <\epsilon \), for \(p(x)\ge M > 0\), \((\epsilon -\delta p(x))>0\), \(\forall \) \(x\in [0,1]\) and the solution exhibits a boundary layer near \(x=0\), while for \(p(x)\le {{\overline{M}}} < 0\), the solution exhibits a boundary layer near \(x=1\). We assume \(q(x)\le -{{\hat{\theta }}}<0\) where \({{\hat{\theta }}}\) is a positive constant, q(x), \(\phi (x)\) and r(x) are functions which are sufficiently smooth, \(\beta \) is a constant. The function v(x) will be a smooth solution to the problem (1-2), when it satisfies (1) and (2), being continuous in the underlying interval [0, 1] and also continuously differentiable in (0, 1).
As \(\delta <\epsilon \), the use of Taylor’s series expansion for the term containing delay is valid [3] and hence the approximation to the boundary value problem (1) and (2) is
subject to
where, \({\mathscr {L}}(w(x))=\mu w^{\prime \prime }(x)+ p(x) w^{\prime }(x)+q(x) w(x)\), \(\mu (x)= \epsilon -\delta p(x)\), \(w(x) \approx v(x)\). The following Lemma shows that \({\mathscr {L}}\) satisfies the minimum principle:
Lemma 1
Suppose w(x) is a function, sufficiently smooth and satisfying \(\{w(0), w(1)\}\ge 0\), then \(w(x) \ge 0\), \(0\le x \le 1\), whenever \(\mathscr {L} (w(x))\le 0\), \(0\le x \le 1\).
Proof
Let \( 0\le {{\bar{z}}}\le 1 \) be such that \( w({{\bar{z}}}) = \min _{x\in [0,1]} w(x) \) and assume that \( w({{\bar{z}}}) <0\). Clearly \({{\bar{z}}}\notin \{0,1 \} \), therfore \( w^\prime ({{\bar{z}}})=0 \) and \( w^{\prime \prime }({{\bar{z}}}) \ge 0.\)
Now we have, \( {\mathscr {L}}(w({{\bar{z}}})) =\mu ({{\bar{z}}}) w^{\prime \prime }({{\bar{z}}})+p(x) w^\prime ({{\bar{z}}})) + q(x) w({{\bar{z}}}) > 0,\) which is a contradiction to our assumption that \(w({{\bar{z}}}) <0\). Therefore, \( w({{\bar{z}}}) \ge 0 \) and hence \( w(x) \ge 0 \; \forall x \in [0,1] \). \(\square \)
The stability estimate for the solution of the continuous problem (3) is given in the following Lemma:
Lemma 2
If w(x) is the solution of the problem (3) and (4), then we have \( \Vert w \Vert \le {\hat{\theta }}^{-1} \Vert r \Vert + \max (\vert \phi _0 \vert , \vert \beta \vert )\), where \( \Vert . \Vert \) is the \( l_\infty \) norm given by \( \Vert w \Vert =\max _{s\in [0,1]} \vert w(x) \vert \).
Proof
We consider two barrier functions \( \psi ^{\pm } \) as below:
Then we have
and
Also
We have \(q(x) {\hat{\theta }}^{-1} \le -1, \text { since } q(x) \le - {{\hat{\theta }}} < 0\), using in the above inequality, we get,
By the minimum principle [22], we know that \( \psi ^{\pm } (x) \ge 0 \forall x \in (0,1) \), and we find the stability estimate. \(\square \)
The uniqueness of the solution of (3-4) is guarenteed by Lemma 1 and as the problem is linear, the existence also is implied. Furthermore, the boundedness of the solution of the problem is implied by lemma 2.
Lemma 3
Let the zeroth order approximate solution to (3) and (4) be \( w(x)=w_0^o +w_0^i \), where \(w_0^o\) is the approximate solution in the outer region of zeroth order and that in the layer region be \(w_0^i\). Then for a fixed positive integer j,
Proof
The outer(reduced) region problem is given by
and the inner(layer) region problem
From [23], we know that the zeroth order asymptotic approximations to the solution to the problem is
Assuming the coefficients to be locally constant on a fine mesh,
and hence, at the mesh points,
Therefore,
\(\square \)
Lemma 4
Let w(x) is the solution of the problem (3) and (4) then
\(\vert \vert w^{(k)} \vert \vert \le C (\epsilon -\delta M)^{-k}\) for \(k=1,2,3\).
Proof
Given any \(x\in (0,1)\), we can construct the neighborhood \(N_x=(c,c+\gamma )\), where \(\gamma \) is some combination of \(\epsilon \) and \(\delta \) yet to be determined, such that \(N_x\in (0,1)\).Then by mean value theorem there exists \(\zeta \in N_x\) such that
so
Now integrating Eq.(3) from \(\zeta \) to x and taking the modulus from both sides we get
this gives
Using Eq.(5) and the fact that \(x-\zeta \le \gamma \), after simplification we have following bound:
The right side is a minimum iff \(\gamma =(\epsilon -\delta M)^{1/2}\). For this value of \(\gamma \), we have
Thus the result is true for \(k=1\). Using Eq.(3) for w, we can obtain required bounds for \(k=2\) and on differentiating Eq.(3) the result for \(k=3\) follows. \(\square \)
Lemma 5
Let w is the solution of (3) and (4) and let \(w=w^o+w^i\). For \( 0\le k \le 3 \) and for sufficiently small \(\epsilon \), \(w^o\), \(w^i\) and their derivatives satisfy the following bounds:
Proof
For proof of this theorem the reader can refer [24]. \(\square \)
Numerical Method
We write Eq.(3) as
where
We divide the interval [0, 1] into N equal parts with constant mesh length h. Let \(0=x_0,x_1,x_2,\cdots ,x_n=1\) be the mesh points, so that \(x_i=ih,i=0,1,2,\cdots ,N.\)
We consider the sixth order finite difference method by Chawla [25] for the general non-linear boundary value problem of the form \(y^{\prime \prime }=g(x,y,y^\prime )\) as below:
where
By introducing fitting parameter \(\sigma (\rho ) \) for the second derivative and applying the above scheme to (6), we get the tridiagonal scheme
where
and
The above tri-diagonal scheme, along with the boundary conditions (4) is evaluated using Thomas Algorithm. The procedure followed for finding the fitting parameter \(\sigma _n\) is as follows:
-
A fitting parameter \(\sigma (\rho )\) is introduced into the second derivative term of (6) and is determined such that the solution of (8) converges uniformly in \(\mu \) to the solution of (3-4), which is illustrated in the subsequent steps.
-
The numerical scheme (9) obtained after intoducing the fitting parameter, when multiplied by h, as \(h\rightarrow 0\) is
$$\begin{aligned} \lim \limits _{h \rightarrow 0}\left[ \frac{\sigma }{\rho }(w_{n-1}-2 w_n+w_{n+1})+{\frac{p(0)}{2}}(w_{n-1}- w_{n+1})\right] =0 \end{aligned}$$ -
Using lemma (3), we get the fitting parameter, \( \sigma (\rho )=\frac{p(0)\rho }{2}\coth \left( \frac{p(0)\rho }{2}\right) \), which is a constant fitting factor.
-
In general we consider the variable fitting parameter
$$\begin{aligned} \sigma _n=\frac{p(x_n)\rho _n}{2}\coth \left( \frac{p(x_n)\rho _n}{2}\right) , \end{aligned}$$(10)where \( \rho _n=\frac{h}{\mu _n }\).
Convergence Analysis
Multipying Eq. (9) by h and incorporating the boundary conditions, we obtain the system of equations in the matrix form as
where
and
where
Here, \( {\mathcal {W}}= [{\mathcal {W}}_1,{\mathcal {W}}_2,\cdots , {\mathcal {W}}_{N-1}]^T\), the truncation errors at the mesh points \({\mathcal {T}}(h)=[{\mathcal {T}}_1, {\mathcal {T}}_2, \cdots , {\mathcal {T}}_{N-1}]^T. \)
Let \(W=[{{\overline{w}}}_1, {{\overline{w}}}_2, \cdots , {{\overline{w}}}_{N-1}]^T \cong {\mathcal {Y}} \) which satisfies the equation
Let \( e_n={{\overline{w}}}_n-{\mathcal {W}}_n, n=1, 2, \cdots , N-1 \) be the discretization error, so that \( {\mathcal {E}}=[e_1, e_2, \cdots , e_{N-1}]^T={{\overline{w}}}-{\mathcal {W}}\).
Now subtracting (12) from (11), we get
Considering \(|p(x)|\le c_1\), \(|q(x)|\le c_2\) and \({\mathscr {J}}_{i,j}\), the \((i, j)^{th}\) element of the matrix \({\mathscr {J}}\), we have
When h is sufficiently small,
Hence the matrix is irreducible [26].
Let \( {\mathcal {S}}_n\) be the sum of the elements of the \(n^{th}\) row of the matrix \((\mathscr {D}+\mathscr {J})\), then we have
Let \(c_{1^*}=\min \vert p(x)\vert \), \( c^*_1=\max \vert p(x)\vert \),
Let \(c_{2^*}=\min \vert q(x)\vert \), \(c^*_2=\max \vert q(x)\vert \),
then \( 0< c_{1^*}\le c_1 \le c^*_1, 0< c_{2^*}\le c_2 \le c^*_2\)
It can be easily verified that \(({\mathscr {D}}+{\mathscr {J}})\) is monotone ( [26, 27]).
Hence \(({\mathscr {D}}+{\mathscr {J}})^{-1}\) exists and \(({\mathscr {D}}+{\mathscr {J}})^{-1} \ge 0\).
From the error equation (13), we have
For sufficiently small h, we have
Let \({({\mathscr {D}}+{\mathscr {J}})}_{(n,i)}^{-1} \) be the \( (n,i)^{th} \) element of \({({\mathscr {D}}+{\mathscr {J}})}^{-1}\) and we define
since \( {({\mathscr {D}}+{\mathscr {J}})}_{(n,i)}^{-1} \ge 0 \) and \(\sum \limits _{i=1}^{N-1} {({\mathscr {D}}+{\mathscr {J}})}_{(n,i)}^{-1}\cdot {\mathcal {S}}_i =1 \) for \( n=1, 2,\cdots , N-1\).
Hence
Further
Hence from Eqs.(13) and (14), we get
This establishes the convergence of the finite difference scheme (9).
Numerical Results
To check the efficiency of the present method, it is applied on five problems of singularly perturbed linear differential equation with small shift. Three problems with solutions exhibiting boundary layer to the left of the interval [0,1] and two problems with right layer.
Since the exact solutions of these problems for different values of \(\delta \) are not known, the maximum absolute errors for the test problems are evaluated using the following double mesh principle:
The numerical rate of convergence for all the examples have been calculated by the formula
The maximum absolute errors are given in Tables 1, 2, 3, 4 and 5 for the considered test problems with \(\delta =(0.5) \epsilon \). The numerical rate of convergence for the considered problems for various values of \(\epsilon \) and \(\delta \) are given in Tables 6 and 7. The graphical solutions of the examples are depicted in Figs. 1, 2, 3, 4, 5, 6, 7, 8, 9 and 10 for different values of the shift parameter, where-in the effects of the shifts on the layer behaviour of the solutions can be examined.
Example 1
\(\epsilon v^{\prime \prime }(x)+ v^{\prime }(x-\delta )+v(x)=0\) subject to the interval and boundary conditions \(v(x)=1;-\delta \le x\le 0,v(1)=1\).
Example 2
\(\epsilon v^{\prime \prime }(x)+(1+x) v^{\prime }(x-\delta )- e^{-x}v(x)=1\) subject to the interval and boundary conditions \(v(x)=0;-\delta \le x\le 0,v(1)=1\).
Example 3
\(\epsilon v^{\prime \prime }(x)+0.25 v^{\prime }(x-\delta )-v(x)=0\) subject to the interval and boundary conditions \(v(x)=1;-\delta \le x\le 0,v(1)=0\).
Example 4
\(\epsilon v^{\prime \prime }(x)- v^{\prime }(x-\delta )+v(x)=0\) subject to the interval and boundary conditions \(v(x)=1;-\delta \le x\le 0,v(1)=-1\).
Example 5
\(\epsilon v^{\prime \prime }(x)- e^x v^{\prime }(x-\delta )-v(x)=0\) subject to the interval and boundary conditions \(v(x)=1;-\delta \le x\le 0,v(1)=1\).
Discussion and Conclusion
In this paper, a higher-order fitted finite difference method is presented for singularly perturbed boundary value problems of second-order ordinary differential-difference equation of the convection-diffusion type. The method is devised for the problems with shifts smaller than the petrubation parameter. The method is shown to be second-order uniformly convergent for various values of \(\epsilon \) and \(\delta \), which can also be observed from the numerical results. Computations are carried out to examine the efficiency of the present method and also the effects of the shifts on the layer behaviour of the solution. The graphs of the solutions of the considered problems are plotted for various values of \(\epsilon \) and \(\delta \) and they are found to be in good agreement with those in existing literature. From the figures, we conclude that as the shifts increase in magnitude, the layer thickness decreases in the case where the solution exhibits layer behaviour near left of the underlying interval, while it increases in the case where the solution exhibits boundary layer behaviour on the right side.
While classical finite difference methods fail to provide good results when the mesh parameter exceeds the perturbation parameter and lead to round-off errors, the fitted finite difference method developed in this paper gives uniformly convergent solutions, independent of the perturbation parameter and with considerably larger value of the mesh parameter. Also it provides a higher rate of convergence. An extensive numerical work has been carried out on MATLAB R2023a in double precision and presented in the form of tables which exhibit the efficiency of the method.
Data Availability
Enquiries about data availability should be directed to the authors.
References
Nayfeh, A.H., Chin, C., Pratt, J.: Perturbation methods in nonlinear dynamics-applications to machining dynamics. J. Manuf. Sci. Eng. 119(4A), 485–493 (1997)
Rihan, F.A.: Delay Differential Equations and Applications to Biology. Springer Nature, Singapore (2021)
Lange, C.G., Miura, R.M.: Singular perturbation analysis of boundary value problems for differential-difference equations. V. small shifts with layer behavior. SIAM J. Appl. Math. 54(1), 249–272 (1994)
Lange, C.G., Miura, R.M.: Singular perturbation analysis of boundary-value problems for differential-difference equations. VI. small shifts with rapid oscillations. SIAM J. Appl. Math. 54(1), 273–283 (1994)
Kadalbajoo, M.K., Sharma, K.K.: Numerical analysis of singularly perturbed delay differential equations with layer behavior. Appl. Math. Comput. 157(1), 11–28 (2004)
Kadalbajoo, M.K., Sharma, K.K.: Parameter-uniform fitted mesh method for singularly perturbed delay differential equations with layer behavior. Electron. Trans. Numer. Anal. 23, 180–201 (2006)
Kadalbajoo, M.K., Sharma, K.K.: A numerical method based on finite difference for boundary value problems for singularly perturbed delay differential equations. Appl. Math. Comput. 197(2), 692–707 (2008)
Kadalbajoo, M.K., Ramesh, V.P.: Hybrid method for numerical solution of singularly perturbed delay differential equations. Appl. Math. Comput. 187(4), 797–814 (2007)
Kadalbajoo, M.K., Kumar, D.: Fitted mesh B-spline collocation method for singularly perturbed differential-difference equations with small delay. Appl. Math. Comput. 204(1), 90–98 (2008)
Mohapatra, J., Natesan, S.: Uniform convergence analysis of finite difference scheme for singularly perturbed delay differential equation on an adaptively generated grid. Numer. Math. Theory Methods Appl. 3(1), 1–22 (2020)
Rao, R.N., Chakravarthy, P.P.: A finite difference method for singularly perturbed differential-difference equations with layer and oscillatory behavior. Appl. Math. Modell. 37(8), 5743–5755 (2013)
Rao, R.N., Chakravarthy, P.P.: An exponentially fitted tridiagonal finite difference method for singularly perturbed differential-difference equations with small shift. Ain Shams Eng. J. 5(4), 1351–1360 (2014)
Sahihi, H., Abbasbandy, S., Allahviranloo, T.: Computational method based on reproducing kernel for solving singularly perturbed differential-difference equations with a delay. Appl. Math. Comput. 361, 583–598 (2019)
Swamy, D.K., Phaneendra, K., Babu, A.B., Reddy, Y.N.: Computational method for singularly perturbed delay differential equations with twin layers or oscillatory behaviour. Ain Shams Eng. J. 6(1), 391–398 (2015)
Kiltu, G.G., Duressa, G.F., Bullo, T.A.: Computational method for singularly perturbed delay differential equations of the reaction-diffusion type with negative shift. J. Ocean Eng. Sci. 6(3), 285–291 (2021)
Sirisha, L., Phaneendra, K., Reddy, Y.N.: Mixed finite difference method for singularly perturbed differential difference equations with mixed shifts via domain decomposition. Ain Shams Eng. J. 9(4), 647–654 (2018)
Kanth, A.R., Murali, M.K.P.: A numerical technique for solving nonlinear singularly perturbed delay differential equations. Math. Modell. Anal. 23(1), 64–78 (2018)
Rai, P., Sharma, K.K.: Numerical approximation for a class of singularly perturbed delay differential equations with boundary and interior layer(s). Numer. Algor. 85, 305–328 (2020)
Chakravarthy, P.P., Kumar, K.: A novel method for singularly perturbed delay differential equations of reaction-diffusion type. Differ. Eq. Dyn. Syst. 29, 723–734 (2021)
Subburayan, V., Ramanujam, N.: Uniformly convergent finite difference schemes for singularly perturbed convection diffusion type delay differential equations. Differ. Eq. Dyn. Syst. 29, 139–155 (2021)
Woldaregay, M.M., Duressa, G.F.: Robust mid-point upwind scheme for singularly perturbed delay differential equations. Comput. Appl. Math. 40(178), 1–2 (2021)
Doolan, E.P., Miller, J.J.H., Schilderr, W.H.A.: Uniform Numerical Methods for Problems with Initial and Boundary Layers. Boole Press, Dublin (1980)
R.E. O\(^\prime \)Malley, Introduction to Singular Perturbations, Academic Press, New York, (1974)
Miller, J.J.H., O’Riordan, E., Shishkin, G.I.: Fitted Numerical Methods For Singular Perturbation Problems. World Scientific Publishing Ltd, New Jersey (1996)
Chawla, M.M.: A sixth-order tridiagonal finite difference method for general non-linear two-point boundary value problems. IMA J. Appl. Math. 24(1), 35–42 (1979)
Varga, R.S.: Matrix Iterative Analysis. Prentice-Hall Inc, Englewood Cliffs, New Jersey (1962)
Young, D.M.: Iterative Solution of Large Linear Systems. Academic Press, New York (1971)
Acknowledgements
The authors wish to thank the National Board for Higher Mathematics, Department of Atomic Energy, Government of India, for their financial support under the project No. 02011/8/2021 NBHM(R.P)/R &D II/7224, dated 24.06.2021.Authors are grateful to the anonymous referees for their valuable suggestions and comments that improved the quality of this paper.
Funding
The authors have not disclosed any funding.
Author information
Authors and Affiliations
Contributions
Both the authors RNR, PT, have contributed equally to this work.
Corresponding author
Ethics declarations
Confict of interest
The authors have not disclosed any competing interests.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Prathap, T., Rao, R.N. A Higher Order Finite Difference Method for a Singularly Perturbed Boundary Value Problem with a Small Negative Shift. Int. J. Appl. Comput. Math 9, 101 (2023). https://doi.org/10.1007/s40819-023-01578-4
Accepted:
Published:
DOI: https://doi.org/10.1007/s40819-023-01578-4
Keywords
- Singular perturbation problem
- Second order differential equation
- Convection-diffusion
- Differential-difference equation
- Numerical method