Two Parameter Conv-Diff Problem
Two Parameter Conv-Diff Problem
a r t i c l e i n f o a b s t r a c t
MSC: A singularly perturbed second order ordinary differential equation having two small pa-
65L10 rameters with a discontinuous source term is considered. The presence of two parame-
CR G1.7
ters gives rise to boundary layers of different widths and the discontinuous source term
Keywords: generates interior layers on both sides of the discontinuous point. Theoretical bounds are
Singular perturbation problem derived. The problem is solved numerically with finite difference methods on a Shishkin
Boundary and interior layers mesh. The discretization combines a five point second order scheme at the interior layer
Reaction-convection-diffusion together with the standard central, mid-point and upwind difference scheme for other re-
Two parameter problem gions. This combination is used in order to obtain almost second order convergence for the
Hybrid difference scheme considered problem. Parameter uniform error bounds for the numerical approximation are
established. Numerical results are presented to illustrate the convergence of the numerical
approximations.
© 2017 Elsevier Inc. All rights reserved.
1. Introduction
Singularly perturbed differential equations arise in many areas of applied mathematics such as transport phenomena in
chemistry and biology [1], chemical reactor theory [2–4], lubrication theory [5], elasticity [6], theory of plates and shells
[7], fluid dynamics [8], D-C motors [9], etc. Certain types of problem arise in the models of chemical reactors and the
governing equations, which determine chemical species concentrations and fluid temperature, based on conservation laws
involving chemical reactions, diffusion, advection and external sources [10]. The differential equation depends on a small
positive parameter (ε ) multiplying the highest derivative term. When the parameter tends to zero (ε → 0) the problem has
a limiting solution, which is the solution of the reduced problem [11] and the regions of non-uniform convergence lie near
the boundary, known as boundary layers. These problems have steep gradients in the narrow layer regions of the domain
in consideration. This causes severe hurdles in the computations for classical numerical methods. In order to capture the
layers, a large number of special purpose methods have been developed by the researchers to provide accurate numerical
solutions, which cover second order equations with single parameter for smooth [11–13] and non-smooth data [14–17].
Two parameter Singularly Perturbed Problems (SPPs) are not considered in broad area and robust numerical methods
for solving two parameter problem are not much identified when compared to one parameter SPPs. In two parameter
R
The second and third authors wish to thank Department of Science and Technology, New Delhi for financial support of project SR/FTP/MS-039/2012.
∗
Corresponding author.
E-mail addresses: [email protected] (T. Prabha), [email protected] (M. Chandru).
http://dx.doi.org/10.1016/j.amc.2017.06.029
0 096-30 03/© 2017 Elsevier Inc. All rights reserved.
238 T. Prabha et al. / Applied Mathematics and Computation 314 (2017) 237–256
(reaction-convection-diffusion) problem both the diffusion and convection terms are multiplied by small parameters.
Depending on the size of the parameters the solution of the problem may absorb exponential layers at the boundary points
of the domain. Several authors have mapped convection-diffusion problem with smooth data. For instance, Shishkin and
Titov [18] applied an exponential fitted difference scheme on an equidistribution mesh. O’Riordan et al. [19] proved a first
order parameter uniform method with standard upwind finite difference operator. Linß [20] has suggested a streamline
diffusion finite element method for reaction-diffusion-convection type problem. A robust a posteriori error estimate in the
maximum norm is derived. An adaptive moving mesh method for linear 1-D parabolic reaction-convection-diffusion initial-
boundary value problems with two small parameters is examined [21]. Higher order finite difference scheme on a piecewise
uniform mesh of Shishkin and Bakhavalov type is constructed for solving quasi-linear boundary value problems with small
parameters [4].
Gracia et al. [22] have discussed a parameter uniform second order method on Shishkin mesh. A novel fitted operator
method is constructed by Patidar [23] to obtain a parameter uniform first order convergence. But not many results and
analysis are known about parameter uniform numerical methods to solve two parameter problems with non-smooth
data. The non-smoothness would cause interior layers with different scales. Analysis and robust numerical methods to
this type of problem are very challenging. Shanthi et al. [24] considered a simple fitted mesh method to solve reaction-
convection-diffusion problem with non-smoothness occurring on the source term and derived first order convergence.
For a similar type of problem the authors have used a hybrid difference scheme with average technique on an adaptive
mesh to improve the order of convergence [25]. Bhakvalov and Shishkin meshes are studied by Mohapatra [26] for the
convection-reaction-diffusion problem with discontinuity in the convection coefficient. But the results are not improved.
Clavero et al. [27] have considered a one-dimensional two parameter singularly perturbed parabolic problem with the
source term having discontinuity of first kind on the degeneration line. This type of problems are found in simple models of
diffraction. The authors also have presented some collected works on SPPs of PDE with discontinuous data and degenerating
convective terms. The problem which we have considered falls under the nature of this type.
In this paper, we are interested to improve the order of accuracy for the more general form of linear one-dimensional
second order SPP with a discontinuity in source term. With the motivation from Gracia et al. [22] and Shanthi et al. [24],
we consider a singularly perturbed reaction-convection-diffusion problem in one dimension with a discontinuous source
term of the form
u ( 0 ) = u0 , u ( 1 ) = u1 . (2)
The notation = [0, 1], − = (0, d ) and + = (d, 1 ) are introduced for convenience. The coefficients a(x) and b(x) are
sufficiently smooth functions in and f(x) is sufficiently smooth in (− ∪ + ) ∪ {0, 1}. Also, f(x) and its derivatives have a
discontinuity at d ∈ = (0, 1 ), |[f](d)| ≤ C, 0 < ε < <1, 0 ≤ μ ≤ 1, a(x) ≥ α > 0 and b(x) ≥ β > 0.
Under these assumptions, the SPP (1) and (2) has a solution u(x ) ∈ C 0 () ∩ C 1 () ∩ C 2 (− ∪ + ), when μ = 1 the
problem is the well known convection-diffusion problem [16] and when μ = 0, we get the reaction-diffusion problem
[14,17]. In the present study the following cases are dealt with
√ √
Case (i): αμ ≤ ρε and
√ √ b( x )
Case (ii): αμ ≥ ρε, where ρ = min .
a (x )
Throughout this study C denotes a generic positive constant independent of nodal points, mesh size (N) and the
perturbation parameters ε , μ. All functions in the continuous maximum norm are denoted by
where D is a bounded closed interval [r, s]. The discrete maximum norm is defined as
N N
where D is an arbitrary mesh on D. If the domain is evident, it may be simply denoted as ||.|| since the domain D is
dropped.
The structure of the paper is as follows. In Section 2, we establish an existence theorem for (1) and (2), comparison
principle, stability result and some priori estimates on the solution and its derivatives. Section 3 presents a hybrid finite
difference scheme to solve the discrete problem, which generates robust numerical approximation to the solution. A
decomposition of the discrete solution is introduced and truncation error analysis is estimated in Section 4. This analysis
gears the main theoretical results presented. ε − μ uniform convergence in the maximum norm of the approximations are
generated by the numerical method in Section 5. Numerical examples are provided in Section 6 to illustrate the applicability
of the method with maximum pointwise errors and rate of convergence in the form of tables and graphs. The major finding
of the paper is presented in conclusion.
T. Prabha et al. / Applied Mathematics and Computation 314 (2017) 237–256 239
Some analytic properties like, the minimum principle, uniform stability estimate and bounds for the derivatives of the
solution (1) and (2), for its regular and singular components are studied in this section. Section 2 is commenced with the
following existence Lemma.
Lemma 1. The SPP (1) and (2) has a solution u(x) which belongs to the class C 0 () ∩ C 1 () ∩ C 2 (− ∪ + ).
Proof. By using the method of construction presented by Shanthi et al. [24], a solution of the SPP (1) and (2) can be
obtained.
It is convenient to introduce the notation for jump discontinuity at d for any function w(x ) as [w](d ) = w(d+ ) − w(d− ).
The operator L of (1) satisfies the following minimum principle on .
Lemma 2. Let us suppose that a function u(x ) ∈ C 0 () ∩ C 2 (− ∪ + ) satisfies u(0 ) ≥ 0, u(1 ) ≥ 0, Lu(x ) ≤ 0, ∀ x ∈ (− ∪
+ ) and [u ](d) ≤ 0. Then u(x ) ≥ 0, ∀ x ∈ .
Proof. Let x∗ be any point at which u(x) attains its minimum value in . If u(x∗ ) ≥ 0, then the result is obvious. Suppose
that u(x∗ ) < 0, with the assumptions considered on the boundary value, we have either x∗ ∈ (− ∪ + ) or x∗ = d. If x∗ ∈
(− ∪ + ) then u (x∗ ) = 0, u (x∗ ) ≥ 0 and hence
Lu(x∗ ) = ε u (x∗ ) + μa(x∗ )u (x∗ ) − b(x∗ )u(x∗ ) > 0,
which is a contradiction. The only possibility remaining is that x∗ = d. We have that u (d ) = 0 and that there exists a small
positive number δ such that u (x) ≥ 0 on [d, d + δ ]. Though u (x) has a discontinuity at d, it is a continuous function on the
x
interval [d, d + δ ]. By the fundamental theorem on calculus we have u (x ) = d+0 u (s )ds and it follows that u (x˜) ≥ 0 for
some x˜ ∈ [d, d + δ ]. Hence, Lu(x˜) > 0, which is a contradiction to our assumption. Therefore, u(x) ≥ 0 for all x ∈ .
An immediate consequence of the minimum principle is the following stability result. Lemma 3 and 4 can be derived by
applying the methods given in [16].
C μ
u(k)
\{d} ≤ √ k 1+ √ , 0 ≤ k ≤ 4.
ε ε
Before going into the details about decomposition of u(x) into regular and singular components we consider the
following observations. Let F(x) be a smooth function in (− ∪ + ), F(x) and its derivatives have a jump discontinuity at d
∈ . Find u(x ) ∈ C 1 () ∩ C 2 (− ∪ + ), such that
Lu(x ) = F (x ), x ∈ (− ∪ + ),
(3)
u(0 ) = p, u(1 ) = q.
It can be proved that the problem (3) has a unique solution [16]. Let
F ( k ) ( x ), x ∈ ( 0, d ),
F ∗ (k ) ( x ) =
F (k ) (d− ), at x = d,
Similarly, one can define u∗r (x ) on the interval [d, 1]. Now
u∗l (x ), x ∈ [0, d ),
u (x ) = u∗l (d ) = u∗r (d ),
u∗r (x ), x ∈ (d, 1].
It can be verified that the solution u(x) of the BVP (1) and (2), can be decomposed as u(x ) = v(x ) + wl (x ) + wr (x ), where
Lv ( x ) = f ( x ), x ∈ (− ∪ + ),
v(0 ) = u(0 ), v(1 ) = u(1 ), v(d− ) and v(d+ ) are chosen.
240 T. Prabha et al. / Applied Mathematics and Computation 314 (2017) 237–256
and
Lwl (x ) = 0, x ∈ (− ∪ + ),
wl ( 0 ) = u ( 0 ) − v ( 0 ), wl ( 1 ) = 0,
Lwr (x ) = 0, x ∈ (− ∪ + ),
and wr (0 ) = 0, wr ( 1 ) = u ( 1 ) − v ( 1 ),
[wr ](d ) = −[v](d ) − [wl ](d ), [wr ](d ) = −[v ](d ) − [wl ](d ). (4)
Hence, v(x ), wl (x ) and wr (x ) are discontinuous at x = d, but by (4) their sum is in C1 ().
Note that
v− ( x ), x ∈ − , w− ( x ), x ∈ − ,
v (x ) = wl ( x ) = l
v+ ( x ), x ∈ + , w+ ( x ), x ∈ + ,
l
w−r ( x ), x ∈ − ,
and wr (x ) =
w+r ( x ), x ∈ + .
√ √
Consider the case (i): αμ ≤ ρε
√ 2√ √ 3
Let v(x ) = v0 (x ) + ε v1 (x ) + ε v2 (x ) + ε v3 (x ), where v0 (x ), v1 (x ), v2 (x ) and v3 (x ) to be the solutions of the
following problems:
C Ce−θ2 (d−x ) , x ∈ − ,
wr(k)
\{d} ≤ √ 0 ≤ k ≤ 4.
ε k Ce−θ2 (1−x ) , x ∈ + ,
√ √
Consider the case (ii): αμ ≥ ρε
Let v(x ) = v0 (x ) + εv1 (x ) + ε v2 (x ) + ε 3 v3 (x ), where v0 (x ), v1 (x ), v2 (x ) and v3 (x ) be the solution of the problems:
2
Lv3 (x ) = −v2 (x ), x ∈ (− ∪ + ),
(6)
v3 (0 ) = v3 (1 ) = 0, v3 (d− ) and v3 (d+ ) are chosen.
√ √
Lemma 7. When αμ ≥ ρε, the regular component v(x ) satisfies the following bounds
ε 3−k
(k )
v
\{d} ≤ C 1 + , 0 ≤ k ≤ 4. (7)
μ
√ √
Lemma 8. When αμ ≥ ρε the singular components wl (x ) and wr (x ) satisfy the bounds
μ k
Ce−θ1 x , x ∈ − ,
wl(k)
\{d} ≤ C −θ1 (x−d ) 0 ≤ k ≤ 4,
ε Ce , x ∈ + ,
(k ) C Ce−θ2 (d−x ) , x ∈ − ,
wr
\{d} ≤ 0 ≤ k ≤ 4.
μk Ce−θ2 (1−x) , x ∈ + ,
The unique solution of the considered problem (1) and (2) is given by
−
v (x ) + w−l (x ) + w−r (x ), x ∈ − ,
u(x ) = v− (d− ) + w− l
(d− ) + w−r (d− ) = v+ (d+ ) + w+l (d+ ) + w+r (d+ ) at x = d,
v (x ) + wl (x ) + w+r (x ), x ∈ + .
+ +
3. Discrete problem
In this section, an appropriate piecewise uniform Shishkin mesh for the Boundary Value Problem (BVP) (1) and (2) is
introduced and hybrid difference scheme is used on this mesh to obtain the numerical solution. On a piecewise uniform
mesh of N mesh intervals is constructed as follows. For simplicity, let N be a positive even integer. The domain is divided
into six subintervals as
LN U ( xi ) = Q N f ( xi ), for i = 1, 2, . . . , N − 1, (10)
U ( 0 ) = u ( 0 ), U ( 1 ) = u ( 1 ). (11)
T. Prabha et al. / Applied Mathematics and Computation 314 (2017) 237–256 243
where
⎧
⎪ f (x ), if LN ≡ LNc or LNu ,
⎨ i
Q N f (xi ) = f (xi ), if LN ≡ LNm ,
⎪
⎩
0, N N
if L ≡ Lt .
The matrix associated with the above Eqs. (10) and (11) is not an M-matrix. We transform the equation to establish the
monotonicity property by estimating U (xN/2−2 ) and U (xN/2+2 ) for LtN U (xi ).
√ √
When αμ ≤ ρε , from the operator LN c , we get
2H3 2ε 2ε + H3 μa(xN/2−1 )
U (xN/2−2 ) = H3 f (xN/2−1 ) + + H3 b(xN/2−1 ) × U (xN/2−1 ) − U (xN/2 ) ,
2ε − H3 μa(xN/2−1 ) H3 2H3
2H4 2ε 2ε − H4 μa(xN/2+1 )
U (xN/2+2 ) = H4 f (xN/2+1 ) + + H4 b(xN/2+1 ) × U (xN/2+1 ) − U (xN/2 ) .
2ε + H4 μa(xN/2+1 ) H4 2H4
Inserting the above expressions for U (xN/2−2 ) and U (xN/2+2 ) in LtN U (xN/2 ), we obtain
2ε − H4 μa(xN/2+1 ) 2ε + H3 μa(xN/2−1 )
LNT1 U (xN/2 ) : = −6+ U (xN/2 )
2ε + H4 μa(xN/2+1 ) 2ε − H3 μa(xN/2−1 )
−4ε − 2H42 b(xN/2+1 ) −4ε − 2H32 b(xN/2−1 )
+ + 4 U (xN/2+1 ) + + 4 U (xN/2−1 ) (12)
2ε + H4 μa(xN/2+1 ) 2ε − H3 μa(xN/2−1 )
2H32 f (xN/2−1 ) 2H42 f (xN/2+1 )
= + . (13)
2ε − H3 μa(xN/2−1 ) 2ε + H4 μa(xN/2+1 )
√ √
If αμ ≥ ρε from the operators LNm and LNc , we get
H3 2ε + H3 μa(xN/2−1 ) H3 b(xN/2−1 )
U (xN/2−2 ) = H3 f (xN/2−1 ) + +
ε H3 2
2ε + H3 μa(xN/2−1 ) H3 b(xN/2−1 )
× U (xN/2−1 ) − − U (xN/2 ) ,
H3 2
2ε
2H4
U (xN/2+2 ) = H4 f (xN/2+1 ) + + H4 b(xN/2+1 )
2ε + H4 μa(xN/2+1 ) H4
2ε − H4 μa(xN/2+1 )
× U (xN/2+1 ) − U (xN/2 ) .
2H4
U ( 0 ) = u ( 0 ), U ( 1 ) = u ( 1 ). (17)
244 T. Prabha et al. / Applied Mathematics and Computation 314 (2017) 237–256
where
LNU (xi ), for i = N/2,
LN∗ U (xi ) ≡
LNT U (xi ), for i = N/2,
and
⎧
⎪ 2H32 f (xN/2−1 ) 2H42 f (xN/2+1 ) √ √
⎪
⎪ + , if αμ ≤ ρε , i = N/2,
⎨ 2ε − H3 μa(xN/2−1 ) 2ε + H4 μa(xN/2+1 )
Q∗N f (xi ) = H32 f (xN/2−1 ) 2H42 f (xN/2+1 ) √ √
⎪
⎪ + , if αμ ≥ ρε , i = N/2,
⎪
⎩ ε 2ε + μH4 a(xN/2+1 )
Q N f (xi ), if i = N/2.
N
On the piecewise-uniform mesh , the elements in the system matrix LN
∗ are given by
LN∗ U (xi ) ≡ ri−U (xi−1 ) + ricU (xi ) + ri+U (xi+1 ) = Q∗N f (xi ), (18)
where
ε μa ( x i ) ε μa ( x i )
ri− = − , ri+ = + , ric = −ri+ − ri− − b(xi ), if LN ≡ LNc ,
Hi H i 2H i Hi+1 H i 2H i
ε ε μa ( x i )
ri− = , ri+ = + , ric = −ri+ − ri− − b(xi ), if LN ≡ LNu ,
Hi H i Hi+1 H i Hi+1
ε ε μa ( x i ) b( x i ) c
ri− = , ri+ = + − , ri = −ri+ − ri− − b(xi ), if LN ≡ LNm ,
Hi H i Hi+1 H i Hi+1 2
⎧
⎪ −4ε − 2H 2 b(xN/2−1 ) −4ε − 2H 2 b(xN/2+1 )
⎪
⎪ri− = + 4, ri+ = + 4,
⎨ 2ε − H μa(xN/2−1 ) 2ε + H μa(xN/2+1 )
H2 H2
⎪ ric = − − 2b(xN/2−1 )
−ri− ri+ + ,
⎪
⎪ 2ε − μa(xN/2−1 )H 2ε + μa(xN/2+1 )H
⎩
if L ≡ LT1 and H = H3 = H4 ,
N N
⎧
⎪ −2ε − H μa(xN/2−1 ) H 2 b(xN/2−1 ) −4ε − 2H 2 b(xN/2+1 )
⎪
⎪ri− = − + 4, ri+ = + 4,
⎨ 2ε 2 ε 2ε + H μa(xN/2+1 )
H 2H 2
⎪
⎪ric = −ri− − ri+ − b(xN/2+1 ) + , if LN ≡ LNT2 and
⎪
⎩ ε 2ε + a(xN/2+1 )μH
H = max{H3 , H4 }.
In (0, τ 1 ) and (d, d + τ3 ), note that
Proof. Different discretization used in the definition of the scheme (18) are discussed. It is important to show
ri+ > 0, ri− > 0, ri+ + ric + ri− < 0, (24)
which form the coefficient matrix of (18). The methods followed by Gracia et al. [22] are applied to prove the smooth region
N
\{d}. At the point of discontinuity xN/2 = d, a hybrid difference scheme LNT U (xN/2 ) is used. Here the inequalities ri+ > 0,
1
ri− > 0 are guaranteed since 4
b
H2 < ε , 2μ
a
H < ε using (22). In the next case when LN +
T2 U (xN/2 ) scheme is applied ri > 0,
ri > 0 is guaranteed, because 2
b
H < μα , 2μ
a
H4 < ε and 2μ
a
H3 < α μ2 /ρ from (22). These inequalities can be verified
−
using (23). ri+ + ric + ri− < 0 is true for both the cases (i) and (ii).
All the operators defined in (18) guarantee M-matrix. Therefore, LN ∗ U (xi ) satisfies discrete minimum principle.
N
Lemma 10. If U(xi ) is the solution of (16) and (17), then |U (xi )| ≤ C, ∀ xi ∈ .
The solution of the discrete problems (16) and (17) can be decomposed as U (xi ) = V (xi ) + Wl (xi ) + Wr (xi ). Let us denote
N
the nodal error at each mesh point xi ∈ by |e(xi )| = |U (xi ) − u(xi )|. To bound the nodal error |e(xi )|, the argument is
divided into two main parts. Initially, we define mesh functions V − (xi ) and V + (xi ) which approximate V(xi ) respectively to
the left and right sides of the point of discontinuity xi = d. Then, we construct mesh functions Wl− (xi ), Wl+ (xi ) and Wr− (xi ),
Wr+ (xi ) to approximate respectively Wl (xi ) and Wr (xi ) on each side of xi = d. Using these mesh functions the nodal error
|e(xi )| is bounded separately outside and inside the layers.
Define the regular solution
V − (xi ), 1 ≤ i ≤ N/2 − 1,
V ( xi ) =
V + (xi ), N/2 + 1 ≤ i ≤ N − 1.
Let V − (xi ) and V + (xi ) be respectively, the solutions of the following discrete problems
∀ xi ∈ (N ∩ − ),
LN∗ V − (xi ) = f (xi ),
V (0 ) = v(0 ), V (d ) = v(d− ),
− −
and
LN∗ V + (xi ) = f (xi ), ∀ xi ∈ (N ∩ + ),
V + (d ) = v(d+ ), V ( 1 ) = v ( 1 ).
246 T. Prabha et al. / Applied Mathematics and Computation 314 (2017) 237–256
Lemma 11. We have the following bounds on Wl− (xi ), Wl+ (xi ), Wr− (xi ) and Wr+ (xi )
i
| Wl− (xi ) |≤ C (1 + θ1 H j )−1 = ψli− , ψl0− = C,
j=1
i
| Wl+ (xi ) |≤ C (1 + θ1 H j )−1 = ψli+ , ψlN/
+
2
= C,
j=N/2+1
N/2
| Wr− (xi ) |≤ C (1 + θ2 H j )−1 = ψri− , ψrN/
−
2 = C,
j=i+1
N
| Wr+ (xi ) |≤ C (1 + θ2 H j )−1 = ψri+ , ψrN
+
= C,
j=i+1
1
LN∗ ψli− = ψli− (1 + θ1 Hi )ri− + ric + ri+
1 + θ1 Hi+1
Hi+1 ri+
= ψ −
ri− + ric + ri+ − θ1 − Hi ri− .
li 1 + θ1 Hi+1
√
ρα ρα
LNc ψli− ≤ ψli−+1 − 2 b i − μa i √
2 2 ε
ρα
≤ ψli−+1 − 2bi ≤ 0,
2
and
μ2 α
LNc ψli− ≤ ψli−+1 ( α − ai ) − 2 bi ≤ 0.
2ε
For the upwind scheme, we show that
LNu ψli− ≤ ψli−+1 εθ12 − μai θ1 − bi ≤ 0,
for the mid-point scheme, we prove that
LNm ψli− ≤ ψli−+1 εθ12 − μai θ1 − bi ≤ 0.
We complete the argument by following the methods applied for central difference scheme. All the above results show that
∗ ψli ≤ 0. Also, φl0 > 0, φlN/2 > 0 and L∗ φl (xi ) ≤ 0. Now, applying Lemma 10 in [22], we prove that φl (xi ) > 0 for 0 ≤ i ≤
− − − N − −
LN
N/2 and hence Wl− (xi ) ≤ C j=1 (1 + θ1 H j )−1 .
i
Now consider the right layer barrier function ψri− , operating the discrete operator (18) on ψri− we find
Hi ri−
LN∗ ψri− = ψri− ri− + ric + ri+ − θ2 − Hi+1 ri+ .
1 + θ2 Hi
∗ ψri gives
−
Applying the central difference scheme to LN
ψri−
LNc ψri− = 2ε θ22 Hi /H i − 1 + 2ε θ22 + μai θ2 − 2bi [1 + θ2 Hi ] − 2ε θ23 Hi
1 + θ2 Hi
≤ ψri− 2εθ22 + μai θ2 − 2bi ≤ 0,
for the upwind scheme
LNu ψri− ≤ ψri− 2εθ22 + μai θ2 − bi ≤ 0.
Applying the value of θ 2 for both the cases
2b
LNu ψ ≤ ψ ( ρ ai − 2bi ) ≤ ψ
−
ri
−
ri
−
ri
ρ− i ≤ 0.
ai
When the mid-point scheme is applied
LNm ψri− ≤ ψri− εθ22 + μai θ2 − bi ≤ 0.
m ψri ≤ 0. Combining all the above results would give L∗ ψri ≤ 0. Also, φr0 > 0, φrN/2 > 0 and L∗ φr (xi ) ≤ 0.
− N − − − N −
In both cases, LN
N/2
Now, applying the Lemma 10 in [22], we prove that φr (xi ) ≥ 0 for 0 ≤ i ≤ N/2 and hence Wr (xi ) ≤ C j=i+1 (1 + θ2 H j )−1 .
− −
Similarly Wli+ and Wri+ in the interval (N/2 + 1, N ) can be proved to obtain the required result.
Now, we examine the truncation error at the interior mesh points xi ∈ N \{d}. In fact, when the mesh is arbitrary we
have
⎧
⎨|(Lc − L )u(xi )| ≤ ε H i
u
+ μH i
a
u
,
⎪ N (3 ) (2 )
Hi +Hi+1
where H i = ( 2 ) and on a uniform mesh with step size H, we have
⎧ N
⎨|(Lc − L )u(xi )| ≤ ε H
u
+ μH
a
u
,
2 (4 ) 2 (3 )
Lemma 12. At each mesh point xi ∈ N , the regular component of the truncation error satisfies the following estimate
V − v
≤ CN−2 .
√ √ √ √
Proof. For both the cases αμ ≤ ρε and αμ ≥ ρε, when the mesh is uniform (τ1 = τ2 = d/4)
|LN∗ (V − − v− )(xi )| = |LN∗ V − (xi ) − Q∗N f (xi )|
d2 d
≤ ε δ − 2 V (xi ) + μa(xi ) D −
2 +
V (xi )
dx dx
Lemma 13. Assume (23). The left singular component of the error satisfies the following estimate
√ √
C (N −1 ln N )2 , if αμ ≤ ρε,
Wl − wl
≤ √ √ for xi ∈ N .
3
CN −2 ln N, if αμ ≥ ρε,
√ √
Proof. Consider the uniform mesh (τ1 = τ2 = τ3 = τ4 = 1/8) when αμ ≤ ρε in the interval 1 ≤ i ≤ N/2 − 1, we have
|LN∗ (Wl− − w−l )(xi )| = |LNc Wl− − Lw−l |
≤ CH 2 ε (w− )(4) (x ) + CH 2 μ(w− )(3) (x )
l l
T. Prabha et al. / Applied Mathematics and Computation 314 (2017) 237–256 249
|LN∗ (Wl− − w−l )(xi )| ≤ CN−2 (ε
(w−l )(4)
+ μ
(w−l )(3)
) ≤ CN−2 /ε ≤ C (N−1 ln N )2 .
Similarly for the interval N/2 + 1 ≤ i ≤ N − 1,
|LN∗ (Wl− − w−l )(xi )| ≤ C (N−1 ln N )2 .
√ √
When αμ ≥ ρε for the same domains
|LN∗ (Wl− − w−l )(xi )| = |LNc Wl− − Lw−l |
≤ CH 2 ε (w− )(4) (x ) + CH 2 μ(w− )(3) (x )
l l
in a similar way
≤ CN −2 (ετ12
(w−
l
)(4)
+ μτ12
(w−l )(3)
). (25)
√ √
If αμ ≤ ρε, from (25)
μ
|LN∗ (Wl− − w−l )(xi )| ≤ C (N−1 ln N )2 1 + √ ≤ C (N −1 ln N )2 ,
ε
and similarly for xi ∈ (d, d + τ3 ), we obtain the same result
|LN∗ (Wl− − w−l )(xi )| ≤ C (N−1 ln N )2 .
√ √
If αμ ≥ ρε, from (25)
μ2 −1
|LN∗ (Wl− − w−l )(xi )| ≤ C (N ln N )2 .
ε
Consider the barrier function [22]
μ
(xi ) = C N−2 + (N−1 ln N )2 (τ1 − xi ) , for xi ∈ (0, τ1 ).
ε
Here,
(0),
(τ 1 ) are non-negative and LN
c
(xi ) < 0. Applying Lemma 10 from [22], it follows that
(xi ) ≥ 0. Hence
μ
|(Wl− − w−l )(xi )| ≤
(xi ) ≤ C N−2 + (N−1 ln N )2 τ1 3
≤ CN −2 ln N.
ε
Similarly we prove for xi ∈ (d, d + τ3 ) as
Following the methods described in Lemma 13, the right singular components can be obtained.
Lemma 14. Assume (23). The right singular component of the error satisfies the following estimate
√ √ √ √
Wr − wr
≤ C (N−1 ln N )2 , if αμ ≤ ρε, αμ ≥ ρε for xi ∈ N ,
where Wr and wr are right singular components of discrete and continuous decomposition.
250 T. Prabha et al. / Applied Mathematics and Computation 314 (2017) 237–256
Lemma 15. At the point of discontinuity xN/2 = d, the error e(xN/2 ) satisfies the following estimate
2 3/2 √ √
N
L∗ (U − u )(xN/2 ) ≤ CH /ε ,2 if αμ ≤ ρε ,
√ √
C min H3 /μ3 , H42 μ3 /ε 3
, if αμ ≥ ρε .
√ √
Proof. Consider the case αμ ≤ ρε
N
L∗ (U − u )(xN/2 ) = LN∗ U (xN/2 ) − 2H3 f (xN/2−1 ) − 2H4 f (xN/2+1 )
2 2
2ε − H3 μa(xN/2−1 ) 2ε + H4 μa(xN/2+1 )
2H32 f (xN/2−1 ) 2H42 f (xN/2+1 )
= LtNU (xN/2 ) − −
2ε − H3 μa(xN/2−1 ) 2ε + H4 μa(xN/2+1 )
+ C (L − LNc )U (xN/2−1 ) + C (L − LNc )U (xN/2+1 )
≤ CH 2 /ε 3/2 ,
√ √
for αμ ≥ ρε
N N H32 f (xN/2−1 ) 2 H 2
f ( x )
L∗ (U − u )(xN/2 ) = L∗ U (xN/2 ) − − 4 N/ 2+1
ε 2ε + H4 μa(xN/2+1 )
H 2 f (xN/2−1 ) 2H42 f (xN/2+1 )
= LtNU (xN/2 ) − 3 −
ε 2ε + H4 μa(xN/2+1 )
+ C (L − LNc )U (xN/2−1 ) + C (L − LNc )U (xN/2+1 )
≤ C min H32 /μ3 , H42 μ3 /ε 3 .
By using the Lemma 4 and the procedure adopted by Cen [28], we derive the desired result.
5. Error estimate
This section presents the main contribution of the article, the theorem which conveys the ε –μ uniform convergence
error estimate
e
=
U − u
.
Theorem 1. Let u(xi ) be the solution of the continuous problem (1) and (2) and U(xi ) be the solution of the discrete problem
(16) and (17). Then, for sufficiently large N, we have
√ √
C (N −1 ln N )2 , if αμ ≤ ρε,
U − u
≤ √ √
CN −2 (ln N )3 , if αμ ≥ ρε.
Proof. From the results of Lemma 4, 12–14 and using the procedure adopted in [22] it follows that
√ √
CN −2 ln N,
2
αμ ≤ ρε, N
|e ( xi )| ≤ √ √ ∀ xi ∈ \{d}. (26)
CN −2 ln N,
3
αμ ≥ ρε,
To prove the error at xi = d:
√ √
Case (i): αμ ≤ ρε , define the discrete barrier function φd∗ (xi ) by
≤0 ∀ x i ∈ N .
Define the ancillary continuous functions u1 , u2 by
sinh λx sinh λ(1 − x )
u1 (x ) = eη (d−x ) and u2 (x ) = eη (d−x ) ,
sinh λd sinh λ(1 − d )
where
αμ (αμ )2 + 4εβ
η= and λ = .
2ε 2ε
Define
u1 (x ), for x ∈ (0, d ),
u˜ (x ) =
u2 (x ), for x ∈ (d, 1 ).
Now
−8ε + 6H3 μa(xN/2−1 ) 4ε − 2H32 b(xN/2−1 ) − 4H3 μa(xN/2−1 )
LNT1 u1 (xN/2 ) = u1 (xN/2 ) + u1 (xN/2−1 )
2ε − H3 μa(xN/2−1 ) 2ε − H3 μa(xN/2−1 )
−8ε + 6H3 μa(xN/2−1 ) 4ε − 2H32 b(xN/2 ) − 4H3 μa(xN/2−1 ) −ηH3 sinh λ(d − H3 )
= + e
2ε − H3 μa(xN/2−1 ) 2ε − H3 μa(xN/2−1 ) sinh(λd )
e(η+λ)H3
= C1 + C2 1 − e−2λ(d−H3 )
1 − e−2λd
≥ C2∗ 1 − e−2λ(d−H3 ) ,
similarly
−8ε − 6H4 μa(xN/2+1 ) 4ε − 2H42 b(xN/2+1 ) + 4H3 μa(xN/2+1 ) −ηH4 sinh λ(1 − d − H4 )
LNT1 u2 (xN/2 ) = + e
2ε + H4 μa(xN/2+1 ) 2ε + H4 μa(xN/2+1 ) sinh(λd )
e−(η+λ)H4
= C3 + C4 1 − e−2λ(1−d−H4 )
1 − e−2λ(1−d )
N
LT u2 (xN/2 ) ≥ C4∗ 1 − e−2λ(1−d−H4 ) .
1
Hence
where
252 T. Prabha et al. / Applied Mathematics and Computation 314 (2017) 237–256
⎧
⎪ CH2
⎨C N−2 ln3 N + 33 (xi − d − τ2 ), for xi ∈ (d − τ2 , d],
ω2± (xi ) = μ
⎪
⎩C N−2 ln3 N + C H4 μ (d + τ − x ), for x ∈ [d, d + τ ).
2 3
ε3 3 i i 3
6. Numerical examples
To show the applicability and efficiency of the present method it has been implemented to the following test problems.
Consider the singularly perturbed two parameter BVPs with discontinuous source term.
Example 1.
Example 2.
To calculate the maximum pointwise errors and orders of convergence, we use the double mesh principle, which is
followed by many researchers, one can refer [12] for further details. The error of double mesh difference is defined by
Fig. 1. Plots of Numerical Solution and Error for ε = 10−6 , μ = 10−4 with N = 256 for Example 1.
Fig. 2. Plots of Numerical Solution and Error for ε = 10−6 , μ = 10−2 with N = 256 for Example 1.
Fig. 3. Loglog Plots of the Maximum Pointwise Error for the Different Values of ε and μ for Example 1.
where UN (xi ) and U2N (xi ) denote respectively, the numerical solutions obtained using N and 2N mesh intervals. In addition,
the parameter–robust orders of convergence are calculated from
EεN,μ
RNε,μ = log2 .
Eε2,Nμ
The numerical solutions, errors and loglog plots are given in Figs. 1–3 for Example 1 and in Figs. 4–6 for Example 2.
Tables 1–4 correspond respectively to Examples 1 and 2.
254 T. Prabha et al. / Applied Mathematics and Computation 314 (2017) 237–256
Fig. 4. Plot of Numerical Solution and Error for ε = 10−6 , μ = 10−4 with N = 256 for Example 2.
Fig. 5. Plot of Numerical Solution and Error for ε = 10−6 , μ = 10−2 with N = 256 for Example 2.
Fig. 6. Loglog Plots of the Maximum Pointwise Error for the Different Values of ε and μ for Example 2.
Table 1
Maximum pointwise errors and orders of convergence for μ = 10−2 for Example 1.
Table 2
Maximum pointwise errors and orders of convergence for μ = 10−2 for Example 1.
Table 3
Maximum pointwise errors and orders of convergence for μ = 10−2 for Example 2.
Table 4
Maximum pointwise errors and orders of convergence for μ = 10−2 for Example 2.
7. Conclusion
A singularly perturbed second order ordinary differential equation having two parameters with a discontinuous source
term was examined. Theoretical bounds on the derivatives, regular and singular components of the solution were derived.
A hybrid monotone finite difference scheme was constructed on Shishkin mesh to obtain second-order convergence.
Parameter uniform error bounds for the numerical approximation were established. Numerical results presented in this
paper support the theoretical results. Further study on the problems (1) and (2) with condition |[a](d)| ≤ C is communicated
for publication.
Acknowledgment
The authors wish to thank all the reviewers for their valuable comments and suggestions to improve the article.
References
[14] M. Chandru, T. Prabha, V. Shanthi, A hybrid difference scheme for a second-order singularly perturbed reaction-diffusion problem with non-smooth
data, Int. J. Appl. Comput. Math. 1 (1) (2015) 87–100, doi:10.1007/s40819- 014- 0004- 8.
[15] M. Chandru, V. Shanthi, Fitted mesh method for singularly perturbed robin type boundary value problem with discontinuous source term, Int. J. Appl.
Comput. Math. 1 (3) (2015) 491–501, doi:10.1007/s40819-015- 0030- 1.
[16] P.A. Farrell, A.F. Hegarty, J.J.H. Miller, E. O’Riordan, G.I. Shishkin, Singularly perturbed convection-diffusion problems with boundary and weak interior
layers, J. Comput. Appl. Math. 166 (1) (2004) 133–151, doi:10.1016/j.cam.2003.09.033.
[17] P.A. Farrell, J.J.H. Miller, E. O’Riordan, G.I. Shishkin, Singularly perturbed differential equations with discontinuous source terms, in: Proceedings of
Lozenetz, 20 0 0.
[18] G.I. Shishkin, V.A. Titov, A difference scheme for a differential equation with two small parameters at the derivatives, Chisl. Metody Meh. Sploshn.
Sredy 7 (2) (1976) 145–155.
[19] E. O’Riordan, M.L. Pickett, G.I. Shishkin, Singularly perturbed problems modeling reaction-convection-diffusion processes, Comput. Methods Appl. Math.
3 (3) (2003) 424–442, doi:10.2478/cmam- 2003- 0028.
[20] T. Linß, A posteriori error estimation for a singularly perturbed problem with two small parameters, Int. J. Numer. Anal. Model. 7 (3) (2010) 491–506.
[21] P. Das, V. Mehrmann, Numerical solution of singularly perturbed convection-diffusion-reaction problems with two small parameters, BIT Numer. Math.
(2015) 1–26, doi:10.1007/s10543- 015- 0559- 8.
[22] J.L. Gracia, E. O’Riordan, M.L. Pickett, A parameter robust second order numerical method for a singularly perturbed two-parameter problem, Appl.
Numer. Math. 56 (7) (2006) 962–980, doi:10.1016/j.apnum.2005.08.002.
[23] K.C. Patidar, A robust fitted operator finite difference method for a two-parameter singular perturbation problem, J. Differ. Eq. Appl. 14 (12) (2008)
1197–1214.
[24] V. Shanthi, N. Ramanujam, S. Natesan, Fitted mesh method for singularly perturbed reaction-convection-diffusion problems with boundary and interior
layers, J. Appl. Math. Comput. 22 (1–2) (2006) 49–65, doi:10.1007/BF02896460.
[25] M. Chandru, T. Prabha, V. Shanthi, A parameter robust higher order numerical method for singularly perturbed two parameter problems with non-s-
mooth data, J. Comput. Appl. Math. 309 (2017) 11–27.
[26] J. Mohapatra, Equidistribution grids for two-parameter convection-diffusion boundary value problems, J. Math. Model. 2 (1) (2014) 1–21.
[27] C. Clavero, J.L. Gracia, G.I. Shishkin, L.P. Shishkina, An efficient numerical scheme for 1d parabolic singularly perturbed problems with an interior and
boundary layers, J. Comput. Appl. Math. 318 (2017) 634–645, doi:10.1016/j.cam.2015.10.031.
[28] Z. Cen, A hybrid difference scheme for a singularly perturbed convection-diffusion problem with discontinuous convection coefficient, Appl. Math.
Comput. 169 (1) (2005) 689–699, doi:10.1016/j.amc.2004.08.051.