Abstract
A singularly perturbed reaction-diffusion problem with a discontinuous source term is considered. In Miller et al. (J Appl Numer Math 35(4):323–337, 2000) the authors discussed problems that arises naturally in the context of models of simple semiconductor devices. Due to the discontinuity, interior layers appear in the solution. The problem is solved using a hybrid difference scheme on a Shishkin mesh. We prove that the method is second order convergent in the maximum norm, independently of the diffusion parameter. Numerical experiments support these theoretical results and indicate that the estimates are sharp.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
Introduction
Singularly perturbed differential equations (SPDEs) appear in several branches of applied mathematics. Analytical and numerical treatment of these equations have drawn much attention of many researchers [1, 2]. In general, classical numerical methods fail to produce good approximations for these equations. Hence one has to go for non-classical methods. A good number of articles have been appearing in the past three decades on non-classical methods which cover mostly second order equations. Singularly perturbed second order problems are classified on the basis that how the order of the original differential equation is affected if one sets \(\varepsilon =0\) [2]. Here \(\varepsilon \) is a small positive parameter multiplying the highest derivative of the differential equation. We say that a singular perturbation problem (SPP) is of convection-diffusion type if the order of the differential equation is reduced by 1, whereas it is called reaction-diffusion type if the order is reduced by 2. In this paper the second type is considered. Various methods and applications are available in the literature in order to obtain numerical solution to SPDE of (1) subject to boundary conditions when \(f(x)\) is discontinuous on \(I_d\) [3–7]. In [8] the author examined singularly perturbed turning point problems exhibiting two exponential boundary layers using appropriate piecewise uniform Shishkin mesh and shown present method is layer resolving as well as parameter uniform convergent. A singularly perturbed two-point boundary-value problems (BVPs) for second-order ordinary differential equations (ODEs) arising in chemical reactor theory is proposed in [9] and to develop a numerical solution, an asymptotic approximation is incorporated into a suitable finite difference scheme. K. Mukherjee et al. [10] considered a singularly perturbed parabolic convection-diffusion one-dimensional problem and the proposed numerical scheme consists of classical backward-Euler method for the time discretization and a hybrid finite difference scheme for the spatial discretization, which provided second-order spatial accurate. The same author applied the similar technique to evaluate a class of singularly perturbed parabolic convection-diffusion problems with discontinuous convection coefficients in [11]. S. Natesan et al. [12] proposed a shooting method on parallel architecture for singularly perturbed two-point BVPs having less severe boundary layers. Two parameters singularly perturbed second-order ordinary differential equation with a discontinuous source term is presented in [13]. An appropriate piecewise uniform mesh is constructed to obtain parameter-uniform error bounds for the numerical approximation. Farrell et al. [3] examined a second order singularly perturbed reaction-diffusion equation in one dimension with discontinuity in the non-homogenous term and author derived first order convergence using fitted mesh method in shishkin mesh. In [4] the authors discussed parameter uniform schwartz method for the same type of problem on a non-standard piecewise uniform fitted mesh generating first order convergence in the maximum norm. Nevenka et al. [5] emphasized first order convergence for the similar type of problem by using pseudo spectral technique. In [6] the author considered singularly perturbed boundary value problem (SPBVP) of reaction-diffusion type with discontinuity at reaction co-efficient and non-homogenous term and obtained \(O(Ch+\sqrt{\varepsilon })\) using boundary value technique. In [14], the author used a hybrid finite difference scheme for singularly perturbed convection-diffusion problem with discontinuous source term and obtained improved results. In [7] the author used a Galerkin finite element method uses on Shishkin and Bakhvalov-Shishkin-type of meshes is applied to a linear reaction-diffusion equation with discontinuous source term and shown to be convergent, uniformly in the perturbation parameter, of \(O ((N^{-2}\,\, ln^{2} N))\) for the Shishkin type mesh and \(O(N^{-2})\) for the Bakhvalov-Shishkin type mesh. Motivated by [3, 4, 6, 14] in the present paper we use hybrid difference scheme to improve the order of convergence for a second order SPBVP of reaction-diffusion type. The novel idea behind this problem is a jump at the interior layer and discontinuity in reaction co-efficient occurs at the same point (d). This is well balanced theory.
Through out this paper, C denotes a generic constant (sometime subscripted) that is independent of the singular perturbation parameter \(\varepsilon \) and of \(N\) the dimension of the discrete problem. Let us consider the singularly perturbed boundary value problem
where \(b(x)\ge \beta >0\) is sufficiently smooth functions on \(\bar{\varOmega }\) satisfying the following conditions, \(\varOmega ^- = (0, d), \, \varOmega ^+ = (d, 1), \, \varOmega = (0, 1) \) and \(\varepsilon \) is a small positive parameter. It is assumed that \(f\) is sufficiently smooth on \(\varOmega \setminus \{d\}\). Further it is assumed that \(f(x)\) and its derivatives have jump discontinuity at the point \(d \in \varOmega ,\) the solution \(y\) of equations (1)–(2) does not necessarily have a continuous second order derivative at the point d. Thus \(y \not \in C^2(\varOmega )\). But, \(y \in C^1(\varOmega )\). It is convenient to introduce the notation for jump at \(d\) for any function \(y\) as \([y](d)=y(d+)-y(d-)\). These hypotheses guarantee the existence of a unique smooth solution \(y\) of (1)–(2).
There is a vast literature dealing with numerical solution of reaction-diffusion problems with sufficiently smooth functions \(b(x), f(x)\) see for instance [1, 2]. So far, problems of type (1)–(2) are considered in [2]. In [4] the authors analyzed parameter-uniform numerical methods for a singularly perturbed reaction-diffusion problem whose solution contain strong interior layers caused by a discontinuity and proved that the convergence is of order \(O(N^{-1} \ln N).\)
In this paper we will consider a hybrid difference scheme on a Shishkin mesh. The method is shown to be second order convergent \((O(N^{-1} \ln N))^2\). This method minimizes the error compared to the existing method in literature for the considered problem. Numerical examples are solved which coincides with the theoretical result.
Some Analytical Results
In this section, we derive a comparison principle for the following problem. Then using this principle, a stability result for the same problem is derived.
Theorem 1
The problem (1)–(2) has a solution \(\;y \in C^1(\varOmega ) \cap C^2(\varOmega ^-\cup \varOmega ^+).\;\)
Proof
The proof is by construction. Let \(y_1(x), \, y_2(x)\;\) be particular solutions of the differential equations
Consider the function
where \(\phi _1(x), \, \phi _2(x)\;\) are the solutions of the boundary value problems
and \( A, B \) are constants to be chosen so that \( y\in C^1(\varOmega ).\;\) Note that on the open interval \((0, 1), \, 0 < \phi _i < 1,~i = 1,~ 2.\;\) Thus \(\phi _1,~\phi _2\;\) cannot have an internal maximum or minimum and hence
We wish to choose the constants \( A,~B\) so that \( y \in C^1(\varOmega ).\;\) That is we impose
For the constants \( A,~B\) to exist we require
This follows from observing that \(\phi _2{^\prime }(d)\phi _1(d)- \phi _2(d)\phi _1{^\prime }(d) > 0.\) \(\square \)
Then \( L_\varepsilon \) satisfies the following maximum principle on \(\; \overline{\varOmega }. \; L_\varepsilon \) in (1)–(2) is solved by Shishkin mesh in [1].
Theorem 2
(Maximum Principle) Suppose that a function \(y(x) \in {\mathcal C}^0(\overline{\varOmega }) \cap C^1(\varOmega ) \cap C^2(\varOmega ^-\cup \varOmega ^+)\) satisfies,
Proof
Let p be any point at which y attains its maximum value in \(\bar{\varOmega }\). If \(y(p)\ge 0,\) there is nothing to prove. Suppose that \(y(p)<0,\) then the proof is completed by showing that this leads to contradiction. With the above assumption on the boundary values, either \(p \in (\varOmega ^- \cup \varOmega ^+)\) or p=d. In the first case \(y{^{\prime \prime }}(p)\ge 0\) and so
which is false. In the second case the argument depends on whether or not \(y\) is differentiable at d. If \(y{^\prime }(d)\) does not exist, then \([y{^\prime }](d) \ne 0\) and because \(y{^\prime }(d^-) \le 0, y{^\prime }(d^+)\ge 0\) it is clear that \([y{^\prime }](d)>0,\) which is a contradiction. On the other hand if y is differentiable at d, then \(y{^\prime }(d)=0\) and \(y \in C^1(\varOmega )\). Recalling that \(y(d)<0\) it follows that there exists a neighborhood \(N_h=(d-h,d)\) such that \(y(x)<0\) for all \(x\in N_h\). Now choose a point \(x_1 \ne d, x_1 \in N_h\) such that \(y(x_1)>y(d).\) It follows from the mean values theorem that, for some \(x_2 \in N_h\),
and also that for some \(x_3 \in N_h\),
Note also that \(y(x_3)<0,\) since \(x_3 \in N_h.\) Thus
which is the required contradiction. Hence the proof of the theorem. \(\square \)
An immediate consequence of the maximum principle is the following stability result.
Theorem 3
(Stability Result) Let \( y (x)\) be a solution \( (P_\varepsilon ) ,\) then
Proof
Put \(\varPsi _{\pm }(x) = M \pm y(x),\)
where \(M=max\left\{ \mid y(0) \mid ,\mid y(1) \mid ,\dfrac{1}{\beta } \parallel f \parallel _{\varOmega ^-\cup \varOmega ^+} \right\} \).
Then clearly \(\varPsi _{\pm }(0) \ge 0, \varPsi _{\pm }(1) \ge 0\) and for each \( x \in (\varOmega ^-\cup \varOmega ^+)\)
Furthermore, since \(y ~\text {in}~ C^1(\varOmega )\)
It follows from the maximum principle that \(\varPsi _{\pm }(x) \ge 0\) for all \(x \in \overline{\varOmega }\), which leads at once to the desired bound on \(y(x).\)
An immediate consequence of this result is that the solution \(y(x)\) of \((P_{\varepsilon })\) is unique. To establish the parameter-robust properties of the numerical methods involved in this paper, the following decomposition of \(y(x)\) into smooth \(v_{\varepsilon }(x)\) and singular \(w_{\varepsilon }(x)\) components are required. The smooth component \(v_{\varepsilon }(x)\) is defined as the solution of
and the singular component \(w_{\varepsilon }(x)\) is given by
As in Theorem 1, the singular component \(w_{\varepsilon }(x)\) is well defined and is given by
where \(\psi _i(x),i=1,2,3,4\) are the solutions of the boundary value problems
and \(A_1,B_1\) are constants to be chosen so that the jump conditions at \(x=d\) are satisfied. One can easily show that \(|A_1|,|B_1| \le C\), where C is a constant independent of \(\varepsilon \).
Using stability result, theorem 2 and the technique used in [3] the following theorem can be proved.
Theorem 4
For each integer k, satisfies \(0 \le k \le 4,\) the smooth \(v_\varepsilon \) and singular \(w_\varepsilon \) satisfy the bounds.
where C is a constant independent of \(\varepsilon \) and
\(\square \)
Note that \(v_{\varepsilon }, w_{\varepsilon } \notin C^0(\overline{\varOmega }),\) but \(y = v_{\varepsilon }+w_{\varepsilon } \in C^1(\overline{\varOmega })\)
Mesh and Scheme
On \(\varOmega \) a piecewise uniform mesh of N mesh intervals is constructed as follows. The domain \(\; \varOmega ^-\;\) is subdivided into the three subintervals. \([0, \tau _1], [\tau _1, d-\tau _1]~\text {and}~[d-\tau _1, d]\) for some \(\;\tau _1\;\) that satisfies \(\; 0 < \tau _1 \le \dfrac{d}{4}.\;\) On \([0, \tau _1]~ \text {and} ~[d-\tau _1, d]\) an uniform mesh with \(\;\dfrac{N}{8}\;\) mesh intervals is placed, while on \(\;[\tau _1, d-\tau _1]\;\) has a uniform mesh with \(\;\dfrac{N}{4}\;\) mesh intervals. The subintervals \(\;[d,d+\tau _2], [d+\tau _2, 1-\tau _2], \, [1-\tau _2, 1]\;\) of \(\;\varOmega ^+\;\) are treated analogously for some \(\;\tau _2\;\) satisfying \(\; 0 < \tau _2 \le \dfrac{1-d}{4}.\;\) The interior points of the mesh are denoted by
Clearly \(\;x_{N/2}=d \;\) and \(\;\overline{\varOmega }_\varepsilon ^N=\{x_i\}_0^N.\;\) Note that this mesh is a uniform mesh when \(\;\tau _1 =\dfrac{d}{4}\;\) and \(\;\tau _2 =\frac{1-d}{4}.\;\) It is fitted to the SPP (1)–(2) by choosing \(\;\tau _1\;\) and \(\; \tau _2\;\)to be the following functions of N and \(\;\varepsilon \;\)
and
On the piecewise-uniform mesh \(\;\overline{\varOmega }_\varepsilon ^N\;\) a standard centered finite difference operator is used. Then the fitted mesh method for (1)–(2) is
where
At the point \(x_{N/2}=d\) we shall use the hybrid difference operator \(L_t^N;\)
Analysis of the Method
The matrix associated with (5)–(6) is not an M-matrix. We transform the equation so that the new equation do have a monotonicity property. From equation (3)–(4) we can get
Inserting the expressions for \(y_{N/2+2}\) and \(y_{N/2-2}\) in \(L_{t}^N\) gives
Now clearly we have a system of equations
As in this case of continuous problem, it is easy to prove the discrete maximum principle and discrete stability result for the discrete problem of (7)–(8).
To bound the nodal error \(|y(x_i) - y_i|,\) our method is similar to that of [15]. We define smooth \(\bar{v}_i\) and singular \(\bar{w}_{L,i}, \bar{w}_{R,i}\) components as follows.
which approximate \(v(x_i)\) respectively to the left and to the right of the point of discontinuity x=d. The singular component \(\bar{w}_{L,i} ~\text {and}~ \bar{w}_{R,i}\) such that,
Then we construct mesh function \(\bar{w}_{L,i}\) and \(\bar{w}_{R,i}\) (to approximate \(w(x_i)\) on either side of \(x=d\)) so that the amplitude of the jump \(\bar{w}_{R,i} (d) - \bar{w}_{L,i}(d)\) is determined by the size of the jump \(|[v](d)|.\) Also \(\bar{w}_{L,i}\) and \(\bar{w}_{R,i}\) are sufficiently small away from the interior layer region. Using these mesh functions the nodal error \(|y(x_i) - y_i|\) is then bounded separately outside and inside the layer. Define the mesh function \(w_{L,1}, w_{L,2}, w_{R,1} \text {and}~w_{R,2}\) to the solutions of the following system of finite difference equations
Note that we can define \(y_i\) to be
For smooth function based on the [2, 16] we can obtain the result as \( |v(x_i) - v_i| \le C N^{-2}\). For the singular component using the arguments in [2]
Based on the arguments [2, 16] from the arguments in [2] we can prove the following result except at x =d
At the mesh point \(x_{N/2}=d\)
Error Analysis
Theorem 5
Let \(y(x_i)\) be the solution of problem \((P_{\varepsilon })\) and \(y_i\) the solution of \((P^N_{\varepsilon })\). Then, for N sufficiently large.
where C is a constant independent of \(\varepsilon \) and N.
Proof
Consider the discrete barrier function \(\varPhi _d\) defined by
From the discrete minimum principle on the separate intervals [0,d] and [d,1], one easily derives that
and also
Define the ancillary continuous functions \(u_1,u_2\) by
Note that
Define
Hence
Based on [3] and the result, \(\rho =\dfrac{\sqrt{\alpha h}}{\sqrt{\varepsilon }},\) since \(\dfrac{1-e^{-x}}{x}\) is a decreasing function of x and \(\rho \le 16(N^{-1}ln N)\). Here, \(h=h^+=h^-\).
We can obtain,
Note that by applying the results from [3] on the intervals [0,d] and [d,1] separately, if follows that
For i=N/2,
For N sufficiently large, consider the mesh function
where \(C_2\) and \(C_3\) are suitably large constants. Hence for \(i \ne N/2\)
Hence for suitably large \(C_2,C_3\), for i = N/2
Thus, for N sufficiently large,
which complete the proof. \(\square \)
Numerical Experiments
In this section we experimentally verify our theoretical results proved in the previous section.
Example 1
We consider the problem (1)–(2) with
Example 2
Consider the problem (1)–(2) with
The nodal errors and order of convergence are estimated using the double mesh principle [17]. Define the double mesh difference to be
The rates of convergence \(\rho ^N\) are computed from
In Tables 1 and 2, we present values of \(D^N_{\varepsilon }\) and \(\rho ^N\) for the Example 1 respectively (Figs. 1, 2). Similarly in Tables 3 and 4, we present values of \(D^N_{\varepsilon }\) and \(\rho ^N\) for the Example 2 respectively (Figs. 3, 4).
References
Doolan, E.P., Miller, J.J.H., Schilders, W.H.A.: Uniform Numerical Methods for Problems with Initial and Boundary Layers. Boole, Dublin (1980)
Farrell, P.A., Hegarty, A.F., O’Riordan, E., Shishkin, G.I.: Robust Computational Techniques for Boundary Layers. Chapman Hall/ CRC, Boca Raton (2000)
Farrell, P. A., Miller, J. J. H., O’Riordan, E., Shishkin, G. I.: Singularly perturbed differential equations with discontinuous source terms, Appeared in Proceedings of Workshop’98, Lozenetx, Bulgaria, Aug 27–31, 147–156 (1998).
Miller, J.J.H.: O’ Riordan, E., Shishkin, G.I., Wang, S.: A parameter-uniform Schwartz method for a singularly perturbed reaction-diffusion problem with an interior layer. J Appl. Numer. Math. 35(4), 323–337 (2000)
Adzic, N., Ovcic, Z.: Approximate solution for SPP with discontinuous source term. J. Theoret. Appl. Mech. 31(2), 215–234 (2004)
Chandru, M., Shanthi, V.: A boundary value technique for singularly perturbed boundary value problem of reaction-diffusion with non-smooth data. J. Eng. Sci. Technol. JESTEC04-ICMTEA2013-DEFENA-009 (2014).
Roos, H.-G., Zarin, H.: A second-order scheme for singularly perturbed differential equations with discontinuous source term. J. Numer. Math. 10(4), 275–289 (2002)
Natesan, S., Jayakumar, J., Vigo-Aguiar, J.: Parameter uniform numerical method for singularly perturbed turning point problems exhibiting boundary layers. J. Comput. Appl. Math. 158(1), 121–134 (2003)
Natesan, S., Ramanujam, N.: A “Booster method” for singular perturbation problems arising in chemical reactor theory. Appl. Math. Comput. 100(1), 27–48 (1999)
Mukherjee, K., Natesan, S.: Parameter-uniform hybrid numerical scheme for time-dependent convection-dominated initial-boundary-value problems. Computing 84(3–4), 209–230 (2009)
Mukherjee, K., Natesan, S.: epsilon-Uniform error estimate of hybrid numerical scheme for singularly perturbed parabolic problems with interior layers. Numer. Algorithm 58(1), 103–141 (2011)
Natesan, S., Ramanujam, N.: Shooting method for the solution of singularly perturbed two-point boundary-value problems having less severe boundary layer. Appl. Math. Comput. 133(2–3), 623–641 (2002)
Shanthi, V., Ramanujam, N., Natesan, S.: Fitted mesh method for singularly perturbed reaction-convection-diffusion problems with boundary and interior layers. J. Appl. Math. Comput. 22(1–2), 49–65 (2006)
Cen, Z.: A hybrid difference scheme for a singularly perturbed convection-diffusion problem with discontinuous convection coefficient. J. Appl. Math. Comput. 169(1), 689–699 (2005)
Farrell, P.A., Hegarty, A.F., Miller, J.J.H., O’Riordan, E., Shishkin, G.I.: Global maximum norm parameter-uniform numerical method for a singularly perturbed convection-diffusion problem with discontinuous convection co-efficient. Int. J. Math. Comput. Model. 40(1112), 1375–1392 (2004)
Linß, T.: Sufficient conditions for uniform convergence on layer-adapted meshes for one-dimensional reaction-diffusion problems. Numer. Algorithm 40(1), 23–32 (2005)
Shanthi, V., Ramanujam, N.: A Numerical method for boundary value problems for singularly perturbed fourth-order ordinary differential equations. J. Appl. Math. comput. 129(2–3), 269–294 (2002)
Acknowledgments
The first author wishes to acknowledge National Board of Higher Mathematics (NBHM), DAE, Mumbai, India for its financial support of project 2/48(5)2010-R&D II/8896 and We thank the unknown referees for their valuable comments, also we thank them for refering in a short span of time.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Chandru, M., Prabha, T. & Shanthi, V. A Hybrid Difference Scheme for a Second-Order Singularly Perturbed Reaction-Diffusion Problem with Non-smooth Data. Int. J. Appl. Comput. Math 1, 87–100 (2015). https://doi.org/10.1007/s40819-014-0004-8
Published:
Issue Date:
DOI: https://doi.org/10.1007/s40819-014-0004-8
Keywords
- Singularly perturbed problem (SPP)
- Discontinuous source term
- Self-adjoint
- Boundary value problem (BVP)
- Hybrid difference scheme