 Research
 Open Access
 Published:
Solving the fractional nonlinear KleinGordon equation by means of the homotopy analysis method
Advances in Difference Equations volume 2012, Article number: 187 (2012)
Abstract
In this paper, the homotopy analysis method is applied to obtain the solution of nonlinear fractional partial differential equations. The method has been successively provided for finding approximate analytical solutions of the fractional nonlinear KleinGordon equation. Different from all other analytic methods, it provides us with a simple way to adjust and control the convergence region of solution series by introducing an auxiliary parameter ħ. The analysis is accompanied by numerical examples. The algorithm described in this paper is expected to be further employed to solve similar nonlinear problems in fractional calculus.
1 Introduction
In this paper, we consider the fractional nonlinear KleinGordon equation
where u is a function of x and t, a and b are real, g is a nonlinear function, and f is a known analytic function. The KleinGordon equation plays an important role in mathematical physics.
The homotopy perturbation method (HPM) has been successively applied for finding approximate analytical solutions of the fractional nonlinear KleinGordon equation which can be used as a numerical algorithm [1]. Analytical approach that can be applied to solve nonlinear differential equations is to employ the homotopy analysis method (HAM) [2–5]. Chowdhury and Hashim have employed HPM for solving KleinGordon equations [6]. The main aim of this work is to apply the HPM to solve the nonlinear KleinGordon equations of fractional order. An account of the recent developments of HAM was given by Liao [7]. HAM has been successfully applied in engineering fields. The method has been applied to give an explicit solution for the Riemann problem of the nonlinear shallowwater equations [8]. The homotopy analysis method is applied to solve linear and nonlinear fractional partial differential equations (fPDEs) [9]. The obtained Riemann solver has been implemented into a numerical model to simulate long waves, such as storm surge or tsunami, propagation and runup. Differential equations and nonlinear mechanics very recently, Song and Zhang [10] solved the fractional KdVBurgersKuramoto equation using HAM. Cang et al. [11] solved nonlinear Riccati differential equations of fractional order using HAM. Hashim et al. [12] employed HAM to solve fractional initial value problems (fIVPs) for ordinary differential equations. In [13] the applicability of HAM was extended to construct a numerical solution for the fractional BBMBurgers equation. The homotopy analysis method is implemented to give approximate and analytical solutions for the KleinGordon equation [14]. The HAM solutions for systems of nonlinear fractional differential equations were presented by Bataineh et al. [15]. A specific linear, nonhomogeneous time fractional partial differential equation (fPDE) with variable coefficients was first transformed into two fractional ordinary differential equations, which were then solved by HAM in [16]. Recently, Xu et al. [17] applied HAM to linear, homogeneous one and twodimensional fractional heatlike PDEs subject to the Neumann boundary conditions. They implemented relatively new, exact series method of solution known as the differential transform method for solving linear and nonlinear KleinGordon equations [18]. Jafari and Seifi [19] applied HAM to linear and nonlinear homogeneous fractional diffusionwave equations. Very recently, HAM was shown to be capable of solving linear and nonlinear systems of fPDEs [20].
2 Definitions
2.1 The MittagLeffler function
The MittagLeffler function is an important function that finds widespread use in the world of fractional calculus. Just as the exponential naturally arises out of the solution to integer order differential equations, the MittagLeffler function plays an analogous role in the solution of noninteger order differential equations. In fact, the exponential function itself is a very special form, one of an infinite set, of this seemingly ubiquitous function. Here, m th derivatives of MittagLeffler functions [21] are given
A twoparameter function of the ML (MittagLeffler) type is defined by the series expansion [22],
2.2 Laplace’s transform of fractional order
The Laplace transform of a function f(t), denoted by F(s), is defined by the equation
If n\in N, then by the theory of the Laplace transform, we know that
or
In this section several integrals associated with MittagLeffler functions are presented, which can be easily established by the application of beta and gamma function formulas and other techniques [23],
We obtain, from the equation, a pair of Laplace transforms of the function
2.3 Fractional calculus
We have wellknown definitions of a fractional derivative of order \alpha >0 such as RiemannLiouville, GrunwaldLetnikow, Caputo, and generalized functions approach [23, 24]. The most commonly used definitions are those of RiemannLiouville and Caputo. We give some basic definitions and properties of the fractional calculus theory, which are used throughout the paper.
Definition 2.1 A real function f(x), x>0, is said to be in the space {C}_{\mu}, \mu \in R, if there exists a real number (p>\mu) such that f(x)={x}^{p}{f}_{1}(x), where {f}_{1}(x)\in C[0,\mathrm{\infty}), and it is said to be in the space {C}_{\mu}^{m} iff {f}^{m}\in {C}_{\mu}, m\in N.
Definition 2.2 The RiemannLiouville fractional integral operator of order \alpha \ge 0 of a function f\in {C}_{\mu}, \mu \ge 1, is defined as
It has the following properties. For f\in {C}_{\mu}, \mu \ge 1, \alpha ,\beta \ge 0, and \gamma >1,

1.
{J}^{\alpha}{J}^{\beta}f(x)={J}^{\alpha +\beta}f(x),

2.
{J}^{\alpha}{J}^{\beta}f(x)={J}^{\beta}{J}^{\alpha}f(x),

3.
{J}^{\alpha}{x}^{\gamma}=\frac{\mathrm{\Gamma}(\gamma +1)}{\mathrm{\Gamma}(\alpha +\gamma +1)}{x}^{\alpha +\gamma}.
The RiemannLiouville fractional derivative is mostly used by mathematicians, but this approach is not suitable for physical problems of the real world since it requires the definition of fractional order initial conditions which have no physically meaningful explanation yet. Caputo introduced an alternative definition which has the advantage of defining integer order initial conditions for fractional order differential equations.
Definition 2.3 The fractional derivative of f(x) in the Caputo sense is defined as
for m1<v<m, m\in N, x>0, f\in {C}_{1}^{m}.
Lemma 2.4 If m1<\alpha <m, m\in N, and f\in {C}_{\mu}^{m}, \mu \ge 1, then
The Caputo fractional derivative is used here because it allows traditional initial and boundary conditions to be included in the formulation of the problem.
Definition 2.5 For m to be the smallest integer that exceeds α, the Caputo timefractional derivative operator of order \alpha >0 is defined as
3 Homotopy analysis method
We apply the homotopy analysis method to the discussed problem. Let us consider the fractional differential equation,
Based on the constructed zeroorder deformation equation by Liao (2003), we give the following zeroorder deformation equation in the similar way:
L is an auxiliary linear integer order operator and it possesses the property L(C)=0, U is an unknown function.
Expanding U in Taylor series with respect to q, one has
where
Differentiating the equation m times with respect to the embedding parameter q, then setting q=0, and finally dividing them by m!, we have the m thorder deformation equation
where
and
These equations can be easily solved using software such as Maple, Mathlab and so on.
4 Application
We rewrite the equation in an operator form,
which gives, according to Caputo, that
We define, according to the equation, the linear and nonlinear operator,
According to the equation (KleinGordon equation), using the homotopy analysis method,
where
we find
Now, the solution of the m thorder deformation equation for m\ge 1 becomes
Consider the fractional nonlinear partial differential equation:
We now successively obtain
so
For the special case h=1, we obtain from
We have given the solution simulations in Figure 1 and Figure 2 according to different α values.
5 Conclusion
In this study, the homotopy analysis method with new strategies has been employed to obtain an approximate analytical solution of fractional nonlinear KleinGordon equations. It is quite important to notice that a higher number of iteration and higher order of p are needed to gain more accuracy.
This work illustrates the validity and great potential of the homotopy analysis method for nonlinear fractional partial differential equations. The basic ideas of this approach are expected to be further employed to solve other nonlinear problems in fractional calculus.
References
 1.
Golmankhaneh AK, Golmankhaneh AK, Baleanu D: On nonlinear fractional KleinGordon equation. Signal Process. 2011, 91: 446–451. 10.1016/j.sigpro.2010.04.016
 2.
Liao, SJ: The proposed homotopy analysis technique for the solution of nonlinear problems. PhD thesis, Shanghai Jiao Tong University, Shanghai, China (1992)
 3.
Liao SJ: An approximate solution technique not depending on small parameters: a special example. Int. J. NonLinear Mech. 1995, 30(3):371–380. 10.1016/00207462(94)00054E
 4.
Liao SJ: A kind of approximate solution technique which does not depend upon small parameters  II. An application in fluid mechanics. Int. J. NonLinear Mech. 1997, 32(5):815–822. 10.1016/S00207462(96)001011
 5.
Liao SJ CRC Series: Modern Mechanics and Mathematics 2. In Beyond Perturbation: Introduction to the Homotopy Analysis Method. Chapman & Hall/CRC, Boca Raton; 2004.
 6.
Chowdhury MSH, Hashim I: Application of homotopyperturbation method to KleinGordon and sineGordon equations. Chaos Solitons Fractals 2009, 39: 1928. 10.1016/j.chaos.2007.06.091
 7.
Liao SJ: Notes on the homotopy analysis method: some definitions and theorems. Commun. Nonlinear Sci. Numer. Simul. 2009, 14(4):983–997. 10.1016/j.cnsns.2008.04.013
 8.
Wu Y, Cheung KF: Explicit solution to the exact Riemann problem and application in nonlinear shallowwater equations. Int. J. Numer. Methods Fluids 2008, 57(11):1649–1668. 10.1002/fld.1696
 9.
Abdulaziz O, Hashim I, Saif A: Series solutions of timefractional PDEs by homotopy analysis method. Differ. Equ. Nonlinear Mech. 2008., 2008: Article ID 686512. doi:10.1155/2008/686512
 10.
Song L, Zhang H: Application of homotopy analysis method to fractional KdVBurgersKuramoto equation. Phys. Lett. A 2007, 367(1–2):88–94. 10.1016/j.physleta.2007.02.083
 11.
Cang J, Tan Y, Xu H, Liao SJ: Series solutions of nonlinear Riccati differential equations with fractional order. Chaos Solitons Fractals 2009, 40: 1–9. 10.1016/j.chaos.2007.04.018
 12.
Hashim I, Abdulaziz O, Momani S: Homotopy analysis method for fractional IVPs. Commun. Nonlinear Sci. Numer. Simul. 2009, 14(3):674–684. 10.1016/j.cnsns.2007.09.014
 13.
Song L, Zhang H: Solving the fractional BBMBurgers equation using the homotopy analysis method. Chaos Solitons Fractals 2009, 40: 1616–1622. 10.1016/j.chaos.2007.09.042
 14.
Alomari AK, Noorani MSM, Nazar RM: Approximate analytical solutions of the KleinGordon equation by means of the homotopy analysis method. JQMA 2008, 4(1):45–57.
 15.
Bataineh AS, Alomari AK, Noorani MSM, Hashim I, Nazar R: Series solutions of systems of nonlinear fractional differential equations. Acta Appl. Math. 2009, 105(2):189–198. 10.1007/s104400089271x
 16.
Xu H, Cang J: Analysis of a time fractional wavelike equation with the homotopy analysis method. Phys. Lett. A 2008, 372(8):1250–1255. 10.1016/j.physleta.2007.09.039
 17.
Xu H, Liao SJ, You XC: Analysis of nonlinear fractional partial differential equations with the homotopy analysis method. Commun. Nonlinear Sci. Numer. Simul. 2009, 14(4):1152–1156. 10.1016/j.cnsns.2008.04.008
 18.
Ravi Kanth ASV, Aruna K: Differential transform method for solving the linear and nonlinear KleinGordon equation. Comput. Phys. Commun. 2009, 180: 708–711. 10.1016/j.cpc.2008.11.012
 19.
Jafari H, Seifi S: Homotopy analysis method for solving linear and nonlinear fractional diffusionwave equation. Commun. Nonlinear Sci. Numer. Simul. 2009, 14(5):2006–2012. 10.1016/j.cnsns.2008.05.008
 20.
Jafari H, Seifi S: Solving a system of nonlinear fractional partial differential equations using homotopy analysis method. Commun. Nonlinear Sci. Numer. Simul. 2009, 14(5):1962–1969. 10.1016/j.cnsns.2008.06.019
 21.
MittagLeffler G:Sur la nouvelle fonction {E}_{\alpha}(x). Comptes Rendus Hebdomadaires Des Seances Del Academie Des Sciences, Paris 2 1903, 137: 554–558.
 22.
Wiman A: Über den fundamental Satz in der Theorie der Funktionen. Acta Math. 1905, 29: 191–201. 10.1007/BF02403202
 23.
Podlubny I: Fractional Differential Equations. Academic Press, San Diego; 1999.
 24.
Caputo M: Geophys. J. R. Astron. Soc.. 1967, 13: 529–539. 10.1111/j.1365246X.1967.tb02303.x
Acknowledgements
This work was supported by the scientific and technological research council of Turkey (TUBITAK).
Author information
Affiliations
Corresponding author
Additional information
Competing interests
The author declares that he has no competing interests.
Authors’ original submitted files for images
Below are the links to the authors’ original submitted files for images.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 2.0 International License (https://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
About this article
Cite this article
Kurulay, M. Solving the fractional nonlinear KleinGordon equation by means of the homotopy analysis method. Adv Differ Equ 2012, 187 (2012). https://doi.org/10.1186/168718472012187
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/168718472012187
Keywords
 fractional nonlinear KleinGordon equations
 homotopy analysis method
 analytical solutions