# Modified Taylor series method for solving nonlinear differential equations with mixed boundary conditions defined on finite intervals

- Hector Vazquez-Leal
^{1}Email author, - Brahim Benhammouda
^{2}, - Uriel Antonio Filobello-Nino
^{1}, - Arturo Sarmiento-Reyes
^{3}, - Victor Manuel Jimenez-Fernandez
^{1}, - Antonio Marin-Hernandez
^{4}, - Agustin Leobardo Herrera-May
^{5}, - Alejandro Diaz-Sanchez
^{3}and - Jesus Huerta-Chua
^{6}

**3**:160

https://doi.org/10.1186/2193-1801-3-160

© Vazquez-Leal et al.; licensee Springer. 2014

**Received: **19 December 2013

**Accepted: **19 March 2014

**Published: **25 March 2014

## Abstract

In this article, we propose the application of a modified Taylor series method (MTSM) for the approximation of nonlinear problems described on finite intervals. The issue of Taylor series method with mixed boundary conditions is circumvented using shooting constants and extra derivatives of the problem. In order to show the benefits of this proposal, three different kinds of problems are solved: three-point boundary valued problem (BVP) of third-order with a hyperbolic sine nonlinearity, two-point BVP for a second-order nonlinear differential equation with an exponential nonlinearity, and a two-point BVP for a third-order nonlinear differential equation with a radical nonlinearity. The result shows that the MTSM method is capable to generate easily computable and highly accurate approximations for nonlinear equations.

### AMS Subject Classification

34L30

### Keywords

Taylor series method Boundary valued problems Shooting technique Dirichlet conditions Mixed boundary conditions## Introduction

- 1.
The conversion of MBC to DC. This process implies the choosing of an expansion point (usually at zero) and the conversion of the MBC that are not at the expansion point to SC constants to be determined later by MTSM. The number of these constants is the same as the number of boundary conditions that are not at the expansion point.

- 2.
Increasing the order of the original differential equation by the application of extra derivatives; as a strategy to add integration constants to solution that work as shooting constants or adjustment parameters. The number of this SC constants depends of the level of accuracy that we require from the approximate MTSM solution. For all the cases study of this work only one extra derivative is required to obtain a good fitting with respect to the exact solution, although it depends of the particular problem under study.

The aforementioned combined shooting technique of MTSM aids to circumvent the issue of TSM method with MBC. In order to show the benefits of this proposal, three nonlinear problems described with MBC on finite intervals are solved: three-point BVP for a third-order nonlinear differential equation with a hyperbolic sine nonlinearity (Duan and Rach 2011), two-point BVP for a second-order nonlinear differential equation with an exponential nonlinearity (Duan and Rach 2011; Scott and Vandevender 1975) and a two-point BVP for the third-order nonlinear differential equation with a radical nonlinearity (Duan and Rach 2011).

This paper is organized as follows. In Section ‘MTSM method’, we introduce the basic idea of MTSM method. In Section ‘Cases study’, we show the solution procedure for three nonlinear problems. Numerical simulations and a discussion about the results are provided in Section ‘Numerical simulation and discussion’. Finally, a brief conclusion is given in Section ‘Conclusion’.

## MTSM method

where *n* is the order of the differential equation, *N* is a general operator; *f*(*x*) is a known analytic function, *B* is a boundary operator, *Γ* is the boundary of domain *Ω*, and *∂* *u*/*∂* *η* denotes differentiation along the normal drawn outwards from *Ω*.

where *k* is a constant related to the number of the desired SC constants.

where *x*_{0} is the expansion point and derivatives *u*^{(i)}(*x*_{0}) (*i*=0,1,…) are expressed in terms of the parameters and boundary conditions of (3).

As we require to solve MBC problems, the boundary conditions not located at the chosen expansion point *x*_{0} will be replaced by shooting constants giving as result traditional DC conditions. Next, in order to obtain the coefficients of (4) (*u*^{(i)}(*x*_{0}), *i*=0,1,…), MTSM requires (I) calculate the successive derivatives of (3) and (II) evaluate each derivative using the Dirichlet conditions. Finally, in order to fulfil the boundary conditions originally replaced by the SC constants is necessary to evaluate (4) in such points; then, the resulting system of equations is solved to obtain the value of the SC constants. It is important to remark that the order of the Taylor expansion (4) is chosen in order to include all the shooting constants in the polynomial; as long as we satisfy such condition the order of the Taylor expansion can be increased to improve accuracy.

*k*-derivatives (see (3)) are applied to minimize the mean square residual (MSR) error defined as

where *u*_{
T
} is the approximated TSM solution (4), and [*x*_{
i
},*x*_{
f
}] is the finite interval delimited by the MBC.

## Cases study

In the present section, we will solve three cases study to show the utility of the MTSM method to solve nonlinear problems. For all cases study the expansion point of TSM is at *x*_{0}=0 and the derivatives were performed using Maple 17 software.

### Third-order nonlinear equation

where prime denotes derivative with respect to *x* and the exact solution is unknown.

where the boundary conditions of (6) are replaced by its Dirichlet conditions accordingly to the increased order.

*u*

^{(i v)}and perform successive derivatives, resulting

*u*(0.25)=1 and

*u*(1)=0 into (10) and solve for the shooting constants (

*c*

_{1}and

*c*

_{2}), it results

*c*

_{3}is used as adjustment parameter to minimize the mean square residual (MSR) error by resolving

where *c*_{1} and *c*_{2} were previously substituted by (11). It is important to notice that in order to obtain a symbolic expression for *c*_{3} the hyperbolic sine was replaced by its fifth-order Taylor series.

*c*

_{3}=1.1353380202 giving a minimum MSR error of

### Second-order nonlinear differential equation

*x*and exact solution is

where the boundary conditions of (14) are replaced by its Dirichlet conditions accordingly to the increased differential equation order.

*u*(1)=0 into (17) and solve for the shooting constant

*c*

_{2}, it results

where the negative square root term was discarded because it did not minimize the mean square residual error.

*c*

_{1}= -0.4582864419 minimize the MSR error, resulting

where *u*_{
T
} corresponds to (17).

### Third-order nonlinear differential equation with a radical nonlinearity

*x*and exact solution is

where the boundary conditions of (20) are replaced by its Dirichlet conditions accordingly to the increased order.

*u*(

*π*/2)=1 into (23) and solve for the shooting constant

*c*

_{2}, it results

*c*

_{1}= 0.001065300514 minimizes the MSR error, resulting

where *u*_{
T
} corresponds to (23).

## Numerical simulation and discussion

The usefulness of coupling of a shooting method (Stoer and Bulirsch 2002) along with extra derivatives and the TSM method was exhibited by the solution of different highly nonlinear boundary value problems expressed in terms of nonlinearities such as: high order derivatives combined with hyperbolic sine, exponential and radical terms, among others. What is more, the shooting constants were used to fulfil the boundary conditions originally discarded by the artificial Dirichlet conditions. Finally, an extra derivative induced an extra shooting constant to minimize the MSR error giving as result high accurate (see (13), (19) and (25)) handy power series solutions. Finally, if users require more accurate approximated solutions, they should augment the number of SC constants (increasing *k*) to improve the potential of minimizing the MSR error (5).

In this work, we presented a modified Taylor series method to deal with nonlinear problems exhibiting mixed boundary conditions defined on finite intervals. The aforementioned procedure and results show that MTSM can obtain power series solutions using only derivatives without requiring to solve a system of differential equations or the proposal of trial functions as HPM (He 1999; 2009) or HAM (He 2004; Tan and Abbasbandy 2008) methods, or an iterative solution procedure of integrals as VIM (Chang 2010) method. In addition, MTSM is not based on the existence of a perturbation parameter (Filobello-Nino et al. 2013). Therefore, further work will address more potential applications of the proposed method to other type of problems or inclusive other type of boundary conditions as: Robin or Neumann.

## Conclusion

This work introduced the application of a modified Taylor series method (MTSM) for solving boundary value problems (BVPs) with mixed boundary conditions defined on a finite interval. We were able to obtain accurate, easy computable, handy approximations for all cases study. The shooting constants arising from the substitution of the mixed boundary conditions by Dirichlet conditions and the extra derivatives of the differential equation demonstrate - with examples - to be a powerful strategy that provides easy computable and accurate approximations. In addition, more extra derivatives can be applied to the differential equation to increase the number of shooting/adjustment constants, giving as result an enhanced convergence of the MTSM method.

## Declarations

### Acknowledgements

We gratefully acknowledge the financial support from the National Council for Science and Technology of Mexico (CONACyT) through grant CB-2010-01 #157024. The author would like to thank Roberto Castaneda-Sheissa, Rogelio-Alejandro Callejas-Molina, and Roberto Ruiz-Gomez for their contribution to this project.

## Authors’ Affiliations

## References

- Barrio R, Rodriguez M, Abad A, Blesa F: Breaking the limits: the taylor series method.
*Appl Math Comput*2011, 217(20):7940-7954. 10.1016/j.amc.2011.02.080View ArticleGoogle Scholar - Chang SH: A variational iteration method for solving troesch’s problem.
*J Comput Appl Math*2010, 234(10):3043-3047. 10.1016/j.cam.2010.04.018View ArticleGoogle Scholar - Duan J-S, Rach R: A new modification of the adomian decomposition method for solving boundary value problems for higher order nonlinear differential equations.
*Appl Math Comput*2011, 218(8):4090-4118. 10.1016/j.amc.2011.09.037View ArticleGoogle Scholar - Filobello-Nino U, Vazquez-Leal H, Khan Y, Castaneda-Sheissa R, Yildirim A, Hernandez-Martinez L, Sanchez-Orea J, Castaneda-Sheissa R, Bernal FR: Hpm applied to solve nonlinear circuits: a study case.
*Appl Math Sci*2012a, 6(85-88):4331-4344.Google Scholar - Filobello-Nino U, Vazquez-Leal H, Castaneda-Sheissa R, Yildirim A, Hernandez-Martinez L, Pereyra-Diaz D, Perez-Sesma A, Hoyos-Reyes C: An approximate solution of blasius equation by using hpm method.
*Asian J Math Stat*2012b, 5: 50-59. 10.3923/ajms.2012.50.59View ArticleGoogle Scholar - Filobello-Nino U, Vazquez-Leal H, Khan Y, Yildirim A, Jimenez-Fernandez VM, Herrera-May AL, Castaneda-Sheissa R, Cervantes-Perez J: Perturbation method and laplace-padé approximation to solve nonlinear problems.
*Miskolc Math Notes*2013, 14(1):89-101.Google Scholar - Hassana HN, El-Tawil MA: An efficient analytic approach for solving two-point nonlinear boundary value problems by homotopy analysis method.
*Math Methods Appl Sci*2011, 34: 977-989. 10.1002/mma.1416View ArticleGoogle Scholar - He J-H: Homotopy perturbation technique.
*Comput Methods Appl Mech Eng*1999, 178(34):257-262.View ArticleGoogle Scholar - He J-H: Comparison of homotopy perturbation method and homotopy analysis method.
*Appl Math Comput*2004, 156(2):527-539. 10.1016/j.amc.2003.08.008View ArticleGoogle Scholar - He J-H: An elementary introduction to the homotopy perturbation method.
*Comput Math Appl*2009, 57(3):410-412. 10.1016/j.camwa.2008.06.003View ArticleGoogle Scholar - Khan Y, Vazquez-Leal H, Hernandez-Martinez L, Faraz N: Variational iteration algorithm-ii for solving linear and non-linear odes.
*Int J Phys Sci*2012, 7(25):3099-4002.View ArticleGoogle Scholar - Khan Y, Vazquez-Leal H, Wu Q: An efficient iterated method for mathematical biology model.
*Neural Comput Appl*2013, 23(3-4):677-682. doi:10.1007/s00521-012-0952-z 10.1007/s00521-012-0952-zView ArticleGoogle Scholar - Rodriguez M, Barrio R: Reducing rounding errors and achieving brouwers law with taylor series method.
*Appl Numerical Math*2012, 62(8):1014-1024. 10.1016/j.apnum.2012.03.008View ArticleGoogle Scholar - Scott MR, Vandevender WH: A comparison of several invariant imbedding algorithms for the solution of two-point boundary-value problems.
*Appl Math Comput*1975, 1(3):187-218. 10.1016/0096-3003(75)90033-8View ArticleGoogle Scholar - Stoer J, Bulirsch R:
*Introduction to numerical analysis*. New York: Springer; 2002.View ArticleGoogle Scholar - Shiraishi F, Egashira M, Iwata M: Highly accurate computation of dynamic sensitivities in metabolic reaction systems by a taylor series method.
*Math Biosci*2011, 233(1):59-67. 10.1016/j.mbs.2011.06.004View ArticleGoogle Scholar - Tan Y, Abbasbandy S: Homotopy analysis method for quadratic riccati differential equation.
*Commun Nonlinear Sci Numerical Simul*2008, 13(3):539-546. 10.1016/j.cnsns.2006.06.006View ArticleGoogle Scholar - Vazquez-Leal H: Rational homotopy perturbation method.
*J Appl Math*2012, 2012: 1-14. doi:10.1155/2012/490342Google Scholar - Vazquez-Leal H, Filobello-Nino U, Castaneda-Sheissa R, Hernandez-Martinez L, Sarmiento-Reyes A: Modified hpms inspired by homotopy continuation methods.
*Math Probl Eng*2012a, 2012: 19.Google Scholar - Vazquez-Leal H, Sarmiento-Reyes A, Khan Y, Filobello-Nino U, Diaz-Sanchez A: Rational biparameter homotopy perturbation method and laplace-padé coupled version.
*J Appl Math*2012b, 2012: 1-21. doi:10.1155/2012/923975Google Scholar - Vazquez-Leal H, Castañeda-Sheissa R, Filobello-Niño U, Sarmiento-Reyes A, Sánchez-Orea J: High accurate simple approximation of normal distribution related integrals.
*Math Probl Eng*2012c, 2012: 22.Google Scholar - Wazwaz A-M: A comparison between adomian decomposition method and taylor series method in the series solutions.
*Appl Math Comput*1998, 97(1):37-44. 10.1016/S0096-3003(97)10127-8View ArticleGoogle Scholar

## Copyright

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.