#### Abstract

The pantograph equation is a special type of functional differential equations with proportional delay. The present study introduces a compound technique incorporating the perturbation method with an iteration algorithm to solve numerically the delay differential equations of pantograph type. We put forward two types of algorithms, depending upon the order of derivatives in the Taylor series expansion. The crucial convenience of this method when compared with other perturbation methods is that this method does not require a small perturbation parameter. Furthermore, a relatively fast convergence of the iterations to the exact solutions and more accurate results can be achieved. Several illustrative examples are given to demonstrate the efficiency and reliability of the technique, even for nonlinear cases.

#### 1. Introduction and Preliminaries

The pantograph equation is a special type of functional differential equations with proportional delay. It arises in rather different fields of pure and applied mathematics, such as electrodynamics, control systems, number theory, probability, and quantum mechanics. Many researchers have studied the pantograph-type delay differential equation using analytical and numerical techniques [18]. The second-order pantograph-type delay differential equation is given as [7, 8]with the boundary conditions where and .

A brief review of recent literature on the methods of solution for pantograph-type delay differential equations can be found in the paper by Trif [9].

On the other hand, perturbation methods [10] have been among the most common approximate methods used for solving algebraic equations, differential equations, integrodifferential equations, and difference equations. The primary limitation of these methods is the necessity of a small parameter. This parameter might come out as an original physical parameter of the given equation or, alternatively, it may be inserted as an artificial parameter. Several different methods have been established in order to deal with this limitation.

In this study, we present the application of a hybrid technique combining the perturbation method with an iteration algorithm to find a numerical solution for pantograph-type delay differential equations. Various researchers considered this new perturbation-iteration method [1116]. Pakdemirli and coworkers, besides others, have studied extensively this method. The first study on algebraic equations was carried out by Pakdemirli and Boyacı [17] where they proposed new root finding algorithms using the new systematic approach. Later, fourth-order [18] and fifth-order [19] derivative algorithms were presented. Aksoy and Pakdemirli [20] systematically generated the present method for both linear and nonlinear second-order differential equations and applied to it Bratu-type equations. Dolapçi et al. [21] used this method to solve Fredholm and Volterra integral equations and argued that it can be applied to both types of integral equations.

The main purpose of the work presented in this paper is to apply the new perturbation-iteration solution for the pantograph-type delay differential equations. To the authors’ knowledge, the application of perturbation-iteration algorithms to pantograph-type delay differential equations is novel. The two types of perturbation-iteration algorithms, and , are introduced in the next section. Then, the method is applied to pantograph equations via six examples, two of which are first-order linear, one is first-order nonlinear, and the others are second-order nonlinear; they showed excellent agreement with the published results and verified the accuracy and efficiency of the present method. The results are discussed and commented on.

The general form of pantograph-type delay differential equations of both first- and second-order, including (1), can be stated aswhere , , is a given constant, and is the perturbation parameter. In this study, we investigated a solution for (3) which is closed form. Equation (3) covers many different problems studied by various researchers.

#### 2. Perturbation-Iteration Algorithms

Perturbation-iteration algorithms are briefly called . Here, denotes the number of correction terms in the perturbation expansion and denotes the order of derivatives in the Taylor series expansion. Generally, is smaller than or equal to ; otherwise, the correction terms cannot be calculated. In this study, and algorithms constructed by taking correction term in the perturbation expansion together with first- and second-order derivatives, respectively, are employed.

##### 2.1. Perturbation-Iteration Algorithm PIA(1, 1)

In algorithm, we propose a perturbation-iteration algorithm by taking one correction term in the perturbation expansion and correction terms of only the first derivatives in the Taylor expansion; that is, , . Let us consider a second-order pantograph differential equation written in the form of (3). Taking only one correction term in the perturbation expansion, the straightforward expansion for the solution of each iteration can be written as follows:where is the th correction term of the perturbation-iteration algorithm. Then, we substitute (4) into (3) and expand it in a Taylor series with first derivatives to obtainwhere denotes differentiation with respect to the independent variable and Bearing in mind that all derivatives are evaluated at and rewriting the equation in the following more suitable formone may easily notice that (7) is a variable coefficient pantograph equation. Starting with an initial guess , first, we determine from (7) and then substitute it into (4) for calculating . This iteration procedure is repeated using (4) and (7) until the approximation is sufficient within a user-defined threshold.

##### 2.2. Perturbation-Iteration Algorithm PIA(1, 2)

In algorithm, we put forward a perturbation-iteration algorithm by taking one correction term in the perturbation expansion and correction terms of up to second derivatives in the Taylor expansion; that is, , . Only one correction term perturbation expansion was given before in (4). Now, we substitute (4) into (3) and expand in a Taylor series of up to second-order derivatives to obtainThen, bearing in mind that all derivatives are evaluated at , we rewrite this equation in the following more suitable form:Equation (9) is a variable coefficient pantograph equation of order two. We repeat the previously mentioned iteration procedure until the approximation is sufficient within a user-defined threshold.

#### 3. Application of the Method to the Pantograph-Type Delay Differential Equations

In order to illustrate the accuracy and applicability of the presented method, the new perturbation-iteration algorithm is applied to six pantograph-type delay differential equations of different types. For comparison purposes, the solution intervals of problems are chosen generally the same as those in the references. Yet, the solution intervals are enlarged in illustrative examples 3 and 5. For a further wider interval, the method should be modified such that the Taylor series expansions are made around points other than zero.

##### 3.1. Illustrative Example  1

Consider the first-order linear pantograph differential equation [25]:with the initial conditionfor which the exact solution is [25].

Equation (10) can be written in the following form:where is assumed to be the perturbation parameter. The nonzero terms of (7) in algorithm areUpon substituting the terms of (13), (7) reduces toWhen applying the iteration formula (4), we select an initially assumed function. Here, we start with the following trivial solution which satisfies the given initial condition:Using (4) and (14), the approximate solutions at each step becomeTable 1 gives a comparison of the absolute errors of the method with those of other numerical methods. It is apparent from the table that the absolute errors of method are smaller than those of the other methods for , and also, considering the first four iteration solutions given in (16), one may notice that the numerical solution converges to the exact solution. Absolute errors obtained by method are almost the same as those obtained by the Variational Iteration Method (VIM) [22] for .

##### 3.2. Illustrative Example  2

Consider the first-order linear pantograph differential equation [3]:with the initial conditionwhich does not have an exact solution. Equation (17) can be written in the following form:where is the artificially introduced perturbation parameter. The nonzero terms of (7) in algorithm areFor this specific example, (7) reduces toWhen applying the iteration formula (4), we start with the following trivial solution as the initial function, which satisfies the given initial conditions:Using (4) and (21), the successive iteration results are Table 2 shows the solutions of (17) for iteration numbers . As stated above, we do not know the exact solution; therefore, we estimate a solution and observe a convergence.

A comparison of the results obtained by several different methods is shown in Table 3. The numerical results are consistent.

##### 3.3. Illustrative Example  3

Consider the first-order nonlinear pantograph differential equation [29]:with the initial conditionwhich has the exact solution .

Equation (24) can be written in the following form:where is assumed to be the perturbation parameter. The nonzero terms of (7) in algorithm areThe th correction term of the perturbation expansion in (4) is

In this example, we start with the initial guess:Thus, the successive approximations are Subsequently, we determine the absolute maximum error for asThe absolute maximum errors for different values of are given in Table 4. Note that the error decreases continually as increases.

The same problem is solved in various studies and it is seen that the absolute maximum error for solving this example via Homotopy Asymptotic Method is [30] and via Optimal Homotopy Asymptotic Method is [29] while the absolute maximum error obtained by the method is . This affirmed that the presented method is more accurate than the other two methods.

In Figure 1, the first three iteration solutions of the method contrasted with the exact solution. It is revealed that even when the solution interval of the problem is expanded, method goes on to yield convergent numerical solutions.

##### 3.4. Illustrative Example  4

Consider the initial value problem of second-order differential equation with pantograph delay [31]:with initial conditionswhich has the exact solution .

###### 3.4.1. PIA(1, 1) Solution

Equation (32) can be written in the following form:where is the artificially introduced perturbation parameter. Using (3), (34) returns toThe nonzero terms of (7) in algorithm areSubstituting (36), (32) reduces to

The initial trial function is selected as and using (37), the approximate first iteration solution is obtained asEven the first iteration of solution, , gave the same result as the first iteration solution obtained by the VIM [31]. Still, the second and third iteration solutions of the problem are better than those of the VIM solutions as observed in Figures 2 and 3.

###### 3.4.2. PIA(1, 2) Solution

In order to apply the algorithm obtained by (9), we have to write (32) in the following form:where is the artificially introduced perturbation parameter. The nonzero terms of (9) in algorithm are

Note that introducing the small parameter as a coefficient of the pantograph term simplifies (40) and makes it easily solvable. For this specific example, (40) readsWhen applying the iteration formula (4), we select the following initially assumed function: and using (9), the approximate solution is

First iteration of and second and third iterations of VIM solutions are compared with the exact solution. As can be seen from Figure 4, even the first iteration of yields much better results than the first three iteration solutions of the VIM.

##### 3.5. Illustrative Example  5

Consider the initial value problem of nonlinear variable coefficient differential equation with pantograph delay [6]:with initial conditionswhich has the exact solution .

Equation (45) can be written in the following form:where is the artificially introduced perturbation parameter. Using (3), (45) returns toThe nonzero terms in algorithm areSubstituting (49), (45) reduces to

The initial trial function is selected as and using (50), the approximate first iteration solution is obtained asThe absolute maximum errors for different values of are given in Table 5, and it is revealed that the error decreases continually as increases.

Figure 5 illustrates the solution of this example in the interval . In this example, we enlarge the interval so as to compare our solution more thoroughly with the exact solution. The present method yields pretty good results.

##### 3.6. Illustrative Example  6

Consider the second-order nonlinear pantograph functional differential equation [7, 8]:with initial conditionswhich has the exact solution .

Equation (45) can be written in the following form:where is the artificially introduced small parameter. Using (3), (45) returns toThe nonzero terms in algorithm areSubstituting (49), (45) reduces to

The initial trial function is selected as and using (50), the approximate first iteration solution is obtained as

In Figure 6, first three iteration solutions obtained by the algorithm are compared with the exact solution. The convergence of iteration solutions to the exact solution is obvious.

Figure 7 illustrates the absolute error functions of the first three iteration solutions of the method. The maximum absolute error decreases from 0,03013 in the first iteration to 0,00262 in the third iteration.

#### 4. Conclusion

The new perturbation-iteration method is employed for the first time to numerically solve the pantograph equations. The comparative results showed that the method is highly efficient and reliable in both linear and nonlinear problems. While, for the linear problems studied, algorithm gave almost the same results as Variational Iteration Method, it gave better results for the nonlinear problems. On the other hand, the results obtained in the first iteration of the algorithm are more convergent than those obtained in the third iteration of the Variational Iteration Method; this validates the performance of the present method. Although the equations of algorithm are more entangled than those of , faster convergence is achieved with when compared to .

It is conceived that the present method can be useful in developing new algorithms since they can be generated in various forms according to the number of correction terms in perturbation expansion and the order of derivation in Taylor expansion.

The disadvantage of the method is that the number of terms in the solution function increases seriously.

In this study, the solution intervals of problems are chosen generally the same as those in the references, for comparison purposes. In three of the examples, the solution intervals are extended moderately; yet, for a wider solution interval, the method should be modified such that the Taylor series expansions are made around points other than zero. The method can also be extended to other types of delay differential equations but some modifications are required.

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.