Enhanced shifted Tchebyshev operational matrix of derivatives: two spectral algorithms for solving even-order BVPs

Herein, new orthogonal polynomials have been generated from shifted Chebyshev polynomials that fulfill a given set of homogeneous boundary conditions and the necessary formulae have been established. Moreover, an integer order derivative operational matrix has been introduced. Then, the presented novel polynomials are used together with the two spectral methods, namely, the Galerkin and Tau methods, as the basis functions. The convergence and error analyses were introduced and proved. Finally, some even-order boundary value problems (BVPs) have been approximated using the presented method.


Introduction
BVPs appear in various domains and applications, particularly in mathematical physics [1,2].In [3,4], they used IBVPs in Nano-fluid mechanics.However, analytic methods can only solve some of the ordinary differential equations in these applications [5], especially the even-order BVPs that arise in some problems and applications.Many authors introduced several approximate methods to solve these problems [6].The authors in [7] solve the fourth-order BVPs for the beam equation.The Sinc-collocation method was applied in [8] to solve the eighth-order BVPs.Other authors solve linear and nonlinear fourth-order BVPs [9][10][11][12][13]40].
Spectral methods have the most notoriety against the other approximated methods as finite difference and finite element methods.Spectral methods have many advantages; the higher accuracy caused in some Bvps, the exact solution can be found [14].Because spectral methods converge relatively quickly in space and time, they are very efficient for solving PDEs [15].Spectral methods are highly adaptable and can be used to solve a wide variety of problems, including linear and nonlinear systems with homogeneous or non-homogeneous boundary conditions.The algorithms of the spectral methods are easy to apply.They are a family of techniques used in mathematical applications to generate numerical solutions to a wide range of problems.Spectral methods include three main kinds of scenarios.The first method, the Galerkin method, has been used in [16][17][18][19][20].The Galerkin method's selected bases function must satisfy the initial and boundary conditions.While in the second method, the Tau method, this condition is unnecessary [21][22][23][24]31].Thirdly, in the collocation method (pseudospectral), the unknown function's derivative of the differential equation can be expanded in terms of itself [25,26].
The basic principle of using the spectral method is to select a base function.These basis functions may be orthogonal [27] or not orthogonal [28].The Chebyshev polynomials (CH-Ps) are the most used in spectral methods.The authors used it in [29] to solve fractional optimal control problems.While the authors solved the fractional integrodifferential equations by CH-Ps in [30].Mixed Volterra-Fredholm Delay Integro-Differential Equations have been solved in [32].
Due to the high accuracy and precision results obtained by CH-Ps, a novel class of orthogonal polynomials derived from CH-Ps is introduced.We named it enhanced shifted Chebyshev polynomials (ESCH-Ps).ESCH-Ps are constructed to satisfy the initial and boundary conditions.These polynomials were used in spectral methods as basis functions.The suggested methods are the Galerkin and the Tau method to solve even-order BVPs.As with any residual weighted methods, the proposed techniques depended on converting IBVPs and their conditions to an algebraic system of equations.Consequently, this algebraic system will be solved to get the values of spectral expansion's constants.
This article consists of six sections; some direct relations and definitions need to be presented in Sect. 2. Sect.3, the recurrence relation and the orthogonal relation with its weight function of ESCH-Ps are generated.Then, the operational matrix has been constructed.The two spectral algorithms for solving BVPs and handling nonhomogenous conditions are detailed in Sect. 4. The convergence and error analysis is investigated in Sect. 5. Finally, we solved even-order boundary value problems and compared our solutions with other authors.

Some important relations
In this section, some essential properties and relations of CH-Ps will be presented.The recurrence relation of CH-Ps [33][34][35]: such that its initials T 0 (x) = 1 and The CH-Ps are orthogonal with respect to w ( Here are some identities and inequality of CH-Ps: Also, the series of CH-Ps can be formulated as: While the SCH-Ps (T * k (x); k = 0, 1, ...; x ∈ [a, b]) of degree k can be defined as Also, the polynomials {T * k (x)} N i=0 are orthogonal with respect to w * 123 The product of two SCH-Ps is linearized as: 3 Enhanced shifted Chebyshev polynomials and their derivatives In this section, we shall define a new class of orthogonal polynomials from SCH-Ps.Moreover, the operational matrix of the investigated polynomials' derivatives will be presented.

Enhanced shifted Chebyshev polynomials
Firstly, the definition of the ESCH-Ps on [a, b] will be introduced.

Definition 1
The ESCH-Ps φ n,k (x); k, n = 0, 1, 2, . . .; x ∈ [a, b] of degree (k + 2n) will be formed as: Therefore, the first three terms of ESCH-Ps will be: Also, its recurrence relation can be deduced from Eq. ( 1) and Definition 1 as: with the initial Eqs.(11,12).In addition, the initials and boundaries are: The ESCH-Ps satisfy that: The orthogonality relation of polynomials {φ n,k (x)} k,n≥0 is expressed in the next equation concerning the weight function ŵ Remark 1 The linearization formula for ESCH-Ps is defined as: This relation will be essential during the discussion of the tau method.

The operational matrix of ESCH-Ps for integer order derivative
In this subsection, the first derivative of φ n,k (x) will be introduced in terms of itself.Consequently, the first derivative operational matrix of ESH-ps will be constructed.Finally, the mth operational matrix will be deduced.

Theorem 1
The first derivative of φ n,k (x) can be expressed as: where Proof By using mathematical induction, we have the following steps: 123 Then, using the derivative of Eq. ( 14) at k = j − 1 and considering the assumption of Eq. ( 21) at k = j, and with the aid of (6), we get: ) By using some algebraic manipulations on the previous equation, the relation can be proved.
The matrix form of the previous theorem can be written according to the following corollary.
Then the first derivative of φ(x) can be defined as: where By differentiating Eq. ( 27): Using Corollary (1) to get: The mathematical induction can be used to introduce the following Corollary: The mth order derivative of φ(x) can be formed as: where V 0 is the identity matrix.
In the next section, the structure of the BVPs is presented.Then two methods for approximating the solutions of those problems will be presented.

Two spectral techniques for solving BVPS
At the being, the problem formulation will be presented.Consider BVP of the even order l: while its homogeneous initial and boundary conditions are: The approximate spectral solution of Eq. ( 32) is assumed as: Computing the residual of Eq. ( 32) is obtained by using Theorem (1) and Corollary (2) to get:

Galerkin spectral method via ESCH-Ps (ESCH-Galerkin)
As the definition of the introduced function (10), we recognized that the function and its derivatives would be zero, for certain values of n, at the endpoints.So, this assumption is compatible with the BVP's homogeneous initial/boundary to use Galerkin.Consider the collocation points x r ∈ [a, b]; r = 0, 1, . . ., N , the zeros of SCH-Ps of degree (N + 1), the equidistant points, or any suitable points.Now, Collocating Eq. ( 35) to obtain the following algebraic system of N + 1 equations the unknowns It is easy to introduce the approximated solution (34) by solving the algebraic system Eq.(36).

Tau spectral method via ESCH-Ps (ESCH-Tau)
The second spectral method will be the Tau method.The trial functions are chosen to be ESCH-Ps themselves.On the other hand, the weight function will be w . Now, applying the Tau method to get: where v is the number of initial and boundary conditions.Since the introduced problem's initial/boundary conditions are homogeneous.Consequently, the Tau's integration (37) transformed to: The outcomes of Eq. ( 38) will be an algebraic system of N + 1 equations and N + 1 unknowns.Solving that system to get the values of spectral contacts of the approximated solution (34).

Remark 2
The linearity of the algebraic systems ( 36) and ( 38) depends on whether the BVP (32) is linear.The matrix decomposition method will be used to solve the linear algebraic system.While any numerical method, such as Newton Raphson's method, will be used for the nonlinear one.

Remark 3
In many cases, especially in the applications, the homogeneous initials/boundary conditions can not be guaranteed.Therefore, we need to transform these conditions into homogeneous conditions.This can be done by the following.Let: such that where, A i are constants were calculated by solving Eqs.(39,40).Thus, the BVP (32, 40) will be solved for the unknown function u(x).
It is essential to ensure the convergence of the spectral expansion before applying the method to the numerical calculation.The following section is devoted to studying the theoretical convergence, stability, and error analysis.

Convergence and error analysis
The convergence analysis of our basic function was covered in this section.Two fundamental theorems were proposed and verified.
Lemma 1 [36] Let u(x) be a given function such that u(k) = a k .Suppose that the following assumptions are satisfied: Definition 2 [14] Let H r w (a, b) be a Sobolev space such that Let H r 0,w (a, b) be a Sobolev subspace of H r w (a, b) such that Theorem 2 Consider that U (x) can be defined as U for some positive real number constants L m .Therefore, the following assumption is verified by expansion's coefficients: Proof Suppose the approximation of function U (x) as: Using the relation of orthogonality, Eq. ( 19), and the definition of φ n,k (x), Eq. ( 10), to get the coefficient c k as: where By applying the integration by parts: where Similarly, by applying the integration for the second time: where α 2 (θ ) = sin kθ cos θ sin θ −k cos kθ sin 2 θ with |α 2 (θ )| ≤ k +1.Consequently: Repeating the steps m − 2 to complete the proof.
Theorem 3 If U (x) verifies the assumptions of Theorem (2) and Lemma (1), then the absolute error is observed as: Proof Eq.( 44), as stated, shows that From the inequalities Eqs. ( 17) and ( 43), we have: Applying Lemma (1) to get: In the forthcoming section, the theoretical convergences will be verified numerically by solving several BVPs.
In the next section, some numerical examples will be solved and approximated via the introduced polynomials.The examples include applications for beam models and Emden-Flower-type equations.All the simulations have been executed by Mathematica 13.2 via Intel(R) Core(TM) i7-4810MQ CPU @ 2.80GHz 2.80 GHz, 8.00 GB RAM.

Solving even-order boundary value problems
Through this section, the introduced methods, ESCH-Galerkin and ESCH-Tau, via our novel basis functions, will be used to approximate the solution of BVPs of even order.In addition, the model of the beam model of its two cases, clamped-clamped and pinned-pinned, in addition to the Emden-Flower type, was studied.Finally, the obtained results are compared with the methods of others.
Example 1 Consider the fourth-order boundary value problem, which describes the model of bending of a beam hinged from both sides: and its exact solution To satisfy the homogeneous conditions, the value of n will be chosen as n = 3.Table 1 compares ESCH-Galerkin and ESCG-Tau methods with two other methods in [37,38] for various values of N .The two techniques achieved high accuracy and efficiency.The authors in [37] used the Lucas polynomials as the polynomials function.While some quasi-orthogonal approximations were used in [38].The log error is displayed in Fig. 1 for different values of N using the ESCH-Galerkin method.That proved the stability of our method.
Example 2 Consider the nonlinear fourth-order equation: and its exact solution U (x) = e x .Before solving this example, we converted the conditions to homogeneous using relation (39) to get U (x) + 5 i=0 A i x i where ), and A 5 = 1 2 (19 − 7e).For n = 3, the MAE of the two techniques and another method are presented in Table 2. Bernstein and Bernoulli polynomials were applied as basis functions in [39].The double precision at N = 6 has been achieved by using the ESCH-Galerkin method.In contrast, Fig. 2 shows the stability of the ESCH-Galerkin and ESCH-Tau methods.
Example 4 Consider the eight-orde IBVP: While its exact solution U (x) = x 4 (1 − x) 4 .the f (x) can be obtained.By applying the two techniques directly at n = 4, we achieved the exact solution at a small iteration N = 2.While the author [8] reached 2.6 × 10 −12 as a MAE at N = 32.
Example 5 Consider the following eighth-order BVP: While its exact solution U (x) = (x 2 − 1) sin x.Cause of the non-homogeneous conditions, The unknown function will be converted to u(x) = U (x) + 7 i=0 , where 8 (10 sin 1−13 cos 1), A 6 = 0, and A 7 = 1 8 (3 cos 1−2 sin 1).Table 3 compares  the results of the two proposed methods and the method in [42], which used the generalized Jacobi polynomials as basis functions.
Example 6 Consider the nonlinear eight-order equation: and its exact solution U (x) = e x .Using similar procedures for the non-homogenous conditions, Table 4 has presented the AE between the proposed methods for n = 4 and the method in [43].The authors in [43] used the non-orthogonal Vieta-Lucas Polynomials.In addition, the O Fig. 3 Log error for Example 6 by using ESCH-Galerkin

Conclusion
New orthogonal polynomials are generated from shifted Cheyshev polynomials.These polynomials have been called ESCH-Ps throughout this paper.Some of the essential relations of ESCH-Ps are investigated and proved.Then, the operational matrix of the mth derivative has been formed.This matrix has been applied via Galerkin and Tau method for solving even-order BVPS.In addition, the expansion's error analysis and convergence are discussed in depth.Finally, some even-order BVPs have been solved by the two proposed techniques.Comparing the obtained results and other methods confirms the effectiveness and efficiency of the presented matrices and methods.We aim to extend the presented numerical schemes to handle partial differential equations in one temporal space and one/two spatial variables in the near future.by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

Table 1
The MAE for Example 1

Table 2
The MAE of Example 2 via ESCH-Galerkin

Table 3
The MAE for Example 5 at various N

Table 4
The AE of different methods for Example 6