Abstract

In this paper, series solution of second-order integrodifferential equations with boundary conditions of the Fredholm and Volterra types by means of the homotopy analysis method is considered. The new approach provides the solution in the form of a rapidly convergent series with easily computable components using symbolic computation software. The homotopy analysis method provides us with a simple way to adjust and control the convergence region of the infinite series solution by introducing an auxiliary parameter. The proposed technique is applied to a few test examples to illustrate the accuracy, efficiency, and applicability of the method. The results reveal that the method is very effective, straightforward, and simple.

1. Introduction

Integrodifferential equations (IDEs) are often involved in the mathematical formulation of physical and engineering phenomena. IDEs can be encountered in various fields of science such as physics, chemistry, biology, and engineering. These kinds of equations can also be found in numerous applications, such as electromagnetic, plasma physics, elasticity, fluid dynamics, oscillation theory, polymer rheology, chemical kinetics, biomechanics, and control theory [15]. Since it is usually impossible to obtain the closed-form solutions to second-order boundary value problems of IDEs met in practice, these problems must be attacked by various approximate and numerical methods.

The purpose of this paper is to extend the application of the homotopy analysis method (HAM) to provide symbolic approximate solution for the second-order boundary value problems of IDEs of the following Fredholm type: and the following Volterra type: subject to the boundary conditions where are real finite constants, is an unknown function to be determined, and are continuous functions on and , respectively, and are nonlinear continuous functions of . For details about the existence and uniqueness of solutions for such problems, see [68]. However, we assume that (1.1) and (1.2) subject to the boundary conditions (1.3) have a unique analytic solution on the given interval.

The numerical solvability of second-order IDEs with boundary conditions of the Fredholm and Volterra types and other related equations has been pursued by several authors. To mention a few, in [9], the authors have discussed the Legendre polynomials method for solving Fredholm equation . Furthermore, the compact finite difference method is carried out in [10] for the Volterra IDE and the Fredholm IDE . Recently, the monotone iterative sequences method for solving Volterra equation is proposed in [11].

The HAM, which is proposed by Liao [1217], is effectively and easily used to solve some classes of linear and nonlinear problems without linearization, perturbation, or discretization. The HAM is based on the homotopy, a basic concept in topology. The auxiliary parameter is introduced to construct the so-called zero-order deformation equation. Thus, unlike all previous analytic techniques, the HAM provides us with a family of solution expressions in auxiliary parameter . As a result, the convergence region and rate of solution series are dependent upon the auxiliary parameter and thus can be greatly enlarged by means of choosing a proper value of . This provides us with a convenient way to adjust and control convergence region and rate of solution series given by the HAM.

In the recent years, extensive work has been done using HAM, which provides analytical approximations for linear and nonlinear equations. This method has been implemented in several functional equations, such as nonlinear water waves [15], unsteady boundary-layer flows [16], solitary waves with discontinuity [17], Klein-Gordon equation [18], projectile motion with the quadratic resistance law [19], systems of fractional differential equations [20], nonlinear fractional differential equations [21, 22], systems of fractional algebraic-differential equations [23], fractional SIR model [24], singular Volterra integral equation [25], charged particle motion for certain configurations of oscillating magnetic fields [26], Volterra population growth model [27], systems of fractional IDEs [28], and high-order IDEs [29].

The outline of the paper is as follows. In the next section, the basic idea of the HAM is introduced. In Section 3, we utilize the statement of the HAM for solving second-order IDEs with boundary conditions of the Fredholm and Volterra types. In Section 4, numerical examples are given to illustrate the capability of HAM. This paper ends in Section 5 with some concluding remarks.

2. Homotopy Analysis Method

The principles of the HAM and its applicability for various kinds of functional equations are given in [1228]. For convenience of the reader, we will present a review of the HAM [1217] then we will extend the HAM to construct a symbolic approximate solution to second-order IDEs with boundary conditions of the Fredholm and Volterra types. To achieve our goal, we consider the following nonlinear functional equation: where N is a nonlinear operator and is an unknown function of independent variable .

Let denote an initial guess of the exact solution of (2.1), an auxiliary parameter, an auxiliary function, and an auxiliary linear operator with the property when . The auxiliary parameter , the auxiliary function , and the auxiliary linear operator play important roles within the HAM [12]. As we will see later, choosing suitable values of the auxiliary parameter will help us to adjust and control the convergence region of the series solution.

Liao [1217] constructs, using as an embedding parameter, the so-called zero-order deformation equation as where is the solution of (2.1) which depends on , , , , and . When , the zero-order deformation equation (2.2) becomes and when , since and , the zero-order deformation equation (2.2) reduces to

So, is exactly the solution of the nonlinear equation (2.1). Thus, according to (2.3) and (2.4), as increases from 0 to 1, the solution varies continuously from the initial approximation to the exact solution .

Define the so-called th-order deformation derivatives expanding in Taylor series with respect to the embedding parameter , using (2.3) and (2.5), we obtain

Assume that the auxiliary parameter, the auxiliary function , the initial approximation , and the auxiliary linear operator are properly chosen so that the power series (2.6) of converges at . Then, we have under these assumptions the series solution .

Define the vector . Differentiating equation (2.2) -times with respect to embedding parameter , then setting and dividing them by . Using (2.5), we have the so-called th-order deformation equation as where

For any given nonlinear operator , the term can be easily expressed by (2.8). Thus, we can gain by means of solving the linear high-order deformation equation (2.7) one after the other in order. The th-order approximation of is given by .

3. Solving Second-Order Boundary Value Problems of IDEs by HAM

Throughout this section, we will utilize the construction for the IDEs of the Fredholm type in order not to increase the length of the paper without the loss of generality for the remaining type. However, similar construction can be implemented for the Volterra type.

Accordingly, we extend the application of the HAM to solve the second-order IDEs of the Fredholm type subject to the boundary conditions (1.3).

First of all, we assume that (3.1) satisfies the initial condition ,  where the unknown constant can be later determined by substituting the boundary condition into the obtained solution. After that, we chose the initial guess such that the initial conditions and are satisfied. That is, the initial guess will be of the form . Finally, we take the auxiliary linear operator which satisfies the property , where are constants of integrations.

The so-called zero-order deformation equation will be defined as where when , (3.2) reduces to . In this case, the so-called th-order deformation equation can be constructed as Operating the operator , the inverse operator of to both sides of (3.4), then, the th-order deformation equation will have the following form: where and the th-order approximation of can be given as

If we substitute the boundary condition into (3.7), then we obtain an equation of the variable . And so, the approximate solution for (3.1) and (1.3) will be completely constructed. For simplicity, in this paper, we assume that the value of the auxiliary function is kept at .

4. Numerical Results and Discussion

HAM provides an analytical approximate solution in terms of an infinite power series. However, there is a practical need to evaluate this solution and to obtain numerical values from the infinite power series. The consequent series truncation and the practical procedure are conducted to accomplish this task. In this section, we consider four examples to demonstrate the performance and efficiency of the present technique. Through this paper all the symbolic and numerical computations are performed by using Mathematica 7.0 software package.

To show the accuracy of the present method for our problems, we report three types of error. The first one is the residual error, , defined as for the Fredholm type and similarly for the Volterra type, while the exact, , and relative, , errors are defined, respectively, by where , is the th-order approximation of obtained by the HAM, and is the exact solution.

Example 4.1. Consider the following linear Fredholm IDE: subject to the boundary conditions The exact solution is , where , , and .
According to (3.6) and (2.5), we have
Assuming the initial approximation of (4.3) has the form , which satisfies the initial conditions and . Consequently, the first few terms of the HAM series solution for (4.3) according to these initial conditions are as follows: To determine the value of , we must chose a value to the auxiliary parameter . It was proved that if we set , then we have the Adomian decomposition solution which is a special case of the HAM solution [30, 31]. Therefore, is available value for. Now, substitute and the boundary condition at into the 10th order approximation of to get .
Figure 1 shows the 10th-order approximate solution of (4.3) and (4.4) obtained by HAM at together with the exact solution. It is clear from the figure that the approximate solution is in high agreement with the exact solution.
Since the value of has been identified previously, the valid region for the values of can be obtained by the so-called -curve which correspond to the horizontal line as shown in Figure 2. Thus, the valid region of is .

Figure 3 shows a comparison between the exact and residual errors obtained from the 10th-order approximation of for (4.3) and (4.4) at , while Figures 4 and 5 show respectively how the exact and residual errors change with varying the values of .

Example 4.2. Consider the following nonlinear Fredholm IDE: subject to the boundary conditions The exact solution is .
According to (3.6) and (2.5), we have Choose the initial guess approximation as , which satisfies the initial conditions and . Then, we have the following approximations terms of the HAM series solution for (4.8): As in the previous example, we determine an introductory value of the constant by substituting and the boundary condition at into the obtained HAM solution. So, the 5th-order approximation of gives . Figure 6 shows the 5th-order approximate solution of (4.8) and (4.9) obtained by HAM at together with the exact solution, while Figure 7 shows the -curve corresponding to the 5th-order approximate HAM solution. It is clear from Figure 7 that the valid region of is .
Our next goal is to show how the auxiliary parameter affects the approximate solutions. However, it is evident from Figure 6 that both curves corresponding to the th-order approximate HAM solution and the exact solution are not coinciding in general at . To improve the solution, let us compute other values of at different values of. Table 1 shows the values of the constant at different values of the auxiliary parameter.
Representation the exact solution and the 5th-order approximate HAM solution of (4.8) and (4.9) at different values of mentioned in Table 1 shows that all these solutions are approximately identical. However, Figure 8 shows the correspondence between the exact solution and the 5th-order approximate HAM solution of (4.8) and (4.9) at . From the last mentioned figure, we see that we can achieve a good approximation with the exact solution by using a few terms in HAM.
Figure 9 shows a comparison between the exact errors of (4.8) and (4.9) at different values of corresponding to the 5th-order approximate HAM solution. It is to be noted that the accuracy of certain node at is more convincing than the other values of .

Example 4.3. Consider the following linear Volterra IDE: subject to the boundary conditions The exact solution is .
According to (3.6) and (2.5), we have Choose the initial guess approximation as , which satisfies the initial conditions and . Using the iteration formula (3.5), we can directly obtain the following approximations terms of the HAM series solution for (4.13): The rest of components of the iteration formula (3.5) can be obtained in a similar way.
To find the value of , substitute and the boundary condition at into the 5th-order approximation of to get . After that, substituting the value of in the 5th-order approximation of and plotting the -curve, we can obtain the valid region of which is as shown in Figure 10.

The graph of the 5th-order approximate HAM solution of (4.13) and (4.14) at together with the exact solution are depicted in Figure 11. It is evident from the figure that the 5th-order approximate HAM solution agrees with the exact solution in the interval .

In Table 2, the exact, relative, and residual errors have been calculated for various in to measure the extent of agreement between the 5th-order approximate HAM solution at and the exact solution. From the table, it can be seen that the HAM provides us with the accurate approximate solution of (4.13) and (4.14).

Example 4.4. Consider the following nonlinear Volterra IDE: subject to the boundary conditions The exact solution is .
According to (3.6) and (2.5), we have Assume that the initial approximation of (4.18) has the form , which satisfies the initial conditions and . Using the iteration formula (3.5), we can directly obtain the following approximations terms of the HAM series solution for (4.18) subject to these initial conditions: Similarly to the previous discussion, one can substitute and the boundary condition at into the 5th-order approximation of to get . Figure 12 shows the agreement between the 5th-order approximate HAM solution of (4.18) and (4.19) at and the exact solution.

Since the value of has been identified previously, the valid region for the values of can be obtained by the so-called -curve which correspond to the horizontal line as shown in Figure 13. Thus, it is clear from the figure that the valid region of is .

The detailed data of for (4.18) and (4.19) that includes the exact nodal values, the 5th-order approximate HAM solution nodal values, and the exact error are given in Table 3. It is clear that the accuracy obtained using HAM is in advanced by using only five terms approximations.

5. Conclusion

The main concern of this work has been to propose an efficient algorithm for the solution of second-order IDEs with boundary conditions of the Fredholm and Volterra types. The goal has been achieved by extending the HAM to solve this class of boundary value problems. We can conclude that the HAM is a powerful and efficient technique in finding approximate solutions for linear and nonlinear boundary value problems of second-order IDEs of different types. The proposed algorithm produced a rapidly convergent series by choosing suitable values of the auxiliary parameter. After computing several approximants and using the boundary conditions at the boundary points, we can easily determine the approximate solution.

There are two important points to make here. First, HAM provides us with a simple way to adjust and control the convergence region of the series solution by introducing the auxiliary parameter. Second, the results obtained by HAM are very effective and convenient in linear and nonlinear cases with less computational work. This confirms our belief that the efficiency of our technique gives it much wider applicability for general classes of linear and nonlinear problems.