Mathematical Problems in Engineering

Volume 2013 (2013), Article ID 143915, 11 pages

http://dx.doi.org/10.1155/2013/143915

## The Semianalytical Solutions for Stiff Systems of Ordinary Differential Equations by Using Variational Iteration Method and Modified Variational Iteration Method with Comparison to Exact Solutions

Mathematics Department, Arts and Sciences Faculty, Nigde University, 51100 Nigde, Turkey

Received 20 February 2013; Accepted 30 March 2013

Academic Editor: Safa Bozkurt Coskun

Copyright © 2013 Mehmet Tarik Atay and Okan Kilic. 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 Variational Iteration Method (VIM) and Modified Variational Iteration Method (MVIM) are used to find solutions of systems of stiff ordinary differential equations for both linear and nonlinear problems. Some examples are given to illustrate the accuracy and effectiveness of these methods. We compare our results with exact results. In some studies related to stiff ordinary differential equations, problems were solved by Adomian Decomposition Method and VIM and Homotopy Perturbation Method. Comparisons with exact solutions reveal that the Variational Iteration Method (VIM) and the Modified Variational Iteration Method (MVIM) are easier to implement. In fact, these methods are promising methods for various systems of linear and nonlinear stiff ordinary differential equations. Furthermore, VIM, or in some cases MVIM, is giving exact solutions in linear cases and very satisfactory solutions when compared to exact solutions for nonlinear cases depending on the stiffness ratio of the stiff system to be solved.

#### 1. Introduction

Stiff system of ordinary differential equations (ODEs) can be seen in modeling various real-world problems [1]. Solving such a system of ODEs is important, and many numerical and analytical methods have been developed [1–17]. Classical numerical methods, such as finite difference and finite element methods are computationally expensive and are generally affected by round-off errors, which may give inaccurate solutions. For further details of stiff problems, the reader is referred to some previous studies in this field [1–17]. Examples are presented to illustrate the efficiency of the proposed approaches.

In this paper, Variation Iteration Method (VIM) and Modified Variation Iteration Method (MVIM) are proposed to obtain exact solutions of a stiff system of ODEs. This numerical scheme is based upon application of Variational Theory and is capable of finding the exact solutions of many linear differential equations.

The Variation Iteration Method was first proposed by He [18–23] and was successfully applied to autonomous ordinary differential equations by He [23], nonlinear polycrystalline solids [20], nonlinear partial differential equations, and other fields [19–25].

The purpose of this paper is to show the merits of VIM and MVIM in solving some stiff systems of ordinary differential equations. The Variation Iteration Method is useful for obtaining exact and approximate solutions of linear and nonlinear differential equations. There is no requirement for linearization or discretization and, hence, large computational work and round-off errors are avoided. The availability of computer symbolic packages gives a mathematical tool to perform some complicated manipulations and to carry out some modifications on a method for a specific problem easily. The results of the Variation Iteration Method (VIM) and Modified Variation Iteration Method (MVIM) are compared with the exact solutions of the problems to show the efficiency of these methods.

#### 2. Variation Iteration Method

In 1978, Inokuti et al. [26] introduced a general Lagrange multiplier method to solve nonlinear problems. In this method the solution of a mathematical problem with a linearization assumption is used as an initial approximation or trial function. To illustrate this method, consider the following form of a differential equation: where is a linear operator, is a nonlinear operator, and is an inhomogeneous term.

He has modified the above mentioned method into an iteration procedure. According to the Variation Iteration Method, or more precisely, He’s Variation Iteration Method [18–23], a correctional functional can be written in the following way: whereis a general Lagrangian multiplier [19–23], which can be identified optimally via the Variational Theory, the subscript denotes the th order approximation, and is considered as a restricted variation [19–23], that is, . In this case, (2) is called a correction functional.

Also as it was indicated by Ramos [27], Inokuti et al.’s Variational Iteration and also He’s Variation Iteration Method can be derived by means of Adjoint Operators, Green’s Function, Integration by Parts, and the method of Weighted Residuals.

Based on this basic VIM and MVIM formulation knowledge, there are three different VIM algorithms given in [28]:

*Algorithm 1. ** *

*Algorithm 2. ** *

*Algorithm 3. ** *
Further details of these iteration procedures with examples can be found in [27].

#### 3. Stiffness of a System of Ordinary Differential Equations

For a given system of ordinary differential equations, stiffness means a big difference in the time scales of the components in the vector solution. Some of well-known numerical methods and their procedures which are quite satisfactory in general can work unsatisfactorily on stiff problems. For a general formulation for stiff problems, where is defined and continuous in a region , that is either singular or stiff or both. The definition of stiffness is given in [15] and in [16] as follows.

The Initial Value Problem of (6) is said to be stiff over the finite interval for every , the eigenvalues of the Jacobian matrix satisfy the following conditions: where are the eigenvalues of the Jacobian of the system.

#### 4. Applications

In this section, Variation Iteration Method (VIM) and Modified Variational Method (MVIM) are applied to various stiff systems of ordinary differential equations.

##### 4.1. Problem 1

The stiff differential equation of second order can be considered as a first example of this study elaborated in [29]. The problem is as follows: with initial conditions Its exact analytical solution is .

Below, this second order ordinary differential equation can be written as a system of first order ordinary differential equations and the stiffness ratio for this system can be calculated as by using (7) and one can obtain the following system.

###### 4.1.1. VIM Iteration Formulation

VIM iteration formulation for this system can be written as follows:Their Lagrange multipliers can be calculated as and . As an exemplary purpose, first and second iterations are given as follows for VIM formulation.

,

,By using the above written formulations, we can get the following approximations as

###### 4.1.2. MVIM Iteration Formulation

MVIM iteration formulation for this system can be written as follows:

For ,

For ,or as computed iterations as follows:In the interval of VIM and MVIM results are obtained for the 15th iteration. These results are compared with the exact result of the stiff ordinary differential equation for error analysis purpose in Tables 1 and 2.

##### 4.2. Problem 2

This stiff ordinary differential equations system example is presented in [9] and has the following form: with initial conditions The stiffness ratio of the system is and can be easily found by using (7). The exact solutions of this stiff ordinary differential equations system can be obtained by Laplace transform method as follows:

###### 4.2.1. VIM Iteration Formulation

We can construct the following correction functionals for vectoras follows: whereandare general Lagrange multipliers and and denote restricted variations. In this respect, we haveand. In order to construct correction functional, (24) should be elaborated as follows: From here, by using stationary conditions obtained from (25), following iteration formulas, and general Lagrange multipliers can be obtained as follows: for this problem. As an example, first and second VIM iterations of the problem given in (21)-(22) can easily be found by using (26)-(27) together.

For , or, as a computed result for this first iteration,

For, or, as a computed result for this second iteration, VIM iteration of this problem is conducted up to 15 iterations and results and related errors are given in Tables 3, 4, 5, and 6 for comparison purposes.

###### 4.2.2. MVIM Iteration Formulation

One has and general Lagrange multipliers can be obtained as follows: for this problem. As an example, first and second MVIM iterations of the problem given in (21)-(22) can easily be found by using (32)-(33) together.

For , or, as a computed result for this first iteration,

For, or, as a computed result for this second iteration, MVIM iteration of this problem is conducted up to 15 iterations and results and related errors are given in Tables 3–6 for comparison purposes.

##### 4.3. Problem 3

Let us consider the following stiff ordinary differential equations system with stiffness ratio as as an our next example which is given in [30] with initial conditions as follows: with exact solutions:

###### 4.3.1. VIM Iteration Formulation

VIM iteration formulation for this system can be written as follows:Their Lagrange multipliers can be calculated as and . As an exemplary purpose, first and second iterations are given as follows for VIM formulation.

The stiffness ratio of the system () is equal to 1000.

For,

For,By using the above written formulations, we can get the following approximations as

###### 4.3.2. MVIM Iteration Formulation

MVIM iteration formulation for this system can be written as follows:

For,

For, or as computed iterations as follows:The results and related error analysis in the interval of are obtained by using VIM and MVIM. The results are given in Tables 7, 8, 9, and 10.

##### 4.4. Problem 4

Current stiff ordinary differential equations system example is elaborated in [8] and has the following form: with initial conditions

###### 4.4.1. VIM Iteration Formulation

By using VIM iteration formula for this problem, are obtained with general Lagrange multipliers of this problem Furthermore, by using (7), it can be calculated that the Stiffness Ratio of this current nonlinear ordinary differential equations system is 102312, so for this system. It should be noted that this current value is much higher than the previous example’s value.

For, the first iteration will be as follows: or, as a computed result for this first iteration,

For, the second iteration will be as follows: or, as a computed result for this second iteration,

###### 4.4.2. MVIM Iteration Formulation

From Modified Variation Iteration Method (MVIM), the following iteration formulation can be obtained for (51)-(52): Here again the same general Lagrange multipliers are used for calculations, for example,

For , or, as a computed result for this first iteration,

For, or, as a computed result for this second iteration, VIM and MVIM iterations of this problem are conducted up to 2 iterations. The results and related errors are given in Tables 11, 12, 13, and 14 for comparison purposes.

#### 5. Discussion and Conclusions

In this research, we obtain numerical solutions for four examples of stiff systems of ordinary differential equations. In order to analyze the efficiency of the two methods, namely, VIM and MVIM, in comparison with exact solutions, the absolute errors are calculated for different values.

It can be seen that there are very good agreement between the results of VIM, results of MVIM, and exact solutions for these examples, which confirms the validity of the two methods for these problems. However, when solutions of VIM and MVIM are compared, it can be said that MVIM is providing better results in general.

These methods are very simple and do not require very small time steps for mildly stiff linear ordinary differential equations to obtain results in which error accumulation gets bigger as the time gets bigger for finding the solution.

#### References

- A. S. Mahmood, L. Casasús, and W. Al-Hayani, “The decomposition method for stiff systems of ordinary differential equations,”
*Applied Mathematics and Computation*, vol. 167, no. 2, pp. 964–975, 2005. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - M. T. Darvishi, F. Khani, and A. A. Soliman, “The numerical simulation for stiff systems of ordinary differential equations,”
*Computers & Mathematics with Applications*, vol. 54, no. 7-8, pp. 1055–1063, 2007. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - H. Aminikhah and M. Hemmatnezhad, “An effective modification of the homotopy perturbation method for stiff systems of ordinary differential equations,”
*Applied Mathematics Letters*, vol. 24, no. 9, pp. 1502–1508, 2011. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - A. S. Mahmood, L. Casasús, and W. Al-Hayani, “The decomposition method for stiff systems of ordinary differential equations,”
*Applied Mathematics and Computation*, vol. 167, no. 2, pp. 964–975, 2005. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - R. Alt, “$A$-stable one-step methods with step-size control for stiff systems of ordinary differential equations,”
*Journal of Computational and Applied Mathematics*, vol. 4, no. 1, pp. 29–35, 1978. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - H. H. Rosenbrock and C. Storey,
*Computational Techniques For Chemical Engineers*, Pergamon Press, New York, NY, USA, 1966. - X.-Y. Wu and J.-L. Xia, “Two low accuracy methods for stiff systems,”
*Applied Mathematics and Computation*, vol. 123, no. 2, pp. 141–153, 2001. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - S. Abelman and K. C. Patidar, “Comparison of some recent numerical methods for initial-value problems for stiff ordinary differential equations,”
*Computers & Mathematics with Applications*, vol. 55, no. 4, pp. 733–744, 2008. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - E. Hofer, “A partially implicit method for large stiff systems of ODEs with only few equations introducing small time-constants,”
*SIAM Journal on Numerical Analysis*, vol. 13, no. 5, pp. 645–663, 1976. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - S. M. Hosseini and G. Hojjati, “Matrix free MEBDF method for the solution of stiff systems of ODEs,”
*Mathematical and Computer Modelling*, vol. 29, no. 4, pp. 67–77, 1999. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - J. C. Butcher,
*Numerical Methods for Ordinary Differential Equations*, John Wiley & Sons, New York, NY, USA, 2003. View at Publisher · View at Google Scholar · View at MathSciNet - Ixaru, L. Gr, G. Vanden Berghe, and H. . De Meyer, “Frequency evaluation in exponential fitting multistep algorithms for ODEs,”
*Journal of Computational and Applied Mathematics*, vol. 140, pp. 423–434, 2000. View at Google Scholar - L. Gr. Ixaru, G. Vanden Berghe, and H. De Meyer, “Exponentially fitted variable two-step BDF algorithms for first order ODEs,”
*Computer Physics Communications*, vol. 100, pp. 56–70, 2003. View at Google Scholar - H. van de Vyver, “Two-step hybrid methods adapted to the numerical integration of perturbed oscillators,” http://arxiv.org/abs/math/0612637.
- P. Kaps, “Rosenbrock-type methods,” in
*Numerical Methods For Stiff Initial Value Problems. Berich*, G. Dahlquist and R. Jeltsch, Eds., vol. 9, Inst. Fur Geometric und Practische Mathematik der RWTH Aachen, 1981. View at Google Scholar - S. V. Fatunla, “An implicit two-point numerical integration formula for linear and nonlinear stiff systems of ordinary differential equations,”
*Mathematics of Computation*, vol. 32, no. 141, pp. 1–11, 1978. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - J. D. Lambert,
*Computational Methods in ODEs*, John Wiley & Sons, 1973. - J. H. He, “Variational iteration method—a kind of non-linear analytical technique: some examples,”
*International Journal of Non-Linear Mechanics*, vol. 34, pp. 699–708, 1999. View at Google Scholar - J. He, “A new approach to nonlinear partial differential equations,”
*Communications in Nonlinear Science and Numerical Simulation*, vol. 2, no. 4, pp. 230–235, 1997. View at Publisher · View at Google Scholar - J.-H. He, “Approximate analytical solution for seepage flow with fractional derivatives in porous media,”
*Computer Methods in Applied Mechanics and Engineering*, vol. 167, no. 1-2, pp. 27–68, 1998. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - J.-H. He, “Approximate solution of nonlinear differential equations with convolution product nonlinearities,”
*Computer Methods in Applied Mechanics and Engineering*, vol. 167, no. 1-2, pp. 69–73, 1998. View at Google Scholar - J. H. He and X.-H. Wu, “Construction of solitary solution and compacton-like solution by variational iteration method,”
*Chaos, Soliton and Fractals*, vol. 29, pp. 108–113, 2006. View at Google Scholar - J.-H. He, “Variational iteration method for autonomous ordinary differential systems,”
*Applied Mathematics and Computation*, vol. 114, no. 2-3, pp. 115–123, 2000. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - V. Marinca, “An approximate solution for one-dimensional weakly nonlinear oscillations,”
*International Journal of Nonlinear Sciences and Numerical Simulation*, vol. 3, no. 2, pp. 107–110, 2002. View at Publisher · View at Google Scholar · View at MathSciNet - M. A. Abdou and A. A. Soliman, “New applications of variational iteration method,”
*Physica D*, vol. 211, no. 1-2, pp. 1–8, 2005. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - M. Inokuti, H. Sekine, and T. Mura, “General use of the Lagrange multiplier in nonlinear mathematics,” in
*Variational Method in the Mechanics of Solids*, Nemat-Nassers, Ed., pp. 156–162, Pergamon Press, Oxford, UK, 1978. View at Google Scholar - J. I. Ramos, “On the variational iteration method and other iterative techniques for nonlinear differential equations,”
*Applied Mathematics and Computation*, vol. 199, no. 1, pp. 39–69, 2008. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - J. H. He, G.-C. Wu, and F. Austin, “The variational iteration method which should be followed,”
*Nonlinear Science Letters A*, vol. 1, pp. 1–30, 2010. View at Google Scholar - D. Kincaid and W. Cheney,
*Numerical Analysis—Mathematics of Scientific Computing*, American Mathematical Society publications, 3rd edition, 2009. - M. M. Stabrowski, “An efficient algorithm for solving stiff ordinary differential equations,”
*Simulation Practice and Theory*, vol. 5, no. 4, pp. 333–344, 1997. View at Google Scholar · View at Scopus