Journal of Applied Mathematics

Volume 2014 (2014), Article ID 192519, 12 pages

http://dx.doi.org/10.1155/2014/192519

## Approximate Solution of Fractional Nonlinear Partial Differential Equations by the Legendre Multiwavelet Galerkin Method

^{1}Faculty of Science, Suez Canal University Ismailia, Ismailia, Egypt^{2}The High Institute of Administration and Computer, Port Said University, Port Said, Egypt

Received 25 May 2013; Revised 3 January 2014; Accepted 4 January 2014; Published 3 March 2014

Academic Editor: Magdy A. Ezzat

Copyright © 2014 M. A. Mohamed and M. Sh. Torky. 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 Legendre multiwavelet Galerkin method is adopted to give the approximate solution for the nonlinear fractional partial differential equations (NFPDEs). The Legendre multiwavelet properties are presented. The main characteristic of this approach is using these properties together with the Galerkin method to reduce the NFPDEs to the solution of nonlinear system of algebraic equations. We presented the numerical results and a comparison with the exact solution in the cases when we have an exact solution to demonstrate the applicability and efficiency of the method. The fractional derivative is described in the Caputo sense.

#### 1. Introduction

Nowadays, fractional differential equations have garnered a great deal of attention and appreciation recently due to its ability to provide an accurate description of different nonlinear phenomena. The process of development of models based on fractional order differential systems has lately gained popularity in the investigation of dynamical systems. The advantage of fractional order systems is that they allow greater degrees of freedom in the model. The field of chaos has also snatched the attention of the researchers and this contributes to a large amount of the current research these days.

In recent decades, fractional calculus has found diverse applications in different scientific and technological fields [1–5], such as thermal engineering, acoustics, electromagnetism, control, robotics, viscoelasticity, diffusion, edge detection, turbulence, signal processing, information sciences, communications, and many other physical processes and also in medical sciences. Fractional differential equations (FDEs) have also been applied in modeling many physical and engineering problems and fractional differential equations in nonlinear dynamic [6, 7]. The importance of getting approximate and exact solutions of nonlinear fractional differential equations in mathematics and physics remains an important problem that requires to discover new methods of approximate and exact solutions. However, finding exact solutions to these nonlinear fractional differential equations are difficult to obtain it [8]. Therefore, the numerical methods used to deal with these equations [9] and they have largely been using some semianalytical techniques to solve these equations such as, differential transform method [10–17], Adomian decomposition method [18–21], Laplace decomposition method [22–24], homotopy perturbation method [25–29], and variational iteration method [30–32]. The majority of these methods have shortcomings inbuilt such as calculating Adomian’s polynomials, the Lagrange multiplier, mixed results, and the large computational work.

The aim of this paper is to expand the application of Legendre multiwavelet Galerkin method to provide approximate solutions for initial value problems of fractional nonlinear partial differential equations and to make comparison with that obtained by other numerical methods.

#### 2. Preliminaries and Notations

In this section, we give the definition of the Riemann-Liouville fractional derivative and fractional integral with some basic properties.

*Definition 1. *The left sided Riemann-Liouville fractional integral of order , [33–35] of a function ,, is defined as

*Definition 2. *The (left sided) Caputo fractional derivative of , ,, is defined as [33]
Note that [33–35] (i)(ii)(iii)

#### 3. Properties of Legendre Multiwavelets

##### 3.1. Wavelets [35, 36]

Wavelets constitute a family of functions constructed from dilation and translation of a single function called the mother wavelet. When the dilation parameterand the translation parametervary continuously we have the following family of continuous wavelets: If we restrict the parameters and to discrete values as ,,,, and we have the following family of discrete wavelets: where form a wavelet basis for . In particular, when and then forms an orthonormal basis [35].

##### 3.2. Legendre Multiwavelets [36]

Legendre multiwavelets have four arguments; ,, can assume any positive integer; is the order for Legendre polynomials and is the normalized time. They are defined on the interval where ,. The coefficient is for orthonormality; are the well-known shifted Legendre polynomials of orderwhich are defined on the interval and can be determined with the aid of the following recurrence formula: Also the two-dimensional Legendre multiwavelet is defined as where , and are defined similarly to , and can assume any positive integer, and are the order for the Legendre polynomials, and forms a basis for .

##### 3.3. Function Approximation

A function) defined over can expand as If the infinite series in (11) is truncated, it can be written as whereand are and matrices, respectively, given by In addition, is a matrix whose elements can be calculated from with ,,,.

#### 4. Solution of Nonlinear Fractional Partial Differential Equations

Consider the nonlinear fractional partial differential equation with initial condition .

Let

A Galerkin approximation to (16) is constructed as follows. The approximation is sought in the form of the truncated series where are the Legendre multiwavelet basis.

The expansion coefficients are determined by Galerkin equations: where denotes inner product defined as Galerkin equations (18) give a system of equations that can be solved for the elements of

#### 5. Illustrative Example

To demonstrate the effectiveness of the method, here we consider some linear fractional partial differential equations. The Legendre wavelets are defined only for ; we take , . The computations associated with the examples were performed using Mathematica and Maple.

*Example 1. *Consider the nonlinear time-fractional diffusion equation in absence of both external force and reaction term [37]
with initial condition .

We applied the method presented in this paper for and ; from (17) we have
Substituting (22) into (21) and using (18) and (19) we obtained the solution of (21) for different values of . Table 1 shows the approximate solutions for (21) obtained for different values of using the Legendre multiwavelet method and the Homotopy perturbation method [37]. The values of are the only case for which we know the exact solution and our approximate solution using Legendre multiwavelet method coincides with the approximate solution obtained using the Homotopy perturbation method [37]. It is noted that only two bases of Legendre multiwavelet and fourth-order term of Homotopy perturbation method were used in evaluating the approximate solution of Table 1. Figure 1 shows a plot of with respect to and for different values of . Figure 2 shows a plot of for various values of and different values of , .

*Example 2. *Consider the fractional nonlinear Klein-Gordon equation [38]
with initial condition .

We applied the method presented in this paper for and ; from (17) we have
Substituting (24) into (23) and using (17) we obtained the solution of (23) for different values of . Table 2 shows the approximate solutions for (23) obtained for different values ofusing the Legendre multiwavelet method. We have given the solution simulations in Figure 3 according to different values of . Figure 4 shows a plot of for various values of and different values of ,.

*Example 3. *Consider the following nonlinear time-fractional equation [28, 39, 40]:
with initial condition.

We applied the method presented in this paper for and ; from (17) we have
Substituting (26) into (25) and using (17) we obtained the solution of (25) for different values of . We have given the solution simulations in Figure 5 according to different values of . Figure 6 shows a plot of for various values ofand different values of. Tables 3, 4, and 5 show the approximate solutions for (25) obtained using the Legendre multiwavelet method, the decomposition method [39], the variational iteration method [39], Homotopy perturbation method [28], and generalized differential transform method (GDTM) [40] for different values of . The values of are the only case for which we know the exact solution and Table 4 provides that our approximate solution using Legendre multiwavelet is more accurate than the approximate solution obtained using the decomposition method, Homotopy perturbation method, and the variational iteration method. In addition to that, our approximate solution using Legendre multiwavelet as the approximate solution was obtained using GDTM and exact solution.

*Example 4. *Consider the following time fractional advection nonhomogeneous equation [41, 42]:
with initial condition

We applied the method presented in this paper for and ; from (17) we have

Substituting (28) into (27) and using (17) we obtained the solution of (27) for different values of . Table 6 shows the approximate solutions for (27) obtained for different values of using the Legendre multiwavelet method and the Homotopy perturbation method [41]. The values of are the only case for which we know the exact solution and our approximate solution using Legendre multiwavelet method coincides with the approximate solution obtained using the Homotopy perturbation method [41, 42] and the approximate solution obtained using Adomian decomposition method and variational iteration method [43]. We have given the solution simulations in Figure 7 according to different values of . Figure 8 shows a plot of for various values of and .

#### 6. Conclusion

In this study, it is shown how Legendre multiwavelet can be applied to provide approximate solutions for initial value problems of fractional nonlinear partial differential equations. The Legendre multiwavelet properties are presented. The main characteristic of this approach is using these properties together with the Galerkin method to reduce the NFPDEs to the solution of nonlinear system of algebraic equations. In addition, we compered our results with that obtained by other numerical methods. The results show that the Legendre multiwavelet is a powerful mathematical tool for fractional nonlinear partial differential equations. We used Mathematica and Maple programs for computations in this paper.

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### References

- K. B. Oldham and J. Spanier,
*The Fractional Calculus*, Academic Press, New York, NY, USA, 1974. View at MathSciNet - F. Mainardi, “Fractional calculus: some basic problems in continuum and statistical mechanics,” in
*Fractals and Fractional Calculus in Continuum Mechanics*, vol. 378, pp. 291–348, Springer, New York, NY, USA, 1997. View at Google Scholar · View at MathSciNet - I. Podlubny,
*Fractional Differential Equations*, vol. 198, Academic Press, San Diego, Calif, USA, 1999. View at MathSciNet - R. Hilfer,
*Applications of Fractional Calculus in Physics*, Academic Press, Orlando, Fla, USA, 1999. - M. Dalir and M. Bashour, “Applications of fractional calculus,”
*Applied Mathematical Sciences*, vol. 4, no. 21–24, pp. 1021–1032, 2010. View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - H. Jafari and V. Daftardar-Gejji, “Solving a system of nonlinear fractional differential equations using Adomian decomposition,”
*Journal of Computational and Applied Mathematics*, vol. 196, no. 2, pp. 644–651, 2006. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - J. Lu and G. Chen, “A note on the fractional-order Chen system,”
*Chaos, Solitons and Fractals*, vol. 27, no. 3, pp. 685–688, 2006. View at Google Scholar - Y. Q. Liu and J. H. Ma, “Exact solutions of a generalized multi-fractional nonlinear diffusion equation in radical symmetry,”
*Communications in Theoretical Physics*, vol. 52, no. 5, pp. 857–861, 2009. View at Google Scholar - Z. A. Anastassi and T. E. Simos, “Numerical multistep methods for the efficient solution of quantum mechanics and related problems,”
*Physics Reports*, vol. 482-483, pp. 1–240, 2009. View at Publisher · View at Google Scholar · View at MathSciNet - V. S. Ertürk and S. Momani, “Solving systems of fractional differential equations using differential transform method,”
*Journal of Computational and Applied Mathematics*, vol. 215, no. 1, pp. 142–151, 2008. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - V. S. Erturk, S. Momani, and Z. Odibat, “Application of generalized differential transform method to multi-order fractional differential equations,”
*Communications in Nonlinear Science and Numerical Simulation*, vol. 13, no. 8, pp. 1642–1654, 2008. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - Z. Odibat and S. Momani, “A generalized differential transform method for linear partial differential equations of fractional order,”
*Applied Mathematics Letters*, vol. 21, no. 2, pp. 194–199, 2008. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - Z. Odibat, S. Momani, and V. S. Erturk, “Generalized differential transform method: application to differential equations of fractional order,”
*Applied Mathematics and Computation*, vol. 197, no. 2, pp. 467–477, 2008. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - M. Kurulay and M. Bayram, “Approximate analytical solution for the fractional modified KdV by differential transform method,”
*Communications in Nonlinear Science and Numerical Simulation*, vol. 15, no. 7, pp. 1777–1782, 2010. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - A. K. Alomari, “A new analytic solution for fractional chaotic dynamical systems using the differential transform method,”
*Computers & Mathematics with Applications*, vol. 61, no. 9, pp. 2528–2534, 2011. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - J. Liu and G. Hou, “Numerical solutions of the space- and time-fractional coupled Burgers equations by generalized differential transform method,”
*Applied Mathematics and Computation*, vol. 217, no. 16, pp. 7001–7008, 2011. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - A. Çetinkaya and O. Kiymaz, “The solution of the time-fractional diffusion equation by the generalized differential transform method,”
*Mathematical and Computer Modelling*, vol. 57, pp. 2349–2354, 2013. View at Google Scholar - A. M. A. El-Sayed and M. Gaber, “The Adomian decomposition method for solving partial differential equations of fractal order in finite domains,”
*Physics Letters A*, vol. 359, no. 3, pp. 175–182, 2006. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - 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. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - Q. Wang, “Numerical solutions for fractional KdV-Burgers equation by Adomian decomposition method,”
*Applied Mathematics and Computation*, vol. 182, no. 2, pp. 1048–1055, 2006. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - M. Safari, D. D. Ganji, and M. Moslemi, “Application of He's variational iteration method and Adomian's decomposition method to the fractional KdV-Burgers-Kuramoto equation,”
*Computers & Mathematics with Applications*, vol. 58, no. 11-12, pp. 2091–2097, 2009. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - E. Yusufoğlu, “Numerical solution of Duffing equation by the Laplace decomposition algorithm,”
*Applied Mathematics and Computation*, vol. 177, no. 2, pp. 572–580, 2006. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - Y. Khan, “An effective modification of the Laplace decomposition method for nonlinear equations,”
*International Journal of Nonlinear Sciences and Numerical Simulation*, vol. 10, pp. 1373–1376, 2009. View at Google Scholar - H. Jafari, C. M. Khalique, and M. Nazari, “Application of the Laplace decomposition method for solving linear and nonlinear fractional diffusion-wave equations,”
*Applied Mathematics Letters*, vol. 24, no. 11, pp. 1799–1805, 2011. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - K. A. Gepreel, T. A. Nofal, and F. M. Alotaibi, “Numerical solutions for the time and space fractional nonlinear partial differential equations,”
*Journal of Applied Mathematics*, vol. 2013, Article ID 482419, 12 pages, 2013. View at Publisher · View at Google Scholar - P. K. Gupta and M. Singh, “Homotopy perturbation method for fractional Fornberg-Whitham equation,”
*Computers & Mathematics with Applications*, vol. 61, no. 2, pp. 250–254, 2011. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - Q. Wang, “Homotopy perturbation method for fractional KdV equation,”
*Applied Mathematics and Computation*, vol. 190, no. 2, pp. 1795–1802, 2007. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - S. Momani and Z. Odibat, “Homotopy perturbation method for nonlinear partial differential equations of fractional order,”
*Physics Letters A*, vol. 365, no. 5-6, pp. 345–350, 2007. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - 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, pp. 1711–1716, 2009. View at Google Scholar - Y. M. R, M. S. M. Noorani, and I. Hashim, “Variational iteration method for fractional heat- and wave-like equations,”
*Nonlinear Analysis: Real World Applications*, vol. 10, no. 3, pp. 1854–1869, 2009. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - 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. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - S. Guo, L. Mei, and Y. Li, “Fractional variational homotopy perturbation iteration method and its application to a fractional diffusion equation,”
*Applied Mathematics and Computation*, vol. 219, no. 11, pp. 5909–5917, 2013. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - Y. Luchko and R. Gorenflo, “An operational method for solving fractional differential equations with the Caputo derivatives,”
*Acta Mathematica Vietnamica*, vol. 24, no. 2, pp. 207–233, 1999. View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - S. Y. Lukashchuk, “An approximate solution method for ordinary fractional differential equations with the Riemann-Liouville fractional derivatives,”
*Communications in Nonlinear Science and Numerical Simulation*, vol. 19, no. 2, pp. 390–400, 2014. View at Publisher · View at Google Scholar · View at MathSciNet - J. S. Gu and W. S. Jiang, “The Haar wavelets operational matrix of integration,”
*International Journal of Systems Science*, vol. 27, pp. 623–628, 1996. View at Google Scholar - S. A. Yousefi, “Legendre multiwavelet Galerkin method for solving the hyperbolic telegraph equation,”
*Numerical Methods for Partial Differential Equations*, vol. 26, no. 3, pp. 535–543, 2010. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - S. Das, K. Vishal, and P. K. Gupta, “Solution of the nonlinear fractional diffusion equation with absorbent term and external force,”
*Applied Mathematical Modelling*, vol. 35, no. 8, pp. 3970–3979, 2011. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - M. Kurulay, “Solving the fractional nonlinear Klein-Gordon equation by means of the homotopy analysis method,”
*Advances in Difference Equations*, vol. 2012, article 187, 8 pages, 2012. View at Publisher · View at Google Scholar · View at MathSciNet - Z. Odibat and S. Momani, “Numerical methods for nonlinear partial differential equations of fractional order,”
*Applied Mathematical Modelling*, vol. 32, pp. 28–39, 2008. View at Google Scholar - S. Momani and Z. Odibat, “A novel method for nonlinear fractional partial differential equations: combination of DTM and generalized Taylor's formula,”
*Journal of Computational and Applied Mathematics*, vol. 220, no. 1-2, pp. 85–95, 2008. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - Y. Liu, “Approximate solutions of fractional nonlinear equations using homotopy perturbation transformation method,”
*Abstract and Applied Analysis*, vol. 2012, Article ID 752869, 14 pages, 2012. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - Y. Khan and Q. Wu, “Homotopy perturbation transform method for nonlinear equations using He's polynomials,”
*Computers & Mathematics with Applications*, vol. 61, no. 8, pp. 1963–1967, 2011. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - A.-M. Wazwaz, “A comparison between the variational iteration method and Adomian decomposition method,”
*Journal of Computational and Applied Mathematics*, vol. 207, no. 1, pp. 129–136, 2007. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet