Abstract
In this paper, we propose an efficient numerical technique based on the Bernstein polynomials for the numerical solution of the equivalent integral form of the derivative dependent Emden–Fowler boundary value problems which arises in various fields of applied mathematics, physical and chemical sciences. The Bernstein collocation method is used to convert the integral equation into a system of nonlinear equations. This system is then solved efficiently by suitable iterative method. The error analysis of the present method is discussed. The accuracy of the proposed method is examined by calculating the maximum absolute error and the \(L_{2}\) error of four examples. The obtained numerical results are compared with the results obtained by the other known techniques.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
We consider the following derivative dependent Emden–Fowler boundary value problems as
where \(\gamma _1>0\), \(\gamma _2\), \(\gamma _3\), and \(\gamma _4\) are real constants. The Emden-Fowler type Eq. (1) arises in many fields of mathematical sciences and astrophysics such as in the study of heat explosion [1], in calculation of oxygen concentration inside a spherical cell [2], to measure heat sources in human head [3], in shallow membrane cap theory [4], in modeling thermal explosion in a rectangular slab [5, 6].
Note that the Eq. (1) is called doubly singular boundary value problem [8], where \(r(t)=t^{a}v(t)\), \(v(0)\ne 0,\) \(s(t)=t^{b}z(t)\), \(z(0)\ne 0\) with \(r(0)=0\) and s(t) is allowed to be discontinuous at \(t=0\). The existence and uniqueness results of solution of these problems can be found in [7,8,9,10,11].
Finding numerical solution of such problems is very challenging due to singularity at the origin and strong nonlinearity of the form \(f(t,y(t),r(t)y'(t))\). Numerous numerical methods for solving (1) when \(f(t,y(t),r(t)y'(t))=f(t,y(t))\) have been developed like the finite difference method [12,13,14], the spline finite difference method [15], the parametric-spline method [16], the cubic spline method [17], the optimal parametric iteration method [18], the B-spline collocation method [19], the Adomian decomposition method (ADM) with Green’s function [20,21,22,23,24,25], the Laguerre wavelets collocation method [26], the classical polynomial approximation method [27], the modified variational iteration method [28], the Mickens’ type non-standard finite difference schemes [29], the homotopy analysis method [30, 31], the homotopy perturbation method [32], the Haar-wavelet collocation method [33, 34], the Haar wavelet quasi-linearization method [35, 36], the advanced Adomian decomposition method [37] and the Bernstein collocation method [38].
To the best of our knowledge there is very few methods provided so far for numerical solution of the derivative dependent Emden–Fowler boundary value problems such as the modified Adomian decomposition method [24, 25], the improved homotopy analysis method [39] and the B-spline collocation method [40].
In this paper, we propose an efficient collocation method based on the Bernstein polynomials for the numerical solution of the equivalent integral form of the derivative dependent Emden–Fowler boundary value problems (1). The Bernstein collocation method (BCM) is used to convert the integral equations into a system of nonlinear equations. Then a suitable iterative technique is used to find numerical solutions of the system of nonlinear equations. The error analysis of the proposed method is provided. The accuracy of the proposed method is examined by calculating the maximum absolute error \(L_{\infty }\) and the \(L_{2}\) error of some numerical examples. To check the efficiency of the present method the obtained numerical results are compared with the results obtained by the other known techniques.
2 Integral form of derivative dependent Emden-Fowler BVPs
2.1 For Dirichlet-Robin boundary conditions
Consider the following derivative dependent Emden-Fowler equation with Dirichlet-Robin BCs
Integrating the Eq. (2) from t to 1 and then from 0 to t and changing the order of integration and applying the boundary conditions, we obtain the equivalent integral equation
where \(G(t,\xi )\) is given by
where \(h(t)= \int \limits _{0}^{t} \frac{1}{r(\xi )} d\xi \), \(h(1)= \int \limits _{0}^{1} \frac{1}{r(\xi )} d\xi \) and \(h'(1)= \frac{1}{r(1)}\).
2.2 For Neumann-Robin boundary conditions
Similarly, consider the derivative dependent Emden-Fowler equation with Neumann-Robin BCs
Integrating the Eq. (5) from t to 1 and then from 0 to t and changing the order of integration and applying the boundary conditions, we obtain an integral equation
with
3 The Bernstein collocation method
he Bernstein polynomials play a prominent role in many areas of mathematical sciences. One of the important property of these polynomials is that they all vanish, except at the end points of the interval [0, 1]. This gives more flexibility in which to impose boundary conditions at the end points of the interval. These polynomials have several other useful properties, such as the continuity, the positivity and complete basis formation over the interval [0, 1]. These polynomials have frequently been used to solve various differential and integral equations [41,42,43,44,45,46,47,48,49,50,51].
Definition 1
The Bernstein polynomials [41] of degree n are defined as
where \(\displaystyle \left( {\begin{array}{c}n\\ i\end{array}}\right) =\frac{n!}{i! (n-i)!}\).
A recursive definition can also be used to generate these polynomials,
The derivative of the Bernstein polynomials is given by
and their finite integral is
Definition 2
The Bernstein polynomials form a complete basis with the following properties
-
(i)
\(B_{i,n}(t)=0\), when \(i<0\) or \(i>n,\)
-
(ii)
\(B_{i,n}(0)=B_{i,n}(1)=0\), when \(i=1,2,\cdots n-1\),
-
(iii)
They form the partition of unity:
$$\begin{aligned}\displaystyle \sum _{i=0}^{n}B_{i,n}(t)=1.\end{aligned}$$and their derivative verify the partition of nullity:
$$\begin{aligned}\displaystyle \sum _{i=0}^{n}\frac{d^pB_{i,n}(t)}{dt^p}=1,~p\ge 0.\end{aligned}$$This property is closely related to the capability of an approximation to reproduce exactly a polynomial solution [52].
Note that an excellent performance in terms of error can be reached with Bernstein expansion for relatively low order approximations, but for a higher degree of the Bernstein polynomial there may be an increase in the numerical dissipation due to the evaluation of binomial terms and powers of a very high order. This drawback can be relieved by using the binomial multiplicative formula:
which allows a more efficient computation of binomial terms [47].
Any function \(v(t) \in L^{2}[0,1]\) can be approximated by the Bernstein basis polynomials as
For numerical purpose, we consider the first \((n+1)\) terms of the above expansion as
The collocation points on an interval [0, 1] is defined as
Such collocation points are considered for which maxima are reached for the Bernstein polynomial.
In next subsection, we establish a collocation method based on Bernstein polynomials for finding numerical solution of the integral Eqs. (3) and (6).
3.1 Dirichlet-Robin boundary conditions
To establish a numerical algorithm, we reconsider Eq. (3) as follows:
In Eq. (12), we consider
On approximating y(t), \(y'(t)\) and \(\psi (t)\) by the Bernstein basis polynomials, we get
Substituting the expression from (14) and (15) into (12), we obtain
which can be written as
where
On differentiating (18) w.r.t. t, we get
where
Using the expressions of y(t), \(y'(t)\) and \(\psi (t)\) from Eqs. (14), (15) and (16), Eq. (13) takes form
Upon substituting the expressions from Eqs. (18) and (20) into (21) and inserting the collocation points \(t_j\) defined in (11), we obtain the nonlinear system of equations as
where \(b_0,b_1,\ldots ,b_n\) are the unknowns. The nonlinear system of Eq. (22) is solved numerically by the Newton’s iteration method to get the unknowns \(b_i\), which are then substituted in Eq. (18) to get the numerical solution of (12).
3.2 Neumann-Robin boundary conditions
Let us reconsider the integral Eq. (6) as
Following similar steps of previous subsection, we substitute the expressions from Eqs. (13), (14), (15) and (16) into Eq. (23) and get
which can further be written as
and
Using (25) and (26) into (21) and inserting the collocation points \(t_j\), we obtain the nonlinear system of equations as
with the unknowns \(b_0,b_1,\cdots ,b_{n}.\) Solving the nonlinear system of Eqs. (27) by Newton’s iteration method, we obtain the unknown coefficients which will be substituted in Eq. (25) to get the numerical solution of (23).
Remark 1
In the present analysis, the nonlinear systems of Eqs. (22) and (27) lead to full matrices which are generally computationally demanding. But in this method, we have need solve a very small sized matrix to reach the desired accuracy. So, it is computationally efficient to use the Bernstein collocation method for solving these nonlinear systems of equations.
4 Error analysis
Let \({\mathbb {X}}=C[0,1]\bigcap C^1(0,1]\) be the Banach space with the norm [7, 8] defined as
where \(\Vert y\Vert _0\) and \(\Vert y\Vert _1\) are defined as
and
We consider the following integral equation
Note that the integral Eqs. (3) and (6) are special cases of (31) when \(g(t)=\gamma _4 +\frac{\gamma _3 -\gamma _1 \gamma _4}{\gamma _1 h(1)+\gamma _2 h'(1)}h(t)\) and \(g(t)=\frac{\gamma _3}{\gamma _1}\), respectively.
Theorem 1
(See [53]) If \(v(t) \in C[0,1]\), the sequence \(\{B_{n}(v)\}\) converges uniformly to v, where \(B_{n}(v)= \sum _{i=0}^{n}a_{i}\ B^n_{i}(t)\) is the Bernstein approximation function. In other words for any \(\epsilon > 0\) there exists a number \(n \in {\mathbb {N}}\) such that \(\Vert B_{n}(v)-v\Vert <\epsilon .\)
Theorem 2
(See [54]) If v(t) is bounded and \(v''(t)\) exists in [0, 1], then the error bound for Bernstein’s approximation function is obtained as
and the rate of convergence of Bernstein’s approximation function is precisely \(\nicefrac {1}{n}\) [55], provided \(v''(t) \ne 0\).
Theorem 3
Let y(t) and \(y_{n}(t)\) be the exact and the approximate solutions of the integral Eq. (31). Assume that the nonlinear function \(f(t,y,ry')\) satisfies the Lipschitz condition
where \(l_1\) and \(l_2\) are the Lipschitz constants. Then the error bound for Bernstein collocation method is estimated as
where \(l=\max \{l_1, l_2\}\), \(m=\max \{m_1, m_2\}\), \(w=\Vert y''\Vert \),
Proof
Consider
Applying the Lipschitz condition, the above inequality becomes
In the same way, we obtain
Using the Lipschitz condition, we get
From Eqs. (35) and (36), we obtain
Replacing \(y_n(\xi )\) by the Bernstein solution \(B_{n}\big (y(\xi )\big )\), Eq. (37) reduces to
Using the result from Eq. (32), the Eq. (38) becomes
\(\square \)
5 Numerical results
We examine the accuracy of the proposed method by solving the several derivative dependent Emden-Fowler type singular BVPs. For comparison purpose, we define the maximum absolute error as
and the \(L_2\) error as
Here y(t) is the exact solution and \(y_{n}(t)\) is the Bernstein solution. The maximum absolute error is defined as
where \(\psi _n(t) =\sum _{j=0}^{n}y_{j}(t)\) denotes Adomian decomposition method solution [24].
Example 1
Consider the following derivative dependent Emden-Fowler BVP [24] as
Its exact solution is given by \(y(t)=e^{t^l}\). The equivalent integral form of (40) is
where \(G(t,\xi )\) is
We compare the numerical results of maximum absolute errors \(L_{\infty }\) and \(E_n\) obtained by BCM and the ADM [24] of Example 1 for \(l=1\) and \(l=2.5\) with different values of \(k=0.25,~0.50,~0.75\) in Tables 1 and 2. In addition, the numerical results of the \(L_2\) error are shown in Tables 3 and 4. From the numerical results, it is observed that the BCM converges faster than the ADM [24]. It can be seen that as the degree of the Bernstein polynomial increases, the numerical errors decreases significantly.
Example 2
Consider the following Emden-Fowler equation with derivative dependence [24]
Its exact solution is given by \(y(t)=\ln \bigg (\frac{1}{2+t}\bigg )\). The equivalent integral form of (43) is
where \(G(t,\xi )\) is
Comparison of the numerical results of \(L_{\infty }\) and \(E_n\) obtained by the BCM and the ADM [24] of Example 2 is given in Table 5. In addition, the numerical results of the \(L_2\) error is shown in Table 6.
Example 3
Consider the following derivative dependent Emden-Fowler BVP [24]
Its exact solution is given by \(y(t)=\ln \big (\frac{1}{4+t^l}\big )\). The equivalent integral form of (46) is
where \(G(t,\xi )\) is
In Tables 7 and 8, we provide the numerical results of maximum absolute errors obtained by the BCM and the ADM [24] of Example 3 for \(l=1\) and \(l=3.5\) with \(k=0.25,~0.50,~0.75\), respectively. We also present the \(L_2\) error in Tables 9 and 10. It has been observed that the BCM converges faster and as the value of n increases, the \(L_{\infty }\) and \(L_2\) errors decrease rapidly.
Example 4
Consider the following derivative dependent Emden-Fowler BVP [25]
Its exact solution is given by \(y(t)=e^{t^l}\). The equivalent integral form of (49) is
where \(G(t,\xi )\) is
The numerical results of maximum absolute error \(L_{\infty }\) and \(L_{2}\) error of Example 4 are provided in Table 11 for \(k=2\) and different values of \(l=1,~2,~4\). It can be seen that as the degree of the Bernstein polynomial increases, the numerical errors decreases significantly.
Remark 2
From the numerical results, it can be seen that a smaller value of \(n\le 10\) is sufficient for obtaining an excellent approximation. Also increasing the value of n results in an increment of computational time and the numerical results of \(L_{\infty }\) and \(\L _2\) errors are increased or become constant because a problem of truncation error occurs when the degree of the Bernstein polynomial is raised. So, in this case, it is numerically advisable to use a smaller value of n. However, for a high-order collocation scheme, if no truncation of decimal positions could be achieved, the solution would be better than those coming from a lower number of evaluation points.
6 Conclusion
We have considered the derivative dependent Emden–Fowler boundary value problems, which arise in various mathematical modeling such as heat conduction problem [56], the unsteady poiseuille flow in a pipe [57], and electroelastic dynamic problem [58]. We have proposed the Bernstein collocation approach for the numerical solution of the equivalent integral form of the derivative dependent Emden-Fowler equation with two sets of boundary conditions. The error analysis of the Bernstein collocation method has been established under quite general conditions. The proposed method gives better numerical results which can be seen from Tables 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11. The accuracy and efficiency of the present method have been checked by evaluating the maximum absolute error and the \(L_{2}\) error of several numerical examples.
References
Chandrasekhar S (1939) An introduction to the study of stellar structure. Ciel et Terre 55:412
McElwain D (1978) A re-examination of oxygen diffusion in a spherical cell with Michaelis-Menten oxygen uptake kinetics. J Theor Biol 71:255–263
Gray B (1980) The distribution of heat sources in the human head: Theoretical considerations. J Theor Biol 82(3):473–476
Rachnková I, Koch O, Pulverer G, Weinmuller E (2007) On a singular boundary value problem arising in the theory of shallow membrane caps. J Math Anal Appl 332(1):523–541
Van Gorder RA (2011) Exact first integrals for a Lane-Emden equation of the second kind modeling a thermal explosion in a rectangular slab. New Astron 16(8):492–497
Reger K, Van Gorder R (2013) Lane-Emden equations of second kind modelling thermal explosion in infinite cylinder and sphere. Appl Math Mechan 34(12):1439–1452
Bobisud L (1990) Existence of solutions for nonlinear singular boundary value problems. Appl Anal 35(1–4):43–57
Bobisud L, O’Regan D (1994) Positive solutions for a class of nonlinear boundary value problems at resonance. J Math Anal Appl 184(1–4):263–284
Dunninger D, Kurtz JC (1986) Existence of solutions for some nonlinear singular boundary value problems. J Math Anal Appl 115(2):396–405
Yan B, O’Regan D, Agarwal R (2008) Positive solutions for second order singular boundary value problems with derivative dependence on infinite intervals. Acta Appl Math 103(1):19–57
Pandey R, Verma AK (2010) On solvability of derivative dependent doubly singular boundary value problems. J Appl Math Comput 33(1–2):489–511
Chawla M, Katti C (1982) Finite difference methods and their convergence for a class of singular two point boundary value problems. Numer Math 39(3):341–350
Pandey R (1992) On the convergence of a finite difference method for a class of singular two point boundary value problems. Int J Comput Math 42:237–241
Kumar M (2002) A three-point finite difference method for a class of singular two-point boundary value problems. J Comput Appl Math 145(1):89–97
Iyengar S, Jain P (1986) Spline finite difference methods for singular two point boundary value problems. Numer Math 50(3):363–376
Rashidinia J, Mahmoodi Z, Ghasemi M (2007) Parametric spline method for a class of singular two-point boundary value problems. Appl Math Comput 188(1):58–63
Kanth AR (2007) Cubic spline polynomial for non-linear singular two-point boundary value problems. Appl Math Comput 189(2):2017–2022
Marinca V, Herişanu N (2011) An optimal iteration method with application to the Thomas-Fermi equation. Open Phys 9(3):891–895
Lakestani M, Dehghan M (2013) Four techniques based on the B-spline expansion and the collocation approach for the numerical solution of the Lane-Emden equation. Math Methods Appl Sci 36(16):2243–2253
Singh R, Kumar J, Nelakanti G (2012) New approach for solving a class of doubly singular two-point boundary value problems using Adomian decomposition method. Adv Numer Anal 2012:22
Singh R, Kumar J, Nelakanti G (2013) Numerical solution of singular boundary value problems using Green’s function and improved decomposition method. J Appl Math Comput 43(1–2):409–425
Singh R, Kumar J (2013) Solving a class of singular two-point boundary value problems using new modified decomposition method. ISRN Comput Math 2013:11
Singh R, Kumar J (2014) An efficient numerical technique for the solution of nonlinear singular boundary value problems. Comput Phys Commun 185(4):1282–1289
Singh R, Kumar J, Nelakanti G (2014) Approximate series solution of singular boundary value problems with derivative dependence using Green’s function technique. Comput Appl Math 33(2):451–467
Singh R, Kumar J (2014) The Adomian decomposition method with Green’s function for solving nonlinear singular boundary value problems. J Appl Math Comput 44(1–2):397–416
Zhou F, Xu X (2016) Numerical solutions for the linear and nonlinear singular boundary value problems using Laguerre wavelets. Adv Differ Equ 2016(1):17
Turkyilmazoglu M (2017) Solution of initial and boundary value problems by an effective accurate method. Int J Comput Methods 14(06):1750069
Singh R, Das N, Kumar J (2017) The optimal modified variational iteration method for the Lane-Emden equations with Neumann and Robin boundary conditions. Eur Phys J Plus 132(6):251
Verma AK, Kayenat S (2018) On the convergence of Mickens’ type nonstandard finite difference schemes on Lane-Emden type equations. J Math Chem 56(6):1667–1706
Singh R (2018) Optimal homotopy analysis method for the non-isothermal reaction-diffusion model equations in a spherical catalyst. J Math Chem 56(9):2579–2590
Singh R (2019) Analytic solution of singular Emden-Fowler-type equations by Green’s function and homotopy analysis method. Eur Phys J Plus 134–11:583
Singh R (2019) A modified homotopy perturbation method for nonlinear singular Lane-Emden equations arising in various physical models. Int J Appl Comput Math 5(3):64
Singh R, Garg H, Guleria V (2019) Haar wavelet collocation method for Lane-Emden equations with Dirichlet, Neumann and Neumann-Robin boundary conditions. J Comput Appl Math 346:150–161
Singh R, Shahni J, Garg H, Garg A (2019) Haar wavelet collocation approach for Lane-Emden equations arising in mathematical physics and astrophysics. Eur Phys J Plus 134(11):548
Verma AK, Tiwari D (2019) Higher resolution methods based on quasilinearization and haar wavelets on Lane-Emden equations. Int J Wavel Multiresolution Inform Process 17(03):1950005
Singh R, Guleria V, Singh M (2020) Haar wavelet quasilinearization method for numerical solution of Emden-Fowler type equations. Math Comput Simul 174:123–133
Umesh M, Kumar M (2020) Numerical solution of singular boundary value problems using advanced Adomian decomposition method. Eng Comput. https://doi.org/10.1007/s00366-020-00972-6
Shahni J, Singh R (2020) An efficient numerical technique for Lane-Emden-Fowler boundary value problems: Bernstein collocation method. Eur Phys J Plus 135, 475. https://doi.org/10.1140/epjp/s13360-020-00489-3
Roul P (2019) Doubly singular boundary value problems with derivative dependent source function: A fast-converging iterative approach. Math Methods Appl Sci 42(1):354–374
Roul P, Goura VP, Agarwal R (2019) A new high order numerical approach for a class of nonlinear derivative dependent singular boundary value problems. Appl Numer Math 145:315–341
Bhatta DD, Bhatti MI (2006) Numerical solution of Kdv equation using modified Bernstein polynomials. Appl Math Comput 174(2):1255–1268
Bhatti MI, Bracken P (2007) Solutions of differential equations in a Bernstein polynomial basis. J Comput Appl Math 205(1):272–280
Mandal BN, Bhattacharya S (2007) Numerical solution of some classes of integral equations using Bernstein polynomials. Appl Math Comput 190(2):1707–1716
Maleknejad K, Hashemizadeh E, Ezzati R (2011) A new approach to the numerical solution of Volterra integral equations by using Bernstein’s approximation. Commun Nonlinear Sci Numer Simul 16(2):647–655
Jafarian A, Nia SAM, Golmankhaneh AK, Baleanu D (2013) Numerical solution of linear integral equations system using the Bernstein collocation method. Adv Diff Equ 2013(1):123
Alipour M, Baleanu D, Babaei F (2014) Hybrid Bernstein block-pulse functions method for second kind integral equations with convergence analysis. Abstr Appl Anal 2014:8
Garijo D (2015) Free vibration analysis of non-uniform Euler-Bernoulli beams by means of Bernstein pseudospectral collocation. Eng Comput 31–4:813–823
Mirzaee F, Hoseini SF (2016) Hybrid functions of Bernstein polynomials and block-pulse functions for solving optimal control of the nonlinear volterra integral equations. Indag Math 27(3):835–849
Yüzbaşı Ş (2016) A collocation method based on Bernstein polynomials to solve nonlinear fredholm-volterra integro-differential equations. Appl Math Comput 273:142–154
Bencheikha A, Chiterb L, Abbassia H (2018) Bernstein polynomials method for numerical solutions of integro-differential form of the singular Emden-Fowler initial value problems. J Math Comput Sci 17:66–75
Chatterjee A, Basu U, Mandal BN (2018) Numerical algorithm based on Bernstein polynomials for solving boundary value problems involving singular, singularly perturbed type differential equations. Int J Adv Appl Math Mech 5(03):1–14
Liu GR (2003) Mesh free methods. Moving beyond the finite element Method. In: The Computational Mechanics Conference, pp. 937–938:
Powell MJD (1981) Approximation theory and methods. Cambridge University Press, Cambridge
Lorentz G, DeVore R (1993) Constructive approximation, polynomials and splines approximation. Springer-Verlag, Berlin
Voronovskaya E (1932) Dtermination de la forme Asymptotique Dapproximation des Fonctions par les polynmes de M. Bernstein Doklady Akademii Nauk SSSR 79:79–85
Bartoshevich M (1975) A heat-conduction problem. J Eng Phys 28(2):240–244
Galdi GP, Pileckas K, Silvestre AL (2007) On the unsteady poiseuille flow in a pipe. Zeitschrift für Angewandte Mathematik Physik 58(6):994–1007
Ding H, Wang H, Chen W (2003) Analytical solution for the electroelastic dynamics of a nonhomogeneous spherically isotropic piezoelectric hollow sphere. Archive Appl Mech 73(1–2):49–62
Acknowledgements
One of the author, Julee Shahni would like to acknowledge the financial assistance provided by the Department of Science and Technology (DST) under the scheme of INSPIRE Fellowship, New Delhi, India.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Shahni, J., Singh, R. Numerical results of Emden–Fowler boundary value problems with derivative dependence using the Bernstein collocation method. Engineering with Computers 38 (Suppl 1), 371–380 (2022). https://doi.org/10.1007/s00366-020-01155-z
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00366-020-01155-z