Research Article | Open Access

# Applications of General Residual Power Series Method to Differential Equations with Variable Coefficients

**Academic Editor:**Jorge E. Macias-Diaz

#### Abstract

This paper is devoted to studying the analytical series solutions for the differential equations with variable coefficients. By a general residual power series method, we construct the approximate analytical series solutions for differential equations with variable coefficients, including nonhomogeneous parabolic equations, fractional heat equations in 2D, and fractional wave equations in 3D. These applications show that residual power series method is a simple, effective, and powerful method for seeking analytical series solutions of differential equations (especially for fractional differential equations) with variable coefficients.

#### 1. Introduction

In the field of science and engineering, many physical phenomena can be described by differential equations with variable coefficients. For example, some physical problems in inhomogeneous media [1–3]. In the past, many assumptions on integral order differential equations were applied artificially to describe the systems with memory properties and hereditary properties. Some significant information will be lost by such assumptions. Generally, fractional calculus provides an effective tool to describe memory properties and hereditary properties of different materials and processes without extra assumptions. Now the fractional differential equation has attracted a great deal of interest in several areas including chemistry, physics, engineering, and even finance and social sciences [4, 5]. Some recent progress in fractional calculus can be found in [6–8].

The analytical series solutions of differential equations are of fundamental importance in applied science. Various numerical and analytical methods are proposed such as Adomian decomposition method [9, 10], Fractional complex transform method [11], and Laplace transform method [12]. Although lots of methods are put forward, scientists are still looking for more effective ways to solve specific problems, especially for the fractional equations with variable coefficients.

The residual power series method (RPS), proposed by Abu Arqud in [13], is an efficient and easy method for constructing power series solutions of differential equations without linearization, perturbation, or discretization. Different from the classical power series method, RPS does not need to compare the coefficients of the corresponding terms. This method computes the coefficients of the power series by a chain of equations with one or more variables. One advantage is that RPS is not affected by computational round-off errors and also does not require large computer memory and extensive time. In [14], power series solutions of higher-order ordinary differential equations are obtained by RPS. Inspired by this approach, we present a general residual power series method (GRPS) for constructing power series solutions of time-space fractional differential equations with variable coefficients:where , , , and with , ; . Here and mean the Caputo fractional derivative with respect to of order and of order , respectively. Such type of differential equation provides an exact description of some physical phenomena in fluid dynamics, electrodynamics, and elastic mechanics.

RPS has been extended to many partial differential equations (PDE), especially to fractional partial differential equations (FPDE), such as time-fractional dispersive PDE [15, 16], time-fractional KdV-Burgers equations [17], homogeneous time-fractional wave equation [18], and time-space fractional Boussinesq equations [19]. In the present paper, we will apply GRPS to a series of PDE with variable coefficients, including fourth-order parabolic equations, fractional heat equation, and fractional wave equation. For other approximation and numerical techniques for FPDE, we refer to finite difference methods [20, 21], differential transform method [22, 23], wavelet method [24], Adomian’s decomposition method [25], variational iteration method [26, 27], homotopy analysis method [28], homotopy perturbation method [29], tau method [30, 31], and so on.

The paper is organized as follows: some necessary definitions and theorems will be presented in Section 2. In Section 3, we propose the main steps of GRPS for the general time-space fractional equations with variable coefficients. In Section 4, the applications of GRPS to some different equations with variable coefficients are given, including fourth-order parabolic equations, fractional heat equations, and fractional wave equations. Finally, conclusions are presented in Section 5.

#### 2. Concepts on Fractional Calculus Theory

There are several definitions of the fractional integration with order , and they are not necessarily equivalent to each other. The two most common ones are Riemann-Liouville’s definition and Caputo’s definition; see [32, 33].

*Definition 1. *The Mittag-Leffler function is defined as follows:

*Definition 2. *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 3. *Let , . The Riemann-Liouville fractional integral operator of order of is defined as follows:

*Definition 4. *The Caputo time-fractional derivative operator of order of is defined as follows:

*Definition 5. *The Caputo space fractional derivative operator of order is defined as follows:

*Definition 6. *A power series representation of the form is called a fractional power series (FPS) about , where is a variable and are the coefficients of the series.

Theorem 7 (see [34]). *Suppose that has a FPS representation at of the form where is the radius of convergence of the FPS. If for , then the coefficients will take the form of where (-times).*

#### 3. Algorithm of GRPS

In this section, we give a general RPS to obtain fractional power series solutions for any-order time-space fractional differential equations with variable coefficients (1). The analytic function can be expanded as follows:where is the radius of convergence of above series. Substitute the initial conditions in (1); we have which implies So we have the initial guess approximation of in the following form:Define the approximate solution of (1) by the th truncated series:Before applying GRPS to solve (1), we give some notationsSubstituting the th truncated approximate solutions into (1), we obtain the th residual functionwhere Then we have the following facts: (1);(2);(3).

Assume thatSince we haveIn fact, this relation is a fundamental rule in GRPS. So the FPS solution of (1) iswhere

#### 4. Applications of GRPS to PDEs with Variable Coefficients

##### 4.1. Fourth-Order Parabolic Equation with Variable Coefficients in

Let us consider the fourth-order parabolic differential equationwhere is the ratio of flexural rigidity of the beam to its mass per unit length; see [35]. In [35], the initial conditions and the boundary conditions of (23) areandrespectively. According to (10), can be written in the following form: The initial approximation is Now by (15), denote By (16) and (18), we assume thatLetting in (29), it showswhich impliesSo the 2nd truncated approximate solution of (23) isSimilarly, can be constructed as follows: So the th truncated approximate solution of (23) is Finally, if we defineit is easy to verify that in (35) is the exact solution of (23) with boundary value condition (25).

Numerical comparisons are studied next. Figure 1 shows the exact solution of (23) with . In Figure 2, , , , and represent the 9th-, 10th-, 11th-, and 12th-order truncated approximate solution of with . It shows that these GRPS approximate solutions are convergent to the exact solution .

##### 4.2. Nonhomogeneous Parabolic Equation with Source Term in

Let us consider the nonhomogeneous parabolic equation (see [35]):with the initial conditionsand the boundary conditions Assume that is an analytical function with . The initial approximation isDenote where Let in (40); it yieldsUsing the fact thatwe haveThus the 2nd truncated series have the following form:Similarly, taking in (40) we obtainThen 6th truncated approximate solution of (36) is By (21), we can obtain the solution of (36): which is consistent with the solution obtained by Adomian decomposition method [35].

Some numerical comparisons are given next. Figure 3 shows the exact solution of (36) with . In Figure 4, , , , and represent the 19th-, 20th-, 21st-, and 22nd-order GRPS solution of with . It shows that these approximate solutions are convergent to the exact solution .

##### 4.3. Fractional Heat Equation with Variable Coefficients in

Consider the two-dimensional heat equation with variable coefficientswith the initial conditionsAssume that is an analytical function on and the initial approximation solution has the following form: Then the th truncated series and th residual function will be and respectively. By (18), we haveWhen in (54), we obtain Thus, the 1st truncated approximate solution of (49)-(50) is Let k=2 in (54); it yields that Therefore, the 2nd truncated approximate solution of (49)-(50) is In the similar way, taking in (54), we can obtain thatand Thus 6th truncated approximate solution of (49)-(50) can be obtained Following the same step, we have the exact analytical solutions of (49)-(50): Particularly, if , we obtain the following form: which is the solution of the integer order heat equation with variable coefficients.

Some numerical simulation are presented next. In Figures 5 and 6, , , , and represent the 9th-, 10th-, 11th-, and 12th-order GRPS solution of (49) at time with and , respectively. In Figures 7 and 8, , , , and represent the 9th-, 10th-, 11th-, and 12th-order GRPS solution of (49) at time with and , respectively. It shows that the speed of convergence of truncated approximate solution of (49) with is better than the one with .

##### 4.4. Fractional Wave Equation in

Consider the three-dimensional wave equation with variable coefficientswith the initial conditionsFirst, we construct the initial approximation solution: Secondly, construct the th truncated series and th residual function of (64)-(65) as follows: By (18), we haveTaking in (68), it yields Then the 2nd truncated approximate solution will be In a similar way, taking in (68), we have Then the 6th-order truncated approximate solution of (64)-(65) can be obtained as follows: Finally, the exact analytical solution of (64)-(65) can be obtained:

#### 5. Conclusions

This paper concerns the analytical series solutions of the differential equations with variable coefficients (integer order or fractional order). By a general residual power residual series method, we construct the analytical approximate solutions and the analytical exact solutions of the differential equations with variable coefficients, for example, nonhomogeneous parabolic equations, fractional heat equations in 2D, and fractional wave equations in 3D. It shows that GRPS is a direct, simple, and efficient method which could be widely applied to many other PDEs with variable coefficients.

#### Data Availability

The Matlab data used to support the findings of this study are included within the supplementary information file.

#### Conflicts of Interest

The authors declare that they have no conflicts of interest regarding the publication of this paper.

#### Acknowledgments

This work is supported in part by NSFC Grant 11401089, 11671071] and Jilin Province’s Education Department [JJKH20170535KJ, JJKH20180006KJ], JLSTDP 20160520094JH, and FRFCU2412017FZ005.

#### Supplementary Materials

The Matlab codes of examples 1, 2, and 3 are presented in Supplementary Material. The Matlab code of GRPS method is presented in section “Supplementary Material”, which can help readers follow our simulation.* (Supplementary Materials)*

#### References

- V. Barbu and N. H. Pavel, “Periodic solutions to nonlinear one dimensional wave equation with
*x*-dependent coefficients,”*Transactions of the American Mathematical Society*, vol. 349, no. 5, pp. 2035–2048, 1997. View at: Publisher Site | Google Scholar - P. Gérard, “Nonlinear Schrödinger equations in inhomogeneous media: wellposedness and illposedness of the Cauchy problem,” in
*International CONgress of Mathematicians*, pp. 157–182, 2006. View at: Google Scholar | MathSciNet - S. Ji and Y. Li, “Periodic solutions to one-dimensional wave equation with -dependent coefficients,”
*Journal of Differential Equations*, vol. 229, no. 2, pp. 466–493, 2006. View at: Publisher Site | Google Scholar | MathSciNet - K. Diethelm,
*The Analysis of Fractional Differential Equations. An Application-Oriented Exposition Using Differential Operators of Caputo Type*, vol. 2004 of*Lecture Notes in Mathematics*, Springer, Berlin, Germany, 2010. View at: Publisher Site | MathSciNet - J. T. Machado, V. Kiryakova, and F. Mainardi, “Recent history of fractional calculus,”
*Communications in Nonlinear Science and Numerical Simulation*, vol. 16, no. 3, pp. 1140–1153, 2011. View at: Publisher Site | Google Scholar | MathSciNet - D. Baleanu, G.-C. Wu, and S.-D. Zeng, “Chaos analysis and asymptotic stability of generalized Caputo fractional differential equations,”
*Chaos, Solitons & Fractals*, vol. 102, pp. 99–105, 2017. View at: Publisher Site | Google Scholar | MathSciNet - V. E. Tarasov,
*Fractional Dynamics: Application of Fractional Calculus to Dynamics of Particles, Fields and Media*, Springer, 2010. View at: Publisher Site | MathSciNet - V. V. Uchaikin, “Fractional derivatives for physicists and engineers. Volume I,” in
*Nonlinear Physical Science*, Higher Education Press, Berlin, Germany, 2013. View at: Publisher Site | Google Scholar - G. Adomian, “A review of the decomposition method in applied mathematics,”
*Journal of Mathematical Analysis and Applications*, vol. 135, no. 2, pp. 501–544, 1988. View at: Publisher Site | Google Scholar | MathSciNet - G. Adomian,
*Solving Frontier Problems of Physics: The Decomposition Method*, Kluwer Academic, Dordrecht, The Netherlands, 1994. View at: Publisher Site | MathSciNet - J. He, S. K. Elagan, and Z. B. Li, “Geometrical explanation of the fractional complex transform and derivative chain rule for fractional calculus,”
*Physics Letters A*, vol. 376, no. 4, pp. 257–259, 2012. View at: Publisher Site | Google Scholar | MathSciNet - S. A. Khuri, “A new approach to Bratu's problem,”
*Applied Mathematics and Computation*, vol. 147, no. 1, pp. 131–136, 2004. View at: Publisher Site | Google Scholar | MathSciNet - O. Abu Arqub, “Series solution of fuzzy differential equations under strongly generalized differentiability,”
*Journal of Advanced Research in Applied Mathematics*, vol. 5, no. 1, pp. 31–52, 2013. View at: Publisher Site | Google Scholar - O. Abu Arqub, Z. Abo-Hammour, R. Al-Badarneh, and S. Momani, “A reliable analytical method for solving higher-order initial value problems,”
*Discrete Dynamics in Nature and Society*, vol. 2013, Article ID 673829, 12 pages, 2013. View at: Publisher Site | Google Scholar | MathSciNet - O. Abu Arqub, “Application of residual power series method for the solution of time-fractional Schrödinger equations in one-dimensional space,”
*Fundamenta Informaticae*, 2018. View at: Google Scholar - O. A. Arqub, A. El-Ajou, and S. Momani, “Constructing and predicting solitary pattern solutions for nonlinear time-fractional dispersive partial differential equations,”
*Journal of Computational Physics*, vol. 293, pp. 385–399, 2015. View at: Publisher Site | Google Scholar | MathSciNet - A. El-Ajou, O. Abu Arqub, and S. Momani, “Approximate analytical solution of the nonlinear fractional KdV-Burgers equation: a new iterative algorithm,”
*Journal of Computational Physics*, vol. 293, pp. 81–95, 2015. View at: Publisher Site | Google Scholar | MathSciNet - A. El-Ajou, O. Abu Arqub, S. Momani, D. Baleanu, and A. Alsaedi, “A novel expansion iterative method for solving linear partial differential equations of fractional order,”
*Applied Mathematics and Computation*, vol. 257, pp. 119–133, 2015. View at: Publisher Site | Google Scholar | MathSciNet - F. Xu, Y. Gao, X. Yang, and H. Zhang, “Construction of fractional power series solutions to fractional boussinesq equations using residual power series method,”
*Mathematical Problems in Engineering*, vol. 2016, 15 pages, 2016. View at: Publisher Site | Google Scholar | MathSciNet - L. Su, W. Wang, and Q. Xu, “Finite difference methods for fractional dispersion equations,”
*Applied Mathematics and Computation*, vol. 216, no. 11, pp. 3329–3334, 2010. View at: Publisher Site | Google Scholar | MathSciNet - C. Tadjeran, M. M. Meerschaert, and H. Scheffler, “A second-order accurate numerical approximation for the fractional diffusion equation,”
*Journal of Computational Physics*, vol. 213, no. 1, pp. 205–213, 2006. View at: Publisher Site | Google Scholar | 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 Site | Google Scholar | MathSciNet - S. Z. Rida, A. M. El-Sayed, and A. A. Arafa, “On the solutions of time-fractional reaction-diffusion equations,”
*Communications in Nonlinear Science and Numerical Simulation*, vol. 15, no. 12, pp. 3847–3854, 2010. View at: Publisher Site | Google Scholar | MathSciNet - Y. Chen, Y. Wu, Y. Cui, Z. Wang, and D. Jin, “Wavelet method for a class of fractional convection-diffusion equation with variable coefficients,”
*Journal of Computational Science*, vol. 1, no. 3, pp. 146–149, 2010. View at: Publisher Site | Google Scholar - S. S. Ray, “Analytical solution for the space fractional diffusion equation by two-step Adomian decomposition method,”
*Communications in Nonlinear Science and Numerical Simulation*, vol. 14, no. 4, pp. 1295–1306, 2009. View at: Publisher Site | Google Scholar | MathSciNet - M. Dehghan, S. A. Yousefi, and A. Lotfi, “The use of He's variational iteration method for solving the telegraph and fractional telegraph equations,”
*International Journal for Numerical Methods in Biomedical Engineering*, vol. 27, no. 2, pp. 219–231, 2011. View at: Publisher Site | Google Scholar | MathSciNet - 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. View at: Publisher Site | Google Scholar | MathSciNet - 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. View at: Publisher Site | Google Scholar | MathSciNet - S. Momani and Z. Odibat, “Comparison between the homotopy perturbation method and the variational iteration method for linear fractional partial differential equations,”
*Computers & Mathematics with Applications*, vol. 54, no. 7-8, pp. 910–919, 2007. View at: Publisher Site | Google Scholar - S. K. Vanani and A. Aminataei, “Tau approximate solution of fractional partial differential equations,”
*Computers & Mathematics with Applications*, vol. 62, no. 3, pp. 1075–1083, 2011. View at: Publisher Site | Google Scholar - A. Saadatmandi and M. Dehghan, “A tau approach for solution of the space fractional diffusion equation,”
*Computers & Mathematics with Applications*, vol. 62, no. 3, pp. 1135–1142, 2011. View at: Publisher Site | Google Scholar | MathSciNet - A. A. Kilbas, H. M. Srivastava, and J. J. Trujillo,
*Theory and Applications of Fractional Differential Equations*, New York, NY, USA, Elsevier, 2006. View at: MathSciNet - K. S. Miller and B. Ross,
*An Introduction to the Fractional Calculus and Fractional Differential Equations*, A Wiley-Interscience Publication, John Wiley & Sons, New York, NY, USA, 1993. View at: MathSciNet - O. A. Arqub, A. El-Ajou, Z. A. Zhour, and S. Momani, “Multiple solutions of nonlinear boundary value problems of fractional order: a new analytic iterative technique,”
*Entropy*, vol. 16, no. 1, pp. 471–493, 2014. View at: Publisher Site | Google Scholar - A.-M. Wazwaz, “Analytic treatment for variable coefficient fourth-order parabolic partial differential equations,”
*Applied Mathematics and Computation*, vol. 123, no. 2, pp. 219–227, 2001. View at: Publisher Site | Google Scholar | MathSciNet

#### Copyright

Copyright © 2018 Bochao Chen 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.