A Comparative Study of Adomian Decomposition Method with Variational Iteration Method for Solving Linear and Nonlinear Differential Equations

Abstract

This study compares the Adomian Decomposition Method (ADM) and the Variational Iteration Method (VIM) for solving nonlinear differential equations in engineering. Differential equations are essential for modeling dynamic systems in various disciplines, including biological processes, heat transfer, and control systems. This study addresses first, second, and third-order nonlinear differential equations using Mathematica for data generation and graphing. The ADM, developed by George Adomian, uses Adomian polynomials to handle nonlinear terms, which can be computationally intensive. In contrast, VIM, developed by He, directly iterates the correction functional, providing a more straightforward and efficient approach. This study highlights VIM’s rapid convergence and effectiveness of VIM, particularly for nonlinear problems, where it simplifies calculations and offers direct solutions without polynomial derivation. The results demonstrate VIM’s superior efficiency and rapid convergence of VIM compared with ADM. The VIM’s minimal computational requirements make it practical for real-time applications and complex system modeling. Our findings align with those of previous research, confirming VIM’s efficiency of VIM in various engineering applications. This study emphasizes the importance of selecting appropriate methods based on specific problem requirements. While ADM is valuable for certain nonlinearities, VIM’s approach is ideal for many engineering scenarios. Future research should explore broader applications and hybrid methods to enhance the solution’s accuracy and efficiency. This comprehensive comparison provides valuable guidance for selecting effective numerical methods for differential equations in engineering.

Share and Cite:

Baghdadi, S. and Ahammad, N. (2024) A Comparative Study of Adomian Decomposition Method with Variational Iteration Method for Solving Linear and Nonlinear Differential Equations. Journal of Applied Mathematics and Physics, 12, 2789-2819. doi: 10.4236/jamp.2024.128166.

1. Introduction

Differential equations are crucial in various engineering disciplines for modeling structures, describing phenomena, and simulating dynamic systems [1]. They serve as powerful numerical tools for various applications including biological processes, celestial motion, hydraulic flow, heat transfer, vibration isolation, and electric circuits. Engineering research has advanced significantly, necessitating the use of diverse differential equations (DEs) to model various processes [2].

For instance, differential equations are essential for modeling continuum beams used in flexible space structures, such as aircraft wings and satellite antennas, to estimate their natural and forced frequencies. In heating, ventilation, and air conditioning (HVAC) systems, heat transfer and cooling processes are governed by thermal system equations, which are differential equations. These equations are also used for thermal-based damage detection in porous materials. Additionally, feedback control systems in automotive, aerospace, and ocean vehicles rely on differential equations for their numerical models. They are also employed in modeling population growth, chemical reactions, and mixtures.

Due to their importance, numerous analytical and numerical methods have been developed to accurately solve linear and nonlinear differential equations. Notable methods include the Adomian Decomposition Method (ADM), extensively used for various equations such as the free vibration of continuum beams, fractional differential equations, heat equations, and Blasius equations [3]. Other methods include homotopy perturbation, differential transform, differential quadrature, and collocation methods [4].

Among these, He’s Variational Iteration Method (HVIM) stands out for its effectiveness and convenience in solving complex higher-order linear and nonlinear differential equations [5]. It is versatile and rapidly converges with fewer iterations, making it highly suitable for engineering research.

Constrained optimization problems are prevalent across various scientific and engineering disciplines, necessitating efficient and effective methods for finding their extrema. The Lagrange multipliers method has traditionally been used for this purpose, providing a systematic approach to incorporate constraints directly into the optimization problem. This method, while powerful, has inherent limitations, particularly when dealing with complex or non-linear constraints. The traditional Lagrange multipliers method often requires solving a system of equations that can become increasingly intricate as the number of constraints and the complexity of the functions involved grow [6].

The motivation for extending the Lagrange multipliers method to include functional derivatives stems from the need to address these limitations and improve the efficiency and applicability of the method. By employing functional derivatives, the method can be generalized to handle a wider range of problems, including those involving functional spaces. This extension not only broadens the scope of problems that can be addressed but also enhances the computational efficiency and accuracy of finding constrained extrema [7].

The traditional Lagrange multipliers method faces several challenges. When dealing with non-linear constraints, the system of equations resulting from the Lagrange multipliers can become highly non-linear and difficult to solve [8]. As the number of constraints increases, the number of equations to be solved simultaneously increases, which can significantly complicate the solution process. The method often requires iterative numerical techniques to find solutions, which can be computationally intensive and time-consuming [9]. Furthermore, this method may find local optima rather than global ones, depending on the initial conditions and the nature of the constraint equations [10].

Extending the Lagrange multipliers method to include functional derivatives offers several advantages. Functional derivatives allow the method to be applied to problems involving function spaces, making it suitable for a wider range of optimization problems [11]. Functional derivatives can simplify the formulation of the optimization problem, reducing the computational burden associated with solving the system of equations [12]. By providing a more precise mathematical framework, functional derivatives can improve the accuracy of the solutions obtained, particularly in complex or highly non-linear scenarios [13]. Moreover, the extended method has the potential to more effectively identify global extrema, as it can incorporate more sophisticated mathematical tools and techniques [14].

The introduction of functional derivatives into the Lagrange multipliers method represents a significant improvement over the traditional approach. This extension allows for the simplification of complex problems by leveraging functional derivatives, enabling complex non-linear constraints to be handled more systematically [15]. This method becomes more scalable, as it can manage a larger number of constraints without a corresponding exponential increase in computational complexity. The enhanced method is particularly beneficial in fields such as engineering, physics, and economics, where constrained optimization problems are frequently encountered and often involve complex, non-linear relationships [16].

Finding constrained extrema is a fundamental problem in optimization, and various methods have been developed over the years to address it. While Lagrange multipliers are a well-known approach, several alternative methods exist, each with its own advantages and limitations. Penalty methods involve adding a penalty term to the objective function, imposing a cost for violating the constraints, and then minimizing the augmented objective function using unconstrained optimization techniques.

Sequential Quadratic Programming (SQP) iteratively solves a sequence of quadratic programming subproblems that approximate the original nonlinear problem. Evolutionary algorithms, such as Genetic Algorithms (GAs) and Particle Swarm Optimization (PSO), also find constrained extrema by using mechanisms inspired by natural evolution and social behavior to explore the search space. They are particularly useful for problems with complex, non-differentiable, or noisy objective functions.

Problem Statement:

Differential equations are essential tools in engineering for modeling, describing, and simulating various dynamic systems and phenomena. Despite the development of numerous analytical and numerical methods for solving linear and nonlinear differential equations, there remains a need to evaluate and compare these methods to identify the most effective approaches for different engineering applications [17]. This study focuses on comparing the Adomian Decomposition Method (ADM) and the Variational Iteration Method (VIM) to determine their efficacy in solving complex differential equations used in various engineering disciplines.

Extending the Lagrange multipliers method to include functional derivatives addresses many of the limitations inherent in the traditional approach. This advancement not only broadens the range of problems that can be effectively tackled but also enhances the efficiency and accuracy of finding constrained extrema, making it a valuable tool for researchers and practitioners in various fields.

Although significant research has been conducted on various methods for solving differential equations, there is a lack of comprehensive comparative studies specifically evaluating ADM and VIM across a range of engineering applications [18]. Existing literature highlights the effectiveness of both methods individually but does not provide a detailed comparative analysis of their performance using a consistent computational framework [4] [19]. Addressing this gap is crucial for advancing the application of differential equations in engineering research and practice.

Objectives:

The following are the main objectives of this study:

1) To solve first-, second-, and third-order nonlinear differential equations using the ADM and the VIM.

2) To compare the results obtained from ADM and VIM using Mathematica programming.

3) To evaluate the performance, efficiency, and accuracy of ADM and VIM in modeling various engineering systems and processes.

4) To identify the strengths and limitations of each method in handling diverse types of differential equations and engineering applications.

5) To provide recommendations for applying ADM and VIM in engineering research and system design.

Adomian Decomposition Method

The ADM is a semi-analytical technique developed by George Adomian from the 1970s to the 1990s for solving ordinary and partial nonlinear differential equations [20]. It can also be extended to stochastic systems using the Ito integral. ADM aims to provide a unified theory for solving partial differential equations (PDEs), although it has been superseded by the homotopy analysis method [21].

A key feature of ADM is the use of “Adomian polynomials,” which enable solution convergence for the nonlinear parts of equations without linearizing the system [22]. These polynomials generalize to a Maclaurin series about an arbitrary external parameter, offering greater flexibility than direct Taylor series expansion. ADM is advantageous over standard numerical methods as it is computationally inexpensive and free from rounding-off errors, avoiding discretization [21] [22].

Consider the following equation:

Lu+Nu+Ru=g (1.1)

where L is a linear operator, N represents a nonlinear operator, and R is the remaining linear part.

By defining the inverse operator of L as L 1 , assuming that it exists, we get

u= L 1 g L 1 Nu L 1 Ru (1.2)

The ADM assumes that the unknown function u can be expressed by an infinite series of the form

u= n=0 u n or u= u 0 + u 1 + u 2 + (1.3)

where the components u n will be determined recursively. Moreover, the method defines the nonlinear term using Adomian polynomials.

More precisely, the ADM assumes that the nonlinear operator N( u ) can be decomposed by an infinite series of polynomials given by

N( u )= n=0 A n (1.4)

where A n are the Adomian’s polynomials defined as A n = A n ( u 0 , u 1 , u 2 , u 3 ,, u n ) .

Substituting (1.3) into (1.2) and using the fact that R is a linear operator.

We obtain

n=0 u n = L 1 g L 1 ( n=0 R( u n ) ) L 1 ( n=0 A n ( u 0 , u 1 , u 2 , u 3 ,, u n ) )

Or equivalently

u 0 + u 1 + u 2 += L 1 g L 1 ( n=0 R( u n ) ) L 1 ( n=0 A n ( u 0 , u 1 , u 2 , u 3 ,, u n ) ) (1.5)

Now, the recurrence algorithm can be defined by

u 0 = L 1 g

u n+1 = L 1 ( R( u n ) ) L 1 ( A n ( u 1 , u 2 , u 3 ,, u n ) ) (1.6)

Or equivalently

u 0 = L 1 g

u 1 = L 1 ( R( u 0 ) ) L 1 ( A 0 ( u 0 ) )

u 2 = L 1 ( R( u 1 ) ) L 1 ( A 1 ( u 0 , u 1 ) ) (1.7)

Consider the nonlinear function f( u ) . Then, the infinite series generated by applying the Taylor’s Series expansion of f about the initial function u 0 is given by

f( u )=f( u 0 )+ f ( u 0 )( u u 0 )+ 1 2! f ( u 0 ) ( u u 0 ) 2 + (1.8)

By substituting (1.3) into Equation (1.8), we have

f( u )=f( u 0 )+ f ( u 0 )( u 1 + u 2 + )+ 1 2! f ( u 0 ) ( u 1 + u 2 + ) 2 + (1.9)

Now, expand Equation (1.9). We arrange the terms to obtain the Adomian polynomials. The order of each term in the above Equation (1.9) depends on both the subscript and the exponents of the u n s .

i.e., u 1 is of order 1

u 1 2 is of order 2

u 2 3 is of order 6

u n k is of order kn.

To determine the sum of the terms of the u n s in each term. For example, the order of u 2 3 u 1 2 =( 3 )( 2 )+( 2 )( 1 )=8 .

As a result, by rearranging the terms in the expansion (1.9) according to the order, we have

f( u )=f( u 0 )+ f ( u 0 ) u 1 + f ( u 0 ) u 2 + 1 2! f ( u 0 ) u 1 2 + f ( u 0 ) u 3 + 2 2! f ( u 0 ) u 1 u 2 + 1 3! f ( u 0 ) u 1 3 + f ( u 0 ) u 4 + 1 2! f ( u 0 ) u 2 2 + 2 2! f ( u 0 ) u 1 u 3 + 3 3! f ( u 0 ) u 1 2 u 2 + 1 4! f ( u 0 ) u 1 4 + (1.10)

The Adomian polynomials are arranged in a way so that the polynomial A 1 consists of a; terms in the expansion (1.10) of order 1, A 2 consists of all terms of order 2. In general, A n consists of all terms of order n. Therefore, the first nine terms of Adomian are given below:

A 0 =f( u 0 )

A 1 = f ( u 0 ) u 1

A 2 = f ( u 0 ) u 2 + 1 2! f ( u 0 ) u 1 2

A 3 = f ( u 0 ) u 3 + 2 2! f ( u 0 ) u 1 u 2 + 1 3! f ( u 0 ) u 1 3

A 4 = f ( u 0 ) u 4 + 1 2! f ( u 0 )( 2 u 1 u 3 + u 2 2 )+ 3 3! f ( u 0 ) u 1 2 u 2 + 1 4! f ( u 0 ) u 1 4

A 5 = f ( u 0 ) u 5 + 1 2! f ( u 0 )( 2 u 1 u 4 +2 u 2 u 3 )+ 1 3! f ( u 0 )( 3 u 1 2 u 3 +3 u 1 u 2 2 ) + 4 4! f ( 4 ) ( u 0 ) u 1 3 u 2 + 1 5! f ( 5 ) ( u 0 ) u 1 5

A 6 = f ( u 0 ) u 6 + 1 2! f ( u 0 )( 2 u 1 u 5 +2 u 2 u 4 + u 3 2 ) + 1 3! f ( u 0 )( 3 u 1 2 u 4 + u 2 3 +6 u 1 u 2 u 3 )+ 1 4! f ( 4 ) ( u 0 )( 4 u 1 3 u 3 +6 u 1 2 u 2 2 ) + 5 5! f (5) ( u 0 ) u 1 4 u 2 + 1 6! f ( 6 ) ( u 0 ) u 1 6

A 7 = f ( u 0 ) u 7 + 1 2! f ( u 0 )( 2 u 1 u 6 +2 u 2 u 5 +2 u 3 u 4 ) + 1 3! f ( u 0 )( 3 u 1 2 u 5 +3 u 1 u 3 2 +3 u 2 u 2 2 +6 u 1 u 2 u 4 ) + 1 4! f ( 4 ) ( u 0 )( 4 u 1 3 u 4 +12 u 1 2 u 2 u 3 +4 u 2 u 2 3 ) + 1 5! f ( 5 ) ( u 0 )( 5 u 1 4 u 3 +10 u 1 3 u 2 2 )+ 6 6! f ( 6 ) ( u 0 ) u 1 5 u 2 + 1 7! f ( 7 ) ( u 0 ) u 1 7

A 8 = f ( u 0 ) u 8 + 1 2! f ( u 0 )( 2 u 1 u 7 +2 u 2 u 6 +2 u 3 u 5 + u 4 2 ) + 1 3! f ( u 0 )( 3 u 1 2 u 6 +3 u 4 u 2 2 +3 u 2 u 3 2 +6 u 1 u 2 u 5 +6 u 1 u 3 u 4 ) + 1 4! f ( 4 ) ( u 0 )( 4 u 1 3 u 5 +12 u 1 2 u 2 u 4 +12 u 1 u 2 2 u 3 +6 u 1 u 3 2 + u 2 4 ) + 1 5! f ( 5 ) ( u 0 )( 5 u 1 4 u 4 +20 u 1 2 u 2 u 3 +10 u 1 2 u 2 3 ) + 1 6! f ( 6 ) ( u 0 )( u 1 5 u 3 +15 u 1 4 u 2 2 )+ 7 7! f ( 7 ) ( u 0 ) u 1 6 u 2 + 1 8! f ( 8 ) ( u 0 ) u 1 8

The Adomian polynomials A n for the nonlinear term F( u ) can be evaluated by using the following expression

A n = 1 n! d n d λ n [ F( i=0 λ i u i ) ] λ=0 ,n=0,1,2, (1.11)

The Adomian polynomials are given by

A 0 =F( u 0 )

A 1 = d dλ F( u 0 + u 1 λ )| λ=0 = F ( u 0 ) u 1

A 2 = 1 2! d dλ ( ( u 1 +2 u 2 λ ) F ( u 0 + u 1 λ ) )| λ=0 = F ( u 0 ) u 2 + 1 2! F ( u 0 ) u 1 2

Linear Ordinary Differential Equations:

We apply ADM to solve linear ordinary differential equations. The following general equation is written in the operator form:

L( u )+Ru=g( x ) (1.12)

where L is the linear operator considered as the highest order derivative.

R is the remainder of the differential operator.

g( x ) is an inhomogeneous term.

If L is the first-order operator defined by L= d dx

Assuming that L is invertible, then the inverse operator L 1 is given by L 1 ( # )= 0 x ( # )dx . So, that

L 1 Lu=u( x )u( 0 ) (1.13)

If L is a second-order differential operator, then L= d 2 d x 2

The inverse operator L 1 is a two-fold integration operator given by

L 1 ( # )= 0 x 0 x ( # )dxdx , where L 1 Lu=u( x )u( 0 )x u ( 0 ) (1.14)

In this manner, if L is a third-order differential operator, then L= d 3 d x 3 .

The inverse operator L 1 is a three-fold integration operator given by

L 1 ( # )= 0 x 0 x 0 x ( # )dxdxdx , where L 1 Lu=u( x )u( 0 )x u ( 0 ) 1 2! x 2 u ( 0 ) (1.15)

Higher ordinary differential equations were generalized in the same manner.

Now, we apply the inverse operator. L 1 to both sides of Equation (1.12), and after manipulating the terms, we get

u( x )= Φ 0 + L 1 g( x ) L 1 Ru (1.16)

where

Φ 0 ={ u( 0 ), L= d dx u( 0 )+x u ( 0 ), L= d 2 d x 2 u( 0 )+x u ( 0 )+ 1 2! x 2 u ( 0 ), L= d 3 d x 3 u( 0 )+x u ( 0 )+ 1 2! x 2 u ( 0 )+ 1 3! x 3 u ( 0 ), L= d 4 d x 4 u( 0 )+x u ( 0 )+ 1 2! x 2 u ( 0 )+ 1 3! x 3 u ( 0 )++ x n n! u ( n ) , L= d n+1 d x n+1 (1.17)

The ADM admits the decomposition of u in the form of an infinite series of components

u( x )= n=0 u n (1.18)

where u n ( x ),n0 are the components of u( x ) that will be determined recursively.

Substituting Equation (1.18) into Equation (1.16) gives

n=0 u n = Φ 0 + L 1 g( x ) L 1 R( n=0 u n ) (1.19)

The terms of u n of the solution, u can be easily determined by using the recursive relation

u 0 = Φ 0 + L 1 g( x )

u n+1 = L 1 R u n ,n0. (1.20)

The determination of u 0 depends on the specified initial conditions u( 0 ), u ( 0 ), u ( 0 ),

Nonlinear ordinary differential equations:

Here, we apply the ADM to solve the nonlinear ordinary differential equations. The following general equation is written in the operator form:

L( u )+Ru+N( u )=g( x ) (1.21)

where L is the linear operator considered as the highest order derivative, R is the remainder of the differential operator, N( u ) is the nonlinear term, and g( x ) is an inhomogeneous term.

If L is the first-order operator defined by L= d dx

Assuming that L is invertible, then the inverse operator L 1 is given by L 1 ( # )= 0 x ( # )dx . So, that

L 1 Lu=u( x )u( 0 ) (1.22)

If L is a second-order differential operator, then L= d 2 d x 2

The inverse operator L 1 is a two-fold integration operator given by

L 1 ( # )= 0 x 0 x ( # )dxdx , where L 1 Lu=u( x )u( 0 )x u ( 0 ) (1.23)

In this manner, if L is a third-order differential operator, then L= d 3 d x 3 .

The inverse operator L 1 is a three-fold integration operator given by

L 1 ( # )= 0 x 0 x 0 x ( # )dxdxdx , where L 1 Lu=u( x )u( 0 )x u ( 0 ) 1 2! x 2 u ( 0 ) (1.24)

In general, if L is a differential operator of order n+1 , we show that

L 1 Lu=u( x )u( 0 )x u ( 0 ) 1 2! x 2 u ( 0 ) 1 3! x 3 u ( 0 ) x n n! u ( n ) ( 0 ) (1.25)

Now, apply the inverse operator L 1 to both sides of Equation (1.21), and after manipulating the terms, we get

u( x )= Φ 0 L 1 Ru L 1 N( u )+ L 1 g( x ) (1.26)

where

Φ 0 ={ u( 0 ), L= d dx u( 0 )+x u ( 0 ), L= d 2 d x 2 u( 0 )+x u ( 0 )+ 1 2! x 2 u ( 0 ), L= d 3 d x 3 u( 0 )+x u ( 0 )+ 1 2! x 2 u ( 0 )+ 1 3! x 3 u ( 0 ), L= d 4 d x 4 u( 0 )+x u ( 0 )+ 1 2! x 2 u ( 0 )+ 1 3! x 3 u ( 0 )++ x n n! u ( n ) , L= d n+1 d x n+1 (1.27)

The ADM consists of the decomposition of u in the form of an infinite number of components defined by the decomposition series

u( x )= n=0 u n (1.28)

While the nonlinear term N( u ) is to be expressed by an infinite series of polynomials

N( u )= n=0 A n (1.29)

where An’s are the Adomian polynomials. Substituting Equation (1.28) and Equation (1.29) into Equation (1.26) gives

n=0 u n = Φ 0 L 1 R( n=0 u n ) L 1 ( n=0 A n )+ L 1 g( x ) (1.30)

To construct the iterative scheme, we matched both sides so that the u n term is expressed in terms of the previously determined terms. The ADM gives the following iterative scheme

u 0 = Φ 0 + L 1 g( x ) (1.31)

u n+1 = L 1 R u n L 1 A n ,n0.

where

u 0 = Φ 0 + L 1 g( x )

u 1 = L 1 R u 0 L 1 A 0

u 2 = L 1 R u 1 L 1 A 1

u 3 = L 1 R u 2 L 1 A 2

u n+1 = L 1 R u n L 1 A n ,n0.

The Variational Iteration Method:

Consider the nonlinear differential equation

Lu+Nu=g( x ) (1.32)

where L and N are linear and nonlinear operators, respectively, and g(x) is the analytical function. We can construct a correction function according to the variational iteration method for Equation (1.34) in the form

u n+1 ( x )= u n ( x )+ 0 x λ( s ) ( L u n ( s )+N u ˜ n ( s )g( s ) )ds,n0, (1.33)

where λ is a general Lagrange multiplier, which can be identified optimally via the variational theory, u n is the nth approximate solution, and u ˜ n is a restricted variation, which means δ u ˜ n =0 .

It is evident that the main step of the He’s variational iteration method is to determine the Lagrange multiplier λ( s ) . We used integration by parts to find λ( s ) .

i.e., λ( s ) u n ( s )ds =λ( s ) u n ( s ) λ ( s ) u n ( s )ds

λ( s ) u n ( s )ds =λ( s ) u n ( s ) λ ( s ) u n ( s )+ λ ( s ) u n ( s )ds (1.34)

The successive approximations u n+1 ( x ) of the solution of u( x ) will be readily obtained upon using selective function u 0 ( x ) . However, for fast convergence, the function u 0 ( x ) should be selected by using the initial conditions as follows:

u 0 ( x )=u( 0 ) for the first order u n

u 0 ( x )=u( 0 )+x u ( 0 ) for the second order u n (1.35)

u 0 ( x )=u( 0 )+x u ( 0 )+ 1 2! x 2 u ( 0 ) for the third order u n

At last, the solution is given by u= lim n u n .

The Derivation of Iteration Scheme:

We examine how to derive the iteration formulas for the first and higher-order differential equations and determine the Lagrange multiplier λ( s ) .

Outlook of iteration Formulas:

Here, we present the iteration formulas for a specific class of differential equations:

( I ){ u +f( u, u )=0 u n+1 ( x )= u n ( x ) 0 x [ u n ( s )+f( u n , u n ) ]ds

( II ){ u +αu+f( u, u )=0 u n+1 ( x )= u n ( x ) 0 x e α( sx ) [ u n ( s )+α u n ( s )+f( u n , u n ) ]ds

( III ){ u +f( u, u , u )=0 u n+1 ( x )= u n ( x )+ 0 x ( sx ) [ u n ( s )+f( u n , u n , u n ) ]ds

( IV ){ u + β 2 u+f( u, u , u )=0 u n+1 ( x )= u n ( x )+ 1 β 0 x sinβ( sx ) [ u n ( s )+ β 2 u n ( s )+f( u n , u n , u n ) ]ds

( V ){ u α 2 u+f( u, u ,u'' )=0 u n+1 ( x )= u n ( x )+ 1 2α 0 x ( e α( sx ) e α( xs ) ) [ u n ( s ) α 2 u n ( s )+f( u n , u n , u n ) ]ds

( VI ){ u +f( u, u , u , u )=0 u n+1 ( x )= u n ( x ) 1 2 0 x ( sx ) 2 [ u n ( s )+f( u n , u n , u n , u n ) ]ds

( VII ){ u ( 4 ) +f( u, u , u , u , u ( 4 ) )=0 u n+1 ( x )= u n ( x )+ 1 6 0 x ( sx ) 3 [ u n ( 4 ) ( s )+f( u n , u n , u n , u n , u n ( 4 ) ) ]ds

( VIII ){ u ( n ) +f( u, u , u , u ,, u ( n ) )=0 u n+1 ( x )= u n ( x )+ ( 1 ) n 0 x 1 ( n1 )! ( sx ) n1 [ u n ( n ) ( s )+f( u n , u n , u n , u n ,, u n ( n ) ) ]ds

2. Methods

The method section addresses the solution of first-, second-, and third-order nonlinear differential equations using the ADM and the VIM. A comparative analysis of the results obtained from these two methods was conducted using Mathematica programming, employing built-in functions such as Integrate, Series, List Plot, Differentiate, and Do-loop.

The VIM, developed by He [5] [19] [23]-[26], is widely adopted in various scientific fields due to its reliability and efficiency in handling both linear and nonlinear applications [27]-[29]. Unlike the Adomian Decomposition Method, which relies on computational algorithms to manage nonlinear terms, VIM directly addresses differential equations without restrictive assumptions, preserving the physical integrity of the solutions [4] [30]. The VIM provides solutions through rapidly convergent successive approximations, potentially yielding exact solutions when they exist or practical numerical approximations with few iterations when exact solutions are not attainable [1] [31].

While ADM requires cumbersome derivation of Adomian polynomials for nonlinear terms and perturbation methods become computationally intensive with increased nonlinearity, VIM offers an advantage with no specific requirements for nonlinear operators [4]. Numerical techniques like the Galerkin method also demand substantial computational resources.

Extensive research has been conducted on linear and nonlinear ordinary differential equations (ODEs), with standard methods tailored to specific equations based on their order. The goal has been to develop a unified method capable of addressing most ODEs. VIM is proposed as an effective method to achieve this objective [32]. However, some complex issues, such as Troesch’s problem, may still necessitate numerous iterations for acceptable accuracy. The results section will briefly outline the main points of each method, with detailed discussions available in the referenced literature.

3. Results

3.1. Example 1

Solve the first-order nonlinear differential equation u 3 u 2 =3,u( 0 )=0 .

Solution using ADM:

The given equation

u 3 u 2 =3 (3.1)

In operator form is

Lu=3+3 u 2 ,u( 0 )=0 (3.2)

where L is a first-order differential operator. It is clear that L 1 is invertible and is given by

L 1 ( # )= 0 x ( # )dx (3.3)

operating L 1 on both sides of Equation (3.2) and using the initial condition gives

L 1 ( Lu )= L 1 ( 3+3 u 2 )

u( x )u( 0 )= L 1 ( 3+3 u 2 )

u( x )=3x+ L 1 ( 3 u 2 ) (3.4)

Equating the linear term u( x ) by an infinite series of components of u n ,n0 .

Representing the nonlinear term u 2 by an infinite series of Adomian polynomials A n ,n0 .

We get

n=0 u n ( x ) =3x+ L 1 ( n=0 3 A n ) (3.5)

The Adomian polynomials A n for u 2 are given by

A 0 = u 0 2

A 1 =2 u 0 u 1

A 2 =2 u 0 u 2 + u 1 2 (3.6)

A 3 =2 u 0 u 3 +2 u 1 u 2

A 4 =2 u 0 u 4 +2 u 1 u 3 + u 2 2

Choosing u 0 =3x , and applying the decomposition method gives the recursive relation

u 0 =3x

u n+1 = L 1 ( 3 A n ),n0

which gives

u 0 ( x )=3x

u 1 ( x )= L 1 ( 3 A 0 )= L 1 ( 3 u 0 2 )= L 1 ( 27 x 2 )=9 x 3

u 2 ( x )= L 1 ( 3 A 1 )= L 1 ( 3( 2 u 0 u 1 ) )= 162 x 5 5

u 3 ( x )= L 1 ( 3 A 2 )= L 1 ( 3( 2 u 0 u 2 . + u 1 2 ) )= 4131 x 7 35

u 4 ( x )= L 1 ( 3 A 3 )= L 1 ( 3( 2 u 0 u 3 +2 u 1 u 2 ) )= 15066 x 9 35

The solution in a series form is given by

u( x )= u 0 + u 1 + u 2 + u 3 + u 4 +

u( x )=3x+9 x 3 + 162 x 5 5 + 4131 x 7 35 + 15066 x 9 35 + (3.7)

In closed form, it is given as u( x )=tan( 3x ) , Which is the exact solution.

Solution using VIM:

We can use the iteration formula for the VIM method as given by

u n+1 ( x )= u n ( x )+ 0 x λ( t ) ( u n ( t )3 u n 2 ( t )3 )dt,n0 (3.8)

The stationary conditions are 1+ λ| t=x =0 , λ | t=x =0 .

We find that the Lagrange multiplier λ=1 .

Where u 0 ( x )=0 .

Which in turn gives the successive approximations as

u n+1 ( x )= u n ( x ) 0 x ( u n ( t )3 u n 2 ( t )3 )dt ,n0

u 1 ( x )= u 0 ( x ) 0 x ( u 0 ( t )3 u 0 2 ( t )3 )dt =3x (3.9)

u 2 ( x )= u 1 ( x ) 0 x ( u 1 ( t )3 u 1 2 ( t )3 )dt =3x+9 x 3 (3.10)

u 3 ( x )= u 2 ( x ) 0 x ( u 2 ( t )3 u 2 2 ( t )3 )dt =3x+9 x 3 + 162 x 5 5 + 243 x 7 7 (3.11)

u 4 ( x )= u 3 ( x ) 0 x ( u 3 ( t )3 u 3 2 ( t )3 )dt =3x+9 x 3 + 162 x 5 5 + 4131 x 7 35 + 9234 x 9 35 + 879174 x 11 1925 + 236196 x 13 455 + 59049 x 15 245 (3.12)

u( x )=3x+9 x 3 + 162 x 5 5 + 4131 x 7 35 + 15066 x 9 35 +

where the Taylor series is used for integration.

The exact solution is given by u( x )= lim n u n ( x ) .

Which in turn gives the exact solution u( x )=tan( 3x ) .

The numeric values of ADM and VIM for five iterates are depicted in Table 1 and Figure 1. We considered the x-values from 0 to 0.5 because, beyond x = 0.5, the values become excessively large. At x = 0.4, the ADM and VIM values coincided with the exact values. However, beyond this point, VIM values did not match the exact values, indicating that many more iterations of VIM would be required for accuracy.

Table 1. Comparison between the ADM solutions with VIM solutions using five iterations.

x

EXACT

ADM

VIM(u1(x))

VIM(u2(x))

VIM(u3(x))

VIM(u4(x))

0

0

0

0

0

0

0

0.1

0.309336

0.309336

0.3

0.309

0.309327

0.309336

0.2

0.684137

0.684099

0.6

0.672

0.682812

0.684024

0.3

1.26016

1.25602

0.9

1.143

1.22932

1.25363

0.4

2.57215

2.414

1.2

1.776

2.16465

2.39321

0.5

12.726

5.40033

1.5

2.625

3.90871

5.36862

Figure 1. Comparison between the ADM solutions with VIM solutions using five iterations. Numeric values of ADM and VIM for five iterates.

3.2. Example 2

Solve the second-order nonlinear differential equation.

u 2u u =0,u( 0 )=0, u ( 0 )=1

Solution using ADM:

In operator form, the given equation

u 2u u =0 (3.13)

Lu=2u u ,u( 0 )=0, u ( 0 )=1 (3.14)

where L is a second-order differential operator, L( # )= d 2 d x 2 ( # ) .

It is clear that L 1 is invertible and is given by

L 1 ( # )= 0 x 0 x ( # )dxdx (3.15)

operating L 1 on both sides of Equation (2.14) and using the initial condition gives

L 1 ( Lu )=2 L 1 ( u u )

u( x )u( 0 )x u ( 0 )=2 L 1 ( u u )

u( x )=x+2 L 1 ( u u ) (3.16)

Equating the linear term u( x ) by an infinite series of components of u n ,n0 .

Representing the nonlinear term u u by an infinite series of Adomian polynomials A n ,n0 .

We get

n=0 u n ( x ) =x+2 L 1 ( n=0 A n ) (3.17)

where A n =u u .

The Adomian polynomials A n for u u are given by

A 0 = u 0 u 0 x

A 1 = u 0 x u 1 + u 0 u 1 x

A 2 = u 0 x u 2 + u 1 x u 1 + u 2 x u 0

A 3 = u 0 x u 3 + u 1 x u 2 + u 2 x u 1 + u 3 x u 0 (3.18)

Choosing u 0 =x , and applying the decomposition method gives the recursive relation

u 0 =x

u n+1 =2 L 1 ( A n ),n0

which gives

u 0 =x

u 1 =2 L 1 ( A 0 )=2 L 1 ( u 0 u 0 x )=2 L 1 ( ( x )( 1 ) )= x 3 3

u 2 =2 L 1 ( A 1 )=2 L 1 ( u 0 x u 1 + u 0 u 1 x )=2 L 1 ( ( x 3 3 )( 1 )+( x )( x 2 ) )= 2 x 5 15

u 3 =2 L 1 ( A 2 )=2 L 1 ( u 0 x u 2 + u 1 x u 1 + u 2 x u 0 ) =2 L 1 ( ( 2 x 5 15 )( 1 )+( x 2 )( x 3 3 )+( 2 x 4 3 )( x ) )= 17 x 7 315

u 4 =2 L 1 ( A 3 )=2 L 1 ( u 0 x u 3 + u 1 x u 2 + u 2 x u 1 + u 3 x u 0 ) =2 L 1 ( ( 17 x 7 315 )( 1 )+( x 2 )( 2 x 5 15 )+( 2 x 4 3 )( x 3 3 )+( x )( 17 x 6 45 ) )= 62 x 9 2835

The solution in a series form is given by

u( x )= u 0 + u 1 + u 2 + u 3 + u 4 +

u( x )=x+ x 3 3 + 2 x 5 15 + 17 x 7 315 + 62 x 9 2835 +

In closed form, it is given as u( x )=tan( x ) , which is the exact solution.

Solution using VIM:

To use the VIM method, we can use the iteration formula as given by

u n+1 ( x )= u n ( x )+ 0 x λ( t ) ( u n ( t )2 u 3 u n ( t ) )dt,n0 (3.19)

The stationary conditions are 1 λ | t=x =0 ,

λ | t=x =0

λ | t=x =0

Where α=u( 0 )=0 , β= u ( 0 )=1 ;

Which gives the Lagrange multiplier λ=tx ;

Where u 0 ( x )=α+βx=0+( 1 )x=x .

The iteration formula is given as:

u n+1 ( x )= u n ( x )+ 0 x ( tx ) ( u n ( t )2 u n u n ( t ) )dt,n0

Which in turn gives the successive approximations as:

u 0 ( x )=x

u 1 ( x )= u 0 ( x )+ 0 x ( tx )( u 0 ( t )2 u 0 u 0 ( t ) )dt =x+ 0 x ( tx )( 02( t )( 1 ) )dt

u 1 ( x )=x+ x 3 3

u 2 ( x )= u 1 ( x )+ 0 x ( tx ) ( u 1 ( t )2 u 1 u 1 ( t ) )dt =x+ x 3 3 + 0 x ( tx ) ( 2t2( t+ t 3 3 )( 1+ t 2 ) )dt

u 2 ( x )=x+ x 3 3 + 2 x 5 15 + x 7 63

u 3 ( x )= u 2 ( x )+ 0 x ( tx )( u 2 ( t )2 u 2 u 2 ( t ) )dt =x+ x 3 3 + 2 x 5 15 + x 7 63 + 0 x ( tx ) ( ( 2t+ 8 t 3 3 + 2 t 5 3 ) 2( t+ t 3 3 + t 7 63 + 2 t 5 15 )( 1+ t 2 + 2 t 4 3 + t 6 9 ) )dt

u 3 ( x )=x+ x 3 3 + 2 x 5 15 + 17 x 7 315 + 38 x 9 2835 + 134 x 11 51975 + 4 x 13 12285 + x 15 59535

u 4 ( x )= u 3 ( x )+ 0 x ( tx ) ( u 3 ( t )2 u 3 u 3 ( t ) )dt =x+ x 3 3 + 2 x 5 15 + 17 x 7 315 + 38 x 9 2835 + 134 x 11 51975 + 4 x 13 12285 + x 15 59535 + 0 x ( tx ) ( ( 2t+ 8 t 3 3 + 34 t 5 15 + 304 t 7 315 + 268 t 9 945 + 16 t 11 315 + 2 t 13 567 ) 2( t+ t 3 3 + 2 t 5 15 + 17 t 7 315 + 38 t 9 2835 + 134 t 11 51975 + 4 t 13 12285 + t 15 59535 ) × ( 1+ t 2 + 2 t 4 3 + 17 t 6 45 + 38 t 8 315 + 134 t 10 4725 + 4 t 12 945 + t 14 3969 ) )dt

u 4 ( x )=x+ x 3 3 + 2 x 5 15 + 17 x 7 315 + 62 x 9 2835 + 1142 x 11 155925 + 13324 x 13 6081075 + 377017 x 15 638512875 + 1522814 x 17 10854718875 + 24022 x 19 820945125 + 29756 x 21 5746615875 + 12676238 x 23 16962094524375 + 256948 x 25 3016973334375 + 100732 x 27 14119435204875 + 8 x 29 21210236775 + x 31 109876902975

u( x )=x+ x 3 3 + 2 x 5 15 + 17 x 7 315 + 62 x 9 2835 + 1382 x 11 155925 + 21844 x 13 6081075 + 929569 x 15 638512875 + (2.20)

The exact solution is given by u( x )= lim n u n ( x ) .

Which in turn gives the exact solution u( x )=Tan( x ) .

The numerical values of ADM and VIM for five iterations are depicted in Figure 2 and Table 2. The error between the exact, ADM, and VIM values is negligible, especially for the lower iterates of VIM (VIM(u1(x)), VIM(u2(x))). This indicates that for lower iterates of VIM, the error compared to the exact values was much smaller than that for higher iterates of VIM.

Table 2. Comparison between the ADM solutions with VIM solutions using five iterations for 0<x<1 .

x

EXACT

ADM

VIM(u1(x))

VIM(u2(x))

VIM(u3(x))

VIM(u4(x))

0

0

0

0

0

0

0

0.1

0.100335

0.100335

0.100333

0.100335

0.100335

0.100335

0.2

0.20271

0.20271

0.202667

0.20271

0.20271

0.20271

0.3

0.309336

0.309336

0.309

0.309327

0.309336

0.309336

0.4

0.422793

0.422793

0.421333

0.422725

0.422791

0.422793

0.5

0.546302

0.546298

0.541667

0.545957

0.546282

0.546302

0.6

0.684137

0.684099

0.672

0.682812

0.684024

0.684129

0.7

0.842288

0.84207

0.814333

0.83805

0.841782

0.842239

0.8

1.02964

1.02861

0.970667

1.01769

1.02771

1.02938

0.9

1.26016

1.25602

1.143

1.22932

1.25363

1.2590

1.0

1.55741

1.5425

1.33333

1.48254

1.53696

1.55266

Figure 2. Comparison between the ADM solutions with VIM solutions using five iterations.

3.3. Example 3

Solve the third order linear non-homogeneous differential equation

u 2 u + u =1,u( 0 )=0, u ( 0 )=2, u ( 0 )=2

Solution using ADM:

In operator form the given equation

u 2 u + u =1 (3.21)

Can be written as

Lu=1+2 u u ,u( 0 )=0, u ( 0 )=2, u ( 0 )=2 (3.22)

where L is a third order differential operator, L( # )= d 3 d x 3 ( # ) .

It is clear that L 1 is invertible and is given by

L 1 ( # )= 0 x 0 x 0 x ( # )dxdxdx (3.23)

operating L 1 on both sides of Equation (3.22) and using the initial condition gives

L 1 ( Lu )= L 1 ( 1+2 u u )

u( x )u( 0 )x u ( 0 ) x 2 2! u ( 0 )= L 1 ( 1+2 u u )

u( x )=2x+ x 2 + x 3 6 + L 1 ( 2 u u ) (3.24)

Equating the linear term u( x ) by an infinite series of components of u n ,n0 .

We get the zeroth component u 0 =2x+ x 2 + x 3 6 and the recursive relation is given by u n+1 = L 1 ( 2 u n u n )

n=0 u n+1 ( x ) = L 1 ( n=0 2 u n u n ) (3.25)

The Adomian Polynomials are given as

u 0 =2x+ x 2 + x 3 6

u 1 = L 1 ( 2 u 0 u 0 )= L 1 ( 2( 2+x )( 2+2x+ x 2 2 ) )= x 3 3 x 5 120

u 2 = L 1 ( 2 u 1 u 1 )= L 1 ( 2( 2x x 3 6 )( x 2 x 4 24 ) )

u 2 = x 4 6 x 5 60 x 6 360 + x 7 5040

u 3 = L 1 ( 2 u 2 u 2 ) = L 1 ( 2( 2 x 2 x 3 3 x 4 12 + x 5 120 )( 2 x 3 3 x 4 12 x 5 60 + x 6 720 ) )

u 3 = x 5 15 x 6 90 x 7 2520 + x 8 10080 x 9 362880

u 4 = L 1 ( 2 u 3 u 3 ) = L 1 ( 2( 4 x 3 3 x 4 3 x 5 60 + x 6 180 x 7 5040 ) ( x 4 3 x 5 15 x 6 360 + x 7 1260 x 8 40320 ) )

u 4 = x 6 45 x 7 210 + x 8 10080 + x 9 36288 x 10 604800 + x 11 39916800

After a series of approximations, the solution in a series form is given by

u( x )= u 0 + u 1 + u 2 + u 3 + u 4 +

u( x )=2x+ x 2 + x 3 2! + x 4 3! + x 5 4! + x 6 5! + x 7 7! +

u( x )=2x+ x 2 + x 3 2! + x 4 3! + x 5 4! + x 6 5! + x 7 6! +

u( x )=x+x( 1+x+ x 2 2! + x 3 3! + x 4 4! + x 5 5! + x 6 6! + x 7 7! + )

In closed form, it is given as u( x )=x( 1+ e x ) which is the exact solution.

Solution using VIM:

To use the VIM method, we can use the iteration formula as given by

u n+1 ( x )= u n ( x )+ 0 x λ( t ) ( u n ( t )2 u n ( t )+ u n ( t )1 )dt,n0 (3.26)

The stationary conditions are 1 λ | t=x =0 ,

λ| t=x =0

λ | t=x =0

λ | t=x =0

Which gives the Lagrange multiplier λ= ( tx ) 2 2! .

Where α=u( 0 )=0 , β= u ( 0 )=2 , γ= u ( 0 )=2 .

Where u 0 ( x )=α+βx+ 1 2 γ x 2 =0+( 2 )x+ 1 2 ( 2 ) x 2 =2x+ x 2 .

The iteration formula is given as

u n+1 ( x )= u n ( x ) 1 2! 0 x ( tx ) 2 ( u n ( t )2 u n ( t )+ u n ( t )1 )dt,n0 (3.27)

Which in turn gives the successive approximations as:

u 0 ( x )=2x+ x 2

u 1 ( x )= u 0 ( x ) 1 2! 0 x ( tx ) 2 ( u 0 ( t )2 u 0 ( t )+ u 0 ( t )1 )dt =2x+ x 2 1 2! 0 x ( tx ) 2 ( 02( 2 )+( 2+2t )1 )dt =2x+ x 2 + x 3 2 x 4 12

u 1 ( x )=2x+ x 2 + x 3 2 x 4 12

u 2 ( x )= u 1 ( x ) 1 2! 0 x ( tx ) 2 ( u 1 ( t )2 u 1 ( t )+ u 1 ( t )1 )dt

u 2 ( x )=2x+ x 2 + x 3 2 x 4 12 1 2! 0 x ( tx ) 2 ( ( 32t )2( 2+3t t 2 )+( 2+2t+ 3 t 2 2 t 3 3 )1 )dt

u 2 ( x )=2x+ x 2 + x 3 2 + x 4 6 7 x 5 120 + x 6 360

u 3 ( x )= u 2 ( x ) 1 2! 0 x ( tx ) 2 ( u 2 ( t )2 u 2 ( t )+ u 2 ( t )1 )dt

u 3 ( x )=2x+ x 2 + x 3 2 + x 4 6 7 x 5 120 + x 6 360 1 2! 0 x ( tx ) 2 ( ( 3+4t 7 t 2 2 + t 3 3 )2( 2+3t+2 t 2 7 t 3 6 + t 4 12 ) + ( 2+2t+ 3 t 2 2 + 2 t 3 3 7 t 4 24 + t 5 60 )1 )dt

u 3 ( x )=2x+ x 2 + x 3 2 + x 4 6 + x 5 24 x 6 24 + 11 x 7 5040 x 8 20160

u 4 ( x )= u 3 ( x ) 1 2! 0 x ( tx ) 2 ( u 3 ( t )2 u 3 ( t )+ u 3 ( t )1 )dt

u 4 ( x )=2x+ x 2 + x 3 2 + x 4 6 + x 5 24 x 6 24 + 11 x 7 5040 x 8 20160 1 2! 0 x ( tx ) 2 ( ( 3+4t+ 5 t 2 2 3 t 3 + 11 t 4 24 t 5 60 ) 2( 2+3t+2 t 2 + 5 t 3 6 3 t 4 4 + 11 t 5 120 t 6 360 ) + ( 2+2t+ 3 t 2 2 + 2 t 3 3 + 5 t 4 24 3 t 5 20 + 11 t 6 720 t 7 2520 )1 )dt

u 4 ( x )=2x+ x 2 + x 3 2 + x 4 6 + x 5 24 + x 6 120 41 x 7 5040 + x 8 1008 x 9 24192 + x 10 1814400

u n ( x )=2x+ x 2 + x 3 2! + x 4 3! + x 5 4! + x 6 5! + x 7 6! +

u n ( x )=x+x( 1+x+ x 2 2! + x 3 3! + x 4 4! + x 5 5! + x 6 6! + x 7 7! + )

The exact solution is given by u( x )= lim n u n ( x ) .

Which in turn gives the exact solution

u( x )=x( 1+ e x ) (3.28)

The numerical values of ADM and VIM for five iterations are depicted in Figure 3 and Table 3. It was noted that the ADM values coincide with the exact values, whereas the VIM iterates (IM(u0(x)), VIM(u1(x))) deviate slightly from the exact and ADM values. The error between VIM and the exact values was more significant for lower iterates of VIM, while for higher iterates (VIM(u3(x)), VIM(u4(x))), the values coincided with ADM and the exact values. This indicates that calculating higher iterations resulted in plots overlapping with the ADM and exact values.

Table 3. Comparison between the ADM solutions with VIM solutions using three iterations.

x

EXACT

ADM

VIM(u0(x))

VIM(u1(x))

VIM(u2(x))

VIM(u3(x))

VIM(u4(x))

0

0

0

0

0

0

0

0

0.1

0.210517

0.210517

0.21

0.209508

0.210516

0.210517

0.210517

0.2

0.444281

0.44428

0.44

0.436133

0.444248

0.444278

0.44428

0.3

0.704958

0.704956

0.69

0.677175

0.70471

0.704933

0.704956

0.4

0.99673

0.996719

0.96

0.930133

0.995681

0.996594

0.996715

0.5

1.32436

1.32431

1.25

1.19271

1.32114

1.32384

1.32429

0.6

1.69327

1.69309

1.56

1.4628

1.68519

1.69173

1.69302

0.7

2.10963

2.1091

1.89

1.73851

2.09204

2.10576

2.10889

0.8

2.58043

2.5791

2.24

2.01813

2.54588

2.57182

2.57856

0.9

3.11364

3.1106

2.61

2.30018

3.05088

3.09619

3.1094

1.0

3.71828

3.71193

3.0

2.58333

3.61111

3.68547

3.70948

Figure 3. Comparison between the ADM solutions with VIM solutions using three iterations.

3.4. Riccati Differential Equation

We present here the analytical solutions of the Riccati Differential Equation of the form

dy dx =M( x )y+N( X ) y 2 +O( x ),y( 0 )=α (3.29)

where M( x ),N( x ) & O( x )  are scalar functions.

α is constant.

3.5. Example 1

Consider the following problem

u = u 2 +1,u( 0 )=0 (3.30)

If we compare Equation (3.2) with Equation (3.1), we find

M( x )=0,N( x )=1,O( x )=1,α=0

Solution using Adomian Decomposition Method (ADM):

In operator form, the given equation u = u 2 +1 can be written as

Lu= u 2 +1 (3.31)

where L is a first-order differential operator.

It is clear that L 1 is invertible and is given by L 1 ( # )= 0 x ( # )dx .

Operating L 1 on both sides of Equation (3.3) and using the initial condition gives

u( x )u( 0 )= L 1 ( u 2 )+ L 1 ( 1 )

u( x )=x L 1 ( u 2 )

where the zeroth approximation is

u 0 ( x )=x (3.32)

The recursive term of ADM is written as u n+1 ( x )= L 1 ( A n ) n0 .

Where A n is the nonlinear term u 2 .

The Adomian Polynomials can be given as:

A 0 = u 0 2

A 1 =2 u 0 u 1

  A 2 =2 u 0 u 2 + u 1 2 (3.33)

A 3 =2 u 0 u 3 +2 u 1 u 2

A 4 =2 u 0 u 4 +2 u 1 u 3 + u 2 2

Choosing u 0 =x , and applying the decomposition method gives the recursive relation

u 0 =x

u n+1 = L 1 ( A n ),n0 (3.34)

which gives

u 0 =x

u 1 = L 1 ( A 0 )= L 1 ( x 2 )= x 3 3

u 2 = L 1 ( A 1 )= L 1 ( 2 u 0 u 1 )= L 1 ( 2x( x 3 3 ) )= 2 x 5 15

u 3 = L 1 ( A 2 )= L 1 ( 2 u 0 u 2 + u 1 2 )= L 1 ( 2x( 2 x 5 15 )+ ( x 3 3 ) 2 )= 17 x 7 315

u 4 = L 1 ( A 3 )= L 1 ( 2 u 0 u 3 +2 u 1 u 2 ) = L 1 ( 2x( 17 x 7 315 )+2( x 3 3 )( 2 x 5 15 ) )= 62 x 9 2835

The solution in a series form is given by

u( x )= u 0 + u 1 + u 2 + u 3 + u 4 +

u( x )=x x 3 3 + 2 x 5 15   17 x 7 315 + 62 x 9 2835 +

In closed form, it is given as u( x )=tanh( x ) , which is the exact solution.

Solution using VIM:

To use the VIM method, we can use the iteration formula as given by

u n+1 ( x )= u n ( x )+ 0 x λ( t ) ( u n ( t )+ u n 2 ( t )1 )dt,n0 (3.35)

The stationary conditions are 1+ λ| t=x =0

λ | t=x =0

Which gives the Lagrange multiplier λ=1 .

Where α=u( 0 )=0 , i.e., u 0 ( x )=α=0 .

u 1 ( x )= u 0 ( x ) 0 x ( u 0 ( t )+ u 0 2 ( t )1 )dt =0 0 x ( 0+ ( 0 ) 2 1 )dt =x

u 1 ( x )=x

u 2 ( x )= u 1 ( x ) 0 x ( u 1 ( t )+ u 1 2 ( t )1 )dt =x 0 x ( 1+ t 2 1 )dt =x x 3 3

u 2 ( x )=x x 3 3

u 3 ( x )= u 2 ( x ) 0 x ( u 2 ( t )+ u 2 2 ( t )1 )dt =x x 3 3 0 x ( ( 1 t 2 )+ ( t t 3 3 ) 2 1 )dt =x x 3 3 + 2 x 5 15 x 7 63

u 3 ( x )=x x 3 3 + 2 x 5 15 x 7 63

u 4 ( x )= u 3 ( x ) 0 x ( u 3 ( t )+ u 3 2 ( t )1 )dt =x x 3 3 + 2 x 5 15 x 7 63 0 x ( ( 1 t 2 + 2 t 4 3 t 6 9 )+ ( t t 3 3 + 2 t 5 15 t 7 63 ) 2 1 )dt

u 4 ( x )=x x 3 3 4 x 7 105 + 38 x 9 2835 134 x 11 51975 + 4 x 12 12285 x 15 59535

And after a series of approximations.

The solution in a series form is given by

u n ( x )=x x 3 3 + 2 x 5 15   17 x 7 315 + 62 x 9 2835 + (3.36)

The exact solution is given by u( x )= lim n u n ( x ) .

Which in turn gives the exact solution u( x )=tanh( x ) .

Table 4. Comparison between the ADM solutions with VIM solutions using five iterations for 0<x<1 .

x

EXACT

ADM

VIM(u1(x))

VIM(u2(x))

VIM(u3(x))

VIM(u4(x))

0

0

0

0

0

0

0

0.1

0.099668

0.099668

0.1

0.0996667

0.099668

0.0996667

0.2

0.197375

0.197375

0.2

0.197333

0.197376

0.197333

0.3

0.291313

0.291313

0.3

0.291

0.291321

0.290992

0.4

0.379949

0.379949

0.4

0.378667

0.380006

0.378608

0.5

0.462117

0.462121

0.5

0.458333

0.462376

0.458061

0.6

0.53705

0.537078

0.6

0.528

0.537924

0.52706

0.7

0.604368

0.604514

0.7

0.585667

0.606769

0.583024

0.8

0.664037

0.664641

0.8

0.629333

0.669695

0.622944

0.9

0.716298

0.718392

0.9

0.657

0.72814

0.643252

1.0

0.761594

0.767901

1.0

0.666667

0.784127

0.639706

Figure 4. The numerical values of the Riccati differential equation using ADM and VIM for five iterations.

The numeric values of the Riccati differential equation using ADM and VIM for five iterates are depicted in Figure 4 and Table 4. It was noted that the values exceeded the exact values for lower iterations of VIM. However, the values of higher iterations coincided with the exact and ADM values, indicating that the error between the exact, ADM, and VIM values for higher iterations was negligible.

4. Discussion

The results of this study provide a detailed comparison between ADM and VIM for solving nonlinear differential equations of various orders. These findings highlight the strengths and limitations of each method in different engineering applications and provide valuable insights for researchers and practitioners.

The ADM, first envisioned by Adomian [33], is a simple but powerful method for solving a wide range of nonlinear problems. The ADM has been successfully applied in many situations. For instance, Dehghan et al. [3] solved variational problems using the ADM. Saha et al. [34] used the ADM to provide approximate solutions for extraordinary differential equations. Afrouzi et al. [22] applied the ADM to solve the Reaction-Diffusion equation. The ADM has been applied to solve the fully nonlinear sine-Gordon equations by Wang et al. [35].

In this study, the Riccati differential equation was solved using ADM and VIM [36]. The numerical results were compared with those of ADM solutions. One of the most notable findings of this study is the efficiency and rapid convergence of VIM compared to ADM. For instance, when solving the first-order nonlinear differential equation u' − 3u2 = 3u' − 3u2 = 3u' − 3u2 = 3, VIM provided accurate solutions with fewer iterations. This efficiency is attributed to VIM’s ability of the VIM to directly handle nonlinear terms without requiring cumbersome derivation of Adomian polynomials. The rapid convergence of VIM, as seen in the results, suggests that this method is particularly suitable for problems where rapid and accurate solutions are needed.

In contrast, ADM requires the computation of Adomian [37] polynomials, which can be labor-intensive and time-consuming, especially for higher-order nonlinear terms. The results show that, while ADM is capable of producing accurate solutions, the computational effort involved is significantly higher. This is evident in the examples provided, where ADM requires more iterations and complex polynomial calculations to achieve the same level of accuracy as VIM, as shown in Figures 1-4.

Both ADM and VIM demonstrated high accuracy in solving the differential equations tested. For the second-order nonlinear differential equation u" − 2uu' = 0u" – 2uu' = 0u" − 2uu' = 0, both methods produced solutions that closely matched exact solutions. However, VIM solutions were obtained more directly and with fewer computational steps, as shown in Tables 1-4. This direct approach to VIM makes it a more practical choice for engineering applications where computational resources and time are critical factors [2].

This study also highlights the versatility of VIM in handling a wide range of differential equations [38]. The method’s lack of restrictive assumptions allows it to be applied to various problems without altering the physical behavior of the system being modeled [39]. This was particularly evident in the examples involving HVAC and feedback control systems, where the VIM provided accurate thermal process and control dynamics models.

The findings of this study align with those of previous studies on the effectiveness of VIM [40]. For instance, He (2006) demonstrated the method’s efficiency in solving strongly nonlinear equations, a conclusion supported by the rapid convergence observed in this study [23]. Additionally, Wazwaz (2007) highlighted VIM’s superiority over ADM in solving Blasius equations, consistent with our comparative results [29] [32] [41].

In contrast, the ADM has been praised for its robustness in solving specific types of nonlinear problems. Studies by Dehghan and Tatari (2006) and Afrouzi (2006) showcased ADM’s capability in handling variational problems and reaction-diffusion equations, respectively [3] [22]. However, these studies also noted the method’s computational intensity, which is corroborated by the findings of this research. As observed in the results, the need for extensive polynomial calculations in ADM confirms the method’s higher computational demands compared to VIM [42].

The practical implications of these findings are significant for engineering research and practice. The choice between ADM and VIM should be guided by the specific requirements of the problem. VIM has emerged as the preferred method for scenarios in which rapid convergence and computational efficiency are paramount [43]. Its straightforward approach and minimal computational overhead make it ideal for real-time applications and complex system modeling [37].

However, ADM remains a valuable tool for problems where its specific strengths, such as handling variational issues or certain types of nonlinearities, are required [43]. The detailed polynomial expansions of ADM can provide deeper insights into the solution structure, which may be beneficial in specific research contexts [38].

Despite the clear advantages of the VIM, it is essential to acknowledge that this study was limited to specific types of nonlinear differential equations. Future research should explore the application of the VIM and ADM to a broader range of problems, including those with higher degrees of nonlinearity and more complex boundary conditions. Additionally, further studies could investigate hybrid approaches that combine the strengths of both methods to enhance the solution’s accuracy and efficiency.

5. Conclusions

The VIM offers rapid convergence through successive approximations without any restrictive assumptions or transformations that could alter the problem’s physical behavior. He’s VIM achieves this by iterating the correction function, unlike the ADM, which requires the derivation of Adomian polynomials. Consequently, the VIM simplifies the calculations and provides a more direct and straightforward approach. For nonlinear equations, which are common in expressing nonlinear phenomena, He’s VIM facilitates computational work and delivers solutions more quickly compared to the Adomian method. Even when exact solutions are unattainable, a few approximations in VIM are sufficient for numerical purposes, eliminating the need to calculate polynomials, as in the ADM.

This study provides a comprehensive comparison of the ADM and VIM, highlighting the superior efficiency and rapid convergence of the VIM in solving nonlinear differential equations. While both methods are capable of producing accurate solutions, the VIM’s direct approach and minimal computational requirements make it a more practical choice for many engineering applications. These findings contribute to the development of effective numerical methods for differential equations, offering valuable guidance for researchers and engineers in selecting the appropriate method for their specific requirements.

Conflicts of Interest

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

References

[1] Momani, S. and Odibat, Z. (2006) Analytical Approach to Linear Fractional Partial Differential Equations Arising in Fluid Mechanics. Physics Letters A, 355, 271-279.
https://doi.org/10.1016/j.physleta.2006.02.048
[2] Mohammed, S.A., Fadhel, F.S. and Hussain, K.A. (2024) Solution of Fractional Order Random Ordinary Differential Equations Using Variational Iteration Method. AIP Conference Proceedings, Baghdad, 26-27 August 2023, Article 080011.
https://doi.org/10.1063/5.0209933
[3] Dehghan, M. and Tatari, M. (2006) The Use of Adomian Decomposition Method for Solving Problems in Calculus of Variations. Mathematical Problems in Engineering, 2006, Article ID: 65379.
https://doi.org/10.1155/mpe/2006/65379
[4] Wazwaz, A. (2007) A Comparison between the Variational Iteration Method and Adomian Decomposition Method. Journal of Computational and Applied Mathematics, 207, 129-136.
https://doi.org/10.1016/j.cam.2006.07.018
[5] He, J. (2000) Variational Iteration Method for Autonomous Ordinary Differential Systems. Applied Mathematics and Computation, 114, 115-123.
https://doi.org/10.1016/s0096-3003(99)00104-6
[6] Rao, S.S. (2019) Engineering Optimization Theory and Practice. Wiley.
https://doi.org/10.1002/9781119454816
[7] Teschl, G. (2024) Ordinary Differential Equations and Dynamical Systems.
[8] Boyd, S. and Vandenberghe, L. (2004) Convex Optimization. Cambridge University Press.
https://doi.org/10.1017/cbo9780511804441
[9] Nocedal, J. and Wright, S.J. (2006) Theory of Constrained Optimization. In: Nocedal, J. and Wright, S.J., Eds., Numerical Optimization, Springer, 304-354.
[10] Bazaraa, M.S., Sherali, H.D. and Shetty, C.M. (2006) Nonlinear Programming: Theory and Algorithms. Wiley.
https://doi.org/10.1002/0471787779
[11] Gelfand, I.M. and Silverman, R.A. (2000) Calculus of Variations. Dover Publications.
[12] Arfken, G.B., Weber, H.J. and Harris, F.E. (2011) Mathematical Methods for Physicists: A Comprehensive Guide. Academic Press.
[13] Courant, R. and Hilbert, D. (2008) Methods of Mathematical Physics. Wiley.
[14] Evans, L.C. (2022) Partial Differential Equations. American Mathematical Society.
[15] Cormen, T.H., Leiserson, C.E., Rivest, R.L. and Stein, C. (2009) Introduction to Algorithms. MIT Press and McGraw-Hill.
[16] Deb, K., Sindhya, K. and Hakanen, J. (2016) Multi-Objective Optimization. In: Sengupta, R.N., Gupta, A. and Dutta, J., Eds., Decision Sciences, CRC Press, 161-200.
[17] Dehraj, S., et al. (2023) A Comparison of the Adomian Decomposition Method and Variational Iteration Method for a Two-Dimensional Nonlinear Wave Equation. Journal of Hunan University Natural Sciences, 50, 28-37.
https://doi.org/10.55463/issn.1674-2974.50.2.3
[18] Ramli, W.K.H.W., et al. (2023) The Solution of Third Order Ordinary Differential Equations using Adomian Decomposition Method and Variational Iteration Method. Journal of Mathematics and Computing Science, 9, 67-75.
[19] He, J.-H. (2007) Variational Iteration Method—Some Recent Results and New Interpretations. Journal of Computational and Applied Mathematics, 207, 3-17.
https://doi.org/10.1016/j.cam.2006.07.009
[20] Adomian, G. (1991) A Review of the Decomposition Method and Some Recent Results for Nonlinear Equations. Computers & Mathematics with Applications, 21, 101-127.
https://doi.org/10.1016/0898-1221(91)90220-X
[21] Duan, J.-S., Rach, R., Baleanu, D. and Wazwaz, A.-M. (2012) A Review of the Adomian Decomposition Method and Its Applications to Fractional Differential Equations. Communications in Fractional Calculus, 3, 73-99.
[22] Afrouzi, G. and Khademloo, S. (2006) On Adomian Decomposition Method for Solving Reaction Diffusion Equation. International Journal of Nonlinear Science, 2, 11-15.
[23] He, J. (2006) Some Asymptotic Methods for Strongly Nonlinear Equations. International Journal of Modern Physics B, 20, 1141-1199.
https://doi.org/10.1142/s0217979206033796
[24] He, J. (1998) Approximate Analytical Solution for Seepage Flow with Fractional Derivatives in Porous Media. Computer Methods in Applied Mechanics and Engineering, 167, 57-68.
https://doi.org/10.1016/s0045-7825(98)00108-x
[25] He, J. (2008) An Elementary Introduction to Recently Developed Asymptotic Methods and Nanomechanics in Textile Engineering. International Journal of Modern Physics B, 22, 3487-3578.
https://doi.org/10.1142/s0217979208048668
[26] He, J. and Wu, X. (2007) Variational Iteration Method: New Development and Applications. Computers & Mathematics with Applications, 54, 881-894.
https://doi.org/10.1016/j.camwa.2006.12.083
[27] Momani, S. and Abuasad, S. (2006) Application of He’s Variational Iteration Method to Helmholtz Equation. Chaos, Solitons & Fractals, 27, 1119-1123.
https://doi.org/10.1016/j.chaos.2005.04.113
[28] Abdou, M.A. and Soliman, A.A. (2005) Variational Iteration Method for Solving Burger’s and Coupled Burger’s Equations. Journal of Computational and Applied Mathematics, 181, 245-251.
https://doi.org/10.1016/j.cam.2004.11.032
[29] Wazwaz, A. (2007) The Variational Iteration Method for Solving Two Forms of Blasius Equation on a Half-Infinite Domain. Applied Mathematics and Computation, 188, 485-491.
https://doi.org/10.1016/j.amc.2006.10.009
[30] Abulwafa, E.M., Abdou, M.A. and Mahmoud, A.A. (2006) The Solution of Nonlinear Coagulation Problem with Mass Loss. Chaos, Solitons & Fractals, 29, 313-330.
https://doi.org/10.1016/j.chaos.2005.08.044
[31] Wazwaz, A. (2008) A Study on Linear and Nonlinear Schrodinger Equations by the Variational Iteration Method. Chaos, Solitons & Fractals, 37, 1136-1142.
https://doi.org/10.1016/j.chaos.2006.10.009
[32] Wazwaz, A. (2007) The Variational Iteration Method for Exact Solutions of Laplace Equation. Physics Letters A, 363, 260-262.
https://doi.org/10.1016/j.physleta.2006.11.014
[33] Adomian, G. (2013) Solving Frontier Problems of Physics: The Decomposition Method. Springer Science & Business Media.
[34] Ray, S.S. and Bera, R.K. (2000) Solution of an Extraordinary Differential Equation by Adomian Decomposition Method. Journal of Applied Mathematics, 2004, 331-338.
https://doi.org/10.1155/s1110757x04311010
[35] Wang, Y., Wang, L. and Zhang, W. (2006) Application of the Adomian Decomposition Method to Fully Nonlinear Sine-Gordon Equation. International Journal of Nonlinear Science, 2, 29-38.
[36] Kumar, S., Gupta, V., Kumar, A. and Gómez-Aguilar, J.F. (2023) An Accurate Operational Matrix Method Based on Lagrange Polynomials for Solving Fractional-Order Pantograph Delay and Riccati Differential Equations. Physica Scripta, 98, Article 044005.
https://doi.org/10.1088/1402-4896/acc0a8
[37] Albogami, D., Maturi, D. and Alshehri, H. (2023) Adomian Decomposition Method for Solving Fractional Time-Klein-Gordon Equations Using Maple. Applied Mathematics, 14, 411-418.
https://doi.org/10.4236/am.2023.146024
[38] Shirazian, M. (2023) A New Acceleration of Variational Iteration Method for Initial Value Problems. Mathematics and Computers in Simulation, 214, 246-259.
https://doi.org/10.1016/j.matcom.2023.07.002
[39] Shihab, M.A., Taha, W.M., Hameed, R.A., Jameel, A. and Sulaiman, I.M. (2023) Implementation of Variational Iteration Method for Various Types of Linear and Nonlinear Partial Differential Equations. International Journal of Electrical and Computer Engineering, 13, 2131-2141.
https://doi.org/10.11591/ijece.v13i2.pp2131-2141
[40] Arora, G., Hussain, S. and Kumar, R. (2023) Comparison of Variational Iteration and Adomian Decomposition Methods to Solve Growth, Aggregation and Aggregation-Breakage Equations. Journal of Computational Science, 67, Article 101973.
https://doi.org/10.1016/j.jocs.2023.101973
[41] Wazwaz, A. (2007) The Variational Iteration Method for Rational Solutions for KdV, K(2,2), Burgers, and Cubic Boussinesq Equations. Journal of Computational and Applied Mathematics, 207, 18-23.
https://doi.org/10.1016/j.cam.2006.07.010
[42] Lanlege, D.I., Edibo, F.M. and Omeiza, M.S. (2023) Solution of Fredholm Integro-Differential Equation by Variational Iteration Method. Fudma Journal of Sciences, 7, 1-8.
https://doi.org/10.33003/fjs-2023-0702-1697
[43] Laoubi, M., Odibat, Z. and Maayah, B. (2022) Effective Optimized Decomposition Algorithms for Solving Nonlinear Fractional Differential Equations. Journal of Computational and Nonlinear Dynamics, 18, Article 021001.
https://doi.org/10.1115/1.4056254

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.