• No results found

Finite difference method for multipoint nonlocal elliptic–parabolic problems

N/A
N/A
Protected

Academic year: 2021

Share "Finite difference method for multipoint nonlocal elliptic–parabolic problems"

Copied!
10
0
0

Loading.... (view fulltext now)

Full text

(1)

Contents lists available atScienceDirect

Computers and Mathematics with Applications

journal homepage:www.elsevier.com/locate/camwa

Finite difference method for multipoint nonlocal elliptic–parabolic

problems

Allaberen Ashyralyev

a,b

, Okan Gercek

c,d,∗ aDepartment of Mathematics, Fatih University, Istanbul, Turkey bDepartment of Mathematics, ITTU, Ashgabat, Turkmenistan cVocational School, Fatih University, Istanbul, Turkey

dDepartment of Mathematics, Yildiz Technical University, Istanbul, Turkey

a r t i c l e i n f o

Article history: Received 30 May 2010

Received in revised form 23 July 2010 Accepted 23 July 2010

Keywords: Difference schemes Elliptic–parabolic equation Nonlocal boundary value problems Stability

a b s t r a c t

A finite difference method for solving the multipoint elliptic–parabolic partial differential equation with a nonlocal boundary condition is considered. Stable difference schemes accurate to first and second orders for this problem are presented. Stability, almost coercive stability and coercive stability for the solution of these difference schemes are obtained. The theoretical statements for the solution of these difference schemes are supported by numerical examples.

© 2010 Elsevier Ltd. All rights reserved.

1. Introduction

Nonlocal boundary value problems for partial differential equations have been applied by various researchers in order to model numerous processes in different fields of applied sciences when they are unable to determine the boundary values of the unknown function. Many authors have investigated methods of this kind (see, for example, [1–16] and the references therein). Our interest is in the study of well-posedness of difference schemes of elliptic–parabolic problem with nonlocal boundary value problems. Numerical methods and theory of solutions of the nonlocal boundary value problems for partial differential equations of variable type were carried out in [17–29].

In the present paper, we consider the multipoint nonlocal boundary value problem for the multi-dimensional elliptic– parabolic equation

utt

n

X

r=1

(

ar

(

x

)

uxr

)

xr

=

g

(

t

,

x

),

0

<

t

<

1

,

x

,

ut

+

n

X

r=1

(

ar

(

x

)

uxr

)

xr

=

f

(

t

,

x

), −

1

<

t

<

0

,

x

,

u

(

t

,

x

) =

0

, −

1

t

1

,

x

S

,

u

(

1

,

x

) =

n

X

k=1

α

ku

k

,

x

) + ϕ(

x

),

n

X

k=1

|

α

k

| ≤

1

,

1

λ

1

< λ

2

< · · · < λ

k

< · · · < λ

n

0

,

x

,

u

(

0+

,

x

) =

u

(

0−

,

x

),

ut

(

0+

,

x

) =

ut

(

0−

,

x

),

x

,

(1.1)

Corresponding author at: Vocational School, Fatih University, Istanbul, Turkey. Tel.: +90 2128663300; fax: +90 2128663431. E-mail addresses:[email protected](A. Ashyralyev),[email protected](O. Gercek).

0898-1221/$ – see front matter©2010 Elsevier Ltd. All rights reserved.

(2)

where g

(

t

,

x

)(

t

(

0

,

1

),

x

),

f

(

t

,

x

) (

t

(−

1

,

0

),

x

),

ar

(

x

)(

x

)

, and

ϕ(

x

)(

x

)

are given smooth functions in

[0

,

1] ×Ω. HereΩis the unit open cube in the n-dimensional Euclidean space Rn

(

0

<

x

k

<

1

,

1

k

n

)

with boundary

S

,

=

S, and ar

(

x

) ≥

a

>

0.

In this paper, we are interested in the study of stable difference schemes for the numerical solution of the multipoint nonlocal boundary value problem for the elliptic–parabolic differential equation (1.1). Difference schemes which are accurate to first and second orders are presented. The stability, almost coercive stability and coercive stability of these difference schemes are obtained. For the numerical study, procedure of modified Gauss elimination method is used to solve these difference schemes for the one-dimensional elliptic–parabolic differential equation.

2. Difference schemes and stability estimates

The discretization of problem(1.1)is carried out in two steps. In the first step, let us define the grid sets

h

= {

x

=

xm

=

(

h1m1

, . . . ,

hnmn

),

m

=

(

m1

, . . . ,

mn

),

0

mr

Nr

,

hrNr

=

1

,

r

=

1

, . . . ,

n

}

,

h

=

h

,

Sh

=

h

S

.

To the differential operator A generated by problem(1.1)we assign the difference operator Axhby the formula

Axhuhx

= −

n

X

r=1



ar

(

x

)

uhxr



xr,mr (2.1) acting in the space of grid functions uh

(

x

)

satisfying the conditions uh

(

x

) =

0 for all x

Sh. With the help of Axh, we arrive at the nonlocal boundary value problem

d 2uh

(

t

,

x

)

dt2

+

A x hu h

(

t

,

x

) =

gh

(

t

,

x

),

0

<

t

<

1

,

x

h

,

duh

(

t

,

x

)

dt

A x hu h

(

t

,

x

) =

fh

(

t

,

x

), −

1

<

t

<

0

,

x

h

,

uh

(

1

,

x

) =

n

X

k=1

α

kuh

k

,

x

) + ϕ

h

(

x

),

n

X

k=1

|

α

k

| ≤

1

,

x

h

,

uh

(

0+

,

x

) =

uh

(

0−

,

x

),

du h

(

0

+

,

x

)

dt

=

duh

(

0

,

x

)

dt

,

x

h (2.2)

for an infinite system of ordinary differential equations.

In the second step, we replace problem(2.2)by the difference scheme accurate to first order (see [30])

u h k+1

(

x

) −

2uhk

(

x

) +

uhk−1

(

x

)

τ

2

+

A x hu h k

(

x

) =

g h k

(

x

),

gkh

(

x

) =

gh

(

tk

,

x

),

tk

=

k

τ,

1

k

N

1

,

N

τ =

1

,

x

h

,

uhk

(

x

) −

uhk−1

(

x

)

τ

Axhu h k−1

(

x

) =

f h k

(

x

),

fkh

(

x

) =

fh

(

tk−1

,

x

),

tk−1

=

(

k

1

) τ, −

N

+

1

k

0

,

x

h

,

uhN

(

x

) =

n

X

k=1

α

kuhk τ i

(

x

) + ϕ

h

(

x

),

x

h

,

uh1

(

x

) −

uh0

(

x

) =

u0h

(

x

) −

uh1

(

x

),

x

h (2.3)

and the difference scheme accurate to second order (see [30,31])

u h k+1

(

x

) −

2uhk

(

x

) +

uhk−1

(

x

)

τ

2

+

A x hu h k

(

x

) =

g h k

(

x

),

gkh

(

x

) =

gh

(

tk

,

x

),

tk

=

k

τ,

1

k

N

1

,

N

τ =

1

,

x

h

,

uhk

(

x

) −

uhk1

(

x

)

τ

Ax h 2 u h k

(

x

) + ϕ

h k−1

(

x

) =

f h k

(

x

),

fkh

(

x

) =

fh



tk1 2

,

x

 ,

tk− 1 2

=



k

1 2



τ, −

N

+

1

k

0

,

x

h

,

uhN

(

x

) =

N

X

k=1

α

k



uhhλ k τ i

(

x

) +



λ

k



λ

k

τ



h

 

fhhλ k τ i

+

Ax hu h hλ k τ i

(

x

)



+

ϕ

h

(

x

),

x

h

,

uh2

(

x

) +

4uh1

(

x

) −

3uh0

(

x

) =

3uh0

(

x

) −

4uh−1

(

x

) +

uh−2

(

x

),

x

h

.

(2.4)

(3)

To formulate the results, we introduce the spaces L2h

=

L2

(

h

),

W2h1

=

W 1

2

(

h

)

, and W2h2

=

W 2

2

(

h

)

of the grid functions

ϕ

h

(

x

) = {ϕ(

h1m1

, . . . ,

hnmn

)}

defined onΩh, equipped with the norms

ϕ

h

L2h

=

X

xh

ϕ

h

(

x

)

2 h1

· · ·

hn

1/2

,

ϕ

h

W2h1

=

ϕ

h

L2h

+

X

x∈Ωh n

X

r=1

h

)

xr

2 h1

· · ·

hn

1/2

,

and

ϕ

h

W2h2

=

ϕ

h

L2h

+

X

xh n

X

r=1

h

)

xr

2 h1

· · ·

hn

1/2

+

X

xh n

X

r=1

h

)

xrxr,mr

2 h1

· · ·

hn

1/2

.

Moreover, let Fτ

(

H

) =

F

([

a

,

b

]

τ

,

H

)

be the linear space of mesh functions

ϕ

τ

= {

ϕ

k

}

eeN

e

Ndefined on

[

a

,

b

]

τ

= {

tk

=

kh

,

e

N

k

≤ e

e

N

,

e

N

τ =

a

, e

e

N

τ =

b

}

with values in the Hilbert space H. Next on Fτ

(

H

)

we denote Banach spaces C

([

a

,

b

]

τ

,

H

)

and

C0α,1

([−

1

,

1

]

τ

,

H

),

C0α,1

([−

1

,

0

]

τ

,

H

),

C0α

([

0

,

1

]

τ

,

H

),

e

C0α,1

([−

1

,

1

]

τ

,

H

),

e

C0α

([−

1

,

0

]

τ

,

H

),

0

< α <

1 with the norms

k

ϕ

τ

k

C([a,b]τ,H)

=

max NakNb

k

ϕ

k

k

H

,

k

ϕ

τ

k

C α 0,1([−1,1]τ,H)

= k

ϕ

τ

k

C([−1,1]τ,H)

+

sup −Nk<k+r≤0

k

ϕ

k+r

ϕ

k

k

E

(−

k

)

α rα

+

sup 1≤k<k+rN−1

k

ϕ

k+r

ϕ

k

k

E

((

k

+

r

)τ)

α

(

N

k

)

α rα

,

k

ϕ

τ

k

C α 0([−1,0]τ,H)

= k

ϕ

τ

k

C([−1,0]τ,H)

+

sup −Nk<k+r≤0

k

ϕ

k+r

ϕ

k

k

E

(−

k

)

α rα

,

k

ϕ

τ

k

C α 0,1([0,1]τ,H)

= k

ϕ

τ

k

C([0,1]τ,H)

+

sup 1≤k<k+rN−1

k

ϕ

k+r

ϕ

k

k

E

((

k

+

r

)τ)

α

(

N

k

)

α rα

k

ϕ

τ

k

eC α0,1([−1,1]τ,H)

= k

ϕ

τ

k

C([−1,1]τ,H)

+

sup −Nk<k+2r≤0

k

ϕ

k+2r

ϕ

k

k

E

(−

k

)

α

(

2r

)

α

+

sup 1≤k<k+rN−1

k

ϕ

k+r

ϕ

k

k

E

((

k

+

r

)τ)

α

(

N

k

)

α rα

,

k

ϕ

τ

k

eC α0([−1,0]τ,H)

= k

ϕ

τ

k

C([−1,0]τ,H)

+

sup −Nk<k+2r≤0

k

ϕ

k+2r

ϕ

k

k

E

(−

k

)

α

(

2r

)

α

.

Theorem 2.1. Let

τ

and

|

h

| =

q

h2

1

+ · · · +

h2nbe sufficiently small numbers. Then, solutions of difference schemes(2.3)and

(2.4)satisfy the following stability estimate:



uhk

NN1

C([−1,1]τ,L2h)

M2

h

{

fkh

}

1N+1

C([−1,0]τ,L2h)

+

{

gkh

}

N1−1

C([0,1]τ,L2h)

+

ϕ

h

L2h

i .

Here M1is independent of not only

τ,

h

, ϕ

h

(

x

)

but also fkh

, −

N

+

1

k

0 and gkh

(

x

),

1

k

N

1.

Theorem 2.2. Let

τ

and

|

h

| =

q

h2

1

+ · · · +

h2nbe sufficiently small numbers. Then, solutions of difference scheme(2.3)satisfy

the following almost coercivity estimate:

{

τ

−2 uhk+1

2ukh

+

uhk1

}

N1−1

C([0,1]τ,L2h)

+

{

τ

−1

(

uhk

uhk1

)}

0N+1

C([−1,0]τ,L2h)

+



uhk

N−1 −N

C([−1,1]τ,W2h2)

M2



ϕ

h

W2h2

+

τ

f h 0

W2h1

+

ln 1

τ + |

h

|



{

fkh

}

−1 −N+1

C([−1,0]τ,L2h)

+



gkh

N1−1

C([0,1]τ,L2h)



,

where M2is independent of

τ,

h

, ϕ

h

(

x

),

gkh

(

x

),

1

k

N

1, and f h

(4)

Theorem 2.3. Let

τ

and

|

h

| =

q

h21

+ · · · +

h2

nbe sufficiently small numbers. Then, solutions of difference scheme(2.4)satisfy

the following almost coercivity estimate:

k{

τ

−2

(

uhk+1

2uhk

+

uhk1

)}

N1−1

k

C([0,1]τ,L2h)

+

{

uhk

}

N1−1

C([0,1]τ,W2h2)

+ k{

τ

−1

(

uhk

uhk1

)}

0N+1

k

C([−1,0]τ,L2h)

+

(

uh k

+

uhk−1 2

)

0 −N+1

C([−1,0]τ,W2h2)

M3



f0h

L2h

+

fh1

L2h

+

g1h

L2h

+

µ

h

W2h2

+

τ

f0h

W2h1

+

τ

fh1

W2h1

+

τ

g1h

W2h1

+

ln 1

τ + |

h

|

k{

f h k

}

−1 −N+1

k

C([−1,0]τ,L2h)

+ k{

g h k

}

N−1 1

k

C([0,1]τ,L2h)





.

Here, M3is independent of

τ,

h

, ϕ

h

(

x

),

gkh

(

x

),

1

k

N

1, and fkh

, −

N

+

1

k

0.

Proofs ofTheorems 2.1–2.3are based on the symmetry properties of the difference operator Axhdefined by formula(2.1)

in L2hand on the following theorem on the coercivity inequality for the solution of the elliptic difference problem in L2h.

Theorem 2.4. For the solution of elliptic difference problem

Axhuh

(

x

) = ω

h

(

x

),

x

h

,

(2.5)

uh

(

x

) =

0

,

x

Sh

,

the following coercivity inequality holds [32]: n

X

r=1

u h



xrxr,mr

L2h

M4

ω

h

L2h

.

Here M4is independent of h and

w

h

(

x

)

.

Theorem 2.5. Let

τ

and

|

h

|

be sufficiently small positive numbers. Then, solutions of difference scheme(2.3)satisfy the following coercivity stability estimate:

k{

τ

−2

(

uhk+1

2ukh

+

uhk1

)}

N1−1

k

C α 0,1([0,1]τ,L2h)

+ k{

τ

−1

(

uh k

u h k−1

)}

0 −N+1

k

C α0([−1,0]τ,L2h)

+ k{

u h k

}

N−1 −N

k

C α0,1([−1,1]τ,W2h2)

M5



ϕ

h

W2 2h

+

τ

f0h

W1 2h

+

1

α(

1

α)

h

k{

fkh

}

1N+1

k

C α 0([−1,0]τ,L2h)

+ k{

g h k

}

N−1 1

k

C α0,1([0,1]τ,L2h)

i



,

where M5is independent of not only

τ,

h

, ϕ

h

(

x

)

but also fkh

, −

N

+

1

k

0 and g h

k

(

x

),

1

k

N

1.

Theorem 2.6. Let

τ

and

|

h

|

be sufficiently small positive numbers. Then, solutions of difference scheme(2.4)satisfy the following coercivity stability estimates:

k{

τ

−2

(

uhk+1

2ukh

+

uhk1

)}

N1−1

k

C α 0,1([0,1]τ,L2h)

+ k{

τ

−1

(

uh k

u h k−1

)}

0 −N+1

k

eC α0([−1,0]τ,L2h)

+

{

uhk

}

N1−1

C α0,1([0,1]τ,W2 2h)

+

(

uh k

+

uhk−1 2

)

0 −N+1

eC α0([−1,0]τ,W2h2)

M6

"

ϕ

h

W2h2

+

τ

f h 0

W2h1

+

τ

f h −1

W2h1

+

τ

g h 1

W2h1

+

1

α(

1

α)

h

k{

fkh

}

1N+1

k

C α 0([−1,0]τ,L2h)

+ k{

g h k

}

N−1 1

k

C α0,1([0,1]τ,L2h)

i

#

,

k{

τ

−2

(

uhk+1

2ukh

+

uhk1

)}

N1−1

k

C α 0,1([0,1]τ,L2h)

+

(

uh k

+

uhk−1 2

)

0 −N+1

eC α0([−1,0]τ,W2h2)

+ k{

τ

−1

(

uhk

uhk−1

)}

0−N+1

k

eC α0([−1,0]τ,L2h)

+

{

uhk

}

N −1 1

C α0,1([0,1]τ,W2h2)

(5)

M6

"

ϕ

h

W2h2

+

τ

f h 0

W2h1

+

τ

f h −1

W2h1

+

τ

g h 1

W2h1

+

1

α(

1

α)

h

k{

fkh

}

1N+1

k

eC α0([−1,0]τ,L2h)

+ k{

g h k

}

N−1 1

k

C α0,1([0,1]τ,L2h)

i

#

.

Here M6is independent of

τ,

h

, ϕ

h

(

x

),

gkh

(

x

),

1

k

N

1, and fkh

, −

N

+

1

k

0.

Proofs ofTheorems 2.5and2.6are based on the symmetry properties of the difference operator Axhdefined by formula

(2.1)and onTheorem 2.4.

3. Numerical analysis

We have not been able to obtain a sharp estimate for the constants figuring in the stability inequality. Therefore, we will give the following results of numerical experiments of the nonlocal boundary value problem

2u

t2

+

u

x



(

1

+

x

)

u

x



=

g

(

t

,

x

),

g

(

t

,

x

) = −

t sin x

+

(

e−t

+

t

)(

cos x

x sin x

)

0

<

t

<

1

,

0

<

x

< π,

u

t

+

u

x



(

1

+

x

)

u

x



=

f

(

t

,

x

),

f

(

t

,

x

) = (−

2e−t

+

1

t

)

sin x

+

(

e−t

+

t

)(

cos x

x sin x

),

−1

<

t

0

,

0

<

x

< π,

u

(

1

,

x

) =

1 2u

(−

1

,

x

) +

1 2u



1 2

,

x



+

ϕ(

x

),

ϕ(

x

) =



e−1

e 2

1 2e 1 2

+

7 4



sin x

,

0

x

π,

u

(

t

,

0

) =

u

(

t

, π) =

0

, −

1

t

1 (3.1)

for the elliptic–parabolic equation. The exact solution of this problem is

u

(

t

,

x

) = (

e−t

+

t

)

sin x

.

First, applying formulae

u

(

xn+1

) −

u

(

xn−1

)

2h

u 0

(

xn

) =

O

(

h2

),

u

(

xn+1

) −

2u

(

xn

) +

u

(

xn−1

)

h2

u 00

(

xn

) =

O

(

h2

),

(3.2)

and using difference scheme accurate to first order(2.3)for the approximate solutions of the nonlocal boundary value problem(3.1), we get the following system of equations

ukn+1

2ukn

+

ukn−1

τ

2

+

(

1

+

xn

)(

unk+1

2ukn

+

u k n−1

)

h2

+

ukn+1

ukn1 2h

=

g

(

tk

,

xn

),

1

k

N

1

,

1

n

M

1

,

uk n

uk −1 n

τ

+

(

1

+

xn

)(

ukn−+11

2uk −1 n

+

u k−1 n−1

)

h2

+

ukn+11

ukn11 2h

=

f

(

tk−1

,

xn

),

N

+

1

k

0

,

1

n

M

1

,

u1n

u0n

τ

+

(

1

+

xn

)

un+11

2u −1 n

+

u −1 n−1 h2

+

un+11

un11 2h

= −

(

1

+

xn

)

sin xn

+

cos xn

,

xn

=

nh

,

1

n

M

1

,

uNn

=

1 2uN n

+

1 2uN2 n

+

ϕ (

xn

) ,

xn

=

nh

,

0

n

M

,

uk0

=

ukM

=

0

, −

N

k

N

.

(3.3)

(6)

We have

(

2N

+

1

) × (

M

+

1

)

system of linear equations in(3.3)which can be written in matrix form. We can rewrite this system as the following form



1

+

xn h2

+

1 2h



ukn+1

+



1

τ

2



ukn+1

+



2

τ

2

2

(

1

+

xn

)

h2



ukn

+



1

τ

2



ukn−1

+



1

+

xn h2

1 2h



ukn1

=

g

(

tk

,

xn

),

1

k

N

1

,

1

n

M

1

,



1

+

xn h2

+

1 2h



ukn+11

+

1

τ

ukn

+



1

τ

2

(

1

+

xn

)

h2



ukn−1

+



1

+

xn h2

1 2h



ukn11

=

f

(

tk−1

,

xn

), −

N

+

1

k

0

,

1

n

M

1

,



1

+

xn h2

+

1 2h



un+11

+



2

(

1

+

xn

)

h2



un1

+



1

τ



u0n

+



1

τ



u1n

+



1

+

xn h2

1 2h



un11

= −

(

1

+

xn

)

sin xn

+

cos xn

,

xn

=

nh

,

1

n

M

1

,

uNn

1 2uN n

1 2uN2 n

=

ϕ (

xn

) ,

xn

=

nh

,

0

n

M

,

uk0

=

ukM

=

0

, −

N

k

N

.

(3.4)

In this first step, applying difference scheme accurate to first order(2.3), we obtain a system of equations in matrix form



A

nUn+1

+

BnUn

+

CnUn−1

=

D

ϕ

n

,

1

n

M

1

,

U0

=

e

0

,

UM

=

e

0

,

(3.5)

where An

,

Bn

,

Cnare

(

2N

+

1

) × (

2N

+

1

)

matrices defined by

An

=

an 0

.

0 0 0 0 0

.

0 0 0 an

.

0 0 0 0 0

.

0 0

.

.

. .

.

.

.

.

.

.

.

0 0

.

0 an 0 0 0

.

0 0 0 0

.

0 an 0 0 0

.

0 0 0 0

.

0 0 0 an 0

.

0 0 0 0

.

0 0 0 0 an

.

0 0

.

.

. .

.

.

.

.

.

.

.

0 0

.

0 0 0 0 0

.

an 0 0 0

.

0 0 0 0 0

.

0 0

,

Bn

=

bn c 0

.

0

.

0 0 0 0 0 0

.

0 0 0 0 bn c

.

0

.

0 0 0 0 0 0

.

0 0 0

.

.

. .

.

. .

.

.

.

.

. . .

.

.

0 0 0

.

0

.

0 bn c 0 0 0

.

0 0 0 0 0 0

.

0

.

0 f g c 0 0

.

0 0 0 0 0 0

.

0

.

0 0 d en d 0

.

0 0 0 0 0 0

.

0

.

0 0 0 d en d

.

0 0 0

.

.

. .

.

. .

.

.

.

.

. . .

.

.

0 0 0

.

0

.

0 0 0 0 0 0

.

d en d

−1

/

2 0 0

. −

1

/

2

.

0 0 0 0 0 0

.

0 0 1

,

and Cn

=

rn 0

.

0 0 0 0 0

.

0 0 0 rn

.

0 0 0 0 0

.

0 0

.

. . .

.

.

.

. . .

.

0 0

.

0 rn 0 0 0

.

0 0 0 0

.

0 rn 0 0 0

.

0 0 0 0

.

0 0 0 rn 0

.

0 0 0 0

.

0 0 0 0 rn

.

0 0

.

. . .

.

.

.

. . .

.

0 0

.

0 0 0 0 0

.

rn 0 0 0

.

0 0 0 0 0

.

0 0

,

(7)

and D is

(

2N

+

1

) × (

2N

+

1

)

identity matrix,

ϕ

n

,

Usare

(

2N

+

1

) ×

1 column vectors as

ϕ

n

=

ϕ

N n

...

ϕ

0 n

...

ϕ

N n

,

Us

=

UsN

...

Us0

...

UsN

for s

=

n

±

1

,

n with

ϕ

k n

=

f

(

tk−1

,

xn

), −

N

+

1

k

0

,

(

1

+

xn

)

sin xn

+

cos xn

,

k

=

0

,

g

(

tk

,

xn

),

1

k

N

1

,

ϕ (

xn

) ,

k

=

N

.

Here, we denote an

=

1

+

xn h2

+

1 2h

,

rn

=

1

+

xn h2

1 2h

,

bn

= −

1

τ

2

(

1

+

xn

)

h2

,

c

=

1

τ

,

d

=

1

τ

2

,

en

= −

2

τ

2

2

(

1

+

xn

)

h2

,

f

= −

2

(

1

+

xn

)

h2

,

g

= −

1

τ

.

So, we have second order difference Eq.(3.5)with respect to n with matrix coefficients. To solve this difference equation, we have applied a procedure of modified Gauss elimination method. This type of system was used by Samarskii and Nikolaev [33] for difference equations. Hence, we obtain a solution of the matrix equation in the following form



Uj

=

α

j+1Uj+1

+

β

j+1

,

j

=

M

1

, . . . ,

2

,

1

,

UM

=

0

,

where

α

j

(

j

=

1

, . . . ,

M

)

are

(

2N

+

1

) × (

2N

+

1

)

square matrices and

β

j

(

j

=

1

, . . . ,

M

)

are

(

2N

+

1

) ×

1 column matrices defined by



α

j+1

= −

(

B

+

C

α

j

)

−1A

,

β

j+1

=

(

B

+

C

α

j

)

−1

(

D

ϕ

j

C

β

j

),

where j

=

1

, . . . ,

M

1

, α

1is the

(

2N

+

1

) × (

2N

+

1

)

zero matrix and

β

1is the

(

2N

+

1

) ×

1 zero matrix.

Second, applying formulae(3.2)and using the second order of accuracy difference scheme(2.4)for the approximate solutions of problem(3.1), we obtain the following system of equations

uk+1 n

2ukn

+

uk −1 n

τ

2

+

(

1

+

xn

)(

ukn+1

2ukn

+

ukn−1

)

h2

+

uk n+1

ukn−1 2h

=

g

(

tk

,

xn

),

tk

=

k

τ,

xn

=

nh

,

1

k

N

1

,

1

n

M

1

,

uk n

uk −1 n

τ

+

(

1

+

xn

)(

ukn+1

2u k n

+

ukn−1

)

2h2

+

ukn+1

ukn1 4h

+

(

1

+

xn

)(

u k−1 n+1

2uk −1 n

+

u k−1 n−1

)

2h2

+

ukn+11

ukn11 4h

=

f



tk

τ

2

,

xn

 ,

tk

=

k

τ,

xn

=

nh

, −

N

+

1

k

0

,

1

n

M

1

,

u2n

+

4u1n

3u0n

=

3u0n

4un−1

+

un2

,

xn

=

nh

,

1

n

M

1

,

uNn

=

1 2uN n

+

1 2uN2 n

+

ϕ (

xn

) ,

xn

=

nh

,

0

n

M

,

uk0

=

ukM

=

0

, −

N

k

N

.

(3.6)

Again, we have the

(

2N

+

1

) × (

M

+

1

)

system of linear equations and we will write them in the matrix form. We can rewrite this system in the following form

(8)



1

+

xn h2

+

1 2h



ukn+1

+



1

τ

2



ukn+1

+



2

τ

2

2

(

1

+

xn

)

h2



ukn

+



1

τ

2



ukn−1

+



1

+

xn h2

1 2h



ukn1

=

g

(

tk

,

xn

),

1

k

N

1

,

1

n

M

1

,



1

+

xn 2h2

+

1 4h



ukn+11

+



1

+

xn 2h2

+

1 4h



ukn+1

+



1

τ

1

+

xn h2



ukn−1

+



1

τ

1

+

xn h2



ukn

+



1

+

xn 2h2

1 4h



ukn11

+



1

+

xn 2h2

1 4h



ukn1

=

f



tk

τ

2

,

xn

 , −

N

+

1

k

0

,

1

n

M

1

,

un2

4un1

+

6u0n

4un1

+

u2n

=

0

,

1

n

M

1

,

uNn

1 2uN n

1 2uN2 n

=

ϕ (

xn

) ,

xn

=

nh

,

0

n

M

,

uk0

=

ukM

=

0

, −

N

k

N (3.7)

for the approximate solutions of problem(3.1).

In the second step, we apply second order difference scheme(2.4)to get the system of linear equations in matrix form



A

nUn+1

+

BnUn

+

CnUn−1

=

D

ϕ

n

,

1

n

M

1

,

U0

=

e

0

,

UM

=

e

0

,

(3.8)

where An

,

Bn

,

Cnare

(

2N

+

1

) × (

2N

+

1

)

matrices defined by

An

=

v

n

v

n 0

.

0 0 0 0

.

0 0 0

v

n

v

n

.

0 0 0 0

.

0 0

.

.

.

.

.

.

.

.

.

.

.

0 0 0

. v

n

v

n 0 0

.

0 0 0 0 0

.

0 0 0 0

.

0 0 0 0 0

.

0 0 an 0

.

0 0 0 0 0

.

0 0 0 an

.

0 0

.

.

.

.

.

.

.

.

.

.

.

0 0 0

.

0 0 0 0

.

an 0 0 0 0

.

0 0 0 0

.

0 0

,

Bn

=

yn zn 0

.

0

.

0 0 0 0 0 0 0

.

0 0 0 0 yn zn

.

0

.

0 0 0 0 0 0 0

.

0 0 0

.

.

.

.

.

. . .

.

.

.

.

. . .

.

.

0 0 0

.

0

.

0 0 yn zn 0 0 0

.

0 0 0 0 0 0

.

0

.

0 1

−4

6

−4

1 0

.

0 0 0 0 0 0

.

0

.

0 0 0 d en d 0

.

0 0 0 0 0 0

.

0

.

0 0 0 0 d en d

.

0 0 0

.

.

.

.

.

. . .

.

.

.

.

. . .

.

.

0 0 0

.

0

.

0 0 0 0 0 0 0

.

d en d

−1

/

2 0 0

. −

1

/

2

.

0 0 0 0 0 0 0

.

0 0 1

,

and Cn

=

w

n

w

n 0

.

0 0 0 0 0

.

0 0 0

w

n

w

n

.

0 0 0 0 0

.

0 0

.

.

.

. .

.

.

.

. . .

.

0 0 0

.

0

w

n

w

n 0 0

.

0 0 0 0 0

.

0 0 0 0 0

.

0 0 0 0 0

.

0 0 0 rn 0

.

0 0 0 0 0

.

0 0 0 0 rn

.

0 0

.

.

.

. .

.

.

.

. . .

.

0 0 0

.

0 0 0 0 0

.

rn 0 0 0 0

.

0 0 0 0 0

.

0 0

,

(9)

Table 1

Error analysis for the solution u(t,x).

Method N=M=30 N=M=60 N=M=90 Difference scheme(2.3) 0.015167 0.007318 0.004822 Difference scheme(2.4) 0.000908 0.000227 0.000101

ϕ

n

=

ϕ

N n

...

ϕ

0 n

...

ϕ

N n

,

Us

=

UsN

...

Us0

...

UsN

for s

=

n

±

1

,

n

.

Here, we denote

v

n

=

1

+

xn 2h2

+

1 4h

,

w

n

=

1

+

xn 2h2

1 4h

,

an

=

1

+

xn h2

+

1 2h

,

rn

=

1

+

xn h2

1 2h

,

yn

= −

1

τ

1

+

xn h2

,

zn

=

1

τ

1

+

xn h2

,

d

=

1

τ

2

,

en

= −

2

τ

2

2

(

1

+

xn

)

h2 with

ϕ

k n

=

f



tk

τ

2

,

xn

 , −

N

+

1

k

0

,

0

,

k

=

0

,

g

(

tk

,

xn

),

1

k

N

1

,

ϕ (

xn

) ,

k

=

N

.

Hence, we have second order difference equation(3.8)with respect to n with matrix coefficients. To solve this difference equation, we have applied the same procedure of modified Gauss elimination method.

Finally, we give the results of the numerical analysis. The numerical solutions are recorded for different values of N and

M and uk

nrepresents the numerical solutions of these difference schemes at

(

tk

,

xn

)

.Table 1is constructed for N

=

M

=

30, 60 and 90, respectively and the error is computed by the following formula.

EMN

=

max −NkN 1≤nM−1

u

(

tk

,

xn

) −

ukn

.

Thus, by using the second order of accuracy difference scheme, the accuracy of solution increases faster than the first order of accuracy difference scheme.

References

[1] R.P. Agarwal, M. Bohner, V.B. Shakhmurov, Maximal regular boundary value problems in Banach-valued weighted space, Bound. Value Probl. 1 (2005) 9–42.

[2] A. Ashyralyev, N. Aggez, A note on the difference schemes of the nonlocal boundary value problems for hyperbolic equations, Numer. Funct. Anal. Optim. 25 (2004) 439–462.

[3] A. Ashyralyev, A. Sirma, Nonlocal boundary value problems for the Schrodinger equation, Comput. Math. Appl. 55 (3) (2008) 392–407.

[4] A. Ashyralyev, High-accuracy stable difference schemes for well-posed nonlocal boundary value problems, Oper. Theory Adv. Appl. 191 (2009) 229–252.

[5] A. Ashyralyev, A. Dural, Y. Sozen, Multipoint nonlocal boundary value problems for reverse parabolic equations: well-posedness, Vestnik Odessa Nat. Univ. Math. Mech. 13 (2009) 1–12.

[6] A. Ashyralyev, O. Yildirim, On multipoint nonlocal boundary value problems for hyperbolic differential and difference equations, Taiwanese J. Math. 14 (1) (2010) 165–194.

[7] A. Bouziani, On a class of parabolic equations with a nonlocal boundary condition, Acad. Roy. Belg. Bull. Cl. Sci. 10 (1999) 61–77.

[8] R.E. Ewing, R.D. Lazarov, Y. Lin, Finite volume element approximations nonlocal reactive flows in porous media, Numer. Methods Partial Differential Equations 16 (2000) 285–311.

[9] A.V. Gulin, N.I. Ionkin, V.A. Morozova, Stability of a nonlocal two-dimensional finite-difference problem, Differ. Equ. 37 (7) (2001) 970–978. [10] N. Gordeziani, P. Natalini, P.E. Ricci, Finite-difference methods for solution of nonlocal boundary value problems, Comput. Math. Appl. 50 (2005)

1333–1344.

[11] T.A. Jangveladze, G.B. Lobjanidze, On a variational statement of a nonlocal boundary value problem for a fourth-order ordinary differential equation, Differ. Equ. 45 (3) (2009) 335–343.

[12] J. Martín-Vaquero, J. Vigo-Aguiar, On the numerical solution of the heat conduction equations subject to nonlocal conditions, Appl. Numer. Math. 59 (2009) 2507–2514.

(10)

[14] A.A. Samarskii, A.V. Bitsadze, Some elementary generalizations of linear elliptic boundary value problems, Dokl. Akad. Nauk SSSR 185 (4) (1969) 739–740.

[15] M.P. Sapagovas, On the stability of finite difference scheme for nonlocal parabolic boundary value problems, Lith. Math. J. 48 (3) (2008) 339–356. [16] V.B. Shakhmurov, Maximal B-regular boundary value problems with parameters, J. Math. Anal. Appl. 320 (1) (2006) 1–19.

[17] A. Ashyralyev, H. Soltanov, On elliptic–parabolic equations in a Hilbert space, in: Proc. of the IMM and CS of Turkmenistan, Ashgabat, Turkmenistan, 1995, pp. 101–104.

[18] A. Ashyralyev, A note on the nonlocal boundary value problem for elliptic–parabolic equations, Nonlinear Stud. 13 (4) (2006) 327–333.

[19] A. Ashyralyev, Y. Ozdemir, On nonlocal boundary value problems for hyperbolic–parabolic equations, Taiwanese J. Math. 11 (3) (2007) 1077–1091. [20] A. Ashyralyev, O. Gercek, Nonlocal boundary value problems for elliptic–parabolic differential and difference equations, Discrete Dyn. Nat. Soc. (2008)

1–16.

[21] A. Ashyralyev, O. Gercek, On second order of accuracy difference scheme of the approximate solution of nonlocal elliptic–parabolic problems, Abstr. Appl. Anal. (2010) 1–17.

[22] D. Bazarov, H. Soltanov, Some Local and Nonlocal Boundary Value Problems for Equations of Mixed and Mixed-Composite Types, Ylim, Ashgabat, Turkmenistan, 1995.

[23] J. Diaz, M. Lerena, J. Padial, J. Rakotoson, An elliptic–parabolic equation with a nonlocal term for the transient regime of a plasma in a Stellarator, J. Differential Equations 198 (2) (2004) 321–355.

[24] T.D. Dzhuraev, Boundary Value Problems for Equations of Mixed and Mixed-Composite Types, Fan, Tashkent, Uzbekistan, 1979.

[25] D. Hilhorst, J. Hulshof, An elliptic–parabolic problem in combustion theory: convergence to travelling waves, Nonlinear Anal. 17 (6) (1991) 519–546. [26] S.N. Glazatov, Nonlocal boundary value problems for linear and nonlinear equations of variable type, Sobolev Inst. Math. SB RAS 46 (1998) 26. [27] D. Kröner, J.F. Rodrigues, Global behaviour for bounded solutions of a porous media equation of elliptic–parabolic type, J. Math. Pures Appl. 64 (1985)

105–120.

[28] M.S. Salakhitdinov, Equations of Mixed-Composite Type, Fan, Tashkent, Uzbekistan, 1974.

[29] V.N. Vragov, Boundary Value Problems for Nonclassical Equations of Mathematical Physics, in: Textbook for Universities, NSU Publishing House, Novosibirsk, 1983.

[30] P.E. Sobolevskii, The coercive solvability of difference equations, Dokl. Akad. Nauk SSSR 201 (5) (1971) 1063–1066.

[31] P.E. Sobolevskii, On the stability and convergence of the Crank–Nicolson scheme, in: Variational-Difference Methods in Mathematical Physics, Vychisl. Tsentr Sibirsk. Otdel. Akademii Nauk SSSR, Novosibirsk, 1974, pp.146–151.

[32] P.E. Sobolevskii, Difference Methods for the Approximate Solution of Differential Equations, Voronezh State University Press, Voronezh, Russia, 1975. [33] A.A. Samarskii, E.S. Nikolaev, Numerical Methods for Grid Equations, in: Iterative Methods, vol. 2, Birkhauser, Basel, Switzerland, 1989.

References

Related documents

Keywords: Alzheimer ’ s disease, Amyloid- β , Cognitively normal, Inter-network functional connectivity, Longitudinal, Memory performance, Mild cognitive impairment,

The study examined analysis of maize value addition among entrepreneurs in Taraba State and concluded that maize value addition is a profitable enterprise which

The Z-source half bridge converter discussed so far is capable of addressing the limited voltage and shoot-through problems faced by conventional half-bridge converters.

Its development will be influenced by a number of policy arenas including specific sectoral policies across agriculture, food, marine, forestry and energy sectors, cross-sectoral

There was a significance increase in the serum cortisol levels of human immunodeficiency virus positive/ highly active antiretroviral naïve male patient (HIV positive HAART

In total, eight patients presented with acute knee pain (less than three months’ duration) and 18 patients presented with chronic knee pain (greater than three months) including

Due to good heat preservation property of the vacuum lined steel ladle, compared with ordinary ladles, the temperature of molten steel can be increased by 1°C

So far in this analysis, the results suggest that reduced noise levels between 1995- 1999 and 2000-2002 had a positive impact on housing prices for the entire sample area near