Abstract

The pantograph equation arises in electrodynamics as a delay differential equation (DDE). In this article, we provide the -method for numerical solutions of pantograph equations. We investigate the stability conditions for the numerical schemes. The theoretical results are verified by numerical simulations. The theoretical results and numerical simulations show that implicit or partially implicit -methods, with , are effective in resolving stiff pantograph problems.

1. Introduction

Pantograph equations are a special kind of functional differential equations with proportional delays [1]. The name pantograph was derived in 1971 from the work of Ockendon and Tayler [2]. Over the past few years, pantograph equations have gained increasing importance in the investigation of various scientific models. These arise in industrial applications and in a variety of fields of pure and applied mathematics, such as electrodynamics, control systems, number theory, probability, and quantum mechanics. Since most of these types of differential equations cannot be solved analytically, researchers have developed numerical methods to solve them. There are a lot of research articles in the solution methods of pantograph equations, such as the exponential approximation [3], Taylor method [4], collocation method using Hermite polynomials [5], and improved Morgan-Voyce collocation method [6]. Legendre wavelet solutions are discussed in [7], and homotopy perturbation method is examined in Ref. [8]. The variational iteration method is discussed in Ref. [9], and the homotopy analysis method is discussed in Ref. [10]. The authors in Ref. [11] discuss the modified Chebyshev collocation method for pantograph equations. A pseudospectral method based on the Legendre principle is examined in Ref. [12], and a modified procedure based on the residual power series method is explored in [13]. Other spectral methods and recent research about numerical treatments of pantograph equations exist in Refs. [1417].

Despite the fact that there are several polynomial approximation methods, such as spectral and pseudospectral methods, a comprehensive study of step methods for solving pantograph delay differential equations is lacking. In this article, we present some numerical schemes using the -method to solve pantograph equations numerically and stability conditions for such schemes. Although the maximum order of -methods is 2, the numerical schemes are very suitable and effective for pantograph equations in a long-run time interval [1820].

The general delay differential equations (DDEs) take the following form:where and . Time delay can be a constant, time-dependent, or state-dependent. A classic case that has been discussed in many papers is when , and is positive. The pantograph equations are functional differential equations whose delays are proportional, where . Differential equations with variable or proportional delays are more difficult to solve numerically than equations with constant delays.

The purpose of this article is to consider a nonlinear pantograph type of DDE:

The lag function , and is a continuous initial function. We remark that this kind of equation plays an interesting role in modeling many phenomena including biological and nonlinear dynamical systems. Considering the numerical aspect, it is important to identify how the numerical methods preserve the qualitative behavior of the analytic solutions. Herein, we investigate the stability properties of -methods when applied to pantograph delay differential equations.

This study is organized as follows. Analytical stability conditions are discussed in Section 2. In Section 3, we provide continuous -methods for the pantograph equation. Numerical stability analysis and conditions of the asymptotic stability are discussed in Section 4. Some numerical simulations showing the effectiveness of the theoretical results are provided in Section 5, and concluding remarks are given in Section 6.

2. Nonlinear Stability

One of the important characteristics of differential equation (2) is the sensitivity of a particular solution to small changes in the “parameters,” which occur in the equation, or in the “initial conditions,” that gives rise to a definition of stability. If we consider another system, defined by the same function of (2) but with another initial condition, then. Assume that is the inner product of vectors , such that .

Definition 1. The solution of (1) is asymptotically stable, with respect to perturbing the initial function, if for . The solution -exponentially stable (or algebraically decay [19]) if , where (see [1], Chapter 3).

Theorem 1 (Halanay inequality [21]). Suppose that and be a continuous nonnegative function on satisfying the inequality:Then,where (depends on the initial condition), and is the unique positive solution of

Theorem 2. The solution of (1) is -exponentially stable (algebraically decay) ifwhere

Proof. Assume for the inner product on such that (6) holds. For every , we have (see [22])It follows from the definitions of and , and from the Schwartz inequality thatDefineNote that for every because we assume that the function is such that (2) has unique solution y(t) for every initial condition . Then,so we haveand hence,Applying Theorem 1 to the above inequality yields the following:Here, depends only on the initial conditions .

Corollary 1. For the scalar linear case, let . Then, the solution of , with and , is algebraically asymptotically stable (see [23]).

3. Continuous -Methods for Pantograph Equations

Here, we study a discretization of pantograph equation (2). Let be a positive real and be the assigned mesh points, with the property that as . Let , where be the nonconstant step-size. We divide the whole interval if the solution into bounded subintervals

We then partition any of them into a fixed number of subintervals of the same size using the grid points, such that

Let denote an approximate to the exact solution of (2) at . Then, applying the linear -method to (2) yieldswhere extends the values of the numerical solution to nonmesh points. Since, for , it is usually the case that , we shall then require a densely defined approximation via linear interpolation:

To find the solution at nonmesh points, assuming a uniform constant step-size , we have dense outputs for :where is denoting the integer part, so that . Furthermore, we define the global mesh by partitioning every primary interval into a fixed number of subintervals of the same size, so that the mesh points are defined by the following recursion formula:

Therefore, when , it corresponds to the so-called backward (or implicit) Euler method. However, when , it corresponds to the forward method. Both of them are of stage RK methods. Normally, the order of methods is 1, but for , which corresponds to the trapezium rule method, the order is 2.

Consider the following scalar linear pantograph equation:

Applying the method for (22), with a constant step-size , yields

This generates the sequence , when given

We also should mention that, in both analytical and numerical terms, delay differential equations with infinite lags and those with finite lags exhibit remarkable differences [24]. Let us compare (22) with the DDE:

Solution to (22) is an analytic function on , while solution to (24) is initially nonsmooth and becomes smoother as increases. The solution of (22) decays algebraically, whereas the solution of (24) decays exponentially (see [18, 25, 26]).

4. Numerical Stability

In this section, we can use the discrete Halanay inequality [21] to examine the stability conditions of the discrete schemes for linear pantograph (22).

Theorem 3. Given and is the solution of the characteristic equations (see [21]):where is a positive integer number, and . Assume that is a sequence, satisfying numbers satisfies the recurrence relation:where . Then, , where are the values that occur in (25) and .

4.1. Stability of Method

From the auxiliary polynomial, it is possible to compute (asymptotic) stability regions of recurrence relations (23):wheresuch that the roots of (27) must satisfy the condition .

A small perturbation in the initial conditions in (23) leads to a consequence variation , satisfying

One can get [22].

If , then , with equally if . Thus, for all . Therefore,for all arbitrary .

From (30) and (31), one can getfor the arbitrary numbers . Therefore,where

For ,

We have following theorem and remarks.

Theorem 4. From inequality (33), using equation (26) of Theorem 3, if and with any positive values of , the recurrence relation (23) is exponentially stable.

Remark 1. The -method, as applied to equation (2) is asymptotically stable if and only .
It is important to mention that explicit methods are easy to implement and are recommended for solving nonstiff problems. For stiff problems, however, the standard explicit methods with poor stability properties suffer a lot from step-size reduction and turn out to be inefficient in terms of overall computational costs [2729].

Remark 2. In order to solve stiff problems numerically, we should use implicit or partially implicit -method’s schemes.

5. Numerical Examples and Simulations

We present an example with some numerical simulations to illustrate the previous results.

Example 1. Consider the initial-value problem (IVP):This IVP is considered a stiff problem. This problem can also be considered a singularly perturbed and stiff problem , with . Since , where , the analytical solution is asymptotically stable. We apply the -method scheme to (36) with different values of . The mesh points are given byFigures 1 and 2 show the numerical simulations of model (36) with a full explicit scheme and partially explicit with , for , 0.9. Although , the numerical solutions when are unstable. Usually, the asymptotic and stability of explicit numerical schemes are restricted by step-size, which is given in terms of . As the step-size decreases, the numerical approximation solutions become more asymptotic. Figure 3 shows the numerical simulations with fixed and different values of delays. Time delays significantly increase the stability of differential equations.
Figure 4 displays numerical simulations when with and . The asymptotic and stability behavior are improved with bigger , and numerical solution is getting smoother with long-run time. However, Figures 5 and 6 show the numerical simulation with partially implicit scheme, with , with different values of . The solution is asymptotically stable regardless of the size of the step-size. The numerical schemes are unconditionally asymptotically stable with .

6. Conclusion

Time delays significantly increase the complexity and stability of differential equations. It is possible for a delay to stabilize an otherwise unstable system or unstabilize a stable one. We developed and discussed an efficient numerical scheme for solving pantograph-type delay differential equations using the -method. Some stability conditions of analytical and numerical solutions of the problem have been investigated. From the theoretical results, numerical simulations can conclude that the -method, applied to pantograph equations, is a reliable method and asymptotically stable if and only if , regardless of the step-size of the scheme, especially with respect to the long-time behavior of the solutions. For , the stability of the numerical solution is almost unstable. Most of pantograph equations are stiff problems, and it is recommended to use an implicit or partially implicit sachems.

We can extend the stability analysis, in the coming research, to other classes of higher-order Runge-Kutta methods with pantograph equations. The schemes can also be extended to stochastic pantograph delay differential equations [30, 31].

Data Availability

The authors confirm that the data supporting the findings of this study are available within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

Acknowledgments

This research was funded by the UAEU Research, fund # 12S005-2021.