American Journal of Computational Mathematics
Vol.07 No.04(2017), Article ID:79869,11 pages
10.4236/ajcm.2017.74028

Second Kind Shifted Chebyshev Polynomials for Solving the Model Nonlinear ODEs

Amr M. S. Mahdy1,2, N. A. H. Mukhtar3

1Department of Mathematics, Faculty of Science, Zagazig University, Zagazig, Egypt

2Department of Mathematics, Faculty of Science, Taif University, Taif, KSA

3Department of Mathematics, Faculty of Science, Benghazi University, Benghazi, Libya

Copyright © 2017 by authors and Scientific Research Publishing Inc.

This work is licensed under the Creative Commons Attribution International License (CC BY 4.0).

http://creativecommons.org/licenses/by/4.0/

Received: July 16, 2017; Accepted: October 23, 2017; Published: October 26, 2017

ABSTRACT

In this paper, we build the integral collocation method by using the second shifted Chebyshev polynomials. The numerical method solving the model non-linear such as Riccati differential equation, Logistic differential equation and Multi-order ODEs. The properties of shifted Chebyshev polynomials of the second kind are presented. The finite difference method is used to solve this system of equations. Several numerical examples are provided to confirm the reliability and effectiveness of the proposed method.

Keywords:

Chebyshev Spectral Method, Riccati Differential Equation, Logistic Differential Equation, Multi-Order ODEs

1. Introduction

In recent years, Chebyshev polynomials (family of orthogonal polynomials on the interval [−1, 1]) have become increasingly important in numerical analysis, from both theoretical and practical points of view. They have strong links with Fourier and Laurent series, with minimality properties in approximation theory and with discrete and continuous orthogonality in function spaces [1] . These links have led to important applications, especially in spectral methods for ordinary and partial differential equations. There are four kinds of Chebyshev polynomials as in [2] . The majority of books dealing with Chebyshev polynomials, contain mainly results of Chebyshev polynomials of all kinds T n ( x ) , U n ( x ) , V n ( x ) and W n ( x ) and their numerous uses in different applications and research papers dealing with some types of these polynomials ( [3] - [8] ) and other publications as ( [9] [10] [11] [12] [13] ). However, there are only a limited researches of literature on shifted Chebyshev polynomials of the second kind U n ( x ) , either from theoretical or practical points of view it uses in various applications.

2. Some Properties of Chebyshev Polynomials of the Second Kind

2.1. Chebyshev Polynomials of the Second Kind ( [2] [14] )

The Chebyshev polynomials U n ( x ) of the second kind [2] are orthogonal polynomials of degree n in x defined on the [−1, 1]

U n ( x ) = sin ( n + 1 ) θ sin θ

where x = cos θ and θ [ 0, π ] . The polynomials U n ( x ) are orthogonal on [ 1,1 ] with respect to the inner products

( U n ( x ) , U m ( x ) ) = 1 1 1 x 2 U n ( x ) U m ( x ) d x = { 0 , n m π 2 , n = m (1)

where 1 x 2 is weight function.

U n ( x ) may be generated by using the recurrence relations

U n ( x ) = 2 x U n 1 ( x ) U n 2 ( x ) , n = 2 , 3 ,

with U 0 ( x ) = 1 , U 1 ( x ) = 2 x .

The analytical form of the Chebyshev polynomials of the second kind U n ( x ) of degree n is given by:

U n ( x ) = i = 0 π 2 ( 1 ) i ( n i i ) ( 2 x ) n 2 i = i = 0 π 2 ( 1 ) i 2 n 2 i Γ ( n i + 1 ) x n 2 i Γ ( i + 1 ) Γ ( n 2 i + 1 ) , n > 0. (2)

where π 2 denotes the integral part of n / 2 .

2.2. Shifted Chebyshev Polynomials of the Second Kind ( [2] [14] )

In order to use these polynomials in Section 2.1 on the interval x [ 0,1 ] we define the so called shifted Chebyshev polynomials of the second kind U n ( x ) by introducing the change variable z = 2 x 1 . This means that the shifted Chebyshev polynomials of the second kind defined as ( [2] [14] ):

U n ( x ) = U n ( 2 x 1 )

also there are important relation between the shifted and second kind Chebyshev polynomials as follows:

2 x U n 1 ( x 2 ) = U 2 n 1 ( x ) ,

these polynomials are orthogonal on the support interval [ 0,1 ] as the following inner product:

( U n ( x ) , U m ( x ) ) = 0 1 x x 2 U n ( x ) U m ( x ) d x = { 0 , n m , π 8 , n = m , (3)

where x x 2 is weight function.

U n ( x ) may be generated by using the recurrence relations

U n ( x ) = 2 ( 2 x 1 ) U n 1 ( x ) U n 2 ( x ) , n = 2 , 3 ,

with start values U 0 ( x ) = 1 , U 0 ( x ) = 4 x 2 .

The analytical form of the shifted Chebyshev polynomials of the second kind U n ( x ) of degree n is given by

U n ( x ) = i = 0 n ( 1 ) i 2 2 n 2 i Γ ( 2 n i + 2 ) x n i Γ ( i + 1 ) Γ ( 2 n 2 i + 2 ) , n > 0 , (4)

The function which may be appear in solution of the model problem can be written as series of U ( x ) .

Let g ( x ) be a square integrable in [ 0,1 ] it can be expressed in terms of the shifted Chebyshev polynomials of the second kind as follows:

g ( x ) = i = 0 a i U i ( x ) , (5)

where the coefficients a i , i = 0 , 1 , are given by:

a i = 2 π 1 1 g ( x + 1 2 ) 1 x 2 U i ( x ) d x , (6)

or

a i = 8 π 0 1 g ( x ) x x 2 U i ( x ) d x , (7)

In practice, only the first ( m + 1 ) terms of shifted Chebyshev polynomials of the second kind are considered in the approximate case. Then we have:

g m ( x ) = i = 0 m a i U i ( x ) , (8)

Using the parctice shifted Chebyshev polynomials of the second kind to constraction the integral collocation method to give the N-th derivative of the unknown function u ( x ) as the following [15] :

d k u ( x ) d x k n = 0 m a n U n ( x ) = n = 0 m a n w n k ( x ) . (9)

Using the integration we can obtain the lower-order derivatives and the function itself as follows

d k 1 u ( x ) d x n 1 n = 0 m a n w n k 1 ( x ) + c 1 (10)

d k 2 u ( x ) d x n 2 n = 0 m a n w n ( k 2 ) ( x ) + c 1 x + c 2 , (11)

d u ( x ) d x n = 0 m a n w n ( 1 ) ( x ) + c 1 x k 2 ( k 2 ) ! + c 2 x k 3 ( k 3 ) ! + + c k 2 x + c k 1 , (12)

u ( x ) = n = 0 m a n w n ( 0 ) ( x ) + c 1 x k 1 ( k 1 ) ! + c 2 x k 2 ( k 2 ) ! + + c k 1 x + c k , (13)

from (4) and (9) we have

w n ( k ) ( x ) = i = 0 n ( 1 ) i 2 2 n 2 i Γ ( 2 n i + 2 ) x n i Γ ( i + 1 ) Γ ( 2 n 2 i + 2 ) , (14)

w n ( k 1 ) ( x ) = w n ( k ) ( x ) d x = i = 0 n ( 1 ) i 2 2 n 2 i Γ ( 2 n i + 2 ) x n i + 1 Γ ( i + 1 ) Γ ( 2 n 2 i + 2 ) ( n i + 1 ) ,

w n ( k 2 ) ( x ) = w n ( k 1 ) ( x ) d x = i = 0 n ( 1 ) i 2 2 n 2 i Γ ( 2 n i + 2 ) x n i + 2 Γ ( i + 1 ) Γ ( 2 n 2 i + 2 ) ( n i + 1 ) ( n i + 2 ) ,

w n ( 0 ) ( x ) = w n ( 1 ) ( x ) d x = i = 0 n ( 1 ) i 2 2 n 2 i Γ ( 2 n i + 2 ) x i + k Γ ( i + 1 ) Γ ( 2 n 2 i + 2 ) ( i + k 1 ) ( i + k ) .

We now collocate Equatuions (10)-(14) at ( m + 1 ) points x p , p = 0 , 1 , , m as

d k u ( x p ) d x k = Ω ( k ) E ^ , d k 1 u ( x p ) d x k 1 = Ω ( k 1 ) E ^ , , (15)

d u ( x p ) d x = Ω ( 1 ) E ^ , u ( x p ) = Ω ( 0 ) E ^ ,

where E ^ = [ a 0 , a 1 , , a m , c 1 , c 2 , , c n ] T , and Ω ( k ) , Ω ( k 1 ) , , Ω ( 0 ) are integrated matrices.

3. Integral Collocation Method for Solving Riccati, Logistic and Multi-Order Nonlinear ODEs [15]

In this section, we introduce the integral collocation method using shifted Chebyshev polynomials of the second kind for solving the Riccati, Logistic and multi-order nonlinear ODEs.

3.1. Model 1: Riccati Differential Equation [15]

d u ( x ) d x + u 2 ( x ) 1 = 0 , x 0 , (16)

we also assume an initial condition

u ( x ) = u 0 . (17)

The exact solution to this problem at u 0 = 0 is

u ( x ) = e 2 x 1 e 2 x + 1 .

The procedure of the implementation is given by the following steps:

1) Approximate the function u ( x ) using formula (9)-(14) with m = 5 , as follows

d u ( x ) d x n = 0 5 a n w n ( 1 ) ( x ) , (18)

u ( x ) n = 0 5 a n w n ( 0 ) ( x ) + c 1 ,

where w n ( 0 ) ( x ) is defined in (14) as

w n ( 0 ) ( x ) = i = 0 n ( 1 ) i 2 2 n 2 i Γ ( 2 n i + 2 ) x i + k Γ ( i + 1 ) Γ ( 2 n 2 i + 2 ) ( i + k 1 ) ( i + k )

w n ( 1 ) ( x ) = i = 0 n ( 1 ) i 2 2 n 2 i Γ ( 2 n i + 2 ) x n i Γ ( i + 1 ) Γ ( 2 n 2 i + 2 ) ,

Then the Riccati differential Equation (16) is transformed to the following approximated form

n = 0 5 a n U n ( x ) + ( n = 0 5 a n w n ( 0 ) ( x ) + c 1 ) 2 = 1 (19)

We now collocate Equation (19) at ( m + 1 = 6 ) points x p , p = 0 , 1 , 2 , 3 , 4 , 5 as

n = 0 5 a n U n ( x p ) + ( n = 0 5 a n w n ( 0 ) ( x p ) + c 1 ) 2 = 1 (20)

For suitable collocation points we use the roots of shifted Chebyshev polynomial U 6 ( x ) .

2) Also, by substituting from the initial condition (17) in (18) we can obtain ( n = 1 ) an equation which gives the value of the constant c 1 as follows

c 1 = u 0 = 0. (21)

Equations (20) and (21) represent a system of non-linear algebraic equations which contains seven equations for the unknowns a n , n = 0 , 1 , 2 , 3 , 4 , 5 and c 1 .

3) Solve the resulting system using the Newton iteration method to obtain the unknowns a i , i = 0 , 1 , 2 , 3 , 4 , 5 as follows

a 0 = 0.76160 , a 1 = 0.31790 , a 2 = 0.0506 ,

a 3 = 0.02896 , a 4 = 0.00111 , a 5 = 0.00112 ,

Therefore, from Formula (19) we can obtain the approximate solution in the form

u ( x ) n = 0 5 a n w n ( 0 ) ( x ) + c 1

u ( x ) = 0.990 x + 0.002 x 2 0.346 x 3 + 0.027 x 4 + 0.125 x 5 0.047 x 6 .

The numerical results of the proposed problem (16) are given in Figure 1 with m = 5 in the interval [ 0,1 ] at u 0 = 0 .

From this Figure 1, since the obtained numerical solutions are in excellent agreement with the exact solution, so, we can conclude that the proposed technique is well for solving such class of ODEs.

3.2. Model 2: Logistic Differential Equation [15]

d u ( x ) d x = ρ u ( x ) ( 1 u ( x ) ) , x > 0 , ρ > 0. (22)

Figure 1. The behavior of the approximate solution and exact solution with m = 5.

We also assume an initial condition

u ( 0 ) = u 0 = 0.85 , u 0 > 0. (23)

The exact solution to this problem is given by

u ( x ) = u 0 ( 1 u 0 ) e ρ x + u 0 .

The procedure of the implementation is given by the following steps:

1) Approximate the function u ( x ) using formula (9)-(14) with m = 5

Then the Logistic differential Equation (22) is transformed to the following approximated form

n = 0 5 a n U n ( x ) ρ ( n = 0 5 a n w n ( 0 ) ( x ) + c 1 ) ( 1 ( n = 0 5 a n w n ( 0 ) ( x ) + c 1 ) ) = 0. (24)

We now collocate Equation (24) at ( m + 1 = 6 ) points x p , p = 0 , 1 , 2 , 3 , 4 , 5 as

n = 0 5 a n U n ( x p ) ρ ( n = 0 5 a n w n ( 0 ) ( x p ) + c 1 ) ( 1 ( n = 0 5 a n w n ( 0 ) ( x p ) + c 1 ) ) = 0. (25)

For suitable collocation points we use roots of shifted Chebyshev polynomial U 6 ( x )

x 0 = 0.96623 , x 1 = 0.03377 ,

x 2 = 0.38069 , x 3 = 0.61930 ,

x 4 = 0.16931 , x 5 = 0.83060 ,

2) Also, by substituting from the initial condition (23) in (18) with u 0 = 0.85 we can obtain ( k = 1 ) an equation which gives the value of the constant c 1 = 0.85 .

Equation (25) represents a system of non-linear algebraic equations which contains six equations for the unknowns a n , n = 0 , 1 , 2 , 3 , 4 , 5 .

3) Solve the resulting system using the Newton iteration method to obtain the unknowns a n , n = 0 , 1 , 2 , 3 , 4 , 5 as follows

a 0 = 0.0533 , a 1 = 0.0101 , a 2 = 0.0004 , a 3 = 0.00002 , a 4 = 1.642 × 10 6 , a 5 = 5.398 × 10 8 . (26)

Therefore, from Formula (18) we can obtain the approximate solution in the form

u ( x ) n = 0 5 a n w n ( 0 ) ( x ) + c 1

u ( x ) = 1 + x + 0.5 x 2 + 0.1667 x 3 + 0.0417 x 4 + 0.0083 x 5 + 0.0014 x 6 + 0.0002 x 7 + 0.00004 x 8

The numerical results of the proposed problem (22) is given in Figure 2 with m = 5 in he interval [0, 1].

From this Figure 2, since the obtained numerical solutions are in excellent agreement with the exact solution, so, we can conclude that the proposed technique is well for solving such class of ODEs.

Figure 2. The behavior of the approximate solution and exact solution with m = 5.

3.3. Model Multi-Order Nonlinear ODEs ( [16] [17] )

Consider the following initial value problem ( [16] [17] )

2 D 3 y ( x ) + y 2 ( x ) = x 4 (27)

the initial conditions are:

y ( 0 ) = y ( 0 ) = 0 , y ( 0 ) = 2 (28)

1) Approximate the function y ( x ) and its relevant derivatives with k = 3

d 3 y ( x ) d x 3 n = 0 3 a k p k ( x ) = n = 0 3 a n w n ( 3 ) ( x ) (29)

d 2 y ( x ) d x 2 n = 0 3 a n w n ( 2 ) ( x ) + c 1

d y ( x ) d x n = 0 3 a n w n ( 1 ) ( x ) + x c 1 + c 2 .

y ( x ) n = 0 3 a n w n ( 0 ) ( x ) + x 2 2 c 1 + x c 2 + c 3 .

where w n ( 0 ) ( x ) , w n ( 1 ) ( x ) and w n ( 2 ) ( x ) are defined as follows

w n ( 0 ) ( x ) = i = 0 n ( 1 ) i 2 2 n 2 i Γ ( 2 n i + 2 ) x n i Γ ( i + 1 ) Γ ( 2 n 2 i + 2 )

w n ( 1 ) ( x ) = i = 0 n ( 1 ) i 2 2 n 2 i Γ ( 2 n i + 2 ) x n i + 1 Γ ( i + 1 ) Γ ( 2 n 2 i + 2 ) ( n i + 1 ) ,

w n ( 2 ) ( x ) = i = 0 n ( 1 ) i 2 2 n 2 i Γ ( 2 n i + 2 ) x n i + 2 Γ ( i + 1 ) Γ ( 2 n 2 i + 2 ) ( n i + 1 ) ( n i + 2 ) ,

Then the multi-order ODE (27) can be written in the following approximated form

2 n = 0 3 a k p k ( x ) + ( n = 0 3 a n w n ( 0 ) ( x ) + x 2 2 c 1 + x c 2 + c 3 ) 2 = x 4 (30)

We now collocate Equation (30) at ( k + 1 ) points x p , p = 0 , 1 , 2 , 3 as

2 n = 0 3 a k p k ( x p ) + ( n = 0 3 a n w n ( 0 ) ( x p ) + x p 2 2 c 1 + x p c 2 + c 3 ) 2 = x p 4 (31)

For suitable collocation points we use roots of shifted Chebyshev polynomial p 4 ( x )

2) Also, by substituting from the initial conditions (28) in (29) we can obtain k = 3 of equations which give the values of the constants c 1 , c 2 and c 3 .

c 1 = 2 , c 2 = 0 , c 3 = 0. (32)

The Equations (31) and (32) construct system of non-linear algebraic equations which contains seven equations for the unknowns a n , n = 0 , 1 , 2 , 3 and c i , i = 1 , 2 , 3

3) Solve the resulting system using the Newton iteration method to obtain the unknowns b n , n = 0 , 1 , 2 , 3 .

Therefore, using the formula (29) we can find the required approximate solution in the following form:

y ( x ) n = 0 3 a n w n ( 0 ) ( x ) + x 2 2 c 1 + x c 2 + c 3 = x 2 .

which is the exact solution of the proposed problem (27).

The numerical results of the proposed problem (27) are given in Figure 3 with m = 5 in the interval [ 0,10 ] . From this Figure 3, since the obtained numerical solutions are in excellent agreement with the exact solution, so, we can conclude that the proposed technique is well for solving such class of ODEs.

4. Conclusion

In this paper, the Chebyshev polynomials of the second kind has been successfully applied to study the model nonlinear ODEs. The results show that Chebyshev polynomials of the second kind is an efficient and easy-to-use technique for finding exact and approximate solutions for nonlinear ordinary differential equations. The obtained approximate solutions using the suggested method is in excellent agreement with the exact solution and show that these approaches can be solved the problem effectively and illustrates the validity and the great potential of the proposed technique.

Figure 3. The behavior of the approximate solution with m = 5.

Acknowledgements

Thank you for the referees their efforts. The authors would like to thank Prof. Dr. Ahmed Ahmed Hassan, Department of Mathematics, Faculty of Science, Zagazig University, Zagazig, Egypt which provided support.

Cite this paper

Mahdy, A.M.S. and Mukhtar, N.A.H. (2017) Second Kind Shifted Chebyshev Polynomials for Solving the Model Nonlinear ODEs. American Journal of Computational Mathematics, 7, 391-401. https://doi.org/10.4236/ajcm.2017.74028

References

  1. 1. Boyd, J.P. (2001) Chebyshev and Fourier Spectral Methods. 2nd Edition. Courier Corporation, Dover.

  2. 2. Mason, J.C. and Handscomb, D.C. (2003) Chebyshev Polynomials. Chapman and Hall, Boca Raton.

  3. 3. Azizi, H. and Loghmani, G.B. (2013) Numerical Approximation for Space Fractional Diffusion Equations via Chebyshev Finite Difference Method. Journal of Fractional Calculus and Applications, 4, 303-311. http://fcag-egypt.com/Journals/JFCA/Vol4(2)_Papers/14_Vol.%204(2)%20July%202013,%20No.%2014,%20pp.%20303-311..pdf

  4. 4. Azizi, H. and Loghmani, G.B. (2014) A Numerical Method for Space Fractional Diffusion Equations Using a Semi-Discrete Scheme and Chebyshev Collocation Method. Journal of Mathematical and Computational Science, 8, 226-235.

  5. 5. Moneim, I.A. and Mosa, G.A. (2006) Modelling the Hepatitis C with Different Types of Virus Genome. Computational and Mathematical Methods in Medicine, 7, 3-13. https://www.hindawi.com/journals/cmmm/2006/318687/abs/https://doi.org/10.1080/10273660600914121

  6. 6. Meerschaert, M.M. and Tadjeran, C. (2004) Finite Difference Approximations for Fractional Advection-Dispersion Flow Equations. Journal of Computational and Applied Mathematics, 172, 65-77. https://doi.org/10.1016/j.cam.2004.01.033

  7. 7. Saadatmandi, A. and Dehghan, M.A. (2010) New Operational Matrix for Solving Fractional-Order Differential Equations. Computers & Mathematics with Applications, 59, 1326-1236. https://doi.org/10.1016/j.camwa.2009.07.006

  8. 8. Sweilam, N.H. and Khader, M.M.A. (2010) Chebyshev Pseudo-Spectral Method for Solving Fractional Order Integro-Differential Equations. The ANZIAM Journal, 51, 464-475. https://journal.austms.org.au/ojs/index.php/ANZIAMJ/article/downloadSuppFile/.../605https://doi.org/10.1017/S1446181110000830

  9. 9. Bhrawy, A.H. and Alshomrani, M.A. (2012) SHIFTED LEGENDRE SPECTRAL METhod for Fractional-Order Multi-Point Boundary Value Problems. Advances in Difference Equations, 2012, 1-19. https://pdfs.semanticscholar.org/c3bd/71d221c3e19871fa8ec3c79ae17faf06db42.pdfhttps://doi.org/10.1186/1687-1847-2012-8

  10. 10. Dehghan, M. and Saadatmandi, A. (2008) Chebyshev Finite Difference Method for Fredholm Integro-Differential Equation. International Journal of Computer Mathematics, 85, 123-130. https://doi.org/10.1080/00207160701405436

  11. 11. Elbarbary, E.M.M. (2003) Chebyshev Finite Difference Approximation for the Boundary Value Problems. Applied Mathematics and Computation, 139, 513-523.https://doi.org/10.1016/S0096-3003(02)00214-X

  12. 12. Kumar, P. and Agrawal, O.P. (2006) An Approximate Method for Numerical Solution of Fractional Differential Equations. Signal Processing, 86, 2602-2610. https://doi.org/10.1016/j.sigpro.2006.02.007

  13. 13. Rawashdeh, E.A. (2006) Numerical Solution of Fractional Integro-Differential Equations by Collocation Method. Applied Mathematics and Computation, 176, 1-6.https://doi.org/10.1016/j.amc.2005.09.059

  14. 14. Sweilam, N.H., Nagy, A.M. and Sayed, A.A. (2015) Second Kind Shifted Chebyshev Polynomials for Solving Space Fractional Order Diffusion Equation. Chaos, Solitons & Fractals, 73, 141-147. https://doi.org/10.1016/j.chaos.2015.01.010

  15. 15. Khader, M.M., Mahdy, A.M.S. and Shehata, M.M. (2014) An Integral Collocation Approach Based on Legender Polynomials for Solving Riccati, Logistic and Delay Differential Equations. Applied Mathematics, 5, 2360-2369. https://doi.org/10.4236/am.2014.515228

  16. 16. Abualnaja, K.M. and Khader, M.M. (2016) A Computational Solution of the Multi-Term Nonlinear ODEs with Variable Coefficients Using the Integral-Collocation-Approach Based on Legender Polynomials. Journal of Progressive Research in Mathematics, 9, 1406-1410. http://scitecresearch.com/journals/index.php/jprm/article/view/857

  17. 17. Sweilam, N.H., Kader, M.M. and ALBar, R.F., (2007) Numerical Studies for Multi-Order Fractional Differential Equation, Physics Letters A, 371, 26-33.https://doi.org/10.1016/j.physleta.2007.06.016