Journal of Applied MathematicsVolume 2012 (2012), Article ID 581481, 13 pagesdoi:10.1155/2012/581481

Research Article

A Reliable Treatment of Homotopy Perturbation Method for Solving the Nonlinear Klein-Gordon Equation of Arbitrary (Fractional) Orders

A. M. A. El-Sayed,¹ A. Elsaid,² and D. Hammad²

¹Faculty of Science, Alexandria University, Alexandria, Egypt²Mathematics & Engineering Physics Department, Faculty of Engineering, Mansoura University, P.O. Box 35516, Mansoura, Egypt

Received 16 October 2011; Accepted 8 December 2011

Academic Editor: Livija Cveticanin

Copyright © 2012 A. M. A. El-Sayed et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Abstract.

The reliable treatment of homotopy perturbation method (HPM) is applied to solve the Klein-Gordon partial differential equation of arbitrary (fractional) orders. This algorithm overcomes the difficulty that arises in calculating complicated integrals when solving nonlinear equations. Some numerical examples are presented to illustrate the efficiency of this technique.

1. Introduction

The Klein-Gordon equation plays a significant role in mathematical physics and many scientific applications such as solid-state physics, nonlinear optics, and quantum field theory [1, 2]. The equation has attracted much attention in studying solitons [3–6] and condensed matter physics, in investigating the interaction of solitons in a collisionless plasma, the recurrence of initial states, and in examining the nonlinear wave equations [7].

The HPM, proposed by He in 1998, has been the subject of extensive studies and was applied to different linear and nonlinear problems [8–13]. This method has the advantage of dealing directly with the problem without transformations, linearization, discretization, or any unrealistic assumption, and usually a few iterations lead to an accurate approximation of the exact solution [13]. The HPM has been used to solve nonlinear partial differential equations of fractional order (see, e.g., [14–16]). Some other methods for series solution that are used to solve nonlinear partial differential equations of fractional order include the Adomian decomposition method [17–19], the variational iteration method [20–22], and the homotopy analysis method [23–25].

Recently, Odibat and Momani [26] suggested a reliable algorithm for the HPM for dealing with nonlinear terms to overcome the difficulty arising in calculating complicated integrals. In [27], this algorithm is utilized to study the behavior of the nonlinear sine-Gordon equation with fractional time derivative. Our aim here is to apply the reliable treatment of HPM to obtain the solution of the initial value problem of the nonlinear fractional-order Klein-Gordon equation of the form subjected to the initial condition where denotes the Caputo fractional derivative with respect to of order , is unknown function, and , and are known constants with .

2. Basic Definitions

Definition 2.1. A real function , , is said to be in the space , , if there exists a real number , such that , where , and it is said to be in the space if .

Definition 2.2. The Riemann-Liouville fractional integral operator of order of a function is defined as [28] The operator satisfy the following properties, for , , ,, and :(1), (2), (3).

Definition 2.3. The fractional derivative in Caputo sense of , is defined as The operator satisfy the following properties, for , , and :(1), (2), (3).

3. The Homotopy Perturbation Method (HPM)

Consider the following equation: with boundary conditions where is a general differential operator, is the unknown function, and and denote spatial and temporal independent variables, respectively. is a boundary operator, is a known analytic function, and is the boundary of the domain . The operator can be generally divided into linear and nonlinear parts, say and . Therefore, (3.1) can be written as In [9], He constructed a homotopy which satisfies or where is an embedding parameter,and is an initial guess of which satisfies the boundary conditions. Obviously, from (3.4) and (3.5), one has Changing from zero to unity is just that change of from to . Expanding in Taylor series with respect to , one has Setting results in the approximate solution of (3.1) The reliable treatment of the classical HPM suggested by Odibat and Momani [26] is presented for nonlinear function which is assumed to be an analytic function and has the following Taylor series expansion: According to [26], the following homotopy is constructed for (1.1): The basic assumption is that the solution of (3.10) can be written as a power series in , Substituting (3.11) into (3.10) and equating the terms with identical powers of , we obtain a series of linear equations in , which can be solved by symbolic computation software. Finally, we approximate the solution by the truncated series

4. Numerical Implementation

In this section, some numerical examples are presented to validate the solution scheme. Symbolic computations are carried out using Mathematica.

Example 4.1. Consider the fractional-order cubically nonlinear Klein-Gordon problem with the exact solution .

According to the homotopy (3.10), we obtain the following set of linear partial differential equations of fractional order:

Case 1 ( and ). Solving (4.2), we obtain Figure 1 gives the comparison between the HPM 6th-order approximate solution of problem (4.1) in Case 1 with , and 1.85 and the solution of corresponding problem of integer order denoted by at .

Figure 1: of Example 4.1 Case 1 for 6th-order HPM approximation as parameterized by .

Case 2 ( and ). Solving (4.2), we have Figure 2 gives the comparison between the HPM 6th-order approximate solution of problem (4.1) in Case 2 with ,,  , and 1.85 and the solution of corresponding problem of integer order denoted by at .

Figure 2: of Example 4.1 Case 2 for 6th-order HPM approximation as parameterized by .

Case 3 (both and ). Solving (4.2), we have Figure 3 gives the comparison between the HPM 6th-order approximate solution of problem (4.1) in Case 3 with and taking the values , and 1.85 and the solution of corresponding problem of integer order denoted by at .

Figure 3: of Example 4.1 Case 3 for 6th-order HPM approximation as parameterized by and .

Example 4.2. Consider the fractional-order cubically nonlinear Klein-Gordon problem The corresponding integer-order problem has the exact solution [29].

According to the homotopy (3.10), we obtain the following set of linear partial differential equations of fractional order:

Case 1 ( and ). Solving (4.7), we have and the solution is obtained as Figure 4 gives the comparison between the HPM 4th-order approximate solution of problem (4.6) in Case 1 with , and 1.85 and the solution of corresponding problem of integer order denoted by at .

Figure 4: of Example 4.2 Case 1 for 4th-order HPM approximation as parameterized by .

Case 2 ( and ). As the attempt to evaluate Caputo fractional derivative of the functions and yields hypergeometric function, we substitute and by some terms of its Taylor series. Substituting the initial conditions and solving (4.7) for , the components of the homotopy perturbation solution for (4.6) are derived as follows: As the Caputo fractional derivative can not be evaluated for negative powers of the variable at hand, and noting that , we can only evaluate the first two components of the series as illustrated. Thus, we suggest to generalize not only the derivatives in the integer-order problem to its fractional form, but also to generalize the conditions as well. For example, a generalized expansion of in a fractional form can be written as for which we have . Substituting the generalized form of the initial conditions and solving (4.7) for , the components of the homotopy perturbation solution for this case are derived as follows: and the solution is obtained as Figure 5 gives the comparison between the HPM 4th-order approximate solution of problem (4.6) in Case 2 with , and 1.85 and the solution of corresponding problem of integer order denoted by at .

Figure 5: of Example 4.2 Case 2 for 4th-order HPM approximation as parameterized by .

Case 3 (both and ). Carrying out the same procedure as in Case 2, we get and the solution is thus obtained as Figure 6 gives the comparison between the HPM 4th-order approximate solution of problem (4.6) in Case 3 with , and 1.85 and the solution of corresponding problem of integer order denoted by at .

Figure 6: of Example 4.2 Case 3 for 4th-order HPM approximation as parameterized by and .

5. Conclusion

The reliable treatment HPM is applied to obtain the solution of the Klien-Gordon partial differential equation of arbitrary (fractional) orders with spatial and temporal fractional derivatives. The main advantage of this algorithm is the capability to overcome the difficulty arising in calculating complicated integrals when dealing with nonlinear problems. The numerical examples carried out show good results, and their graphs illustrate the continuation of the solution of fractional-order Klien-Gordon equation to the solution of the corresponding second-order problem when the fractional-order parameters approach their integer limits.

References

A.-M. Wazwaz, “New travelling wave solutions to the Boussinesq and the Klein-Gordon equations,” Communications in Nonlinear Science and Numerical Simulation, vol. 13, no. 5, pp. 889–901, 2008.

A.-M. Wazwaz, “The tanh and the sine-cosine methods for compact and noncompact solutions of the nonlinear Klein-Gordon equation,” Applied Mathematics and Computation, vol. 167, no. 2, pp. 1179–1195, 2005.

R. Sassaman and A. Biswas, “Soliton solutions of the generalized Klein-Gordon equation by semi-inverse variational principle,” Mathematics in Engineering, Science and Aerospace, vol. 2, no. 1, pp. 99–104, 2011.

R. Sassaman and A. Biswas, “1-soliton solution of the perturbed Klein-Gordon equation,” Physics Express, vol. 1, no. 1, pp. 9–14, 2011.

R. Sassaman, A. Heidari, F. Majid, E. Zerrad, and A. Biswas, “Topological and non-topological solitons of the generalized Klein-Gordon equations in -dimensions,” Dynamics of Continuous, Discrete & Impulsive Systems A, vol. 17, no. 2, pp. 275–286, 2010.

R. Sassaman and A. Biswas, “Soliton perturbation theory for phi-four model and nonlinear Klein-Gordon equations,” Communications in Nonlinear Science and Numerical Simulation, vol. 14, no. 8, pp. 3239–3249, 2009.

S. M. El-Sayed, “The decomposition method for studying the Klein-Gordon equation,” Chaos, Solitons and Fractals, vol. 18, no. 5, pp. 1025–1030, 2003.

J.-H. He, “A coupling method of a homotopy technique and a perturbation technique for non-linear problems,” International Journal of Non-Linear Mechanics, vol. 35, no. 1, pp. 37–43, 2000.

J.-H. He, “Homotopy perturbation technique,” Computer Methods in Applied Mechanics and Engineering, vol. 178, no. 3-4, pp. 257–262, 1999.

J.-H. He, “Some asymptotic methods for strongly nonlinear equations,” International Journal of Modern Physics B, vol. 20, no. 10, pp. 1141–1199, 2006.

D. D. Ganji and A. Sadighi, “Application of He's homotopy-perturbation method to nonlinear coupled systems of reaction diffusion equations,” International Journal of Nonlinear Sciences and Numerical Simulation, vol. 7, no. 4, pp. 411–418, 2006.

J. Lu, “Analytical approach to Kawahara equation using variational iteration method and homotopy perturbation method,” Topological Methods in Nonlinear Analysis, vol. 31, no. 2, pp. 287–294, 2008.

E. Yusufoglu, “Homotopy perturbation method for solving a nonlinear system of second order boundary value problems,” International Journal of Nonlinear Sciences and Numerical Simulation, vol. 8, no. 3, pp. 353–358, 2007.

A. Yıldırım, “An algorithm for solving the fractional nonlinear Schrodinger equation by means of the homotopy perturbation method,” International Journal of Nonlinear Sciences and Numerical Simulation, vol. 10, no. 4, pp. 445–450, 2009.

A. Yıldırım and H. Koçak, “Homotopy perturbation method for solving the space-time fractional advection-dispersion equation,” Advances in Water Resources, vol. 32, no. 12, pp. 1711–1716, 2009.

Q. Wang, “Homotopy perturbation method for fractional KdV-Burgers equation,” Chaos, Solitons and Fractals, vol. 35, no. 5, pp. 843–850, 2008.

Z. Odibat and S. Momani, “Numerical methods for nonlinear partial differential equations of fractional order,” Applied Mathematical Modelling, vol. 32, no. 1, pp. 28–39, 2008.

V. Daftardar-Gejji and S. Bhalekar, “Solving multi-term linear and non-linear diffusion-wave equations of fractional order by Adomian decomposition method,” Applied Mathematics and Computation, vol. 202, no. 1, pp. 113–120, 2008.

H. Jafari and V. Daftardar-Gejji, “Solving linear and nonlinear fractional diffusion and wave equations by Adomian decomposition,” Applied Mathematics and Computation, vol. 180, no. 2, pp. 488–497, 2006.

Z. Odibat and S. Momani, “The variational iteration method: an efficient scheme for handling fractional partial differential equations in fluid mechanics,” Computers & Mathematics with Applications, vol. 58, no. 11-12, pp. 2199–2208, 2009.

S. Momani, Z. Odibat, and A. Alawneh, “Variational iteration method for solving the space- and time-fractional KdV equation,” Numerical Methods for Partial Differential Equations, vol. 24, no. 1, pp. 262–271, 2008.

M. Inc, “The approximate and exact solutions of the space- and time-fractional Burgers equations with initial conditions by variational iteration method,” Journal of Mathematical Analysis and Applications, vol. 345, no. 1, pp. 476–484, 2008.

A. Elsaid, “Homotopy analysis method for solving a class of fractional partial differential equations,” Communications in Nonlinear Science and Numerical Simulation, vol. 16, no. 9, pp. 3655–3664, 2011.

M. Dehghan, J. Manafian, and A. Saadatmandi, “Solving nonlinear fractional partial differential equations using the homotopy analysis method,” Numerical Methods for Partial Differential Equations, vol. 26, no. 2, pp. 448–479, 2010.

H. Xu, S.-J. Liao, and X.-C. You, “Analysis of nonlinear fractional partial differential equations with the homotopy analysis method,” Communications in Nonlinear Science and Numerical Simulation, vol. 14, no. 4, pp. 1152–1156, 2009.

Z. Odibat and S. Momani, “A reliable treatment of homotopy perturbation method for Klein-Gordon equations,” Physics Letters A, vol. 365, no. 5-6, pp. 351–357, 2007.

A. Elsaid and D. E. Hammad, “A reliable treatment of homotopy perturbation method for the sine-Gordon equation of arbitrary (fractional) order,” Journal of Fractional Calculus and its Applications, vol. 2, no. 1, pp. 1–8, 2012.

I. Podlubny, Fractional Differential Equations, Academic Press, San Diego, Calif, USA, 1999.

E. Yusufoglu, “The variational iteration method for studying the Klein-Gordon equation,” Applied Mathematics Letters, vol. 21, no. 7, pp. 669–674, 2008.