Numerical Treatment of Initial-Boundary Value Problems with Mixed Boundary Conditions

Abstract

In this paper, we extend the reliable modification of the Adomian Decom-position Method coupled to the Lesnic’s approach to solve boundary value problems and initial boundary value problems with mixed boundary conditions for linear and nonlinear partial differential equations. The method is applied to different forms of heat and wave equations as illustrative examples to exhibit the effectiveness of the method. The method provides the solution in a rapidly convergent series with components that can be computed iteratively. The numerical results for the illustrative examples obtained show remarkable agreement with the exact solutions. We also provide some graphical representations for clear-cut comparisons between the solutions using Maple software.

Share and Cite:

Abdullah Alzaid, N. and Omar Bakodah, H. (2018) Numerical Treatment of Initial-Boundary Value Problems with Mixed Boundary Conditions. American Journal of Computational Mathematics, 8, 153-174. doi: 10.4236/ajcm.2018.82012.

1. Introduction

Mixed boundary value problems are characterized by a combination of Dirichlet and Neumann conditions along at least one boundary condition. They occur in a wide range of engineering and applied mathematics applications [1] [2] [3] [4] . These applications include the classic electrical potential and electric field conditions on a disk [5] , stress and strain conditions around a punch pressing on an elastic surface [6] as well as some applications in porous media problems such as the infiltration and seepage among others [7] [8] . Historically, only very few of these problems could be solved using analytic methods. In view of this, many researchers obtained the solutions of initial and boundary value problems by using either initial or boundary condition(s). In recent years, there have been significant developments in the use of various semi-analytical methods for partial differential equations such as the homotopy perturbation method [9] and Adomian Decomposition Method (ADM) [10] . Duan and Rach [11] developed a new resolution method of Boundary Value Problems (BVPs) for nonlinear ordinary differential equations using the ADM. It is also well-known that the ADM provides approximate analytic solutions without using the Green function concept, which greatly facilitates analytic approximations and numerical computations. Several different resolution techniques for solving BVPs for nonlinear ordinary differential equations by using the ADM were considered by Adomian and Rach [12] - [18] , Adomian [19] , and Wazwaz [20] - [26] . Also, for a two-point BVP for second-order nonlinear differential equations, Adomian and Rach [17] [18] proposed the double decomposition method in order to avoid solving such nonlinear algebraic equations, and Jang [27] and Ebaid [28] introduced different modified inverse linear operators. Adomian [29] suggested a modified method for the hyperbolic, parabolic and elliptic partial differential equations with initial and boundary conditions by using two equations for u, one inverting the L t operator and the other inverting the L x operator, then, adding them and dividing by two. Further, with regards to the mixed value problems, Lesnic and Elliot

[30] proposed the inverse operator defined by L x 1 = x 0 x d x 1 x d x to solve the

linear homogeneous heat equation u t = u x x , x 0 < x < 1 , t > 0 subject to the mixed boundary conditions u ( x , t ) = h 1 ( t ) , u x ( 1 , t ) = h 2 ( t ) , where β i = ( t ) , i = 1 , 2 are known functions. However, in this paper, we will present a modified recursion scheme based on the reliable modification of the ADM with new structure of the inverse operator applied to the (BVPs) with mixed boundary conditions using Lesnic’s approach and Ebaid’s method. The proposed operator allows the appearance of all the conditions in the solution thereby making the solution more realistic. The paper is arranged in the following manner: in Section 2, we analyze the ADM; Section 3 presents the modified ADM suggested by Wazwaz; in Section 4, Lesnic’s approach is used to approximate solutions of some problems; the implementation of this new method to some test problems is presented in Section 5; finally, a brief conclusion is given in Section 6.

2. Analysis of the Adomian Decomposition Method with Mixed Conditions

Nonlinear partial differential equations models in mathematics and physics play an important role in theoretical sciences. The understanding of these nonlinear partial differential equations is also crucial to many applied areas such as meteorology, oceanography, and aerospace industry. Nonlinear partial differential equations are the most fundamental models in studying nonlinear phenomena.

Consider the nonlinear partial differential equation given in an operator form

L x u ( x , t ) + L t u ( x , t ) + R u ( x , t ) + N u ( x , t ) = g ( x , t ) (2.1)

where L x and L t are the linear operators to be inverted, which are usually the highest order differential operators in x, and t respectively; L x , R is the linear remainder operator; N u ( x , t ) is a nonlinear operator which is assumed to be analytic function, and g ( x , t ) is the input function that is assumed to be continuous function. The solutions for u ( x , t ) obtained from the operator equations L x u in x-direction and L t u in t-direction are called partial solutions. We further give the following illustrations:

2.1. Boundary Value Problems

Consider the general form of the single second-order nonlinear inhomogeneous temporal-spatial partial differential equation:

L x x u ( x , t ) + L t t u ( x , t ) + N u ( x , t ) = g ( x , t ) , a x b , t > 0 , (2.2)

subject to the mixed boundary conditions

u ( a , t ) = h 1 ( t ) , u x ( b , t ) = h 2 ( t ) (2.3)

where, L x x u ( x , t ) = 2 x 2 u ( x , t ) , L t t u ( x , t ) = 2 t 2 u ( x , t ) . We consider the x partial solution as

L x x u ( x , t ) = g ( x , t ) L t t u ( x , t ) N u ( x , t ) (2.4)

Applying the two-fold indefinite integration inverse operator L x x 1 = d x d x to both sides of Equation (2.4), gives

u ( x , t ) = Φ x + L x x 1 g ( x , t ) L x x 1 L t t u ( x , t ) L x x 1 N u ( x , t ) , (2.5)

where Φ x = c 1 ( t ) + c 2 ( t ) x and the constants of integrations c 1 ( t ) and c 2 ( t ) , are determined from the boundary conditions. We now decompose the following Φ x , the linear and nonlinear terms u and Nu based on ADM as follows:

Φ x = n = 0 Φ x , n = n = 0 ( c 1 , n ( t ) + c 2 , n ( t ) x ) ,

u ( x , t ) = n = 0 u n ( x , t ) ,

N u ( x , t ) = n = 0 A n ( u 0 , u 1 , u 2 , , u n ) (2.6)

where A n ’s are the Adomian polynomials determined from the definitional formula

A n = 1 n ! d n d λ n N ( k = 0 u k λ k ) | λ = 0 , n 0. (2.7)

Substituting Equation (2.6) into Equation (2.5), yields the following recursion scheme

u 0 = Φ x , 0 + L x x 1 g ( x , t ) ,

u n + 1 = Φ x , n + 1 L x x 1 L t t u n L x x 1 A n , n 0. (2.8)

The n-term approximation of the solution is φ n = i = 0 n 1 u i ( x , t ) for n > 0 .

Thus, φ 1 = u 0 , φ 2 = φ 1 + u 1 , φ 3 = φ 2 + u 2 , etc., and all φ n ‘s must satisfy the boundary conditions.

The first approximate φ 1 = u 0 = c 1 , 0 ( t ) + c 2 , 0 ( t ) x + L x x 1 g ( x , t ) , where the values c 1 ( t ) and c 2 ( t ) can be evaluated by using the boundary conditions in Equation (2.2)

φ 1 | x = a = h 1 ( t ) , φ 1 | x = b = h 2 ( t ) ,

which results in

c 1 , 0 ( t ) + c 2 , 0 ( t ) x + L x x 1 g ( x , t ) | x = a = h 1 ( t ) ,

c 2 , 0 ( t ) + ( L x x 1 g ( x , t ) ) | x = b = h 2 ( t ) .

Thus φ 1 is now determined. Since u 0 and φ 1 are now completely known, we form the next term u 1 = Φ x , 1 L x x 1 L t t u 0 L x x 1 A 0 , then φ 2 = φ 1 + u 1 , and we continue in the same manner to obtain u 2 , u 3 , , u n for some n 0 . Substituting all these values in u ( x , t ) = n = 0 u n ( x , t ) , we get the solution of Equation (2.1).

2.2. An Alternative Combination of the Initial and Boundary Conditions

Adomian [29] suggested a modified method for the partial differential equations with initial and boundary conditions by using two equations for u, one inverting the L t operator and the other inverting the L x operator, then, adding them and dividing by two. To convey the basic idea for treatment of initial and boundary conditions by ADM for solving initial boundary value problems, we consider Equations (2.2)-(2.3) with the initial conditions

u ( x , 0 ) = p 1 ( x ) , u t ( x , 0 ) = p 2 ( x ) . (2.9)

where p i ( x ) , i = 1 , 2 are known functions.

Firstly, we consider the t partial solution as

L t t u ( x , t ) = g ( x , t ) L x x u ( x , t ) N u ( x , t ) (2.10)

Applying the inverse operator L t t 1 defined by L t t 1 = 0 t 0 t d t d t to both sides of Equation (2.10) and using the initial conditions, gives

u ( x , t ) = u ( x , 0 ) + t u t ( x , 0 ) + L t t 1 g ( x , t ) L t t 1 L x x u ( x , t ) L t t 1 N u ( x , t ) (2.11)

Secondly, we consider the x partial solution as in Equation (2.5). Next, we averaged the partial solutions, i.e. add two partial solutions in Equation (2.5) and Equation (2.11) and divide by two, we obtain

u ( x , t ) = 1 2 ( u ( x , 0 ) + t u t ( x , 0 ) + Φ x + L t t 1 g ( x , t ) + L x x 1 g ( x , t ) L t t 1 L x x u ( x , t ) L x x 1 L t t u ( x , t ) L t t 1 N u ( x , t ) L x x 1 N u ( x , t ) ) (2.12)

Substituting Equation (2.6) into Equation (2.12), yields the following recursion scheme

u 0 = 1 2 ( u ( x , 0 ) + t u t ( x , 0 ) + Φ x , 0 + L t t 1 g ( x , t ) + L x x 1 g ( x , t ) )

u n + 1 = 1 2 ( Φ x , n L t t 1 L x x u n ( x , t ) L x x 1 L t t u n ( x , t ) L t t 1 A n L x x 1 A n ) , n 0. (2.13)

To illustrate this method for coupled linear and nonlinear partial differential equations, we take two examples in the following section.

2.3. Numerical Experiments

Example 1.

Consider the linear homogeneous heat equation

u t u x x = 0 , 0 x 1 , t > 0 ,

with specified conditions u ( 0 , t ) = 0 , u x ( 1 , t ) = cos ( 1 ) e t .

Rewriting the heat equation in the operator form as L t u L x x u = 0 .

Applying the inverse operator L x x 1 defined by L x x 1 = d x d x , gives

u ( x , t ) = c 1 ( t ) + c 2 ( t ) x + L x x 1 L t u ( x , t ) .

This introduces the recursive relations

u 0 = c 1 ( t ) + c 2 ( t ) x ,

u n + 1 = c 1 , n + 1 ( t ) + c 2 , n + 1 ( t ) x + L x x 1 L t u n , n 0.

The first approximant is φ 1 = u 0 = c 1 , 0 ( t ) + c 2 , 0 ( t ) x . Applying the x conditions to φ 1 , it is clear that c 1 , 0 ( t ) = 0 and c 2 , 0 ( t ) = cos ( 1 ) e t . Thus, if the one-term approximant φ 1 were sufficient, the solution would be φ 1 = u 0 = cos ( 1 ) e t x , The next term is

u 1 = c 1 , 1 ( t ) + c 2 , 1 ( t ) x + L x x 1 L t u 0 = c 1 , 1 ( t ) + c 2 , 1 ( t ) x + L x x 1 L t ( cos ( 1 ) e t x )

Then φ 2 = u 0 + u 1 is given by

φ 2 = cos ( 1 ) e t x + c 1 , 1 ( t ) + c 2 , 1 ( t ) x 1 6 cos ( 1 ) e t x 3

Applying the condition at x = 0 , we have c 1 , 1 ( t ) = 0 . From the condition on x at 1, we get

c 2 , 1 ( t ) = 1 2 cos ( 1 ) e t , thus u 1 = 1 2 cos ( 1 ) e t x 1 6 cos ( 1 ) e t x 3

Continuing in a similar way u 2 , u 3 , , u n are obtained for some n, then we get the approximate solution u a p = n = 0 u n ( x , t ) which converged to the exact solution u e x = cos ( x ) e t .

Table 1 shows the comparison between the absolute error of the exact and approximate solutions for various values of t. Figure 1 and Figure 2 give the plots for the exact and approximate solutions by using ADM for t = 0.5 , t = 1.0 and 0 x 1 , respectively.

Table 1. Absolute errors using ADM at t = 0.5 , t = 1.0 and 0 x 1 .

Figure 1. The exact solution and the approximate solution using ADM for φ 3 , φ 5 , φ 10 at t = 0.5 and 0 x 1 .

Figure 2. The exact solution and the approximate solution using ADM for φ 3 , φ 5 , φ 10 at t = 1.0 and 0 x 1 .

Example 2

Consider the nonlinear inhomogeneous wave equation

u t t u x x u + u 2 = x t + x 2 t 2 , t > 0 ,

with specified initial conditions u ( x , 0 ) = 1 , u t ( x , 0 ) = x , and the boundary conditions u ( 0 , t ) = 1 , u x ( 0 , t ) = t . Rewriting the wave equation in the operator form as

L t t u L x x u u + u 2 = x t + x 2 t 2 .

To solve initial-boundary value problem, firstly, we consider the t partial solution as L t t u = L x x u + u u 2 + x t + x 2 t 2 .

Applying the inverse operator L t t 1 defined by L t t 1 = 0 t 0 t d t d t , gives

u ( x , t ) = u ( x , 0 ) + t u t ( x , 0 ) + L t t 1 ( x t + x 2 t 2 ) + L t t 1 L x x u ( x , t ) + L t t 1 u L t t 1 u 2 .

This introduces the recursive relations

u 0 = u ( x , 0 ) + t u t ( x , 0 ) + L t t 1 ( x t + x 2 t 2 )

u n + 1 = L t t 1 L x x u n + L t t 1 u n L t t 1 A n , n 0.

where the nonlinear term u 2 can be expressed by an infinite series of the Adomian polynomials A n given by:

A 0 = ( u 0 ) 2 ,

A 1 = 2 u 0 u 1 ,

A 2 = ( u 1 ) 2 + 2 u 0 u 2 ,

A 3 = 2 u 1 u 2 + 2 u 0 u 3 ,

A 4 = ( u 2 ) 2 + 2 u 1 u 3 + 2 u 0 u 4 ,

So that first two terms are

u 0 = 1 + x t + 1 6 x t 3 + 1 12 x 2 t 4 ,

u 1 = 1 180 t 6 1 12960 x 4 t 10 1 2529 x 3 t 9 1 2016 x 2 t 8 1 252 x 3 t 7 1 72 x 2 t 6 1 120 x t 5 1 12 x 2 t 4 1 6 x t 3 ,

Secondly, we consider the x partial solution L x x u = L t t u u + u 2 x t x 2 t 2 .

Applying the inverse operator L x x 1 defined by L x x 1 = d x d x , gives

u ( x , t ) = Φ x + L x x 1 ( x t x 2 t 2 ) + L x x 1 L t t u ( x , t ) L x x 1 u ( x , t ) + L x x 1 u 2 ( x , t ) ,

This gives the recursive relations

u 0 = Φ x , 0 + L x x 1 ( x t x 2 t 2 ) ,

u n + 1 = Φ x , n + L x x 1 L t t u n L x x 1 u n + L x x 1 A n , n 0.

So that

u 0 = c 1 , 0 ( t ) + c 2 , 0 ( t ) x + L x x 1 ( x t x 2 t 2 ) = c 1 , 0 ( t ) + c 2 , 0 ( t ) x 1 12 x 4 t 2 1 6 x 3 t ,

The first approximant is φ 1 = u 0 . Applying the x conditions to φ 1 it is clear that c 1 , 0 ( t ) = 1 and c 2 , 0 ( t ) = t . Thus, if the one-term approximant φ 1 were

sufficient, the solution would be φ 1 = u 0 = 1 + x t 1 12 x 4 t 2 1 6 x 3 t . The next term is

u 1 = c 1 , 1 ( t ) + c 2 , 1 ( t ) x + L x x 1 L t t u 0 L x x 1 u 0 + L x x 1 A 0 .

Then φ 2 = u 0 + u 1 is given by:

φ 2 = 1 + x t + c 1 , 1 ( t ) + c 2 , 1 ( t ) x 1 180 x 6 + 1 12960 t 4 x 10 + 1 2592 t 3 x 9 + 1 2016 t 2 x 8 1 252 t 3 x 7 1 72 t 2 x 6 1 120 t x 5 ,

Applying the condition at x = 0 , we have c 1 , 1 ( t ) = 0 . From the condition on x at 0, we get c 2 , 1 ( t ) = 0 , thus

u 1 = 1 180 x 6 + 1 12960 t 4 x 10 + 1 2592 t 3 x 9 + 1 2016 t 2 x 8 1 252 t 3 x 7 1 72 t 2 x 6 1 120 t x 5 + 1 12 t 2 x 4 + 1 6 t x 3 ,

Next, we average the partial solutions, i.e. add two partial solutions and divide by two, so we obtain

u 0 = 1 2 ( 2 + 2 x t + 1 12 x 2 t 4 + 1 6 x t 3 1 12 x 4 t 2 1 6 x 3 t )

u 1 = 1 2 ( 1 180 t 6 1 12960 x 4 t 10 1 2592 x 3 t 9 1 2016 x 2 t 8 1 252 x 3 t 7 1 72 x 2 t 6 1 120 x t 5 1 12 x 2 t 4 1 6 x t 3 1 180 x 6 + 1 12960 t 4 x 10 + 1 2592 t 3 x 9 + 1 2016 t 2 x 8 1 252 t 3 x 7 1 72 t 2 x 6 1 120 t x 5 + 1 12 t 2 x 4 + 1 6 t x 3 ) ,

Continuing in a similar way u 2 , u 3 , , u n are obtained for some n, then we get the approximate solution u a p = n = 0 u n ( x , t ) which is converge to the exact solution u e x = 1 + x t .

Table 2 shows the comparison between the absolute error of exact and approximate solutions for various values of t. Figure 3 and Figure 4 give the plots for the exact solution and the approximate solution by application of (ADM) for t = 0.5 , t = 1.0

3. Modified Adomian Decomposition Method with Mixed Conditions

Wazwaz in [31] , suggested a modification to the recurrence relations of the Standard Adomian Decomposition Method (ADM). He assumed that the first

Table 2. Absolute errors using ADM at t = 0.5 , t = 1.0 and 0 x 1 .

Figure 3. The exact solution and the approximate solution using ADM for φ 3 , φ 5 , φ 10 at t = 0.5 .

Figure 4. The exact solution and the approximate solution using ADM for φ 3 , φ 5 , φ 10 at t = 1.0 .

term u0 can be set as function f and divided it into two parts, namely f1 and f2. Under this assumption, we set f = f 1 + f 2 . Also, based on this, we propose a slight variation only on the components u0 and u1, the variation is that only the part f1 is assigned to the zeroth component u0, whereas the remaining part f2 is combined with the other terms to define u1. This reduction in the number of terms of u0 will result in reduction of the computational work and will accelerate the convergence. Further, this slight variation in the definition of the components u0 and u1 may provide the solution by using two iterations only. Furthermore, the calculations below will show that sometimes there is no need to evaluate the so-called Adomian polynomials required for the nonlinear differential equations. An important observation that can be made here is that the success of this method depends mainly on the proper choice of the parts f1 and f2. We have been unable to establish any criterion to judge what forms of f1 and f2 can be assumed to yield the acceleration demanded. It appears that trials are the only criteria that can be applied so far.

3.1. Boundary Value Problems

Based on the recurrence relation in Equation (2.8)

u 0 = Φ x , 0 + L x x 1 g ( x , t ) ,

u n + 1 = Φ x , n + 1 L x x 1 L t t u n L x x 1 A n , n 0.

We can set u 0 = Φ x , 0 + L x x 1 g ( x , t ) = f , then we divide it into two parts, so that we formulate the modified recursive algorithm as follows:

u 0 = f 1 ,

u 1 = f 2 + Φ x , 1 L x x 1 L t t u 0 L x x 1 A 0 ,

u n + 1 = Φ x , n + 1 L x x 1 L t t u n L x x 1 A n , n 1. (3.1)

Comparing the recursive scheme in Equation (2.8) of the ADM with the scheme in Equation (3.1) of the modified technique leads to the conclusion that in Equation (2.8) the zeroth component was defined by the function f, whereas in Equation (3.1), the zeroth component u0 was defined by only a part f1 of f, the remaining part f2 of f is added to the definition of the component u1 in (3.1).

3.2. An alternative Combination of the Initial and Boundary Conditions

Based on the recurrence relation in Equation (2.13), we can set

u 0 = 1 2 ( u ( x , 0 ) + t u t ( x , 0 ) + Φ x , 0 + L t t 1 g ( x , t ) + L x x 1 g ( x , t ) ) = f

Then we divide it into two parts, so that we formulate the modified recursive algorithm as follows:

u 0 = f 1 ,

u 1 = f 2 + 1 2 ( Φ x , 1 L t t 1 L x x u 0 L x x 1 L t t u 0 L t t 1 A 0 L x x 1 A 0 ) ,

u n + 1 = 1 2 ( Φ x , n + 1 L t t 1 L x x u n L x x 1 L t t u n L t t 1 A n L x x 1 A n ) , n 1. (3.2)

Comparing the recursive scheme in Equation. (2.13) of the ADM with the recursive scheme in Equation (3.2) of the modified technique leads to the conclusion that in (2.13) the zeroth component was defined by the function f, whereas in (3.2), the zeroth component u0 is defined only by a part f1 of f, the remaining part f2 of f is added to the definition of the component u1 in (2.13).

In order to demonstrate the efficiency and applicability of the proposed method, we study example of nonlinear partial differential equations here.

3.3. Numerical Experiments

Example 3

Consider the nonlinear inhomogeneous heat equation

u t = u x x + u 2 x 2 t 2 + x , t > 0 ,

with specified conditions u ( x , 0 ) = 0 , u ( 0 , t ) = 0 , u x ( 0 , t ) = t .

Rewriting the heat equation in the operator form as

L t u = L x x u + u 2 x 2 t 2 + x .

Applying the inverse operator L x x 1 defined by L x x 1 = d x d x , we get

u ( x , t ) = Φ x + L x x 1 ( x 2 t 2 x ) + L x x 1 L t u ( x , t ) L x x 1 u 2 ( x , t ) ,

This gives the recursive relations

u 0 = Φ x , 0 + L x x 1 ( x 2 t 2 x ) ,

u n + 1 = Φ x , n + 1 + L x x 1 L t u n L x x 1 A n , n 0.

So that

u 0 = c 1 , 0 ( t ) + c 2 , 0 ( t ) x + L x x 1 ( x 2 t 2 x ) = c 1 , 0 ( t ) + c 2 , 0 ( t ) x + 1 12 x 4 t 2 1 6 x 3 ,

The first approximant is φ 1 = u 0 Applying the x conditions to φ 1 it is clear that c 1 , 0 ( t ) = 0 and c 2 , 0 ( t ) = t . Thus, if the one-term approximant φ 1 were

sufficient, the “solution” will be φ 1 = u 0 = x t + 1 12 x 4 t 2 1 6 x 3 . We set u 0 = f ,

then we divide it into two parts, so that

u 0 = f 1 = x t ,

u 1 = f 2 + c 1 , 1 ( t ) + c 2 , 1 ( t ) x + L x x 1 L t u 0 L x x 1 A 0 = ( 1 12 x 4 t 2 1 6 x 3 ) + c 1 , 1 ( t ) + c 2 , 1 ( t ) x + L x x 1 L t u 0 L x x 1 A 0 .

Then φ 2 = u 0 + u 1 is given by:

φ 2 = x t + 1 12 x 4 t 2 1 6 x 3 + c 1 , 1 ( t ) + c 2 , 1 ( t ) x + L x x 1 L t u 0 L x x 1 A 0

Applying the condition at x = 0 , we have c 1 , 1 ( t ) = 0 . From the condition on x at 0, we get c 2 , 1 ( t ) = 0 , thus u 1 = 0 , and u n + 1 = 0 , n 1 . Thus, the approximate solution is u = u 0 = x t , which is the exact solution.

4. Improvement of the Inverse Operator with Mixed Boundary Conditions

In 1999, Lesnic and Elliott [30] employed ADM for solving some inverse boundary value problems in heat conduction, also they applied the modification method to deal with noisy input data and obtain a stable approximate solution. In [32] Lesnic investigated the application of the decomposition method involving computational algebra for solving more complicated problems with Dirichlet, Neumann or mixed boundary conditions. In [30] the authors defined the operator L t 1 and as definite integrals given by

L t 1 = 0 t d t , L x 1 = x 0 x d x 1 x d x (4.1)

to solve the linear homogeneous heat equation u t = u x x , x 0 < x < 1 , t > 0 , subject to the mixed boundary conditions u ( x 0 , t ) = h 1 ( t ) , u x ( 1 , t ) = h 2 ( t ) .

We will make an extension to the inverse operator (4.1) given in [30] to all cases of problems, so that we consider in this section, two types of problems: boundary value problems and initial-boundary value problems.

4.1. Boundary Value Problems

Consider Equations. (2.2)-(2.3), and applying the inverse operator L x x 1 defined by

L x x 1 = a x d x b x d x to both sides of Equation (2.4), gives

u ( x , t ) = u ( a , t ) + ( x a ) u ( b , t ) x + L x x 1 g ( x , t ) L x x 1 L t t u ( x , t ) L x x 1 N u ( x , t ) (4.2)

i.e. the boundary conditions can be used directly to solve the boundary value problem in x-direction.

Substituting u ( x , t ) = n = 0 u n ( x , t ) , and N u ( x , t ) = n = 0 A n ( u 0 , u 1 , u 2 , , u n ) into Equation (4.2), gives

n = 0 u n ( x , t ) = u ( a , t ) + ( x a ) u ( b , t ) x + L x x 1 g ( x , t ) L x x 1 L t t n = 0 u n ( x , t ) L x x 1 n = 0 A n ( x , t )

This yields the recursive relations

u 0 = u ( a , t ) + ( x a ) u ( b , t ) x + L x x 1 g ( x , t ) ,

u n + 1 = L x x 1 L t t u n L x x 1 A n , n 0. (4.3)

4.2. An Alternative Combination of the Initial and Boundary Conditions

Here, we take the average of the t partial solution as in Equation (2.11), and the x partial solution as in Equation (4.2) to get

u ( x , t ) = 1 2 ( u ( x , 0 ) + u t ( x , 0 ) t + u ( a , t ) + ( x a ) u ( b , t ) x + L t t 1 g ( x , t ) + L x x 1 g ( x , t ) L t t 1 L x x u ( x , t ) L x x 1 L t t u ( x , t ) L t t 1 N u ( x , t ) L x x 1 N u ( x , t ) ) (4.4)

Substituting u ( x , t ) = n = 0 u n ( x , t ) , and N u ( x , t ) = n = 0 A n ( u 0 , u 1 , u 2 , , u n ) into Equation (4.3), gives

n = 0 u n ( x , t ) = 1 2 ( u ( x , 0 ) + u t ( x , 0 ) t + u ( a , t ) + ( x a ) u ( b , t ) x + L t t 1 g ( x , t ) + L x x 1 g ( x , t ) L t t 1 L x x n = 0 u n ( x , t ) L x x 1 L t t n = 0 u n ( x , t ) L t t 1 n = 0 A n ( x , t ) L x x 1 n = 0 A n ( x , t ) )

so that the recurrence relations are

u 0 = 1 2 ( u ( x , 0 ) + u t ( x , 0 ) t + u ( a , t ) + ( x a ) u ( b , t ) x + L t t 1 g ( x , t ) + L x x 1 g ( x , t ) )

u n + 1 = 1 2 ( L t t 1 L x x u n L x x 1 L t t u n L t t 1 A n L x x 1 A n ) , n 0. (4.5)

To give a clear overview of these methods, we have chosen several differential equations. The examples will be approached by the Lesnic‘s Approach and the modified technique for comparison reasons. We also compare the approximate solution with the exact solution.

4.3. Numerical Experiments

Example 4

Consider the linear homogeneous heat equation

u t u x x = 0 , 0 x 1 , t > 0 ,

with specified conditions u ( x , 0 ) = e x , u ( 0 , t ) = e t , u x ( 1 , t ) = e 1 + t .

Rewriting the heat equation in the operator form as L t u = L x x u . Applying the

inverse operator L x x 1 defined by L x x 1 = 0 x d x 1 x d x , we get the recursive relations

u 0 = u ( 0 , t ) + x u ( 1 , t ) x ,

u n + 1 = L x x 1 L t u n , n 0.

So that

u 0 = e t + x e 1 + t ,

u 1 = 1 6 e 1 + t x 3 + 1 2 e t x 2 e t x 1 2 e 1 + t x ,

u 2 = 1 120 e 1 + t x 5 + 1 24 e t x 4 + 1 3 ( 1 2 e t 1 4 e 1 + t ) x 3 + 5 24 x e 1 + t + 1 3 e t x ,

Continuing in a similar way u 2 , u 3 , , u n are obtained for some n, then we get the approximate solution u a p = n = 0 u n ( x , t ) which converged to the exact solution u e x = e x + t .

Table 3 shows the comparison between the absolute error of exact and approximate solutions for various values of t. Figure 5 and Figure 6 show the results for the exact solution and the approximate solution by application of Lesnic’s approach for t = 0.5 , t = 1.0 .

Example 5

Consider the linear homogeneous heat equation

u t = u x x + u , t > 0 ,

with specified conditions u ( 0 , t ) = e ( 1 π 2 ) t , u x ( 0 , t ) = 0 .

Rewriting the heat equation in the operator form a L t u = L x x u + u .

Applying the inverse operator L x x 1 defined by L x x 1 = 0 x d x 1 x d x , we get the recursive relations

u 0 = u ( 0 , t ) + x u ( 0 , t ) x ,

u n + 1 = L x x 1 L t u n L x x 1 u n , n 0.

So that

u 0 = e ( 1 π 2 ) t ,

u 1 = 1 2 ( ( 1 π 2 ) e ( 1 π 2 ) t e ( 1 π 2 ) t ) x 2 ,

u 2 = 1 4 ( 1 6 ( 1 π 2 ) 2 e ( 1 π 2 ) t 1 3 ( 1 π 2 ) e ( 1 π 2 ) t + 1 6 e ( 1 π 2 ) t ) x 4 ,

Continuing in a similar way u 3 , u 4 , , u n are obtained for some n, then we get the approximate solution u a p = n = 0 u n ( x , t ) which converged to the exact solution u e x = e ( 1 π 2 ) t cos ( π x ) .

Table 4 shows the comparison between the absolute error of exact and approximate solutions for various values of t. Figure 7 and Figure 8 show the results for the exact solution and the approximate solution by application of Lesni’s approach for t = 0.5 , t = 1.0 .

Example 6

Consider the nonlinear inhomogeneous wave equation

u t t u x x + u 2 = 2 x 2 2 t 2 + x 4 t 4 , t > 0 ,

with specified initial condition u ( x , 0 ) = 0 , u t ( x , 0 ) = 0 and the boundary conditions u ( 0 , t ) = 0 , u x ( 0 , t ) = 0 .

Rewriting the wave equation in the operator form as

L t t u L x x u + u 2 = 2 x 2 2 t 2 + x 4 t 4 .

Table 3. Absolute errors of Lesnic’s approach at t = 0.5 , t = 1.0 .

Table 4. Absolute errors of Lesnic’s approach at t = 0.5 , t = 1.0 .

Figure 5. The exact solution and the approximate solution of Lesnic’s approach for φ 3 , φ 5 , φ 10 at t = 0.5 .

Figure 6. The exact solution and the approximate solution of Lesnic’s approach for φ 3 , φ 5 , φ 10 at t = 1.0 .

Figure 7. The exact solution and the approximate solution of Lesnic’s approach for φ 3 , φ 5 , φ 10 at t = 0.5 .

Figure 8. The exact solution and the approximate solution of Lesnic’s approach for φ 3 , φ 5 , φ 10 at t = 1.0 .

Firstly, we consider the t partial solution as

L t t u = L x x u u 2 + 2 x 2 2 t 2 + x 4 t 4 .

Applying the inverse operator L t t 1 defined by L t t 1 = 0 t 0 t d t d t , gives the recursive relations

u 0 = u ( x , 0 ) + t u t ( x , 0 ) + L t t 1 ( 2 x 2 2 t 2 + x 4 t 4 ) ,

u n + 1 = L t t 1 L x x u n L t t 1 A n , n 0.

So that

u 0 = 1 30 x 4 t 6 1 6 t 4 + x 2 t 2 ,

u 1 = 11 840 x 2 t 8 + 1 6 t 4 1 163800 x 8 t 14 + 1 11880 x 4 t 12 1 10 ( 1 135 x 6 + 1 324 ) t 10 1 30 x 4 t 6 ,

Secondly, we consider the x partial solution

L x x u = L t t u + u 2 2 x 2 + 2 t 2 x 4 t 4 .

Applying the inverse operator L x x 1 defined by L x x 1 = 0 x d x 0 x d x , gives the recursive relations

u 0 = u ( 0 , t ) + x u ( 0 , t ) x + L x x 1 ( 2 x 2 + 2 t 2 x 4 t 4 ) ,

u n + 1 = L x x 1 L t u n L x x 1 A n , n 0.

So that

u 0 = 1 30 t 4 x 6 1 6 x 4 + x 2 t 2 ,

u 1 = 11 840 t 2 x 8 + 1 6 x 4 + 1 163800 t 8 x 14 + 1 11880 t 4 x 12 + 1 10 ( 1 135 t 6 + 1 324 ) x 10 + 1 30 t 4 x 6 ,

Next, we average the partial solutions, i.e. add two partial solutions and divide by two, so we obtain

u 0 = 1 2 ( 1 30 x 4 t 6 1 6 t 4 + 2 x 2 t 2 1 30 t 4 x 6 1 6 x 4 ) ,

u 1 = 1 2 ( 11 840 x 2 t 8 + 1 6 t 4 1 163800 x 8 t 14 + 1 11880 x 4 t 12 1 10 ( 1 135 x 6 + 1 324 ) t 10 1 30 x 4 t 6 11 840 t 2 x 8 + 1 6 x 4 + 1 163800 t 8 x 14 + 1 11880 t 4 x 12 + 1 10 ( 1 135 t 6 + 1 324 ) x 10 + 1 30 t 4 x 6 ) ,

Continuing in a similar way u 2 , u 3 , , u n are obtained for some n, then we get the approximate solution u a p = n = 0 u n ( x , t ) which converged to the exact solution u e x = x 2 t 2 .

Table 5 shows the comparison between the absolute error of exact and approximate solutions for various values of t. Figure 9 and Figure 10 show the

Table 5. Absolute errors of Lesnic’s approach at t = 0.5 , t = 1.0 .

Figure 9. The exact solution and the approximate solution of Lesnic’s approach for φ 3 , φ 5 , φ 10 at t = 0.5 .

Figure 10. The exact solution and the approximate solution of Lesnic’s approach for φ 3 , φ 5 , φ 10 at t = 1.0 .

results for the exact solution and the approximate solution by application of Lesnic’s approach for t = 0.5 , t = 1.0.

Example 7

Consider the nonlinear inhomogeneous heat equation

u t = u x x + u 2 u t 2 e 2 x + e x , t > 0 ,

with specified conditions u ( x , 0 ) = 0 , u ( 0 , t ) = t , u x ( 0 , t ) = t . Rewriting the heat equation in the operator form as

L t u = L x x u + u 2 u t 2 e 2 x + e x .

Applying the inverse operator L x x 1 defined by L x x 1 = 0 x d x 0 x d x , we get the recursive relations

u 0 = u ( 0 , t ) + x u ( 0 , t ) x + L x x 1 ( t 2 e 2 x e x ) ,

u n + 1 = L x x 1 L t u n + L x x 1 u n L x x 1 A n , n 0.

So that

u 0 = t + x t + 1 1 4 t 2 1 2 t 2 x + x + 1 4 t 2 e 2 x e x ,

We set u 0 = f then we divide it into two parts, so that

u 0 = f 1 = t + x t ,

u 1 = f 2 + L x x 1 L t u 0 + L x x 1 u 0 L x x 1 A 0 = ( 1 1 4 t 2 1 2 t 2 x + x + 1 4 t 2 e 2 x e x ) + 1 6 x 3 + 1 2 x 2 1 12 t 2 x 4 1 3 t 2 x 3 1 2 t 2 x 2 + 1 6 t x 3 + 1 2 t x 2 ,

Continuing in a similar way u 2 , u 3 , , u n are obtained for some n, then we get the approximate solution u a p = n = 0 u n ( x , t ) which converged to the exact solution u e x = t e x .

Table 6 shows the comparison between the absolute error of exact and approximate solutions Lesnic’s approach and modified of Lesnic’s approach for various values of t. Figure 11 and Figure 12 show the results for the exact solution and the approximate solution by application of Lesnic’s approach and modified of Lesnic’s Approach for t = 0.5 .

5. Conclusion

The main goal of this paper is the development of an efficient and accurate method to solve linear and nonlinear initial-boundary value problems with mixed boundary conditions. The method developed provides the solution in the form of rapidly convergent series relative to the Adomian decomposition method. It also introduces a slight change in the formulation of Adomian recursive relation. The method presented is applied to several examples of boundary-value problems and initial boundary-value problems with mixed type boundary conditions.

Table 6. Absolute errors of Lesnic’s approach and modified of Lesnic’s Approach at t = 0.5 .

Figure 11. The exact solution and the approximate solution of Lesnic’s approach for φ 3 , φ 5 , φ 10 at t = 0.5 .

Figure 12. The exact solution and the approximate solution of Modified of Lesnic’s approach for φ 3 , φ 5 , φ 10 at t = 0.5 .

The accuracy and computational efficiency of the proposed method are verified by numerical examples. Thus, the method is highly recommended for varieties of mixed boundary value problems.

Conflicts of Interest

The authors declare no conflicts of interest.

References

[1] Carslaw, H.S. and Jaeger, J.C. (1948) Conduction of Heat in Solids. Clarendon Press, Oxford.
[2] Carrier, G.F., Krook, M. and Pearson, C.E. (1966) Functions of a Complex Variable. McGraw-Hill, New York.
[3] Courant, R. and Hilbert, D. (1953) Methods of Mathematical Physics. Vol. 1, Interscience Publishers Inc., New York.
[4] Sneddon, I.N. (1966) Mixed Boundary Value Problems in Potential Theory. Wiley, New York.
[5] Tranter, C.J. (1951) Integral Transforms in Mathematical Physics. Wiley, New York.
[6] Fabrikant, V.I. (1991) Mixed Boundary Value Problems of Potential Theory and their Applications in Engineering. Kluwer, Boston.
[7] Sherwood, J.D. and Stone, H.A. (2001) Leakage through Filtercake into a Fluid Sampling Probe. Physics of Fluids, 13, 1151-1159.
https://doi.org/10.1063/1.1360712
[8] Warrick, A.W., Broadbridge, P. and Lomen, D.O. (1992) Approximations for Diffusion from a Disc Source. Applied Mathematical Modelling, 16, 155-161.
https://doi.org/10.1016/0307-904X(92)90067-D
[9] He, J.H. (2008) An Elementary Introduction to the Homotopy Perturbation Method. Computers & Mathematics with Applications, 57, 410-412.
https://doi.org/10.1016/j.camwa.2008.06.003
[10] Wazwaz, A.M. (2006) The Modified Decomposition Method for Analytic Treatment of Differential Equations. Applied Mathematics and Computation, 173, 165-176.
https://doi.org/10.1016/j.amc.2005.02.048
[11] Duan, J.S. and Rach, R. (2011) A New Modification of the Adomian Decomposition Method for Solving Boundary Value Problems for Higher Order Nonlinear Differential Equations. Applied Mathematics and Computation, 218, 4090-4118.
https://doi.org/10.1016/j.amc.2011.09.037
[12] Adomian, G. and Rach, R. (1983) Inversion of Nonlinear Stochastic Operators. Journal of Mathematical Analysis and Applications, 91, 39-46.
https://doi.org/10.1016/0022-247X(83)90090-2
[13] Adomian, G. (1986) Nonlinear Stochastic Operator Equations. Academic, Orlando.
[14] Adomian, G. (1989) Nonlinear Stochastic Systems Theory and Applications to Physics. Kluwer Academic, Dordrecht.
https://doi.org/10.1007/978-94-009-2569-4
[15] Adomian, G., Rach, R. and Meyers, R. (1991) An Efficient Methodology for the Physical Sciences. Kybernetes, 20, 24-34.
https://doi.org/10.1108/eb005909
[16] Adomian, G. and Rach, R. (1993) Analytic Solution of Nonlinear Boundary Value Problems in Several Dimensions by Decomposition. Journal of Mathematical Analysis and Applications, 174, 118-137.
https://doi.org/10.1006/jmaa.1993.1105
[17] Adomian, G. and Rach, R. (1993) A New Algorithm for Matching Boundary Conditions in Decomposition Solutions. Applied Mathematics and Computation, 57, 61-68.
https://doi.org/10.1016/0096-3003(93)90012-4
[18] Adomian, G. and Rach, R. (1994) Modified Decomposition Solution of Linear and Nonlinear Boundary-Value Problems. Nonlinear Analysis, 23, 615-619.
https://doi.org/10.1016/0362-546X(94)90240-2
[19] Adomian, G. (1994) Solving Frontier Problems of Physics: The Decomposition Method. Kluwer Academic, Dordrecht.
https://doi.org/10.1007/978-94-015-8289-6
[20] Wazwaz, A.M. (2000) Approximate Solutions to Boundary Value Problems of Higher Order by the Modified Decomposition Method. Computers & Mathematics with Applications, 40, 679-691.
https://doi.org/10.1016/S0898-1221(00)00187-5
[21] Wazwaz, A.M. (2000) The Modified Adomian Decomposition Method for Solving Linear and Nonlinear Boundary Value Problems of 10th-Order and 12th-Order. International Journal of Nonlinear Sciences and Numerical Simulation, 1, 17-24.
https://doi.org/10.1515/IJNSNS.2000.1.1.17
[22] Wazwaz, A.M. (2001) A Reliable Algorithm for Obtaining Positive Solutions for Nonlinear Boundary Value Problems. Computers & Mathematics with Applications, 41, 1237-1244.
https://doi.org/10.1016/S0898-1221(01)00094-3
[23] Wazwaz, A.M. (2001) The Numerical Solution of Fifth-Order Boundary Value Problems by the Decomposition Method. Journal of Computational and Applied Mathematics, 136, 259-270.
https://doi.org/10.1016/S0377-0427(00)00618-X
[24] Wazwaz, A.M. (2001) The Numerical Solution of Sixth-Order Boundary Value Problems by the Modified Decomposition Method. Applied Mathematics and Computation, 118, 311-325.
https://doi.org/10.1016/S0096-3003(99)00224-6
[25] Wazwaz, A.M. (2001) A Reliable Algorithm for Solving Boundary Value Problems for Higher-Order Integro-Differential Equations. Applied Mathematics and Computation, 118, 327-342.
https://doi.org/10.1016/S0096-3003(99)00225-8
[26] Wazwaz, A.M. (2002) The Numerical Solution of Special Fourth-Order Boundary Value Problems by the Modified Decomposition Method. International Journal of Computer Mathematics, 79, 345-356.
https://doi.org/10.1080/00207160211928
[27] Jang, B. (2008) Two-Point Boundary Value Problems by the Extended Adomian Decomposition Method. Journal of Computational and Applied Mathematics, 219, 253-262.
https://doi.org/10.1016/j.cam.2007.07.036
[28] Ebaid, A.E. (2010) Exact Solutions for a Class of Nonlinear Singular Two-Point Boundary Value Problems: The Decomposition Method. Zeitschrift für Naturforschung, 65a, 1-6.
https://doi.org/10.1515/zna-2010-0301
[29] Adomian, G. (1986) A New Approach to the Heat Equation—An Application of the Decomposition Method. Journal of Mathematical Analysis and Applications, 113, 202-209.
https://doi.org/10.1016/0022-247X(86)90344-6
[30] Lesnic, D. and Elliott, L. (1999) The Decomposition Approach to Inverse Heat Conduction. Journal of Mathematical Analysis and Applications, 232, 82-98.
https://doi.org/10.1006/jmaa.1998.6243
[31] Wazwaz, A.M. (1999) A Reliable Modification of Adomian’s Decomposition Method. Applied Mathematics and Computation, 102, 77-86.
https://doi.org/10.1016/S0096-3003(98)10024-3
[32] Lesnic, D. (2001) A Computational Algebraic Investigation of the Decomposition Method for Time-Dependent Problems. Applied Mathematics and Computation, 119, 197-206.
https://doi.org/10.1016/S0096-3003(99)00257-X

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.