Translate this page into:
Solving directly third-order ODEs using operational matrices of Bernstein polynomials method with applications to fluid flow equations
⁎Corresponding author. sanaakh153@gmail.com (Sana’a Nazmi Khataybeh)
-
Received: ,
Accepted: ,
This article was originally published by Elsevier and was migrated to Scientific Scholar after the change of Publisher.
Peer review under responsibility of King Saud University
Abstract
In this paper, we adapt for the first time the operational matrices of Bernstein polynomials method for solving directly a class of third-order ordinary differential equations (ODEs). This method gives a numerical solution by converting the equation into a system of algebraic equations which is solved directly. 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 to show the applicability of the method.
Keywords
ODEs
Bernstein polynomials
Approximation
Fluid flow
1 Introduction
The mathematical formulations of physical phenomena and engineering often lead to ordinary differential equations (ODEs). Finding an approximate analytical solution to an equation has attracted the attention of many researchers (see for example Zhang et al., 2016; Singh et al., 2017; Kumar et al., 2017). There are currently many methods that can provide approximate solutions, and most of these methods first convert the ODEs to a system of lower degree, usually the first-order.
In recent years, several authors have introduced direct methods for solving higher-order ODEs. Majid et al. (2009) used Jocobi iteration and direct methods with a variable step size for solving second-order ODEs. Awoyemi and Idowu (2005) proposed a class of hybrid collocation direct method to solve third-order ODEs. A part from that, power series collocation and interpolation was implemented to derive a 3-step block method for solving ODEs of the third-order by Olabode and Yusuph (2009). Waeleh et al. (2011) developed a block method based on numerical integration and interpolation in order to solve higher-order ODEs where they presented approximation solutions of the fourth- and fifth-orders. Olabode and Alabi (2013) introduced a linear multistep method using interpolation and collocation of power series approximation solution to solve the fourth-order ODEs.
There have been quite a number of papers on applying Bernstein polynomials for solving differential equations. Bernstein polynomials were introduced by Sergi Bernstein in 1912 (see Lorentz, 2012). Yousefi and Behroozifar (2010) employed operational matrices of Bernstein polynomials for solving differential equations. Pandey and Kumar (2012) used Bernstein operational matrices to solve Emden type equations. Alshbool et al. (2015) introduced approximation solutions for singular differential equations using Bernstein polynomials. A numerical solution for the variable order linear cable equation using Bernstein polynomials was presented by Chen et al. (2014). Bellucci (2014) introduced the orthonormal Bernstein polynomials which can be used in a generalized Fourier series to approximate surfaces and curves. Mirkov and Rašuo (2013),Mirkov et al., 2012 used Bernstein polynomials to solve elliptic boundary value problems, in particular, the Poisson and Helmholtz equations on a square domain. Further capabilities of operational matrices of Bernstein polynomials were demonstrated very recently by Asgari and Ezzati (2017) who solved two-dimensional integral equations of fractional order by operational matrix of two-dimensional Bernstein polynomials and Alshbool et al. (2017) who solved fractional-order differential equations. Very recently, Loh et al. (2017) introduced a new operational matrix based on Genocchi polynomials for solving fractional integro-differential equations.
In this paper, we introduce for the first time an approximate method based on Bernstein polynomials for solving directly third-order ODEs of the form
2 Description of method
The Bernstein polynomials of degree n are defined as
These polynomials form a complete basis for the vector space
of polynomials of degree at most n. For convenience,
if
. These polynomials have many properties which make them important and useful, like continuity and unity partition (see Farouki, 2012). As a result, any polynomial of degree n can be approximated in terms of linear combination of
as given below,
Also, we can make the decomposition of the vector
as a product of a square matrix of size
and a vector of size
, i.e.
, where
Now, the derivative of the vector
denoted by
is
3 Numerical tests
In this section, we present examples of third-order ODEs in order to illustrate the performance and effectiveness of our method. We apply the method with the number of Bernstein terms, . All the algebraic manipulations were done in Maple 8 with the Digits set to 20.
3.1 Example 1
First we consider the following linear problem
with the exact solution
. Applying the method described above, the following 14-term approximate solution is obtained:
The absolute errors shown in Table 1 suggest that the present method is very accurate.
x
Exact solution
Bernstein solution
Error
0.1
0.99500416527802576610
0.99500416527802576026
0.2
0.98006657784124163112
0.98006657784124160265
0.3
0.95533648912560601964
0.95533648912560595103
0.4
0.92106099400288508280
0.92106099400288495944
0.5
0.87758256189037271612
0.87758256189037253350
0.6
0.82533561490967829724
0.82533561490967807361
0.7
0.76484218728448842626
0.76484218728448822968
0.8
0.69670670934716542092
0.69670670934716545101
0.9
0.62160996827066445648
0.62160996827066530979
1.0
0.54030230586813971740
0.54030230586814316648
3.2 Example 2
Next consider the following problem Fig. 1
The exact solution is
. The operational matrices of Bernstein polynomials method yields
Approximation solution for example 1 using Bernstein polynomials with exact solution.
Table 2 clearly shows the accuracy of the present method.
Error
Error
x
Exact solution
Bernstein solution
Present method
Ref. (Mohammed and Adeniyi, 2014)
0.1
0.99532115983955553048
0.99532115983955545628
0.2
0.98247690369357823040
0.98247690369357792919
0.3
0.96306368688623322589
0.96306368688623261523
0.4
0.93844806444989502104
0.93844806444989407304
0.5
0.90979598956895013540
0.90979598956894887800
0.6
0.87809861775044229221
0.87809861775044086917
0.7
0.84419501644539617499
0.84419501644539506014
0.8
0.80879213541099886457
0.80879213541099944217
0.9
0.77248235350713831257
0.77248235350714424660
1.0
0.73575888234288464320
0.73575888234290481537
3.3 Example 3
The exact solution of this problem is and the approximate solution of the present method is
Again the errors depicted in Table 3 show the accuracy of the present method. Figs. 2 and 3.
x
Exact solution
Bernstein solution
Error
0.1
0.9900124958340772983
0.9900124958340771930
0.2
0.9601997335237248934
0.96019973352372439108
0.3
0.9110094673768180589
0.91100946737681686283
0.4
0.8431829820086552484
0.93844806444989407304
0.5
0.7577476856711181484
0.84318298200865306768
0.6
0.6560068447290348917
0.65600684472902999918
0.7
0.5395265618534652788
0.53952656185345885671
0.8
0.4101201280414962628
0.41012012804148848222
0.9
0.2698299048119933694
0.26982990481198474225
1.0
0.1209069176044191522
0.12090691760441048523
Approximation solution for example 2 using Bernstein polynomials with exact solution.
Approximation solution for example 3 using Bernstein polynomials with exact solution.
4 Applications to equations of fluid flow
4.1 Boundary layer flow
Now consider the nonlinear boundary layer equation
x
Ref. (Adesanya et al., 2013)
Present method
0.1
0.00499997916611
0.0049999583341723
0.2
0.01999866666859
0.0199986668419935
0.3
0.044998481293978
0.0449898794745896
0.4
0.079991467388617
0.0799573779857994
0.5
0.124967454367055
0.1248700575229549
0.6
0.179902837409194
0.179677141245484
0.7
0.244755067600357
0.244303616982151
0.8
0.319454500640289
0.318646009310246
0.9
0.403894871267148
0.402568620552525
1.0
0.49792248311043
0.495900382783151
4.2 Thin film flow
The motion of the contact line for a thin oil drop spreading on a horizontal surface can be modelled by
x
Exact solution
Ref. (Mechee et al., 2013)
Present method
Ref. (Duffy and Wilson, 1997)
0.0
1.000000000
1.0000000000
1.0000000000
0.2
1.221211030
1.2212100045
1.2212100043
0.4
1.488834893
1.4888347799
1.4888347792
0.6
1.807361404
1.8073613977
1.8073613962
0.8
2.179819234
2.1798192339
2.1798192314
1
2.608275822
2.6082748676
2.6082748636
5 Conclusion
In this paper, we have modified for the first time the classical operational matrices of Bernstein polynomials method to solve directly a class of third-order ODEs. The method presented in this work avoids the need to transform the ODEs to a system of lower (or first)-order ODEs. The approximate solutions obtained are in the form of series whose terms can be easily computed. The procedure of the method can be programmed symbolically softwares like Maple or Mathematica. The method has also been shown to perform reasonably well for all the test problems.
References
- A new hybrid block method for the solution of general third order initial value problems of ordinary differential equations. Int. J. Pure Appl. Math.. 2013;86:365-375.
- [Google Scholar]
- Approximate solutions of singular differential equations with estimation error by using Bernstein polynomials. Int J Pure Appl Math.. 2015;100:109-125.
- [Google Scholar]
- Solution of fractional-order differential equations based on the operational matrices of new fractional Bernstein functions. J. King Saud. Univ. Sci.. 2017;29:1-18.
- [Google Scholar]
- Using operational matrix of two-dimensional Bernstein polynomials for solving two-dimensional integral equations of fractional order. Appl. Math. Comput.. 2017;307:290-298.
- [Google Scholar]
- A class of hybrid collocation methods for third-order ordinary differential equations. Int. J. Comput. Math.. 2005;82:1287-1293.
- [Google Scholar]
- Bellucci, M.A., 2014. On the explicit representation of orthonormal Bernstein polynomials. arXiv preprint arXiv:1404.2293. Bibliographic Code: arXiv:1404.2293 [math.CA], Cornell University Library. 13 pages.
- Numerical solution for the variable order linear cable equation with Bernstein polynomials. Appl. Math. Comput.. 2014;238:329-341.
- [Google Scholar]
- A third-order differential equation arising in thin-film flows and relevant to Tanner’s law. Appl. Math. Lett.. 1997;10:63-68.
- [Google Scholar]
- The Bernstein polynomial basis: a centennial retrospective. Comput. Aided Geom. Des.. 2012;29:379-419.
- [Google Scholar]
- A nonlinear fractional model to describe the population dynamics of two interacting species. Math. Methods Appl. Sci.. 2017;40:4134-4148.
- [Google Scholar]
- The solution of the Blasius equation by the differential transformation method. Math. Comput. Model.. 1998;28:101-111.
- [Google Scholar]
- New operational matrix via Genocchi polynomials for solving Fredholm-Volterra fractional integro-differential equations. Adv. Math. Phys. 2017 Article ID 3821870
- [Google Scholar]
- Bernstein polynomials. New York: Amer. Math. Soc; 2012.
- Solving second order ordinary differential equations using two point four step direct implicit block method. Eur. J. Sci. Res.. 2009;31:29-36.
- [Google Scholar]
- A three-stage fifth-order Runge-Kutta method for directly solving special third-order differential equation with application to thin film flow problem. Math. Probl. Eng.. 2013;2013 Article ID 795397
- [Google Scholar]
- Bernstein polynomial collocation method for elliptic boundary value problems. PAMM. 2013;13:421-422.
- [Google Scholar]
- 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.
- A three step implicit hybrid linear multistep method for the solution of third order ordinary differential equations. Gen. Math. Notes.. 2014;25:62-74.
- [Google Scholar]
- Symmetry reduction and numerical solution of a third-order ode from thin film flow. Math. Comput. Appl.. 2010;15:709-719.
- [Google Scholar]
- Direct block predictor-corrector method for the solution of general fourth order odes. J. Math. Res.. 2013;5:26-33.
- [Google Scholar]
- A new block method for special third order ordinary differential equations. J. Math. Stat.. 2009;5:167-170.
- [Google Scholar]
- Solution of Lane-Emden type equations using Bernstein operational matrix of differentiation. New Astron.. 2012;17:303-308.
- [Google Scholar]
- An Introduction to the Approximation of Functions. New York: Courier Corporation; 2003.
- Boundary-Layer Theory. Vol volume 7. New York: Springer; 1955.
- An efficient computational approach for time-fractional Rosenau-Hyman equation. Neural Comput. Appl. 2017:1-8.
- [CrossRef] [Google Scholar]
- Numerical solution of higher order ordinary differential equations by direct block code. J. Math. Stat.. 2011;8:77-81.
- [Google Scholar]
- Operational matrices of Bernstein polynomials and their applications. Int. J. Syst. Sci.. 2010;41:709-716.
- [Google Scholar]
- The operational matrices of Bernstein polynomials for solving the parabolic equation subject to specification of the mass. J. Comput. Appl. Math.. 2011;235:5272-5283.
- [Google Scholar]
- Residual power series method for time-fractional Schrödinger equations. J. Nonlinear Sci. Appl.. 2016;9:5821-5829.
- [Google Scholar]