Abstract

An effective numerical scheme based on Euler wavelets is proposed for numerically solving a class of neutral delay differential equations. The technique explores the numerical solution via Euler wavelet truncated series generated by a set of functions and matrix inversion of some collocation points. Based on the operational matrix, the neutral delay differential equations are reduced to a system of algebraic equations, which is solved through a numerical algorithm. The effectiveness and efficiency of the technique have been illustrated by several examples of neutral delay differential equations. The main advantages and key role of using the Euler wavelets in this work lie in the performance, accuracy, and computational cost of the proposed technique.

1. Introduction

We consider the following neutral delay differential equation (NDDE) given by.such that

is a differentiable function, and are continuous functions defined on , provided that.

Recently, delay differential equations (DDEs) and NDDE have been given much interest in engineering and science including physics, chemistry, and biology, for e.g., one of the rich sources of such applications can be found in [13]. More interesting examples and rigorous treatment are presented in [47]. In [813], the authors developed various issues of numerical modeling involving DDEs.

The proposed problem 1 and (2) is a special class of DDE, which appears in a wide range of applications such as the mathematical modeling of ecology, electronics, and control of ships and aircraft. It is obvious that these kinds of NDDE cannot be solved exactly. Hence, it is crucial to develop efficient numerical techniques to simulate solutions of such equations. Many researchers reported several techniques in this development, for example, Runge–Kutta method has been used in [14], variational iteration method in [15], and other numerical schemes and properties can be found in [7, 16, 17].

2. The Numerical Approach Based on Euler Wavelet

Wavelet expansions and its generalization, such as framelets, have been successful in numerical simulation in many areas of applications in real-world phenomena [18]. This is largely due to the fact that wavelets have the right structure to capture the sparsity in linear systems. Note that the great hopes in developing wavelet-based representations and theory of turbulent flows have not been materialized. Euler wavelet approximation would have the right approximating structure to be efficient for a general NDDE due to the orthogonality of the envisaged wavelets in the proposed framework. To solve the proposed problem, we use Euler wavelets generated via Euler polynomials and presented in [19].

The Euler polynomial is defined based on the generating function that has the form.

The first few Euler polynomials are given below, and the graphical presentation of some of these functions is presented in Figure 1.

Let us define the Euler polynomials and the needed functions in the following numerical scheme:

Let be the set of all functions given in equations (3)–(8). For any function , we define the function as follows:where is the indicator function on [0,1]. Assume that,

We define the following set of wavelets, where as,

Recall that, see for example., [20], a function can be expanded using the following series,where,

In which denotes the usual inner product over the space and is a proper weight function.

One may truncate (16) by where,

Therefore,

Notice that,Hence based on Bessel inequality,To solve the proposed problem, similar to the method in [19], we construct a vector of length , such thatwhere,

As an illustration, when , we have the following equations:(i)When , we have the following equation:(ii)When , we have the following equation:(iii)When , we have the following equation:

Now, let us define the solution of equations (1) and (2) via the form of matrices based on the above approach. Assume the Euler wavelet truncated expansion given by equation (10) to be defined as follows:

Then,

Additionally,

Note that from (28), we have the following equation:

Assume that . Substituting equations (11)–(14) in equations (1) and (2) yields,

The needed functions for the numerical scheme are ready to be used and so we define,

As a collocation node where

Hence, by substituting the proposed collocation points to the equation above, we get the following equation:

Note that implementing the collocation division generates a system of algebraic equations that can be solved easily, for example using Mathematica software 13.0 to produce the unknown coefficients needed to find an approximate solution given by (28).

3. Numerical Illustration

In this part, we illustrate some examples of the proposed NDDE problem based on the presented numerical scheme and obtain some maximum absolute errors. The numerical evidences showed high accuracy compared with the exact ones. Six examples will be illustrated. For examples 13 from [21], we got an absolute error decreasing from by 28 collocation points to by 112 collocation points. In example 4, we got zero absolute error. Thorough out the presented figures and numerical results, the algorithm demonstrates the accuracy and excellent agreement between the numerical solutions and the exact ones.

Example 1. Let’s take the following NDDEThe initial condition for this formulation is given by,The exact solution is defined as follows:The exact and approximate solutions for different number of collocation points are presented in Figures 2 and 3, where the agreement between the approximate and exact functions and the error bounds are clearly improved gradually when the order of the partial sum of the truncated Euler series expansion enlarges. In Table 1, we show the error bound resulted for example 1.

Example 2. Here we take the NDDEwhere the initial condition is as follows:The exact solution is as follows:Similarly, both the exact and approximate solutions for different number of collocation points are depicted in Figures 4 and 5 and we illustrate the error bound for example 1 in Table 2, where again the improvement of the numerical approximation is clearly shown in the graphical and numerical evidences.

Example 3. Consider the following NDDEwhere the initial condition for this formulation is given by,The exact solution is given by,Another graphical and numerical evidences are presented in Figures 6, 7, and Table 3.

Example 4. Consider the following NDDE arising in electrodynamicswhere the initial condition for this formulation is given by,The exact solution is given byThe approximate solution for 7 collocation points is given byLastly, we depict the graph of the approximate and exact solutions in Figure 8, where the accuracy is presented in Figure 9.

4. Conclusion

In this presented work, a new numerical scheme based on a certain wavelet settings generated by the Euler functions is proposed. The collocation technique has been implemented on the neutral delay differential equations. We demonstrated the Euler wavelet truncated expansions to convert the resulted equations to a system of algebraic equations. We illustrated the work by solving numerically a set of problems, which arise in many scientific areas. The numerical results achieved an exceptional absolute error among other methods known in the literature. The error and approximate solutions of the given problems have been depicted by some figures to show the accuracy of the algorithm.

The main advantage of the presented algorithm is to shed some lights on the use of Euler wavelets and to develop a suitable computational technique for the numerical treatment of neural delay differential equations on a side, and on the effectiveness, efficiency of the technique in the performance, accuracy, and computational cost even with a small number of collocation points, on the other side.

Data Availability

No data were used to support this study.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This study was supported by Zayed University and UAE University Fund # 12S107UAEU-ZU-2022.