• Tidak ada hasil yang ditemukan

The Solution of the Initial Mixed

N/A
N/A
Protected

Academic year: 2023

Membagikan "The Solution of the Initial Mixed"

Copied!
7
0
0

Teks penuh

(1)

Trends in Mathematics, 349–355 c

2014 Springer International Publishing AG

The Solution of the Initial Mixed

Boundary Value Problem for Hyperbolic Equations by Monte Carlo and

Probability Difference Methods

Kanat Shakenov

Abstract. The initial mixed boundary value problem for equations of hyper- bolic type is considered. It is solved by algorithms “random walk on spheres”,

“random walk on balls” and “random walk on lattices” of Monte Carlo meth- ods and by probability difference methods.

Mathematics Subject Classification (2010).65C05.

Keywords.Hyperbolic equation,random walk,Monte Carlo,probability,dif- ference,method,approximation,expectation.

1. Introduction

We consider in a bounded closed domain Ω𝑛, (𝑛= 2,3) with boundary Ω and for𝑡∈(0, 𝑇) the initial mixed boundary value problem

𝑡2𝑢(𝑡, 𝑥)Δ𝑥𝑢(𝑡, 𝑥) +𝛾2𝑢(𝑡, 𝑥) =𝑓(𝑡, 𝑥), (𝑡, 𝑥)Ω×(0, 𝑇), (1.1)

𝑢(0, 𝑥) =𝜑(𝑥), 𝑥∈Ω, (1.2)

𝑡𝑢(0, 𝑥) =𝜓(𝑥), 𝑥∈Ω, (1.3)

𝛼(𝑡, 𝑥)𝑢(𝑡, 𝑥) +𝛽(𝑡, 𝑥)∂𝑢(𝑡, 𝑥)

n =𝑔(𝑡, 𝑥), (𝑡, 𝑥)∈∂Ω×(0, 𝑇), (1.4) where𝛾 is a parameter,𝑓(𝑡, 𝑥), 𝜑(𝑥), 𝜓(𝑥), 𝛼(𝑡, 𝑥), 𝛽(𝑡, 𝑥), 𝑔(𝑡, 𝑥) are given func- tions, andnis the normal toΩ. Problems of this type in different settings have been considered in [1], [2], [3]. In monograph [1] (especially pages 7–10) the initial value problem for equation (1.1) is considered. In the AIP Conference Preceedings [2] the mixed problem for elliptic equation by Monte Carlo and by probability difference methods is solved. In article [3] the initial Neumann boundary value problem for parabolic type equation by the algorithm “random walk” of Monte Carlo methods is solved.

(2)

The initial mixed boundary value problem (1.1)–(1.4), after discretization in = ok?

the time variable 𝑡 only, for𝑛= 3, with approximation error𝑂(𝜏2) for equation (1.1), takes the form

𝑢𝑖+1(𝑥)2𝑢𝑖(𝑥) +𝑢𝑖−1(𝑥)

𝜏2 Δ𝑢𝑖+1(𝑥) +𝛾2𝑢𝑖+1(𝑥) =𝑓𝑖(𝑥),

𝑖= 1,2, . . . , 𝑀−1, 𝜏 =𝑇/𝑀, 𝑥∈Ω, (1.5)

𝑢0(𝑥) =𝜑(𝑥), 𝑥∈Ω, (1.6)

𝑢1(𝑥)−𝑢0(𝑥)

𝜏 =𝜓(𝑥), 𝑥∈Ω, (1.7)

𝛼𝑖+1(𝑥)𝑢𝑖+1(𝑥) +𝛽𝑖+1(𝑥)∂𝑢𝑖+1(𝑥)

n =𝑔𝑖+1(𝑥), 𝑖= 1,2, . . . , 𝑀−1, 𝑥∈Ω.

(1.8) We can also write

L𝑢𝑖+1(𝑥) =𝐹𝑖(

𝑓𝑖(𝑥), 𝑢𝑖−1(𝑥), 𝑢𝑖(𝑥)) ,

𝑖= 1,2, . . . , 𝑀−1, 𝑥∈Ω, (1.9) 𝛼𝑖+1(𝑥)𝑢𝑖+1(𝑥) +𝛽𝑖+1(𝑥)∂𝑢𝑖+1(𝑥)

n =𝑔𝑖+1(𝑥),

𝑖= 1,2, . . . , 𝑀 1, 𝑥∈Ω, (1.10) whereL(

Δ−𝜏2𝛾2)

is the elliptic (Helmholtz) operator.

2. Monte Carlo methods

The main idea of the Monte Carlo methods: we construct the probability value or the probability process in such a way that the mean value is the solution of the given problem. Then, as a rule, the variance is the precision of the solution. From

problems (1.9), (1.10) there exists an integral equation of the second type = ok?

𝑢(𝑥) =

Ω

𝑘(𝑦, 𝑥)𝑢(𝑦)𝑑𝑦+𝑣(𝑥), 𝑥, 𝑦∈Ω, (2.1)

where𝑣(𝑥) is a given function and𝑘(𝑦, 𝑥) is the kernel of this given function. The = ok?

integral equation (2.1) can be is solved by Monte Carlo methods if the integral operator𝐾 of this equation satisfies the condition

∥𝐾∥𝐿1(Ω)<1. (2.2)

Ifcondition (1.10) holds then the integral equation (2.1) can be solved by

“random walk on spheres” and “random walk on balls” algorithms of the Monte Carlo methods. It is also possible to construct the𝜀-displaced estimations for𝑢(𝑥), cf. [4], [2], [5], [6], [9], [10].

It can also be solved by algorithms “random walk on spheres” and “random walk on lattices”, cf. [2], [5], [6], of the Monte Carlo and probability difference methods, cf. [11].

(3)

Let Ω be a Lyapunov surface, and let the surface Ω be convex. Then the norm of the integral operator acting in𝐶(Ω) is less than 1. Hence, it is possible to apply the Neumann–Ulam scheme to equation (1.9), cf. [9].

The integral equation (2.1) can also be solved by “random walk on spheres”

and by “random walk on balls” algorithms of the Monte Carlo methods, cf. [10].

By reaching the𝜀-boundary the Markov chain is reflected with probability 𝑝Ω𝜀 = ∣𝛽𝑖+1(𝑥)

∣𝛼𝑖+1(𝑥)+∣𝛽𝑖+1(𝑥)

and adsorbed with probability

𝑞Ω𝜀= ∣𝛼𝑖+1(𝑥)

∣𝛼𝑖+1(𝑥)+∣𝛽𝑖+1(𝑥)∣.

At transition from one condition to the following condition, the “weight” of node, which is defined by the recurrence relation

𝑄0= 1, 𝑄𝑖+1=𝑄𝑖 𝑘(𝑥𝑖, 𝑥𝑖+1)

𝑝Ω(𝑥𝑖, 𝑥𝑖+1), 𝑖= 0,1, . . . ,

is taken into account. On a border, the “weight” of border, proportional to 𝑄Ω= 𝑔𝑖+1(𝑥)

∣𝛼𝑖+1(𝑥)+∣𝛽𝑖+1(𝑥)∣, is taken into account.

Let us denote by a step of the difference scheme in each coordinate di- rection and by 𝑒𝑖 the coordinate unit vector in the 𝑖th coordinate direction. We approximate the domain Ω and the operator L by the finite difference method, 𝑝(𝑥, 𝑥±𝑒𝑖),𝑝(𝑥, 𝑥+𝑒𝑖ℎ±𝑒𝑗),𝑝(𝑥, 𝑥−𝑒𝑖ℎ±𝑒𝑗) and𝑝(𝑥, 𝑦) = 0, for the others 𝑥, 𝑦 Ω∈𝑅𝑛. Function 𝑝(𝑥, 𝑦) is nonnegative, the sum in 𝑦 is equal to 1 for each 𝑥. This means that 𝑝(𝑥, 𝑦) is the probability of transitions of some Markov chain that we denote by{

𝜉𝑛}

⋅𝑝(𝑥, 𝑦), and these will be the coefficients = ok?

in finite difference approximation.

3. Probability difference method

We divide a discrete border into the reflecting partΩ𝑅 and the absorbing part

Ω𝐴. Then it is possible to construct the𝜀-displaced approximation of the unique decision in the point𝑥. For example, it is possible to construct a Markov chain by

“random walk on lattices” and to define { 𝜉𝑛}

along this chain.

Let the setΩ𝑅 approximateΩ “from within”. That is, either 𝑥∈Ω∩ 𝑅3 or 𝑥 Ω or a straight line connecting 𝑥 with one of the nearest nodes 𝑥𝑖 ± 𝑒𝑖ℎ, 𝑥𝑖±𝑒𝑖ℎ±𝑒𝑗or𝑥𝑖±𝑒𝑖ℎ∓𝑒𝑗touchesΩ. The set is determined in Ω∩

𝑅3. Let us define a digitization Ω= Ω∩

𝑅3−∂Ω𝑅 of interior Ω and a digitization of a stopping setΩ𝐴=𝑅3Ω−∂Ω𝑅. Then𝑝 gives the transition probabilities of the approximating chain {

𝜉𝑖}

in Ω. The chain breaks at the first contact

(4)

with Ω𝐴. We notice that E𝑥

{𝜉𝑛+1 −𝜉𝑛∣𝜉𝑛 =𝑦𝑖 ∈∂Ω𝑅}

=𝜐(𝑦)ℎ/∣𝜐(𝑦). It is coordinated so that the reflection from the point Ω𝑅 happens along direction 𝜐(𝑦). Here 𝜐(𝑦) is the direction of hit into the interior node, see [2], [5], [6], [11].

After an approximation of domains Ω, Ω and (1.9), (1.10), we obtain the problem by the finite difference method

L𝑢𝑖+1 =𝐹𝑖(

𝑓𝑖, 𝑢𝑖−1 , 𝑢𝑖)

, (3.1)

𝛼𝑖+1 𝑢𝑖+1 +𝛽𝑖+1 𝛿( 𝑢𝑖+1 )

=𝑔𝑖+1, (3.2)

where L is a finite difference approximation of the operator L, 𝛿 is the finite difference approximation of the operator n . Then we have the following

Theorem 1. The Neumann–Ulam scheme is applicable to the finite difference mixed problem (3.1)(3.2).

Proof. Let us consider the difference problem (1.5)–(1.7) and approximate it by 𝑥. We prove the theorem for the case Ω 1 [0,1]. Then we divide [0,1] in 𝑁 parts with step = 1/𝑁 by 𝑥. Then we derive the following finite-difference problem for𝑘= 1, . . . , 𝑁−1,

2𝑢𝑖+1𝑘 22𝑢𝑖+1𝑘 +2𝑢𝑖−1𝑘 −𝜏2𝑢𝑖+1𝑘+1+ 2𝜏2𝑢𝑖+1𝑘 −𝜏2𝑢𝑖+1𝑘−1+2𝜏2𝛾2𝑢𝑖+1𝑘 =2𝜏2𝑓𝑘𝑖. (3.3) The first-order of approximation of𝑡𝑢(𝑥,0) is𝑂(𝜏2). We use the following obvious equalities:𝜏𝑢(𝑥,0) =𝑑𝑢(𝑥,0)/𝑑𝑡=𝜓(𝑥) at𝑡= 0,𝑢(𝑥,0) =𝑢0(𝑥) =𝜑(𝑥) and

𝜏𝑢(𝑥,0) = 𝑑𝑢(𝑥,0)

𝑑𝑡 = 𝑢(𝑥, 𝜏)−𝑢(𝑥,0)

𝜏 =𝑡𝑢(𝑥,0) +𝜏

2𝑡2𝑢(𝑥,0) +𝑂(𝜏2). (3.4) From (1.1) when𝑡= 0 and using the first initial condition we get:

𝑡2𝑢(𝑥,0) =𝑥2𝑢(𝑥,0)−𝛾2𝑢(𝑥,0) +𝑓(𝑥,0) = 𝑑2𝜑(𝑥)

𝑑𝑥2 −𝛾2𝜑(𝑥) +𝑓(𝑥,0). (3.5) Now from (3.5) we derive

𝜏

2𝑡2𝑢(𝑥,0) = 𝜏 2

(𝑑2𝜑(𝑥)

𝑑𝑥2 −𝛾2𝜑(𝑥) +𝑓(𝑥,0))

. (3.6)

We put into (3.4) the expression𝜏∂𝑡2𝑢(𝑥,0)/2 from (3.6), and we get

𝜏𝑢(𝑥,0)−𝜏 2

(𝑑2𝜑(𝑥)

𝑑𝑥2 −𝛾2𝜑(𝑥) +𝑓(𝑥,0))

=𝜏𝑢(𝑥,0) +𝑂(𝜏2).

Hence

𝜏𝑢(𝑥,0)≈𝑢1𝑘−𝑢0𝑘

𝜏 =𝜓𝑘+𝜏 2

(𝜑𝑘+12𝜑𝑘+𝜑𝑘−1

2 −𝛾2𝜑𝑘+𝑓𝑘

)+𝑂(𝜏2) or

𝑢1𝑘=𝜑𝑘+𝜏𝜓𝑘+𝜏 2

(𝜑𝑘+12𝜑𝑘+𝜑𝑘−1

2 −𝛾2𝜑𝑘+𝑓𝑘)

+𝑂(𝜏2). (3.7) Thus, we show that𝑡𝑢(𝑥,0) (second initial condition) is also approximated with accuracy of 𝑂(𝜏2). The finite-difference equation (3.7) with boundary condition

(5)

(1.8) on every time layer (𝑖+1) is solved by the sweep method. Indeed, from (3.3) for𝑖= 1,2, . . . , 𝑀−1, 𝑘= 1,2, . . . , 𝑁−1 we get

−𝜏2𝑢𝑖+1𝑘+1+(

2𝜏2+2+2𝜏2𝛾2)

𝑢𝑖+1𝑘 −𝜏2𝑢𝑖+1𝑘−1= 22𝑢𝑖𝑘−ℎ2𝑢𝑖−1𝑘 +2𝜏2𝑓𝑘𝑖. (3.8) Sufficiency condition of convergence for the sweep method of system (3.8) is satis- fied because the inequality is true:2𝜏2+2+2𝜏2𝛾2∣>∣−𝜏2+∣−𝜏2, where𝜏is the step by time𝑡,𝜏 >0,is the step by space variable𝑥,ℎ >0, and parameter 𝛾2>0. Thus, the solution of system (3.8) exists and it can be solved numerically by the sweep method. Now, (3.8) is written for each (𝑖+1) in the matrix form

Au=F, (3.9)

where matrixAhas 3 diagonals: diagonal elements are 2𝜏2+2+2𝜏2𝛾2, upper and lower diagonal elements are−𝜏2, the rest of the elements are zeros. The column vectorFis known because of the right side of the equation, initial and boundary conditionsF=F(𝑢𝑖𝑘, 𝑢𝑖−1𝑘 , 𝑓𝑘𝑖), and the column vectoruis an unknown vector to be found. The solution of system (3.9) can be written in the form

u=A1F. (3.10)

Referring to [7] we can write out all eigenvalues of the matrixA:

𝜆𝑘( A)

= 2𝜏2+2+2𝜏2𝛾22

𝜏2𝜏2cos(𝑘𝜗), 𝑘= 1,2, . . . , 𝑁, 𝜗= 𝜋 𝑁+ 1. If𝑁≫1, then𝜆𝑘(

A)

≥ℎ2+2𝜏2𝛾2>0. From the condition∣𝜆𝑘( A)

∣<1 we get a relation between the steps𝜏 and :

−√ 1−ℎ2 ℎ𝛾 < 𝜏 <

1−ℎ2 ℎ𝛾 .

When it is considered that 𝜏 >0 and for 𝛾 > 0 we get the condition (Courant type condition)

𝜏 <

1−ℎ2

ℎ𝛾 . (3.11)

An analogous approach was carried out in the [8]. If condition (3.11) is true, then the iterational process for the solution of system (3.9) (ex., Jacobi method) converges. The existence of a solution of system (3.9) (the same for system (3.8)), the convergence of the numerical method of sweep (inversion of matrixA) for that system, as well as the discrete solution are constructed on absorbing Markov’s chain, that terminates on 𝜀-border, since for (3.9) the iterational process con- verges and (1.8) is true. The mixed boundary condition (1.8) consists of two parts:

Dirichlet’s and Neumann’s; due to Dirichlet’s condition Markov’s chain is absorbed on the𝜀-border, that is, it terminates. This proves the usability of the Neumann–

Ulam scheme for the solution of (3.8). This system can be solved by “random walk on lattices”, that is, by the probability difference method. The theorem is proved.

Now we prove the applicability of the Neumann–Ulam scheme to (3.8) dif- ferently. We write (3.8) on time layers (𝑖+1) in the form

ur=Kul+Φ, (3.12)

(6)

whereKis a two-diagonal matrix (operator): its upper and lower diagonal elements are𝜏2/(2𝜏2+2+2𝜏2𝛾2); the rest of the elements are zero,ur=ur(u𝑖+1𝑘 ),ul= ul(u𝑖+1𝑘+1,u𝑖+1𝑘−1),Φ=Φ(

u𝑖𝑘,u𝑖−1𝑘 ,f𝑘𝑖)

. Now we show that the operator (matrix)K is a compressive operator. We calculate the eigenvalues 𝜆𝑘(K) of the matrix K, cf. [7]:

𝜆𝑘( K)

= 2𝜏2

2𝜏2+2+2𝜏2𝛾2cos(𝑘𝜗), 𝑘= 1,2, . . . , 𝑁, 𝜗= 𝜋 𝑁+ 1. It is easy to see, that for𝜏 >0,ℎ >0,𝛾2>0, the condition for the spectral radius of the matrixK,

𝜌( K)

<1 (3.13)

is true for any𝜏 >0 andℎ >0. In that case the iterational process (by 𝑘, where 𝑘= 0 and for𝑘=𝑁 the boundary conditions are true) converges for (3.12) also;

condition (3.13) is now the necessary and sufficient condition of convergence of the iterational process for (3.12). It means that we can use the Neumann–Ulam scheme for the system (3.12), that is, that the system (and (3.8) also) can be solved by the probability difference methods: by constructing the Markov chains converging to the𝜀-border, and all its trajectories terminate on the𝜀-border because of Dirich- let’s conditions present on the borders. Thus, the theorem is proved again. □

Analogous algorithms can be found in [8], [9], [10].

The algorithm of constructing the Markov chains from [11] allows us to con- struct Markov chains, and the estimate discrete solution of the system (3.8),

𝑢=E𝑥

[𝑁

1

𝑖=0

𝐶𝑖𝑓( 𝜉𝑖)

△𝑡𝑖𝐼Ω( 𝜉𝑖)

+𝐶𝑁1𝑟( 𝜉𝑁)

+

𝑁1 𝑖=0

𝐶𝑖(

−𝑔( 𝜉𝑖))

𝑑𝜇𝑖 ]

is the unique discrete solution of the problem (the same discrete solution of problem (3.1), (3.2)), whereE𝑥is an expectation.

Remark 2. The common error of the probability difference method depends on the following parameters:

1) 𝜏 step by time 𝑡,𝜏 >0, as𝑂(𝜏2);

2) step by space variable𝑥,ℎ >0, as𝑂(2);

3) parameter 𝛾2>0, and

4) it depends on𝜀-border linearly.

References

[1] Michael Ruzhansky and James Smith,Dispersive and Strichartz estimates for hy- perbolic equations with constant cofficents.MSJ Memoirs,Vol. 22,(2010).

[2] Kanat K. Shakenov.Solution of Mixed Problem for Elliptic Equation by Monte Carlo and Probability-Difference Methods.CP1076. 7th International Summer School and Conference. Melville,New York. American Institute of Physics (AIP). Conference Proceedings,Volume 1076,(2008) 213–218.

(7)

[3] A. Haji-Sheikh and E.M. Sparrow,The floating random walk and its application to Monte Carlo solutions of heat equations. SIAM. Journal on Applied Mathematics, Vol. 14,2,Printed in U.S.A. (1966),370–389.

[4] K. Shakenov,Solution of one problem of linear relaxational filtration by Monte Carlo methods. International Conference on Computational Mathematics (ICCM 2002), Part I. ICM & MG Publisher. Novosibirsk,Russia,(2002),276–280.

[5] K. Shakenov,Solution of one mixed problem for equation of a relaxational filtration by Monte Carlo methods. Notes on Numerical Fluid Mechanics and Multidisciplinary Design,Springer Berlin – Heidelberg. Volume 93/2006. Book. Advances in High Performance Computing and Computational Sciences. Chapter 71. (2006),205–210.

[6] K.K. Shakenov, Solution of problem for one model of relaxational filtration by probabilitly-difference and Monte Carlo methods.Polish Academy of Sciences. Com- mittee of Mining. Archives of Mining Sciences. Volume 52,Issue 2,Krakow,(2007), 247–255.

[7] R. Bellman,Introduction to matrix analysis.McGraw–Hill Book Company,Inc. New York Toronto London (1960).

[8] S.M. Ermakov,K.K. Shakenov,On the applications of the Monte Carlo method to Navier–Stokes equations.Bulletin of Leningrad State University. Series Mathematics, Mechanics,Astronomy. No. 6267-B86. Leningrad,(1986). 1–14.

[9] S.M. Ermakov,Monte Carlo method and adjacent questions.Nauka,Moscow (1975).

[10] S.M. Ermakov,V.V. Nekrutkin,A.S. Sipin,Random process for solution of classical equations of mathematical physics.Nauka,Moscow (1984).

[11] Harold J. Kushner,Probability Methods of Approximations in Stochastic Control and for Elliptic Equations.Academic Press. New York – San Francisco – London. (1977).

Kanat Shakenov al-Farabi avenue,71

al-Farabi Kazakh National University 050040,Almaty,Kazakhstan

e-mail:shakenov2000@mail.ru

Referensi

Dokumen terkait

Therefore, the research objectives is to determine which risks really influential in PPP Project of Southern Jakarta-Cikampek II Toll Road Project using Monte Carlo