<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>The spline approach to the calculation of derivatives on the Bakhvalov mesh in the presence of a boundary layer</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Alexander Zadorin</string-name>
          <email>zadorin@o</email>
          <email>zadorin@o m.oscsbras.ru</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Nikita Zadorin</string-name>
          <email>nik-zadorin@yandex.ru</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Sobolev Institute of Mathematics</institution>
          ,
          <addr-line>Novosibirsk, 630090</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>The problem of calculating the derivatives of a function with large gradients in the region of an exponential boundary layer is considered. To do this, it is proposed to construct a cubic spline on the Bakhvalov grid, which thickens in the boundary layer. We study the convergence of the derivatives of the constructed spline to the derivatives of the function given at the grid nodes. Error estimates are obtained taking into account uniformity in a small parameter. The obtained error estimates are confirmed by the results of computational experiments.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Introduction
where</p>
      <p>u(x) = p(x) + Φ(x); x 2 [0; 1];
jp(j)(x)j</p>
      <p>C1; jΦ(j)(x)j</p>
      <p>
        C"j1 e− x="; 0
j
4;
(
        <xref ref-type="bibr" rid="ref1">1</xref>
        )
(
        <xref ref-type="bibr" rid="ref2">2</xref>
        )
Copyright ⃝c by the paper's authors. Use permitted under Creative Commons License Attribution 4.0 International (CC BY 4.0).
where the functions p(x) and Φ(x) are not explicitly defined, &gt; 0; " 2 (0; 1], constant C1 is independent of ".
According to (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ), the regular component p(x) has bounded derivatives to the fourth order, and the boundary-layer
component Φ(x) has derivatives that are not uniformly bounded with the respect to the parameter ". According
to [1], the representation (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) with constraints (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) is valid for the solution of the boundary value problem for a
second-order differential equation with a small parameter " with the highest derivative.
      </p>
      <p>
        Let us show the relevance of developing difference formulas for calculating derivatives with respect to function
values at mesh nodes if the function has the representation (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ). The classical difference formula with two nodes
for the derivative has the form:
u′(x)
      </p>
      <p>
        L′2(u; x) =
un
un−1 ; xn−1
h
x
xn:
Let u(x) = e−x=": Then with " = h it will be "j(u1 u0)=h u′(0)j = e−1: The relative error of the formula
(
        <xref ref-type="bibr" rid="ref3">3</xref>
        ) does not decrease with mesh step decreasing. We need to develop formulas for numerical differentiation with
accuracy that is uniform with respect to the parameter ".
      </p>
      <p>By C and Cj we mean positive constants independent of the parameter " and the number of mesh nodes N:
2</p>
      <p>Setting of the non-uniform</p>
      <p>mesh</p>
    </sec>
    <sec id="sec-2">
      <title>Let Ωh be a mesh on the interval [0; 1] :</title>
      <p>
        We assume that the function u(x) of the form (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) is defined at the nodes of the mesh, un = u(xn); n =
0; 1; 2; : : : ; N:
      </p>
      <p>Set Ωh as a Bakhvalov mesh [2] with the nodes xn = g(n=N ); n = 0; 1; : : : ; N; where the function g(t) is
defined as follows:
g(t) =
4"
ln [1
2(1
")t]; 0</p>
      <p>
        t
g(t) =
+ (2t
1)(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ); 1=2
1:
For "
e−1 we set the parameter
= min
      </p>
      <sec id="sec-2-1">
        <title>Given (7), we obtain that in the boundary layer region</title>
        <p>
          It is easy to verify that the sequence of steps hn; n = 1; 2; : : : ; N=2 – is strictly increasing. From (
          <xref ref-type="bibr" rid="ref8">8</xref>
          ) it follows
that
Therefore, for some constant C2 there is an estimate:
xn =
4"
ln [1
2(1
        </p>
        <p>")n=N ]; n = 0; 1; : : : ;
xn =
+ (2n=N
1)(1</p>
        <p>); n = N=2; : : : ; N:
hn =
4"
ln [1 +
1</p>
        <p>]; n = 1; 2; : : : ; N=2:
hN=2 =
4"
ln [1 +
2(1
") ]</p>
        <p>:</p>
        <p>N "
C2</p>
        <p>N
hn
; n = 1; 2; : : : ; N:
3 Cubic spline on the Bakhvalov mesh
On the constructed mesh Ωh we define a cubic spline S(u; x) 2 C2[0; 1] [8]</p>
        <p>S(u; x) = (xn6hnx)3 Mn−1 + (x 6xhnn−1)3 Mn+</p>
        <p>Proof. First, we estimate the error zn = Mn
system:</p>
        <p>NC2 (N " + 2) ln2 [1 + N2" ]: (12)
u′′(xn). Given (10), we get that fzng is a solution of the
hn
6 zn−1 +
hn + hn+1 zn + hn+1 zn+1 = Fn; n = 1; 2; : : : ; N
3 6
1; z0 = 0; zN = 0;
where</p>
        <p>Fn = un+h1n+1 un un hnun−1 h6n u′n′−1 hn +3hn+1 u′n′
Given the Taylor series expansion with a remainder term in integral form, we obtain
hn+1 u′n′+1:
6
Fn =
x∫n+1[
xn</p>
        <p>1
2hn+1
(xn+1
s)2
hn+1 ]u′′′(s) ds
6</p>
      </sec>
      <sec id="sec-2-2">
        <title>Represent Fn in the form</title>
        <p>Fn = Fn1</p>
        <p>Fn2; Fn2 =
Fn2 =
Given that with u′′′(s) = const Fn1 = Fn2 = 0; we get</p>
      </sec>
      <sec id="sec-2-3">
        <title>From (15) we obtain From (16) we get</title>
        <p>xn 1
xn
∫ [ 1 (s</p>
        <p>2hn
xn−1)2</p>
        <p>
          xn
jFn2j &lt; 23 h2n ∫
hjFn+n2j1 &lt; 23 hn
xn 1
xn
∫
ju(
          <xref ref-type="bibr" rid="ref4">4</xref>
          )(s)j ds:
Given the estimates (20)–(22) and the fact that "2jFn1j=hn+1 satisfies the same estimates, we obtain
(18)
(19)
(20)
(21)
(22)
(23)
(24)
(25)
(26)
        </p>
      </sec>
      <sec id="sec-2-4">
        <title>From (14) implies</title>
      </sec>
      <sec id="sec-2-5">
        <title>Therefore,</title>
        <p>"2 max jFnj
n hn+1</p>
        <p>= min { NC2 (N " + 2) ln [1 + N2" ]; NC }:
We proceed to estimation of zn from (13). Divide the ratio (13) by hn+1 and get</p>
        <p>hn
6hn+1
zn−1 +
[ 1</p>
        <p>+
3</p>
        <p>hn ]
3hn+1</p>
        <p>1
zn + 6 zn+1 =</p>
        <p>Fn ; n = 1; : : : ; N
hn+1
1; z0 = 0; zN = 0:
The matrix of the system (24) has a strict diagonal predominance in rows with the prevalence index 1=6; therefore,
by the estimate (23) we get
"2 mnax jMn
u′′(xn)j
6 :</p>
        <p>Let’s estimate the error in calculating of the second derivative at an arbitrary point x 2 [xn−1; xn]. It is easy
to get</p>
        <p>S′′(u; x)
u′′(x) = zn−1 + (zn
zn−1)
x
xn−1 + u′n′−1 + (u′n′
hn
u′n′−1)
x
xn−1
hn
u′′(x):
Given an estimate (25) in (26) for "2zn and an estimate of the error of the linear interpolation formula for the
function u′′(x)
u′n′−1 + (u′n′
u′n′−1)
x
xn−1
hn
u′′(x)
hn</p>
        <p>
          ju(
          <xref ref-type="bibr" rid="ref4">4</xref>
          )(s)j ds
∫xn
of the form (17), for some constant C we obtain
"2jS′′(u; x)
u′′(x)j
        </p>
        <p>C ; x 2 [xn−1; xn]; n</p>
        <p>N=2:
It proves the estimate (11) for x 2 [xn−1; xn]; n N=2:</p>
        <p>When x 2 [xn−1; xn]; n &gt; N=2 an estimate (11) is correct, because the derivatives of the function u(x) to the
fourth order are "-uniformly bounded.</p>
        <p>Now let’s get the estimate of error in the calculation of the first derivative.</p>
        <p>
          N=2: Given the representation (
          <xref ref-type="bibr" rid="ref1">1</xref>
          ) with constraints (
          <xref ref-type="bibr" rid="ref2">2</xref>
          ), for some constant C we get
:
Given (19) and the boundedness of the derivatives of the function u(x) outside the boundary layer region, for
some constant C0 we get:
"2 jFn2j
hn+1
jFn2j
hn+1
        </p>
        <p>C0
N 2</p>
        <p>; n &lt;
C0
N 2
; n &gt;
"2 max jFnj
n hn+1</p>
        <p>NC2 (N " + 2) ln [1 + N2" ]:
"2 mnax jFnj</p>
        <p>
          Let z(x) = S(u; x) u(x); x 2 [xn−1; xn]: Due to the interpolation condition, there is s 2 (xn−1; xn) :
z′(s) = 0: Then, by the mean value theorem, there is s0 : z′(x) z′(s) = z′′(s0)(x s): Given (
          <xref ref-type="bibr" rid="ref8">8</xref>
          ), (11) we
obtain the estimate (12). The theorem is proved.
        </p>
        <p>Remark. For " C=N from (11), (12) follows
"jS′(u; x)
u′(x)j
; "2jS′′(u; x)
u′′(x)j
for " = 1 error estimates coincide with known estimates in the regular case.
4</p>
        <p>Results of numerical experiments
Let us compare the accuracy in the calculation of derivatives based on spline interpolation when constructing a
cubic spline on a uniform grid, Shishkin and Bakhvalov meshes.</p>
        <p>Set the Shishkin mesh [1]:
= min
2(1</p>
        <p>
          N
)
; n &gt;
:
According to [6], in the case of a function of the form (
          <xref ref-type="bibr" rid="ref1">1</xref>
          ) and the Shishkin mesh for some constant C the following
error estimates hold
"j ju(j)(x)
        </p>
        <p>S(j)(x; u)j</p>
        <p>ln4−j N
C N 4−j ; x 2 [0; 1]; j = 1; 2:
(27)
when calculating the first derivative of the function u(x) in cases of a uniform mesh, Shishkin mesh and Bakhvalov
mesh. Here x˜n;j are nodes of the condensed mesh, obtained from the division of each mesh interval [xn−1; xn]
"</p>
        <p>Acknowledgements
The reported work of Zadorin N.A. was funded by RFBR, project number 19-31-60009. The work of Zadorin
A.I. was funded by program of fundamental scientific researches of the SB RAS 1.1.3., project 0314-2019-0009.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>G.I.</surname>
          </string-name>
          <article-title>Shishkin Mesh Approximations of Singularly Perturbed Elliptic and Parabolic Equations</article-title>
          .
          <source>YekaterinburgUral. Otd. Ross. Akad. Nauk</source>
          ,
          <year>1992</year>
          (in Russian).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>N.S. Bakhvalov</surname>
          </string-name>
          <article-title>The optimization of methods of solving boundary value problems with a boundary layer</article-title>
          .
          <source>USSR Comput. Math. Math. Phys. 9</source>
          (
          <issue>4</issue>
          ):
          <fpage>139</fpage>
          -
          <lpage>166</lpage>
          ,
          <year>1969</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>A.I.</given-names>
            <surname>Zadorin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.A.</given-names>
            <surname>Zadorin</surname>
          </string-name>
          <article-title>Spline interpolation on a uniform mesh for functions with a boundary-layer component</article-title>
          .
          <source>Comput. Math. Math. Phys</source>
          .
          <volume>50</volume>
          (
          <issue>2</issue>
          ):
          <fpage>211</fpage>
          -
          <lpage>223</lpage>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>I.A.</given-names>
            <surname>Blatov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.I.</given-names>
            <surname>Zadorin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.V.</given-names>
            <surname>Kitaeva</surname>
          </string-name>
          <article-title>On interpolation by cubic splines of the functions with a boundary layers</article-title>
          .
          <source>CEUR Workshop Proceedings</source>
          .
          <volume>1638</volume>
          :
          <fpage>515</fpage>
          -
          <lpage>520</lpage>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>I.A.</given-names>
            <surname>Blatov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.I.</given-names>
            <surname>Zadorin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.V.</given-names>
            <surname>Kitaeva</surname>
          </string-name>
          <article-title>Cubic spline interpolation of functions with high gradients in boundary layers</article-title>
          .
          <source>Comput. Math. Math. Phys</source>
          .
          <volume>57</volume>
          (
          <issue>1</issue>
          ):
          <fpage>7</fpage>
          -
          <lpage>25</lpage>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>I.A.</given-names>
            <surname>Blatov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.I.</given-names>
            <surname>Zadorin</surname>
          </string-name>
          ,
          <string-name>
            <surname>E.V.</surname>
          </string-name>
          <article-title>Kitaeva Approximation of a function and its derivatives on the basis of cubic spline interpolation in the presence of a boundary layer</article-title>
          .
          <source>Comput. Math. Math. Phys</source>
          .
          <volume>59</volume>
          (
          <issue>3</issue>
          ):
          <fpage>343</fpage>
          -
          <lpage>354</lpage>
          ,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>I.A.</given-names>
            <surname>Blatov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.I.</given-names>
            <surname>Zadorin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.V.</given-names>
            <surname>Kitaeva</surname>
          </string-name>
          <article-title>On the parameter-uniform convergence of exponential spline interpolation in the presence of a boundary layer</article-title>
          .
          <source>Comput. Math. Math. Phys</source>
          .
          <volume>58</volume>
          (
          <issue>3</issue>
          ):
          <fpage>348</fpage>
          -
          <lpage>363</lpage>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Yu.S.</given-names>
            <surname>Zavyalov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.N.</given-names>
            <surname>Kvasov</surname>
          </string-name>
          ,
          <string-name>
            <surname>V. L. Miroshnichenko</surname>
          </string-name>
          <article-title>Methods of Spline Functions</article-title>
          . Moscow-Nauka,
          <year>1981</year>
          (in Russian).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>