Abstract
Hybrid orthonormal Bernstein and block-pulse function wavelet method for many phenomena in mathematical physics and astrophysics is considered. We use a fundamental administrator and convert Lane–Emden conditions into necessary conditions. The upsides of utilizing the proposed strategy are introduced. At that point, an effective error estimation for the proposed technique is additionally presented lastly a few examinations and their numerical arrangements are given; and looking at between the numerical outcomes acquired from alternate strategies, we demonstrate the high exactness and productivity of the proposed strategy. Our method is characterized then the singular equations are transformed to Volterra integro-differential equations. We modify this equations to an algebraic system of equations. The solution to this application is achieved by solving this system and the constructed solutions are on approximation form. The acquired results guarantee the method provides a truncate solution to the Lane–Emden equations.
We’re sorry, something doesn't seem to be working properly.
Please try refreshing the page. If that doesn't work, please contact support so we can address the problem.
Avoid common mistakes on your manuscript.
1 Introduction
Many practical problems arising in numerous branches of science and ocean engineering require solving boundary value problems. Different Lane–Emden type conditions are known to happen in nonlinear beginning quality issues which have a peculiarity at the beginning. The logical arrangements of these sorts of conditions are constantly conceivable in the area of the point x = 0. These conditions moreover portray numerous marvels of material science and astronomy, for example, those including certain parts of an outstanding structure, warm history of an around billow of gas; geothermal gas circles and thermionic flows. HOBW has been used for obtaining numerical spectral solutions for handling some of these kinds of Ocean Engineering problems. The LEE has fundamental importance in the field of radioactive cooling, modeling of clusters of galaxies, Physics, astrophysics, and nonlinear mechanics are used to depict several equations [1,2,3,4,5,6,7]. It has also been proven to be more versatile in the examination of a variety of situations which include the analysis of isothermal cores, convective stellar interiors and fully degenerate stellar configurations and formulated as:
with initial conditions (IC) as:
where y0, y1 are constants, h(x), f(x, y)are continuous functions.if we take \(f(x,y) = f(y) = y^{n}\) then Eq. (1) is given by:
with Dirichlet, Neumann, and Neumann-Robin boundary conditions
which models most phenomena in mathematics for the values of f(y).
For y0 = 1, this equation is the LEE.
The name of this equation is due to the two astrophysicists Jonathan Lane and Robert Emden [1]. Equation (1) has a singularity at x = 0. An effective strategy was established in [5] to modify the Lane–Emden to equivalent Volterra integral equations (VIE) off any order. The VIE in [8], combined with (ADM), to address the singularity issue. This strategy was proven to be reliable and efficient as confirmed in [9]. The physical structure introduced in [10] Many researchers focused to give a truncate solution to these equations and many methods were proposed. A general study has been given in [10] to construct both correct and series solutions to Lane–Emden equations through ADM. In [11,12,13,14,15,16,17,18] introduced Bernstein, several methods for numerical solutions of VIDE form the unique Emden–Fowler initial value problems. In [19] approach developed to obtain analytical–numerical solutions to two separate Lane–Emden problems. In [20,21,22,23,24] introduced the exponential transformation to resolve the difficulty of a singular point to solve the LEE.
The paper introduces as. In Sect. 2, we present the properties of the HOBW and the approximation of the function using it. In Sect. 3, We establish that the VIDE is the singular Lane–Emden equation. In Sect. 4, we use HOBW method and its convergence analysis for getting the solution VIDE form of the singular Lane–Emden equation. The efficiency of our method is characterized by solving numerical examples in Sect. 5. Conclusion part is given in Sect. 6.
2 The HOBW method and the operational matrix of the integration
2.1 Wavelets and the HOBW method
Wavelets constitute a group of functions constructed from dilation and translation of a single function ψ(x) called the mother wavelet. In which parameter of dilation a and parameter of a translation b vary continuously.
By letting a and b be discrete values such as a = a - k0 , b = nb0a - k0 , a0 > 1, b0 > 0, where n and k are positive integers, we attain the family of discrete wavelets:
Then we see that ψk,n(t) forms a wavelet basis for L2(R). In particular, when, a0 = 2, b0 = 1, then \(\psi_{k,n} (t)\) forms a basis. Here, \(HOBW_{i,j} (t) = HOBW(k,i,j,t)\) involves four arguments, i = 1, …, 2k−1,k is to be any positive integer, j is the degree of the Bernstein polynomials, and t is the normalized time. They \(HOBW_{i,j} (t)\) are defined on [0, 1) as [11, 12]:
where i = 1, 2, …., 2k−1,j = 0, 1, …, M − 1 and k is a positive integer. Thus, we attain our new basis as \(\{ {\text{HOBW}}_{1,0} ,{\text{HOBW}}_{1,1} , \ldots ,{\text{HOBW}}_{{2^{k - 1} ,M - 1}} \}\) and any function is truncated with them.
The HOBW detect orthonormal basis is:
where \((.\,,\,.)\) called the inner product in \(L^{2} [0,1)\). The HOBW has compact support \([\frac{i - 1}{{2^{k - 1} }},\frac{i}{{2^{k - 1} }}],\,\) i = 1, …., 2k−1.
2.2 Function approximation by the HOBW functions
Any function y(t) [10,11,12], which is integrable in [0, 1), is truncated by the HOBW method as follows:
where the HOBW coefficients cij calculated as given below:
We prune y(t) by a series as follows:
where \({\text{HOBW}}(t)\) and C are \((2^{k - 1} )\,(M - 1) \times 1\) vectors given by
and
we have
so that
where
Then, \(D_{i} (i = 1,2, \ldots ,2^{k - 1} )\) is defined as follows:
We can also truncate the function k(x, t) ∊ L[0, 1] as follows:
where K is a \((2^{k - 1} )\,(M - 1) \times (2^{k - 1} )\,(M - 1)\) matrix that we attain as:
2.3 Multiplication of the hybrid functions
We can evaluate \({\text{HOBW}}_{{((2^{k - 1} )\,(M - 1) \times 1)}} (t)\)\({\text{HOBW}}^{T}_{{((2^{k - 1} )\,(M - 1) \times 1)}} (t)\) for VIE of the second kind via the HOBW functions as detailed below.
Let the product of \({\text{HOBW}}_{{((2^{k - 1} )\,(M - 1) \times 1)}} (t)\) and \({\text{HOBW}}^{T}_{{((2^{k - 1} )\,(M - 1) \times 1)}} (t)\) be given by
where
With the recursive formulas, we calculate \(M_{{((2^{k - 1} )\,(M - 1) \times (2^{k - 1} )\,(M - 1))}} (t)\) for any k and M.
The matrix \(M_{{((2^{k - 1} )\,(M - 1) \times (2^{k - 1} )\,(M - 1))}} (t)\) satisfies the relation:
where \(\tilde{C}_{{(2^{k - 1} (M - 1) \times 2^{k - 1} (M - 1))}}\) is the matrix coefficient. We consider the case when k = 3 and M = 4. Thus, we have
The coefficient matrix \(\tilde{C}_{{(2^{k - 1} M - 1 \times 2^{k - 1} M - 1)}}\) is determined by
where Ci, i = 0, 1, 2, 3 are 4 × 4 matrices.
Several of the integral \(\int\limits_{a(x)}^{b(x)} {F(x,t)} \,dt\) using Leibniz rule as:
Where F(x, t) and \(\frac{dF}{dx}\) are continuous in the domain D in the xt- plane that contains the region R, α ≤ x ≤ β, t0 ≤ t ≤ tn and a(x),b(x) are defined functions having continuous derivatives for α ≤ x ≤ β. A global Leibniz rule presented modifies VIE to several equations.
3 VIDE form the Lane–Emden type
In this section, we discuss the LEE of the shape factor of the form
where f(y)can take any linear or nonlinear forms.
First, we set
to modify (18) to an integral form then differentiating Eq. (19) twice and using the Leibniz rule, we have
If we multiply y′(x) in (20) by \(\frac{k}{x}\) and add to y″(x) in (21) we get Eq. (18). That is the VIDE is the LEE (18) that given by:
The VIE (10)–(11) were proved to be equivalent to the homogenous LEE (18).
For k → 1, the integral form of Eq. (19) is
Based on this, we set t the Lane–Emden equations in Volterra integral forms are as:
4 Application of HOBW method for Lane–Emden in its integrodifferential form
Consider Eq. (22) acquired from Eq. (18). The unknown function y(x) is approximated by HOBW as
First, integrating Eq. (22) and from the condition y(0) = α, one gets
Then from Eqs. (23) and (24), we have
where,
where D is a \((2^{k - 1} )\,(M - 1) \times (2^{k - 1} )\,(M - 1)\) matrix, and is said the dual matrix of HOBW(x)
Now we collocate the Eq. (26) at the points \(x_{i} = \frac{(2\,i - 1)}{{2((2^{k - 1} )\,(M))}}\) yielding
To apply the Gaussian integration to Eq. (26), we first use the transformation
to transfer the interval of integration into the interval [− 1, 1]. Now, Eq. (26) given as:
Using the Gaussian integration formula, we get
where τj1 and τj2 are s1 and s2 zeros of Legendre polynomials \(p_{{s_{1} + 1}} (.)\) and \(p_{{s_{2} + 1}} (.)\) and \(w_{{j_{1} }}\) and \(w_{{j_{2} }}\) are weights. The idea for the above approximation is the exactness of the Gaussian integration formula for polynomials of degree at most 2s1 + 1 and 2s2 + 1 Eq. (32) yields \((2^{k - 1} )\,(M - 1)\) nonlinear algebraic equations with the unknowns coefficient matrix C. By using Newton’s method to solve this system, the values of C are obtained and hence we get the solution.
4.1 Convergence analysis
In this section, an analysis of the speed of convergence for our numerical method will be obtained.
Theorem 1
The series solution \(y_{m} (x) = \sum\limits_{i = 1}^{k} {\sum\limits_{j = 0}^{M} {c_{ij} } {\text{HOBW}}_{ij} (x)} \, = \,C^{T} {\text{HOBW}}(x)\), where C and \({\text{HOBB}}(x)\) are defined in (6) converges to y(x) then lim m→∞‖y(x) − ym(x)‖2 = 0.
Proof
Let \(L^{2} (\Re )\) is the Hilbert space, \(y(x) \in L^{2} [0,1]\) is approximated by HOBW as Eq. (6):
Let \(y(x) \cong \sum\nolimits_{j = 0}^{n} {c_{ij} \,} {\text{HOBW}}_{ij} (x)\) for a fixed i be the solution of the Eq. (2) where \(c_{ij} \, = D^{ - 1} \left\langle {y(x),{\text{HOBW}}_{ij} (x)} \right\rangle\)) in which \(\left\langle {.,.} \right\rangle\) denotes the inner product.□
Assume \(HOBW(x) = HOBW(x_{m} )\) and assume \(\delta_{m} = \left\langle {y(x),{\text{HOBW(x}}_{\text{m}} )} \right\rangle\), the sequence of partial sum is \(\left\{ {\sigma_{i} } \right\}\) of \((\delta_{m} {\text{HOBW}}_{{}} (x_{m} ))\) Let \(\left\{ {\sigma_{i} } \right\}\) and \(\left\{ {\sigma_{j} } \right\}\) be the partial sums with \(i \ge j\).
We show that {σi} is a Cauchy sequence in Hilbert space.
Let, \(\sigma_{i} = \sum\limits_{m = 1}^{i} {\delta_{m} {\text{HOBW}}_{{}} (x_{m} )} .\)
Now,
so
Hence,
From Bessel’s inequality as i → 0 we have \(\sum\limits_{m = 1}^{\infty } {\left| {\delta_{m} } \right|^{2} } ,\) convergent and hence
Therefore,
and {σi} is a Cauchy sequence and it converges to for example w (say). We assert that
Thus,
Hence,
The above relation possible only if y(x) = σ. so that y(x) and σi converges to the same value. It provides the convergence guarantee of the HOBW method.
5 Illustrative numerical examples
In this section, we will study the Lane–Emden with the initial value having a singularity at x = 0, the high exactness of the solution acquired by HOBW method are demonstrated and then we compare all results with the required solution.
Example 1
Consider the singular differential equation of LEE [13].
with the correct solution y(x) = x2 + x3.
Using the HOBW, the truncate solution y(x) of (37) at \(2^{k - 1} = 4\) and M = 3 method, we get 16 number algebraic equations with the same number of unknowns and these equations are numerically solved by Newton’s method with help of maple program, with the initial guess zero, we get the HOBW coefficients as:
So, the truncate of y(x) is \(y(x) = \,C^{T} {\text{HOBW}}(x)\) the acquired results have been compared with that of my seven order (ADM) [13] along with the required solutions and introduced in Table 1. The outcomes reveal that the results by HOBW, with using only a small number of bases, are very promising and superior to ADM and evaluated absolute errors (AE) by HOBW for y(x) will be decreased rapidly in comparison with ADM.
Example 2
Consider the non-homogenous LEE [13].
with the correct solution y(x)=x4 − x3.
Table 2 compares the maximum AE of HOBW at several values of \(2^{k - 1}\) and M. These results have been included to demonstrate the validity and capability of HOBW (Fig. 1).
From Table 2, it is observed that our numerical method is more accurate. In order to show the accuracy of the proposed method, we have calculated the absolute error and the root means square error (RMS). These errors are given by
Example 3
Consider the homogeneous form of the LEE [14].
This equation transformed into VIDE form as follow
We selected our example from [14], in which they solved the homogeneous form of LEE by ADM. Tables 3 and 4, exhibit the Numerical solutions of y(t) by HOBW at r = m = 0 g = 2, and r = 0, m = 1, g = 2.
a. For r = m = 0, and g = 2, the above equation has a correct solution
Table 3 shows that, for g = 2, m = 0, the acquired results coincides with the required solution and efficiency of the method described through the AE.
By applying HOBW method, and taking 2k = 4, M = 3, HOBW coefficients C is:
b. For r = 0, m = 1, and k = 2, Eq. (39) is:
The correct solutions for this problem are given by \(y(x) = \frac{\sin (x)}{x}\) applying HOBW method, and taking 2k = 4, M = 3, we note that HOBW coefficients C as
applying this method and taking 2k = 8, M = 7, if 2k, M increases, the truncate solution gets the required solution. The truncate solutions acquired by HOBW for shape factor g = 2 and 2k = 4, M = 3, at 2k = 8, M = 7 with require solutions and AE demonstrated in Table 2. By increasing, 2k, M the computed results have appropriated the exactness was increased as well. and the truncate solution gets an approximate to the correct solution as demonstrated in Table 4. The CPU time for running a case may depend on the choice of 2k, Mfor solving the system of linear algebraic equations resulting from the discretized equations. If a different value 2k, M would have been used, the CPU time would be different.
Example 4
Consider the LEE type which is of second order homogeneous singular several equations given in [14].
with the correct solution \(y(x) = e^{{x^{2} }} .\)
In Table 5 a comparison between these results with the second derivative multistep method (SDMM) in [14] is also given. The results acquired by HOBW, by using 2k = 16, M = 15 are very promising and superior to those of SDMM. It is demonstrated that, for a certain value of M, as 2k increases, the exactness increases and for a certain value of 2k, as M increases, the exactness increases as well. Therefore, HOBW for solving this problem is very effective and more accurate as compared with the second derivative multistep method.
The results acquired by the present method are compared with the correct solution as demonstrated in Table 5. For examples 4, we have very less AE by increasing the order of HOBW.
6 Conclusion
In this paper, we introduced VIDE as equivalent to the LEE. The acquired VIDE form of LEE to overcome the difficulty of the singular behavior at x = 0. The HOBW has been connected for settling the most prominent differential conditions. Despite this reality, such a model gives an imperative hypothetical point of view concerning the hypothesis, as one may see this as the fringe between polytropic one that is physically attainable. It is additionally important to take note of that such an outstanding model has, despite the unending range, a limited mass. Moreover, other outstanding models, which are made in a “layered” form where each layer comprises of a polytope of an alternate record, may likewise use this capacity for a bit of the star, in which case a limited sweep would be conceivable. Notwithstanding these relations, there are likewise a few different determinations that one can make from the polytropic model of stars. For relations of this sort, there exists a connection between the polytropic file, the mass of a star, and the span. It is maybe apparent in the talk of the investigative arrangements of the polytropic record that one could gather a connection between the polytropic file of the star and the range that one would ascertain from that star. The class of the equations was released, by changing the coefficient y′and the method was introduced. Using this method, the VIDE forms is reduced to algebraic equations. We got these equations involving 2k × (M − 1)variables which solved using Newton’s iterative method through MAPLE program. It was evident that the method for a certain value of M as 2k increased, the exactness was increased, and also for a certain value of M, as M increased, the exactness was increased high as well.
References
Kaur H, Mittal RC, Mishra V (2013) Haar wavelet approximate solutions for the generalized Lane–Emden equations arising in astrophysics. Comput Phys Commun 184(9):2169–2177
Luo T, Xin Z, Zeng H (2016) On nonlinear asymptotic stability of the Lane-Emden solutions for the viscous gaseous star problem. Adv Math 291(1):90–182
Deniz Sinan, Bildik Necdet (2017) A new analytical technique for solving Lane–Emden type equations arising in astrophysics. Bull Belgian Math Soc-Simon Stevin 24(2):305–320
Bildik Necdet, Deniz Sinan (2018) New analytic approximate solutions to the generalized regularized long wave equations. Bull Korean Math Soc 55(3):749–762
Bildik Necdet, Deniz Sinan (2018) Solving the Burgers’ and regularized long wave equations using the new perturbation iteration technique. Numer Methods Partial Differ Equ 34(5):1489–1501
Wazwaz AM, Rach R, Duan J-S (2013) Adomian decomposition method for solving the Volterra integral form of the Lane–Emden equations with initial values and boundary conditions. Appl Math Comput 219(10):5004–5019
Aslanov A (2016) An elegant correct solution for the Emden-Fowler equations of the first kind. Math Methods Appl Sci 39(5):1039–1042
Wazwaz AM (2005) Analytical solution for the time-dependent Emden-Fowler type of equations by Adomian decomposition method. Appl Math Comput 166(3):638–651
Bencheikh A, Chiter L, Abbassi H (2017) Bernstein polynomials method for numerical solutions of integro-severalial form of the singular Emden-Fowler initial value problems. J Math Comput Sci 17(1):66–75
Boubaker K, Van Gorder RA (2012) Application of the BPES to Lane–Emden equations governing polytropic and isothermal gas spheres. New Astron 17:565–569
Aslanov A (2009) Approximate solutions of Emden–Fowler type equations. Int J Comput Math 86:807–826
Harley C, Momoniat E (2008) Instability of invariant boundary conditions of a generalized Lane–Emden equation of the second-kind. Appl Math Comput 198:621–633
Ramadan MA, Ali MR (2017) Numerical solution of Volterra-Fredholm integral equations using hybrid orthonormal bernstein and block-pulse functions. Asian Res J Math 4(4):1–14
Ramadan MA, Ali MR (2017) Application of Bernoulli wavelet method for numerical solution of fuzzy linear Volterra-Fredholm integral equations. Commun Math Model Appl 2(3):40–49
Ramadan MA, Ali MR (2017) Solution of integral and integro-differential equations system using hybrid orthonormal bernstein and block-pulse functions. J Abstract Comput Math 2(1):35–48
Parand K, Khaleqi S (2016) The rational Chebyshev of second kind collocation method for solving a class of astrophysics problems. Eur Phys J Plus 131:1–24
Sadat R, Kassem M (2018) Explicit solutions for the (2 + 1)-dimensional Jaulent–Miodek equation using the integrating factors method in an unbounded domain. Math Comput Appl 23(1):1–9
Ramadan MA, Ali MR (2017) An efficient hybrid method for solving fredholm integral equations using triangular functions. New Trends Math Sci 5(1):213–224
Ali MR, Hadhoud AR (2019) Hybrid orthonormal Bernstein and Block-Pulse functions wavelet scheme for solving the 2D Bratu problem. Results Phys 12:525–530
Hojjati G, Parand K (2011) An efficient computational algorithm for solving the nonlinear Lane–Emden type equations. World Acad Sci Eng Technol 5:182–187
Ali MR (2018) Darboux transformation for soliton solutions of the modified Kadomtsev-Petviashvili-II equation. Commun Math Model Appl 3(3):28–36
Parand K, Roozbahani Z, Bayat-Babolghani F (2013) Solving nonlinear Lane–Emden type equations with unsupervised combined artificial neural networks. Int J Ind Math 5(4):355–366
Parand K, Pirkhedri A (2010) Sinc-collocation method for solving astrophysics equations. New Astron 15(6):533–537
Hossayni SA, Rad JA, Parand K, Abbasbandy S (2015) Application of the exact operational matrices for solving the Emden-Fowler equations, arising in astrophysics. Int J Ind Math 7(4):351–374
Parand K, Hemami M (2016) Numerical study of astrophysics equations by Meshless collocation method based on compactly supported radial basis function. Int J Appl Comput Math 3(2):1053–1075
Ali MR (2018) Solution of KdV and boussinesq using Darboux transformation. Commun Math Model Appl 3(3):16–27
Acknowledgements
The authors are grateful to the anonymous referee for his suggestions, which have greatly improved the presentation of the paper.
Funding
This research work is not supported by any funding agencies.
Author information
Authors and Affiliations
Contributions
The author has made an equal contribution. The author read and approved the final manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare that they have no competing interests.
Rights and permissions
About this article
Cite this article
Ali, M.R. A new algorithm for solving the nonlinear Lane–Emden equations arising in astrophysics. SN Appl. Sci. 1, 183 (2019). https://doi.org/10.1007/s42452-019-0173-5
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s42452-019-0173-5