Abstract

The fifth type of Chebyshev polynomials was used in tandem with the spectral tau method to achieve a semianalytical solution for the partial differential equation of the hyperbolic first order. For this purpose, the problem was diminished to the solution of a set of algebraic equations in unspecified expansion coefficients. The convergence and error analysis of the proposed expansion were studied in-depth. Numerical trials have confirmed the applicability and the accuracy.

1. Introduction

The first-order partial differential equations (PDEs) modelled various real-life and physical problems. Hyperbolic PDEs characterize the time-dependent physical systems and may be worn to model many phenomena including wave and advection transportation of the material. Advection equations form a special category of conservative hyperbolic first-order PDEs which deliver a given property at a fixed rate through a method. In advection equations, the space and time derivatives of the conserved quantity are proportional to each other, and the interested readers are referred to [14], for further implementations on hyperbolic PDE.

Spectral methods play a very important role in numerical analysis, especially in the field of numerical solution of ordinary, partial, and differential equations. The key advantage of spectral methods is that differential problems can be quickly transformed into solutions of linear or nonlinear algebraic equations. For more information on spectral methods, please see [513].

Chebyshev polynomials are very important in many mathematical divisions, especially in numerical analysis. The key idea of Chebyshev polynomials is that they form the foundation for the extension of the differential and integral equation solution. Four well-known Chebyshev polynomial groups are used in the literature. The author in [14] presented the extended Sturm–Liouville differential problem in the fascinating PhD thesis of Masjed-Jamei, and he introduced a basic category of orthogonal-symmetric polynomials. That class has four criteria. Some basic properties are also included, such as a seminal differential equation of order two and a generic relationship containing a three-term recursive relation. For more essential formulae about these polynomials, the reader is referred to the work of [14]. The advantage of this class is that two new types of Chebyshev polynomials, fifth and sixth, are inherited. Such polynomials were used only once in literature by seminal work in the numerical solution of fractional differential equations, and Abd-Elhameed and Youssri [1520] first used the fifth-type Chebyshev polynomials to handle ODEs and PDEs.

1.1. Mathematical Preliminaries

This section presents the properties of the basic class of symmetric orthogonal polynomials (BCSOP) that formed in [14]. The key concept to develop this class of polynomial is focused on the use of an extended Sturm–Liouville differential problem. More precisely, in [14], the author assumed that is a sequence of symmetric functions that satisfies the following differential equation of second order:where are independent functions, and are constants. In [14], it has been shown that is even, and is odd. You may obtain the desired symmetric category of orthogonal polynomials if , and are chosen as follows:where the parameters are real numbers.

By using the above relations, we have the following differential equation:

The solution of (3) is the generalized polynomials which have the explicit form:where

Moreover, the author introduced orthogonal symmetric polynomials in [14], denoted by defined as

The polynomials satisfy the following recurrence relation:with the initials:

And

Many properties of may be found in [14].

There are many specific categories of important orthogonal polynomials of . The four different types of Chebyshev polynomials could be formed through the expressions:and are the first, second, third, and fourth kinds of Chebyshev polynomials. All these polynomials can be obtained as specific special cases of . The two types of orthogonal polynomials in [14], especially, Chebyshev’s fifth- and sixth-kind polynomials, may also be defined, respectively, as

We focus our study on the Chebyshev fifth kind and their shifted polynomials. The property of orthogonality of iswhere is defined in (9).

Alternatively, the orthogonality formula above is written as

And

It is more reasonable to normalize fifth-type Chebyshev polynomials. For this specific purpose, we set

Accordingly, are orthonormal on :

1.2. Fifth Type of Shifted Orthonormal Chebyshev Polynomials (5SOCP)

The 5SOCP can be defined on by

Also, is defined in (14).

From (16), it is easy to note that are orthonormal on . Directly, we have

And . The following results are needed in the sequel.

Theorem 1. The polynomials in (9) are connected with by the following formula:whereAnd

Proof. See [15]

Theorem 2. The polynomials in (9) are connected with by two formulae as follows:where is defined in (12).
And

The next corollary shows the above-intended purpose.

Corollary 1. Chebyshev polynomials of the fifth type have the following trigonometric representations:And

Proof. See [15]

The following connection theorem is needed in the sequel. The following two theorems are important.

Theorem 3. The analytical form is specifically given aswhere

Theorem 4. The reflection relation (17) of the analytical relation may be stated aswhere

Proof. See [15]

The derivative formula is also needed.

Corollary 2. These two identities hold for all nonnegative integer :whereAndwhere is the pochhammer symbol.

Proof. See [15]

Theorem 5. (See [20]). Let , the following relation holdsAnd are given by

Theorem 6. (See [20]). For every , the following relation holdswhere

2. Implementation of the Method

The aim of this section is to obtain two numerical algorithms for the solution of the first-order hyperbolic differential equation and the second-order convection-diffusion equation.

2.1. First-Order Hyperbolic Equation

Consider the following first-order hyperbolic partial differential equationsubject to the initial condition

And the boundary conditionwhere are two constants. We expand the exact solution , the derivatives and by the fifth-type Chebyshev expansion as

We apply the typical tau method and make use of the boundary conditions to get a system of algebraic equations in the required double-shifted fifth-kind Chebyshev coefficients that can be solved using any standard iteration technique, such as the iteration method of Newton. It is therefore possible to evaluate the semianalytic solution .

2.2. Second-Order Convection-Diffusion Equation

Consider the following second-order convection-diffusion equation:subject to the initial condition

And the boundary conditionssubject to the initial condition

And the boundary conditionswhere are two constants. We expand the exact solution in terms of the shifted fifth-kind Chebyshev polynomials and derivatives of based on the above-mentioned derivatives theorems as

Applying the inner product and using the orthogonality relation, we get

The obtained system of algebraic equations is solved by the use of Gaussian elimination to get the unknown expansion coefficients and, hence, the numerical solution.

3. Discussion of Convergence and Error Analysis

The following lemma is needed.

Lemma 1. The fifth-kind Chebyshev polynomials satisfy the following inequality:

Theorem 7. If (the set of all square Lebesgue integrable functions), , and if its expansion isThe series in (50) uniformly converges to . Also, we have

Theorem 8. Let satisfies the conditions of Theorem 7, are two approximate solutions of , and we define , and then, we get the following estimation of the error:where means the of .

Theorem 9. Let ascertain conditions of Lemma 1, let be the truncation error, and then, satisfy the following estimate

Theorem 10. Assume that is separable function with bounded third-order derivatives, and then, the coefficients in (31) satisfy:where is a generic positive constant.

Proof. The proof is a direct consequence of Theorem 6.

Theorem 11. If satisfies the conditions of Theorem 10 and is the approximation of , we then get the following estimation of the error:where denotes the -norm.

Proof. The proof is a direct consequence of Theorem 6.

Using the orthogonality of and with the aid of Theorem 9 and applying Parseval’s identity, we get the desired result.

4. Numerical Results

We offer some numerical tests in this section to illustrate the precision, efficacy, and the wide applicability of the proposed system. We compare our method with Laguerre-Gauss-Radau scheme [21] which shows that our method is very efficient. Therefore, we affirm that the proposed technique is more suitable for solving problems of this type.The following tables depict the absolute errors.where is the numerical, and is the exact solution at the node . The point-wise errors are evaluated by

Example 1. (see[21]). Let us start with the following hyperbolic PDE:with the initialswhereThe smooth solution is given byIn Tables 13, we compare between our method for the case , . These are obtained by the generalized collocation method Laguerre–Gauss–Radau [21]. In Figure 1, we depict the exact solution of Example 1, and for , in Figure 2, we depict the maximum absolute error when (Table 4).

Example 2. (see [21]).And, then the following hyperbolic PDE:with the initials,The exact smooth solution isTable 5 presents the results developed by our method when and the method in [21]; in Figure 3, we illustrate the solution , while in Figure 4, we depict the error when .

Example 3. (see [22]).In this example, we considerwith the exact smooth solutionIn Table 6, we list the maximum pointwise error for different values of . In Figure 5, we depict the maximum absolute error when .

5. Conclusions

A precise numerical technique for solving the hyperbolic partial differential equations is being constructed and applied in the present work. The fifth-type approach of Chebyshev spectral tau was used to simplify the solution of hyperbolic partial differential equations to a set of algebraic equations, which can be more conveniently solved. The numerical findings showed our method to be extremely effective and reliable.

Data Availability

No data were associated with this research.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Authors’ Contributions

All authors contributed equally to this work.