Professional Documents
Culture Documents
Original article
a r t i c l e i n f o a b s t r a c t
Article history: In this paper, we adapt for the first time the operational matrices of Bernstein polynomials method for
Received 1 September 2017 solving directly a class of third-order ordinary differential equations (ODEs). This method gives a numer-
Accepted 1 May 2018 ical solution by converting the equation into a system of algebraic equations which is solved directly.
Available online 5 May 2018
Applications of the present method to the famous Blasius equation describing a boundary layer flow over
a flat plate and third-order ODE for thin film flow are presented. Some numerical examples are also given
Keywords: to show the applicability of the method.
ODEs
Ó 2018 The Authors. Production and hosting by Elsevier B.V. on behalf of King Saud University. This is an
Bernstein polynomials
Approximation
open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/).
Fluid flow
https://doi.org/10.1016/j.jksus.2018.05.002
1018-3647/Ó 2018 The Authors. Production and hosting by Elsevier B.V. on behalf of King Saud University.
This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/).
S.N. Khataybeh et al. / Journal of King Saud University – Science 31 (2019) 822–826 823
2 3
In this paper, we introduce for the first time an approximate y0 ðxÞ ¼ C T D0 UðxÞ; y00 ðxÞ ¼ C T ðD0 Þ UðxÞ; y000 ðxÞ ¼ C T ðD0 Þ UðxÞ:
method based on Bernstein polynomials for solving directly
ð9Þ
third-order ODEs of the form
Then Eqn. (1) can be written in the form
y000 ¼ f ðx; y; y0 ; y00 Þ subject to yð0Þ ¼ a0 ; y0 ð0Þ ¼ b0 ; y00 ¼ c0 ; ð1Þ
3 2
where a0 ; b0 ; c0 are given constants and x 2 ½0; 1. While all others C T ðD0 Þ UðxÞ ¼ f ðx; C T UðxÞ; C T D0 UðxÞ; C T ðD0 Þ UðxÞÞ; ð10Þ
methods as introduced in Zhang et al. (2016), Singh et al. (2017),
2
Kumar et al. (2017), Majid et al. (2009), Awoyemi and Idowu C T Uðx0 Þ ¼ a0 ; C T D0 Uðx0 Þ ¼ b0 ; C T ðD0 Þ Uðx0 Þ ¼ c0 : ð11Þ
(2005)) solved Eq. (1) by reducing it to systems of lower degree of
ODEs, the present method converts Eq. (1) to a system of algebraic We substitute the collocation nodes 0 6 x0 < x1 < . . . < xm 6 1 in
equations which can be solved easily. The capability of the method (10) to get a system of algebraic equations which will be solved
shall be tested on a linear and nonlinear third-order ODEs. by a computer algebra system like Maple. We use the Chebyshev
roots as the collocation nodes
2. Description of method 1 1
xi ¼ þ pÞ; i ¼ 0; 1; . . . ; n 2: ð12Þ
2 2 cosðð2i þ 1Þ 2n
The Bernstein polynomials of degree n are defined as
n A convergent analysis of the method was given by Yousefi et al.
Bv ;n ðxÞ ¼ xv ð1 xÞnv ; ð2Þ (2011) in their lemmas 3 and 4. For more details the readers is
v referred to Rivlin (2003).
where
n n! 3. Numerical tests
¼ ; v ¼ 0; . . . ; n: ð3Þ
v v !ðn v Þ!
In this section, we present examples of third-order ODEs in
These polynomials form a complete basis for the vector space
Q order to illustrate the performance and effectiveness of our
n of polynomials of degree at most n. For convenience, method. We apply the method with the number of Bernstein
Bv ;n ðxÞ ¼ 0 if v < 0; n < v . These polynomials have many proper- terms, n ¼ 14. All the algebraic manipulations were done in Maple
ties which make them important and useful, like continuity and 8 with the Digits set to 20.
unity partition (see Farouki, 2012). As a result, any polynomial of
degree n can be approximated in terms of linear combination of
3.1. Example 1
Bv ;n ðxÞ ¼ 0; ðv ¼ 0; . . . ; nÞ as given below,
X
n First we consider the following linear problem
yðxÞ ¼ C v Bv ;n ¼ C T UðxÞ; ð4Þ
v ¼1 y y00 þ y0 y ¼ 0;
000
yð0Þ ¼ 1; y0 ð0Þ ¼ 0; y00 ð0Þ ¼ 1; 0 6 x 6 1;
where C T ¼ ½C 0 ; C 1 ; . . . ; C n and UðxÞ ¼ ½B0;n ; B1;n ; . . . ; Bn;n T . with the exact solution yðxÞ ¼ cos x. Applying the method described
Also, we can make the decomposition of the vector UðxÞ as a above, the following 14-term approximate solution is obtained:
product of a square matrix of size ðn þ 1Þ ðn þ 1Þ and a vector
of size ðn þ 1Þ 1, i.e. UðxÞ ¼ AX, where yðxÞ 9:64735391 1012 x14 9:3279316 1012 x13
2 3
2 3 1 þ 2:111956063 109 x12 4:022855 1011 x11
a0 a1 a2 . . . an 6 7
6b 6x7 2:7552708726107 x10 3:797351011 x9
6 0 b1 b2 . . . bn 77 6 7
6 x2 7
A¼6
6 .. .. .. .. 7
.. 7; X ¼ 6 7: ð5Þ þ 0:248016101554 104 x8 1:00854 1011 x7
4 . . . . . 5 6 . 7
6 . 7
4 . 5 0:13888888856464 102 x6 7:443 1013 x5
k0 k1 k2 . . . kn
xn
þ 0:4166666666678504 101 x4 1:264 1014 x3
0
Now, the derivative of the vector UðxÞ denoted by D is 0:500000000000000001x2
dUðxÞ þ 0:99999999999999999999:
¼ D0 UðxÞ; ð6Þ
dx
The absolute errors shown in Table 1 suggest that the present
where D0 is the ðn þ 1Þ ðn þ 1Þ operational matrix of the derivative
method is very accurate.
that given as D ¼ ArA , where
0 1
2 3 2 3
a0 a1 a2 . . . an 0 0 0 ... 0 Table 1
6b b1 b2 . . . bn 7 60 1 ... 07
6 0 7 6 0 7 Absolute errors for Example 1.
A¼6
6 .. .. .. .. .. 7
7; r¼6
6 .. .. .. .. .77: ð7Þ
4 . . . . . 5 4. . . . .. 5 x Exact solution Bernstein solution Error
3.3. Example 3
Fig. 1. Approximation solution for example 1 using Bernstein polynomials with 4. Applications to equations of fluid flow
exact solution.
4.1. Boundary layer flow
Table 2
Absolute errors for Example 2.
Error Error
x Exact solution Bernstein solution Present method Ref. (Mohammed and Adeniyi, 2014)
0.1 0.99532115983955553048 0.99532115983955545628 7:42 1017 1:00 1010
0.2 0.98247690369357823040 0.98247690369357792919 3:01 1016 3:00 1010
0.3 0.96306368688623322589 0.96306368688623261523 6:11 1016 7:00 1010
0.4 0.93844806444989502104 0.93844806444989407304 9:48 1016 7:00 1010
0.5 0.90979598956895013540 0.90979598956894887800 1:26 1015 6:00 1010
0.6 0.87809861775044229221 0.87809861775044086917 1:42 1015 2:00 1010
0.7 0.84419501644539617499 0.84419501644539506014 1:11 1015 9:00 1010
0.8 0.80879213541099886457 0.80879213541099944217 5:78 1016 2:80 109
0.9 0.77248235350713831257 0.77248235350714424660 5:93 1015 5:40 109
1.0 0.73575888234288464320 0.73575888234290481537 2:02 1014 3:50 109
S.N. Khataybeh et al. / Journal of King Saud University – Science 31 (2019) 822–826 825
Table 4
Comparison with hybrid block method of Adesanya et al. (2013).
where Ai ð:Þ; Bi ð:Þ are the Airy functions, and a; b and s0 are constants
determined by the initial conditions. This equation was also solved
by Mechee et al. (2013) and Momoniat and Mahomed (2010). For
the initial conditions yð0Þ ¼ y0 ð0Þ ¼ y00 ð0Þ ¼ 1, Momoniat and
Mahomed (2010) obtained
5. Conclusion Loh, J.R., Phang, C., Isah, A., 2017. New operational matrix via Genocchi polynomials
for solving Fredholm-Volterra fractional integro-differential equations. Adv.
Math. Phys. Article ID 3821870.
In this paper, we have modified for the first time the classical Lorentz, G.G., 2012. Bernstein polynomials. Amer. Math. Soc, New York.
operational matrices of Bernstein polynomials method to solve Majid, Z.A., Azmi, N.A., Suleiman, M., 2009. Solving second order ordinary
differential equations using two point four step direct implicit block method.
directly a class of third-order ODEs. The method presented in this
Eur. J. Sci. Res. 31, 29–36.
work avoids the need to transform the ODEs to a system of lower Mechee, M., Senu, N., Ismail, F., Nikouravan, B., Siri, Z., 2013. A three-stage fifth-
(or first)-order ODEs. The approximate solutions obtained are in order Runge-Kutta method for directly solving special third-order differential
equation with application to thin film flow problem. Math. Probl. Eng. 2013.
the form of series whose terms can be easily computed. The proce-
Article ID 795397.
dure of the method can be programmed symbolically softwares Mirkov, N., Rašuo, B., 2013. Bernstein polynomial collocation method for elliptic
like Maple or Mathematica. The method has also been shown to boundary value problems. PAMM 13, 421–422.
perform reasonably well for all the test problems. Mirkov, N., Rasuo, B., 2012. A bernstein polynomial collocation method for the
solution of elliptic boundary value problems. arXiv preprint arXiv:1211.3567.
Bibliographic Code: 2012arXiv1211.3567M, Cornell University Library. 21
pages.
Mohammed, U., Adeniyi, R., 2014. A three step implicit hybrid linear multistep
References
method for the solution of third order ordinary differential equations. Gen.
Math. Notes. 25, 62–74.
Adesanya, A.O., Udoh, D.M., Ajileye, A., 2013. A new hybrid block method for the Momoniat, E., Mahomed, F., 2010. Symmetry reduction and numerical solution of a
solution of general third order initial value problems of ordinary differential third-order ode from thin film flow. Math. Comput. Appl. 15, 709–719.
equations. Int. J. Pure Appl. Math. 86, 365–375. Olabode, B.T., Alabi, T., 2013. Direct block predictor-corrector method for the
Alshbool, M., Bataineh, A., Hashim, I., Isik, O.R., 2015. Approximate solutions of solution of general fourth order odes. J. Math. Res. 5, 26–33.
singular differential equations with estimation error by using Bernstein Olabode, B., Yusuph, Y., 2009. A new block method for special third order ordinary
polynomials. Int J Pure Appl Math. 100, 109–125. differential equations. J. Math. Stat. 5, 167–170.
Alshbool, M.H.T., Bataineh, A.S., Hashim, I., Isik, O.R., 2017. Solution of fractional- Pandey, R.K., Kumar, N., 2012. Solution of Lane-Emden type equations using
order differential equations based on the operational matrices of new fractional Bernstein operational matrix of differentiation. New Astron. 17, 303–308.
Bernstein functions. J. King Saud. Univ. Sci. 29, 1–18. Rivlin, T.J., 2003. An Introduction to the Approximation of Functions. Courier
Asgari, M., Ezzati, R., 2017. Using operational matrix of two-dimensional Bernstein Corporation, New York.
polynomials for solving two-dimensional integral equations of fractional order. Schlichting, H., Gersten, K., Krause, E., Oertel, H., 1955. Boundary-Layer Theory,
Appl. Math. Comput. 307, 290–298. volume 7. Springer, New York.
Awoyemi, D., Idowu, O., 2005. A class of hybrid collocation methods for third-order Singh, J., Kumar, D., Swroop, R., Kumar, S., 2017. An efficient computational
ordinary differential equations. Int. J. Comput. Math. 82, 1287–1293. approach for time-fractional Rosenau-Hyman equation. Neural Comput. Appl.,
Bellucci, M.A., 2014. On the explicit representation of orthonormal Bernstein 1–8 https://doi.org/10.1007/s00521-017-2909.
polynomials. arXiv preprint arXiv:1404.2293. Bibliographic Code: Waeleh, N., Abdul Majid, Z., Ismail, F., Suleiman, M., 2011. Numerical solution of
arXiv:1404.2293 [math.CA], Cornell University Library. 13 pages. higher order ordinary differential equations by direct block code. J. Math. Stat.
Chen, Y., Liu, L., Li, B., Sun, Y., 2014. Numerical solution for the variable order linear 8, 77–81.
cable equation with Bernstein polynomials. Appl. Math. Comput. 238, 329–341. Yousefi, S., Behroozifar, M., 2010. Operational matrices of Bernstein polynomials
Duffy, B., Wilson, S., 1997. A third-order differential equation arising in thin-film and their applications. Int. J. Syst. Sci. 41, 709–716.
flows and relevant to Tanner’s law. Appl. Math. Lett. 10, 63–68. Yousefi, S., Behroozifar, M., Dehghan, M., 2011. The operational matrices of
Farouki, R.T., 2012. The Bernstein polynomial basis: a centennial retrospective. Bernstein polynomials for solving the parabolic equation subject to
Comput. Aided Geom. Des. 29, 379–419. specification of the mass. J. Comput. Appl. Math. 235, 5272–5283.
Kumar, S., Kumar, A., Odibat, Z.M., 2017. A nonlinear fractional model to describe Zhang, Y., Kumar, A., Kumar, S., Baleanu, D., Yang, X.J., 2016. Residual power series
the population dynamics of two interacting species. Math. Methods Appl. Sci. method for time-fractional Schrödinger equations. J. Nonlinear Sci. Appl. 9,
40, 4134–4148. 5821–5829.
Lien-Tsai, Y., Cha’o-Kuang, C., 1998. The solution of the Blasius equation by the
differential transformation method. Math. Comput. Model. 28, 101–111.