ArticlePDF Available

Abstract and Figures

In this paper we consider two difference schemes for numerical solving of a one--dimensional singularly perturbed boundary value problem. We proved an ε\varepsilon--uniform convergence for both difference schemes on a Shiskin mesh. Finally, we present four numerical experiments to confirm the theoretical results.
Content may be subject to copyright.
arXiv:1712.01313v1 [math.NA] 4 Dec 2017
Uniformly Convergent Difference Scheme for a Semilinear
Reaction-Diffusion Problem on a Shishikin mesh
Samir Karasulji´c1, Enes Duvnjakovi´c and Elvir Memi´c
Abstract
In this paper we consider two difference schemes for numerical solving of a one–dimensional singularly
perturbed boundary value problem. We proved an ε–uniform convergence for both difference schemes on a
Shiskin mesh. Finally, we present four numerical experiments to confirm the theoretical results.
Key words: singularly perturbed, boundary value problem, numerical solution, difference scheme, nonlinear,
Shishkin mesh, layer–adapted mesh, ε–uniform convergent.
2010 Mathematics Subject Classification. 65L10, 65L11, 65L50.
1 Introduction
We consider the semilinear singularly perturbed problem
ε2y′′(x) = f(x, y) on (0,1) ,(1)
y(0) = 0, y(1) = 0,(2)
where εis a small positive parameter. We assume that the nonlinear function fis continuously differentiable,
i.e. for k2, f Ck([0,1] ×R),and that it has a strictly positive derivative with respect to y
∂f
∂y =fym > 0 on [0,1] ×R(m=const).(3)
The boundary value problem (1)–(2), under the condition (3), has a unique solution (see [15]). Numerical
treatment of the problem (1), has been considered by many authors, under different condition on the function
f, and made a significant contribution.
We are going to analyze two difference schemes for the problem (1)–(3). These difference schemes were
constructed using the method first introduced by Boglaev [1], who constructed a difference scheme and showed
convergence of order 1 on a modified Bakhvalov mesh. In our previous papers using the method [1], we
constructed new difference schemes in [3,4,69,11,14] and performed numerical tests, in [5,12] we constructed
new difference schemes and we proved the theorems on the uniqueness of the numerical solution and the ε
uniform convergence on the modified Shishkin mesh, and again performed the numerical test. In [13] we used
the difference schemes from [12] and calculated the values of the approximate solutions of the problem (1)–(3)
on the mesh points and then we constructed an approximate solution.
Since in the boundary layers, i.e. near x= 0 and x= 1,the solution of the problem (1)–(3) changes rapidly,
when parameter tends to zero, in order to get the ε–uniform convergence, we have to use a layer-adapted mesh.
In the present paper we are going to use a Shishkin mesh [16], which is piecewise equidistant and consequently
simpler than the modified Shishkin mesh we have already used in our mentioned papers.
2 Difference schemes
For a given positive integer N, let it be an arbitrary mesh
0 = x0< x1<···< xN1< xN= 1,
with hi=xixi1,for i= 1,...,N.
Our first difference scheme has the following form
ai+di
2yi1ai+di
2+ai+1 +di+1
2yi+ai+1 +di+1
2yi+1 =di
γfi1/2+di+1
γfi/2,(4)
where di=β
tanh(βhi1), ai=β
sinh(βhi1),fi1/2=fxi1+xi
2,yi1+yi
2and di=diai.
From (4), we obtain next discrete problem
F y = (F y0, F y1,...,FyN)T,(5)
1corresponding author
1
where
Fy0=y0= 0,
Fyi=γ
di+di+1 ai+di
2yi1ai+di
2+ai+1 +di+1
2yi
+ai+1 +di+1
2yi+1 di
γfi1/2di+1
γfi/2= 0, i = 1,2,...,N 1,(6)
FyN=yN= 0,
and y:= (y0, y1,...,yN)Tis the solution of the problem
F y = 0.(7)
Second difference scheme has the following form
(3ai+di+di+1) ( ˜yi1˜yi)(3ai+1 +di+1 +di) ( ˜yi˜yi+1 ) = ˜
fi1+ 2 ˜
fi+˜
fi+1
γ(di+di+1),(8)
where di=β
tanh(βhi1), ai=β
sinh(βhi1),˜
fi=f(xi,˜yi) and di=diai.
From (8), we obtain second discrete problem
G˜y= (G˜y0, G˜y1,...,G˜yN)T,(9)
where
G˜y0= ˜y0= 0 (10)
G˜yi=γ
di+di+1 (3ai+di+di+1) ( ˜yi1˜yi)(3ai+1 +di+1 +di) (˜yi˜yi+1) (11)
˜
fi1+ 2 ˜
fi+˜
fi+1
γ(di+di+1)#= 0, i = 1,...,N 1,(12)
G˜yN= ˜yN= 0,(13)
and ˜y= (˜y0,˜y1,...,˜yn)Tis the solution of the problem
G˜y= 0.(14)
3 Theoretical background
In this paper we use the maximum norm
kuk= max
06i6N|ui|,(15)
for any vector u= (u0, u1,...,un)TRN+1 and the corresponding matrix norm.
The next two theorems hold
Theorem 3.1. [12]The discrete problem (7)for γfy,has the unique solution
y= (y0, y1, y2, . . . , y N1, yN)T,with y0=yN= 0.Moreover, the following stability inequality holds
kwvk61
mkF w F vk,(16)
for any vectors v= (v0, v1,...,vN)TRN+1, w = (w0, w1,...,wN)TRN+1 .
Theorem 3.2. [5]The discrete problem (14)has a unique solution ˜yfor γ>fy. Also, for every u, v RN+1
we have the following stabilizing inequality
kuvk61
mkGu Gvk.
In the following analysis we need the decomposition of the solution yof the problem (1)(2) to the layer
component sand a regular component r, given in the following assertion.
2
Theorem 3.3. [19]The solution yto problem (1)(2)can be represented in the following way:
y=r+s,
where for j= 0,1, ..., k + 2 and x[0,1] we have that
r(j)(x)6C, (17)
and s(j)(x)6jex
εm+e1x
εm.(18)
4 Construction of the mesh
The solution of the problem (1)–(3) changes fast near the ends of our domain [0,1].Therefore, the mesh has
to be refined there. A Shishin mesh is used to resolve the layers. This mesh is piecewise equidistant and it’s
quite simple. It is constructed as follows (see [17]). For given a positive integer N, where Nis divisible by 4,
we divide the interval [0,1] into three subintervals
[0, λ],[λ, 1λ],[1 λ, 1].
We use equidistant meshes on each of these subintervals, with 1 + N
4points in each of [0, λ] and [1 λ, 1],and
1 + N
2points in [1 λ, 1].We define the parameter λby
λ= min 1
4,2εln N
m,
which depends on Nand ε. The basic idea here is to use a fine mesh to resolve the part of the boundary layers.
More precisely, we have
0 = x0< x1< . . . < xi0< . . . < xNi0< . . . < xN1< xN= 1,
with i0=N/4, xi0=λ, xNi0= 1 λ, and
hi1=4λ
Nfor i= 1,...,i0, N i0,...,N, (19)
hi1=2(1 2λ)
Nfor i=i0+ 1,...,N i0.(20)
If λ=1
4i.e. 1
462εln N
N,then 1
Nis very small relative to ε. This is unlike in practice, and in this case the
method can be analyzed using standard techniques. Hence, we assume that
λ=2εln N
m.(21)
From (19) and (20), we conclude that that the interval lengths satisfy
hi1=8εln N
mfor i= 1,...,i0, N i0,...,N, (22)
and 1
N6hi162
Nfor i=i0+ 1,...,N i0.(23)
5 Uniform convergence
We will prove the theorem on uniform convergence of the difference schemes (4) and (8) on the part of the mesh
which corresponds to [0,1/2],while the proof on [1/2,1] can be analogously derived.
Namely, in the analysis of the value of the error the functions ex
εmand e1x
εmappear. For these
functions we have that ex
εm>e1x
εm,x[0,1/2] and ex
εm6e1x
εm,x[1/2,1]. In the
boundary layer in the neighbourhood of x= 0, we have that ex
εm>> e1x
εm, while in the boundary layer
in the neighbourhood of x= 1 we have that ex
εm<< e1x
εm.Based on the above, it is enough to prove
the theorem on the part of the mesh which corresponds to [0,1/2] with the exclusion of the function e1x
εm,
or on [1/2,1] but with the exclusion of the function ex
εm. Note that we need to take care of the fact that in
the first case hi16hi,and in the second case hi1>hi.
Let us start with the following two lemmas that will be further used in the proof of the first uniform
convergence theorem on the part of the mesh from Section 3which corresponds to xN/41,1/2and xN/4=λ.
3
Lemma 5.1. Assume that ε6C
N.In the part of the Shiskin mesh from Section 3, when xi, xi±1[xN/4,1/2],
we have the following estimate
|F yi|6C
N2, i =N/4,...,N/21.(24)
Proof. On this part of the mesh holds hi1=hi,so we have that
F yi=γ
2(cosh(βhi)1) (1 + cosh(βhi)(yi12yi+yi+1)cosh(βhi)1
γ(fi1/2+fi/2)
=γ
2yi12yi+yi+1 fi1/2+fi/2
γγ
cosh(βhi)1(yi12yi+yi+1).
Because of Theorem 3.3, and the fact that ε2y′′ =f(x, y), x (0,1),we obtain
|F yi|6C1|ri12ri+ri+1|+|si12si+si+1|+ε2|y′′
i1|
+1
cosh(βhi)1(|ri12ri+ri+1|+|si12si+si+1|).
Again, due to Theorem 3.3 and Taylor expansion, the following inequalities hold
|ri12ri+ri+1|=
r′′(ξ
i)
2h2
i+r′′(ξ+
i)
2h2
i
6C2h2
i,
|si12si+si+1|6C3
N2,
1
cosh(βhi)162
(βhi)2=2ε2
γh2
i
6C4,
ε2|y′′
i1|6C5ε2ε2(exi1
εm+e1xi1
εm) + r′′
i16C61
N2+ε2,
where ξ
i(xi1, xi) and ξ+
i(xi, xi+1).Finally, we have that
|F yi|6C
N2.(25)
Lemma 5.2. Assume that ε6C
N.In the part of the Shiskin mesh from Section 3, when xi=xN/4,we have
the following estimate
F yN/46C
N.(26)
Proof. Let us estimate
F yN/4
,consider F yiin the following form
F yi=γ
cosh(βhi1)1
sinh(βhi1)+cosh(βhi)1
sinh(βhi)1 + cosh(βhi1)
2 sinh(βhi1)yi11 + cosh(βhi1)
2 sinh(βhi1)+1 + cosh(βhi)
2 sinh(βhi)yi
+1 + cosh(βhi)
2 sinh(βhi)yi+1 cosh(βhi1)1
γsinh(βhi1)fi1/2cosh(βhi)1
γsinh(βhi)fi/2, i =N/4 (27)
Let us first estimate the expressions from (27) using the nonlinear terms. Due to Theorem 3.3, and the fact
that ε2y′′ =f(x, y), x (0,1),we have that
γ
cosh(βhi1)1
sinh(βhi1)+cosh(βhi)1
sinh(βhi)cosh(βhi1)1
γsinh(βhi1)fi1/2cosh(βhi)1
γsinh(βhi)fi/2
6C3ε2y′′(xN/4)6C4
N2.(28)
For the linear terms from (27), we have that
4
γ
cosh(βhi1)1
sinh(βhi1)+cosh(βhi)1
sinh(βhi)
(29)
·1 + cosh(βhi1)
2 sinh(βhi1)yi11 + cosh(βhi1)
2 sinh(βhi1)+1 + cosh(βhi)
2 sinh(βhi)yi+1 + cosh(βhi)
2 sinh(βhi)yi+1(30)
=γ
cosh(βhi1)1
sinh(βhi1)+cosh(βhi)1
sinh(βhi)1 + cosh(βhi1)
2 sinh(βhi1)(yi1yi)1 + cosh(βhi)
2 sinh(βhi)(yiyi+1 ).(31)
According Theorem 3.3, for the layer component s, we have that
γ
cosh(βhi1)1
sinh(βhi1)+cosh(βhi)1
sinh(βhi)
1 + cosh(βhi1)
2 sinh(βhi1)(si1si)1 + cosh(βhi)
2 sinh(βhi)(sisi+1)
6C5(|si1si|+|sisi+1|)6C6
N2.(32)
For the regular component r, due to cosh x1
sinh x= tanh x
2and our assumption ε61/N, we get that
γ
cosh(βhi1)1
sinh(βhi1)+cosh(βhi)1
sinh(βhi)
1 + cosh(βhi1)
2 sinh(βhi1)(ri1ri)1 + cosh(βhi)
2 sinh(βhi)(riri+1)
=γ
tanh βhi1
2+ tanh β hi
2
tanh βhi1
2
2(ri1ri) + tanh βhi
2
2(riri+1) + 2(ri1ri)2(riri+1 )
6C7|ri1ri|+|riri1|+|ri1ri|+|riri+1|
tanh(βhi)
6C8 εln N
N+1
N+
εln N
N+1
N
tanh(βhi)!6C
N.(33)
Now, collecting (28), (32) and (33), the statement of the lemma is therefore proven.
Theorem 5.1. The discrete problem (7)on the mesh from Section 3is uniformly convergent with respect to ε
and
max
i|yiyi|6C
ln2N
N2, i {0,1,...,N/41}
1
N2, i {N/4 + 1,...,3N/41}
1
N, i {N/4,3N/4}
ln2N
N2, i {3N/4 + 1,...,N},
(34)
where yis the solution of the problem (1)(3),yis the corresponding solution of (7)and C > 0is a constant
independent of Nand ε.
Proof. We are going to divide the proof of this theorem in four parts.
Suppose first that xi, xi±1[0, λ], i = 1,...,N/4.The proof for this part of the mesh has already been
done in [12, Theorem 4.2]. It is hold that
|F yi|6Cln2N
N2, i = 0,1,...,N/41.(35)
Now, suppose that xi, xi±i[xN/4+1, xN/21].Based on Lemma 5.1, we have that
|F yi|6C
N2.(36)
In the case i=N/4,now based on Lemma 5.2, we have that
5
F yN/46C
N.(37)
Finally, the proof in the case i=N/2 is trivial, because the mesh on this part is equidistant and the influence
of the layer component is negligible. Therefore
F yN/26C
N2.(38)
Using inequalities (35), (36), (37) and (38), we complete the proof of the theorem.
Let us show the ε–uniform convergence of second difference scheme, i.e (8).
Lemma 5.3. Assume that ε6C
N.In the part of the Shiskin mesh from Section 3, when xi, xi±1[xN/4,1/2],
we have the following estimate
|Gyi|6C
N2, i =N/4,...,N/21.(39)
Proof. Let us rewrite G˜yiin the following form
G˜yi=γ
2cosh(βhi)1
sinh(βhi)2(cosh(βhi) + 1)
sinh(βhi)(yi1yi)2(cosh(βhi) + 1)
sinh(βhi)(yiyi+1 )
ε2y′′
i1y′′
i+y′′
i+1
γ·2(cosh(βhi)1)
sinh(βhi)
=γ
cosh(βhi)1[(cosh(βhi)1)(yi12yi+yi+1)2(yi12yi+yi+1 )
ε2(y′′
i12y′′
i+y′′
i+1)·cosh(βhi)1
γ
=γ(yi12yi+yi+1)2γ(yi12yi+yi+1)
cosh(βhi)1ε2(y′′
i1y′′
i+y′′
i+1).(40)
Using Theorem 3.3, Taylor expansion, assumption ε61
Nand the properties of the mesh from Section 3, let us
estimate the expressions from (40). We get that
|yi12yi+yi+1|6C1(|ri1ri+ri+1|+|si12si+si+1 |)
6C2 r′′(ξ+
i) + r′′(ξ
i)
2h2
i+exi1
εm!6C3
N2,(41)
1
cosh(βhi)162
(βhi)2=2ε2
γh2
i
6C3,(42)
ε2y′′
i1y′′
i+y′′
i+16ε2r′′
i1r′′
i+r′′
i+1+ε2s′′
i1s′′
i+s′′
i+1
6C4ε2 1 + exi1
εm
ε2!6C5
N2,(43)
where ξ
i(xi1, xi), ξ+
i(xi, xi+1).
Now using (40), (41),(42) and (43), we obtain (39).
Lemma 5.4. Assume that ε6C
N.In the part of the Shiskin mesh from Section 3, when xi=xN/4,we have
the following estimate
GyN/46C
N.(44)
Proof. Using (12), let us write Gyiin the following form
Gyi=γ
di+di+1
[(4ai+di+di+1)(yi1yi)(4ai+1 +di+di+1)(yiyi+1 )]
(fi1+ 2fi+fi+1)
=4γ
di+di+1
[ai(yi1yi)ai+1(yiyi+1)] + γ(yi12yi+yi+1)(fi1+ 2fi+fi+1).(45)
6
In a similar way, as in the previously lemmas, we can get
|yi12yi+yi+1|6|si12si+si+1|+|ri12ri+ri+1 |6C11
N2+1
N,(46)
|fi1+ 2fi+fi+1|6C2
N2.(47)
Using the identity c osh x1
sinh = tanh x
2and Theorem 3.3, we have that
4γ
di+di+1
[ai(yi1yi)ai+1(yiyi+1)]
=4γ
tanh βhi1
2+ tanh β hi
21
sinh(βhi1)|si1si| 1
sinh(βhi)|sisi+1 |
+1
sinh(βhi1)|ri1ri| 1
sinh(βhi)|riri+1 |.(48)
Due to Theorem 3.3 and assumption ε6C
N,hold the next inequalities
γ
tanh βhi1
2+ tanh β hi
2
64γ
tanh βhi
2
6C1,(49)
1
sinh(βhi1)|si1si|61
βhi1|si1si|6C2·1
ln N
N·1
N2=C2
Nln N,(50)
1
sinh(βhi)|sisi+1 |61
βhi|sisi+1 |6C3
N2,(51)
1
sinh(βhi1)|ri1ri|61
βhi1|ri1ri|61
ln N
N·C4
εln N
N=C4ε, (52)
1
sinh(βhi)|riri+1 |61
βhi|riri+1 |6C5
N.(53)
Now, using (45), (46), (47), (48), (49), (50), (51), (52) and (53), we obtain (44).
Theorem 5.2. The discrete problem (9)on the mesh from Section 3is uniformly convergent with respect to ε
and
max
i|yi˜yi|6C
ln2N
N2, i {0,1,...,N/41}
1
N2, i {N/4 + 1,...,3N/41}
1
N, i {N/4,3N/4}
ln2N
N2, i {3N/4 + 1,...,N},
(54)
where yis the solution of the problem (1)(3),˜yis the corresponding solution of (14)and C > 0is a constant
independent of Nand ε.
Proof. Again, let us divide the proof on four parts.
Suppose first that xi, xi±1[0, λ], i = 1,...,N/4.The proof for this part of the mesh has already been done
in [5, Theorem 4.4]. It is proved that
|Gyi|6Cln2N
N2, i = 0,1,...,N/41.(55)
Secondly, suppose that xi, xi±1[xN/4+1, xN/21].Due to Lemma 5.3, we have that
|Gyi|6C
N2.(56)
In the case i=N/4,based on Lemma 5.4, we have the following estimate
GyN/46C
N.(57)
7
At the end, in the case i=N/2,the proof is trivial, because of the properties of the mesh and the layer
component. Hence, it is true that
|Gyi|6C
N2.(58)
Using (55), (56), (57) and (58), we complete the statement of the theorem.
6 Numerical experiments
In this section we present numerical results to confirm the uniform accuracy of the discrete problems (7) and
(14). Both discrete problems will be checked on two different examples. First one is the linear boundary value
problem, whose exact solution is known. Second example is the nonlinear boundary value problem whose exact
solution is unknown.
For the problems from our examples whose exact solution is known, we calculate ENas
EN= max
06i6Ny(xi)yN(xi)or EN= max
06i6Ny(xi)˜yN(xi),(59)
for the problems, whose exact solution is unknown, we calculate EN, as
EN= max
06i6Ny2N
S(xi)yN(xi)or EN= max
06i6N˜y2N
S(xi)˜yN(xi),(60)
the rate of convergence Ord we calculate in the usual way
Ord = ln ENln E2N
ln 2k
k+1
(61)
where N= 2k, k = 6,7,...,11, yN(xi),˜yN(xi) are the values of the numerical solutions on a mesh with N+ 1
mesh points, and y2N
S(xi),˜y2N
S(xi) are the values of the numerical solutions on a mesh with 2N+ 1 mesh points
and the transition points altered slightly to λS= min n2
4,2ε
mln N
2o.
Remark 6.1. In a case when the exact solution is unknown we use the double mesh method, see [2,17,18] for
details.
Example 6.1. Consider the following problem
ǫ2y′′ =y+ 1 2ε2+x(x1) for x(0,1), y(0) = y(1) = 0.
The exact solution of this problem is given by y(x) = ex
ǫ+e1x
ǫ
1 + e1
ǫx(x1) 1.The nonlinear system was
solved using the initial condition y0=0.5 and the value of the constant γ= 1.
Example 6.2. Consider the following problem
ε2y′′ =y3+y2 for (0,1), y(0) = y(1) = 0,(62)
whose exact solution is unknown. The nonlinear system was solved using the initial condition y0= 1,that
represents the reduced solution. The value of the constant γ= 4 has been chosen so that the condition
γ>fy(x, y),(x, y)[0,1] ×[yL, yU][0,1] ×Ris fulfilled, where yLand yUare lower and upper solutions,
respectively, of the problem (62). Because of the fact that the exact solution is unknown, we are going to
calculate Enusing (60).
Example 6.3. Consider the following problem
ǫ2y′′ =y+ 1 2ε2+x(x1) for x(0,1), y(0) = y(1) = 0.
The exact solution of this problem is given by y(x) = ex
ǫ+e1x
ǫ
1 + e1
ǫx(x1) 1.The nonlinear system was
solved using the initial condition y0=0.5 and the value of the constant γ= 1.
8
N EnOrd EnOrd EnOrd
268.1585e04 2.00 2.8932e03 2.02 2.5827e02 2.05
272.7762e04 2.00 9.7397e04 2.01 8.5547e03 1.96
289.0650e05 2.00 3.1625e04 2.00 2.8566e03 1.99
293.5410e05 2.00 1.2353e04 2.00 1.2111e03 2.00
210 1.5738e05 2.00 5.4904e05 2.00 4.9827e04 2.00
211 7.7116e06 2.6903e05 2.4415e04
ε2325210
N EnOrd EnOrd EnOrd
263.9901e02 2.04 3.9901e02 2.04 3.9901e02 2.04
271.3288e02 1.93 1.3288e02 1.93 1.3288e02 1.93
284.5122e03 1.99 4.5122e03 1.99 4.5122e03 1.99
291.7709e03 1.98 1.7709e03 1.98 1.7709e03 1.98
210 7.9347e04 1.98 7.9347e04 1.98 7.9347e04 1.98
211 3.9158e04 3.9158e04 3.9158e04
ε215 225 230
N EnOrd EnOrd EnOrd
263.9901e02 2.04 4.0243e02 2.02 4.0248e02 2.02
271.3288e02 1.93 1.3581e02 1.92 1.3582e02 1.92
284.5122e03 1.99 4.6375e03 1.97 4.6381e03 1.97
291.7709e03 1.98 1.8372e03 1.98 1.8375e03 1.98
210 1.7709e03 1.98 8.2321e04 1.98 8.2331e04 1.98
211 3.9158e04 4.0626e04 4.0631e04
ε235 240 245
Table 1: Errors ENand convergence rates Ord for approximate solutions from Example 6.1.
N EnOrd EnOrd EnOrd
267.1345e04 2.02 3.7134e03 2.01 1.5182e02 2.09
272.4017e04 2.01 1.2564e04 2.01 4.9236e03 1.96
287.7985e05 2.00 3.1655e04 2.00 1.6403e03 2.09
293.0463e05 2.00 1.2959e04 2.00 5.1903e04 2.00
210 1.3539e05 2.00 3.9986e05 2.00 1.6001e04 2.00
211 6.6341e06 1.2096e05 4.8389e05
ε2325210
N EnOrd EnOrd EnOrd
261.5181e02 2.09 1.5181e02 2.09 1.5181e02 2.09
274.9236e03 1.96 4.9236e03 1.96 4.9236e03 1.96
281.6403e03 2.00 1.6403e03 2.00 1.6403e03 2.00
295.1903e04 2.00 5.1903e04 2.00 5.1903e04 2.00
210 1.6001e04 2.00 1.6001e04 2.00 1.6001e04 2.00
211 4.8389e05 4.8389e05 4.8389e05
ε215 225 230
N EnOrd EnOrd EnOrd
261.5181e02 2.09 1.5184e02 2.09 1.5795e02 2.09
274.9236e03 1.96 4.9221e03 1.96 5.1202e03 1.96
281.6403e03 2.00 1.6436e03 1.99 1.7097e03 1.99
295.1903e04 2.00 6.4509e04 2.00 6.7102e04 2.00
210 1.6002e04 2.00 2.8669e04 2.00 2.9823e04 2.00
211 4.8390e05 1.4048e04 1.4613e04
ε235 240 245
Table 2: Errors ENand convergence rates Ord for approximate solutions from Example 6.2.
Example 6.4. Consider the following problem
ε2y′′ =y3+y2 for (0,1), y(0) = y(1) = 0,(63)
whose exact solution is unknown. The nonlinear system was solved using the initial condition y0= 1,that
represents the reduced solution. The value of the constant γ= 4 has been chosen so that the condition
γ>fy(x, y),(x, y)[0,1] ×[yL, yU][0,1] ×Ris fulfilled, where yLand yUare lower and upper solutions,
respectively, of the problem (62). Because of the fact that the exact solution is unknown, we are going to
calculate Enusing (60).
9
N EnOrd EnOrd EnOrd
269.0262e04 2.05 4.4799e03 2.03 3.9479e02 2.01
272.8729e04 1.91 1.4999e03 1.92 1.3362e03 1.93
289.8102e05 1.95 5.1221e04 1.95 4.5373e03 1.96
293.9049e05 1.99 2.0484e04 1.99 1.8060e03 1.97
210 1.7496e05 1.99 9.1409e05 1.99 8.1249e04 1.97
211 8.6345e06 4.4951e05 4.0241e04
ε2325210
N EnOrd EnOrd EnOrd
263.9479e02 2.01 3.9479e02 2.01 3.9479e02 2.01
271.3362e03 1.93 1.3362e03 1.93 1.3362e03 1.93
284.5373e03 1.96 4.5373e03 1.96 4.5373e03 1.96
291.8060e03 1.97 1.8060e03 1.97 1.8060e03 1.97
210 8.1249e04 1.97 8.1249e04 1.97 8.1249e04 1.97
211 4.0241e04 4.0241e04 4.0241e04
ε215 225 230
N EnOrd EnOrd EnOrd
263.9479e02 2.01 3.9483e02 2.01 3.9485e02 2.01
271.3362e03 1.93 1.3363e03 1.93 1.3364e03 1.93
284.5373e03 1.96 4.5377e03 1.95 4.5378e03 1.95
291.8060e03 1.97 1.8147e03 1.97 1.8180e03 1.97
210 8.1249e04 1.97 8.1641e04 1.97 8.1645e04 1.97
211 4.0241e04 4.0434e04 4.0436e04
ε235 240 245
Table 3: Errors ENand convergence rates Ord for approximate solutions from Example 6.3.
N EnOrd EnOrd EnOrd
268.8623e04 2.09 3.4567e03 2.11 1.1656e02 2.10
272.8728e05 1.92 1.1085e03 1.93 3.7537e03 1.91
289.8102e05 1.96 3.7643e04 1.95 1.2923e03 1.98
293.9049e05 1.98 1.5054e04 1.98 4.1404e04 1.99
210 1.7496e05 1.98 6.7451e05 1.99 1.2855e04 2.00
211 8.6345e06 3.3169e05 3.8914e05
ε2325210
N EnOrd EnOrd EnOrd
261.1656e02 2.10 1.1656e02 2.10 1.1656e02 2.10
273.7537e03 1.91 3.7537e03 1.91 3.7537e03 1.91
281.2923e03 1.98 1.2923e03 1.98 1.2923e03 1.98
294.1404e04 1.99 4.1404e04 1.99 4.1404e04 1.99
210 1.2855e04 2.00 1.2855e04 2.00 1.2855e04 2.00
211 3.8914e05 3.8914e05 3.8914e05
ε215 225 230
N EnOrd EnOrd EnOrd
261.1656e02 2.10 1.1656e02 2.10 1.1656e02 2.10
273.7537e03 1.91 3.7537e03 1.91 3.7537e03 1.91
281.2923e03 1.98 1.2923e03 1.98 1.2923e03 1.98
294.1404e04 1.99 4.1404e04 1.99 4.1404e04 1.99
210 1.2855e04 2.00 1.2855e04 2.00 1.2855e04 2.00
211 3.8914e05 3.8914e05 3.8914e05
ε235 240 245
Table 4: Errors ENand convergence rates Ord for approximate solutions from Example 6.4.
10
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
-0.7
-0.6
-0.5
-0.4
-0.3
-0.2
-0.1
0
numerical solution ǫ=2 -3
exact solution= ǫ=2 -3
(a) ε= 23, N = 32
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
-0.9
-0.8
-0.7
-0.6
-0.5
-0.4
-0.3
-0.2
-0.1
0
numerical solution ǫ=2 -5
exact solution= ǫ=2 -5
(b) ε= 25, N = 32
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
-1
-0.9
-0.8
-0.7
-0.6
-0.5
-0.4
-0.3
-0.2
-0.1
0
numerical solution ǫ=2 -7
exact solution= ǫ=2 -7
(c) ε= 27, N = 32
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
-1
-0.9
-0.8
-0.7
-0.6
-0.5
-0.4
-0.3
-0.2
-0.1
0
numerical solution ǫ=2 -9
exact solution= ǫ=2 -9
(d) ε= 29, N = 32
Figure 1: Graphics of the numerical and exact solutions for N= 32 and ε= 23,25,27,29for Example
6.1 and Example 6.3
11
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
0
0.2
0.4
0.6
0.8
1
numerical solution ǫ=2 -3, N=32
numerical solution= ǫ=2 -3 , N=64
(a) ε= 23, N = 32
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
0
0.2
0.4
0.6
0.8
1
numerical solution ǫ=2 -5, N=32
numerical solution= ǫ=2 -5 , N=64
(b) ε= 25, N = 32
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
0
0.2
0.4
0.6
0.8
1
numerical solution ǫ=2 -7, N=32
numerical solution= ǫ=2 -7 , N=64
(c) ε= 27, N = 32
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
0
0.2
0.4
0.6
0.8
1
numerical solution ǫ=2 -9, N=32
numerical solution= ǫ=2 -9 , N=64
(d) ε= 29, N = 32
Figure 2: Graphics of the numerical and solutions for N= 32,64 and ε= 23,25,27,29for Example 6.2
and Example 6.4
References
[1] I. Boglaev, Approximate solution of a non-linear boundary value problem with a small parameter for the
highest-order differential, Zh. Vychisl. Mat. i Mat. Fiz., 24(11), (1984), pp. 1649–1656.
[2] E.P. Doolan, J.J.H. Miller and W.H.A. Schilders, Uniform numerical methods for problems with initial
and boundary layers, Boole Press, Dublin, 1980.
[3] E. Duvnjakovi´c, S. Karasulji´c and N. Okiˇci´c, Difference Scheme for Semilinear Reaction-Diffusion Problem,
14th International Research/Expert Conference Trends in the Development of Machinery and Associated
Technology TMT 2010, 7. Mediterranean Cruise, (2010), pp. 793–796.
[4] E. Duvnjakovi´c and S. Karasulji´c, Difference Scheme for Semilinear Reaction-Diffusion Problem on a Mesh
of Bakhvalov Type, Mathematica Balkanica, 25(5), (2011), pp. 499–504.
[5] E. Duvnjakovi´c, S. Karasulji´c, V. Paˇsi´c and H. Zarin, A uniformly convergent difference scheme on a
modified Shishkin mesh for the singularly perturbed reaction-diffusion boundary value problem, Journal of
Modern Methods in Numerical Mathematics 6(1), (2015), pp. 28-43.
[6] E. Duvnjakovi´c and S. Karasulji´c, Uniformly Convergente Difference Scheme for Semilinear Reaction-
Diffusion Problem, SEE Doctoral Year Evaluation Workshop, Skopje, Macedonia, 2011.
[7] E. Duvnjakovi´c and S. Karasulji´c, Difference Scheme for Semilinear Reaction-Diffusion Problem, The
Seventh Bosnian-Herzegovinian Mathematical Conference, Sarajevo, BiH, 2012.
12
[8] E. Duvnjakovi´c and S. Karasulji´c, Class of Difference Scheme for Semilinear Reaction-Diffusion Problem
on Shishkin Mesh, MASSEE International Congress on Mathematics - MICOM 2012, Sarajevo, Bosnia and
Herzegovina, 2012.
[9] E. Duvnjakovi´c and S. Karasulji´c, Collocation Spline Methods for Semilinear Reaction-Diffusion Problem
on Shishkin Mesh, IECMSA-2013, Second International Eurasian Conference on Mathematical Sciences
and Applications, Sarajevo, Bosnia and Herzegovina, 2013.
[10] E. Duvnjakovi´c, S. Karasulji´c and N. Okiˇci´c, Difference Scheme for Semilinear Reaction-Diffusion Problem,
14th International Research/Expert Conference Trends in the Development of Machinery and Associated
Technology TMT 2010, 7. Mediterranean Cruise, (2010), pp. 793–796.
[11] E. Duvnjakovi´c and S. Karasulji´c, Uniformly Convergente Difference Scheme for Semilinear Reaction-
Diffusion Problem, Conference on Appllied and Scietific Computing, Trogir, Croatia, pp. 25, 2011.
[12] S. Karasulji´c, E. Duvnjakovi´c and H. Zarin, Uniformly convergent difference scheme for a semilinear
reaction-diffusion problem, Advances in Mathematics: Scientific Journal 4(2), (2015), pp. 139–159.
[13] S. Karasulji´c, E. Duvnjakovi´c, V. Paˇsi´c and E. Barakovi´c, Construction of a global solution for the one
dimensional singularly–perturbed boundary value problem, Journal of Modern Methods in Numerical Math-
ematics, 8(1–2), (2017), pp. 52–65.
[14] S. Karasulji´c and E. Duvnjakovi´c, Construction of the Difference Scheme for Semilinear Reaction-Diffusion
Problem on a Bakhvalov Type Mesh, The Ninth Bosnian-Herzegovinian Mathematical Conference, Sarajevo,
BiH, 2015.
[15] J. Lorenz, Stability and monotonicity properties of stiff quasilinear boundary problems, Zb.rad. Prir. Mat.
Fak. Univ. Novom Sadu, Ser. Mat., 12, (1982), pp. 151–176.
[16] G.I. Shishkin, Grid approximation of singularly perturbed parabolic equations with internal layers, Sov. J.
Numer. Anal. M.Russian Journal of Numerical Analysis and Mathematical Modelling, 3(5), (1988), pp.
393–408.
[17] G. Sun and M. Stynes, A uniformly convergent method for a singularly perturbed semilinear reaction-
diffusion problem with multiple solutions, Math. Comput., 215(65), (1996), pp. 1085–1109.
[18] Z. Uzelac and K. Surla, A uniformly accurate collocation method for a singularly perturbed problem, Novi
Sad J. Math., 33(1), (2003), pp. 133–143.
[19] R. Vulanovi´c, On a Numerical Solution of a Type of Singularly Perturbed Boundary Value Problem by
Using a Special Discretization Mesh, Novi Sad J. Math., 13, (1983), pp. 187–201.
Department of Mathematics
Faculty of sciences and Mathematics,
University of Tuzla
Univerzitetska 4, 75000 Tuzla,
Bosnia and Herzegovina
E-mail address: samir.karasuljic@untz.ba
Department of Mathematics
Faculty of sciences and Mathematics,
University of Tuzla
Univerzitetska 4, 75000 Tuzla,
Bosnia and Herzegovina
E-mail address: enes.duvnjakovic@untz.ba
Department of Mathematics
Faculty of sciences and Mathematics,
University of Tuzla
Univerzitetska 4, 75000 Tuzla,
Bosnia and Herzegovina
E-mail address: memic 91 elvir@hotmail.com
13
... The author's results in the numerical solving of the problem (1a)-(1b) and others results can be seen in [2], [3], [5], [6], [7], [12], [4], [13], [16], [15], [14], [27], [26]. ...
... where y = (y 0 , y 1 , . . . , y N ) T the numerical solution of the problem (1a)-(1b), obtained by using the difference scheme (15). Now, we can state and prove the theorem of stability. ...
Preprint
Full-text available
A class of different schemes for the numerical solving of semilinear singularly--perturbed reaction--diffusion boundary--value problems was constructed. The stability of the difference schemes was proved, and the existence and uniqueness of a numerical solution were shown. After that, the uniform convergence with respect to a perturbation parameter ε\varepsilon on a modified Shishkin mesh of order 2 has been proven. For such a discrete solution, a global solution based on a linear spline was constructed, also the error of this solution is in expected boundaries. Numerical experiments at the end of the paper, confirm the theoretical results. The global solutions based on a natural cubic spline, and the experiments with Liseikin, Shishkin and modified Bakhvalov meshes are included in the numerical experiments as well.
... [14]. Other results obtained in a similar fashion to the one presented in this paper are given in [2,3,4,9,10]. ...
... Comparing these results to the ones obtained in [9] related to the discrete approximate solution, we can conclude that the rate of convergence of the cubic spline global approximate solution on the Shishkin mesh is of order O(ln 2 N/N 2 ) within the boundary layer, while outside of the layer it is of order O(1/N). ...
Article
Full-text available
In this paper we consider the semilinear singularly perturbed reaction--diffusion boundary value problem. In the first part of the paper a difference scheme is given for the considered problem. In the main part of the paper a cubic spline is constructed and we show that it represents a global approximate solution of the our problem. At the end of the paper numerical examples are given, which confirm the theoretical results.
... In [9,18] authors constructed new difference schemes and proved the uniqueness of the numerical solution and an ε-uniform convergence on a modified Shishkin mesh, and at the end presented numerical experiments, others results are in [19,20] and [5,6,7,8,17]. ...
Preprint
Full-text available
In this paper we consider the numerical solution of a singularly perturbed one-dimensional semilinear reaction-diffusion problem. A class of differential schemes is constructed. There is a proof of the existence and uniqueness of the numerical solution for this constructed class of differential schemes. The central result of the paper is an ε\varepsilon--uniform convergence of the second order O(1/N2),\mathcal{O}\left(1/N^2 \right), for the discrete approximate solution on the modified Bakhvalov mesh. At the end of the paper there are numerical experiments, two representatives of the class of differential schemes are tested and it is shown the robustness of the method and concurrence of theoretical and experimental results.
... These difference schemes were constructed using the method first introduced by Boglaev [1], who constructed a difference scheme and showed convergence of order 1 on a modified Bakhvalov mesh. In our previous papers using the method [1], we constructed new difference schemes in [3,4,10,6,7,8,9,13] and performed numerical tests, in [5,11] we constructed new difference schemes and we proved the theorems on the uniqueness of the numerical solution and the ε-uniform convergence on the modified Shishkin mesh, and again performed the numerical test. In [12] we used the difference schemes from [11] and calculated the values of the approximate solutions of the problem (1.1)-(1.3) ...
... These difference schemes were constructed using the method first introduced by Boglaev [1], who constructed a difference scheme and showed convergence of order 1 on a modified Bakhvalov mesh. In our previous papers using the method [1], we constructed new difference schemes in [3,4,10,6,7,8,9,13] and performed numerical tests, in [5,11] we constructed new difference schemes and we proved the theorems on the uniqueness of the numerical solution and the ε-uniform convergence on the modified Shishkin mesh, and again performed the numerical test. In [12] we used the difference schemes from [11] and calculated the values of the approximate solutions of the problem (1.1)-(1.3) ...
Article
Full-text available
In this paper we consider two difference schemes for numerical solving of a one-dimensional singularly perturbed boundary value problem. We proved an ε-uniform convergence for both difference schemes on a Shishkin mesh. Finally, we present four numerical experiments to confirm the theoretical results.
Preprint
Full-text available
In this paper, the numerical solution of the singular-perturbation Cauchy problem by Runge-Kutta methods on the Shishkin grid is discussed. Numerical solutions of the observed problem were obtained using two explicit and one implicit Runge-Kutta method on the simplest layer-adaptive network. Finally, the obtained results were compared.
Preprint
Full-text available
In the present paper we consider the numerical solving of a semilinear singular--perturbation reaction--diffusion boundary--value problem having boundary layers. A new difference scheme is constructed, the second order of convergence on a modified Shishkin mesh is shown. The numerical experiments are included in the paper, which confirm the theoretical results.
Preprint
Full-text available
The book was written on the basis of materials that we presented at several faculties, either as lectures or as part of auditory exercises. Aware that there are more books and textbooks in the area in which the topics covered by this book are covered, we tried, based on the mentioned experience, to write a book oriented towards students.
Article
Full-text available
In this work we consider the singularly perturbed one-dimensional semi-linear reaction-diffusion problem " y (x) = f (x; y); x 2 (0; 1) ; y(0) = 0; y(1) = 0; where f is a nonlinear function. Here the second-order derivative is multiplied by a small positive parameter and consequently, the solution of the problem has boundary layers. A new difference scheme is constructed on a modified Shishkin mesh with O(N) points for this problem. We prove existence and uniqueness of a discrete solution on such a mesh and show that it is accurate to the order of N^{-2} ln^{2} N in the discrete maximum norm. We present numerical results that verify this rate of convergence.
Article
Full-text available
We consider an approximate solution for the one-dimensional semilinear singularly-perturbed boundary value problem, using the previously obtained numerical values of the boundary value problem in the mesh points and the representation of the exact solution using Green's function. We present an ε\varepsilon-uniform convergence of such gained the approximate solutions, in the maximum norm of the order O(N1)\mathcal{O}\left(N^{-1}\right) on the observed domain. After that, the constructed approximate solution is repaired and we obtain a solution, which also has ε\varepsilon--uniform convergence, but now of order O(ln2N/N2)\mathcal{O}\left(\ln^2N/N^2\right) on [0,1]. In the end a numerical experiment is presented to confirm previously shown theoretical results.
Article
Full-text available
In this paper we are considering a semilinear singular perturbation reaction -- diffusion boundary value problem, which contains a small perturbation parameter that acts on the highest order derivative. We construct a difference scheme on an arbitrary nonequidistant mesh using a collocation method and Green's function. We show that the constructed difference scheme has a unique solution and that the scheme is stable. The central result of the paper is ϵ\epsilon-uniform convergence of almost second order for the discrete approximate solution on a modified Shishkin mesh. We finally provide two numerical examples which illustrate the theoretical results on the uniform accuracy of the discrete problem, as well as the robustness of the method.
Article
A semilinear singularly perturbed reaction-diffusion prob- lem is considered and the approximate solution is given in the form of a quadratic polynomial spline. Using the collocation method on a simple piecewise equidistant mesh, an approximation almost second order uni- formly accurate in small parameter is obtained. Numerical results are presented in support of this result.
Article
The periodic first boundary value problem is considered in a band domain for a parabolic-type equation. Highest-order derivatives contain a parameter taking arbitrary values in the half-open interval (0,1], while the equation coefficients and free term have discontinuities of the first kind at a finite number of straight lines parallel to one of the coordinate axes. Lumped sources can also be located at these straight lines. When the parameter tends to zero there arise internal layers in the neighbourhoods of discontinuity lines for the data of the problem. To solve the boundary value problem by using grids condensing at boundary and internal layers, a difference scheme is constructed which converges uniformly in the parameter everywhere in the domain.