Abstract
This paper introduces an efficient approach for solving Lane–Emden–Fowler problems. Our method utilizes two Nyström schemes to perform the integration. To overcome the singularity at the left end of the interval, we combine an optimized scheme of Nyström type with a set of Nyström formulas that are used at the fist subinterval. The optimized technique is obtained after imposing the vanishing of some of the local truncation errors, which results in a set of symmetric hybrid points. By solving an algebraic system of equations, our proposed approach generates simultaneous approximations at all grid points, resulting in a highly effective technique that outperforms several existing numerical methods in the literature. To assess the efficiency and accuracy of our approach, we perform some numerical tests on diverse real-world problems, including singular boundary value problems (SBVPs) from chemical kinetics.
Keywords:
optimized Nyström methods; Lane–Emden–Fowler equations; singular boundary-value problems; analysis of convergence MSC:
65LXX; 65L10; 65L20
1. Introduction
The problem of interest is described by the differential equation
with one of the following three different types of boundary conditions (BCs)
where and are given, and the function is assumed to be continuous. It is worth mentioning that the existence and uniqueness of the solution to (1) together with appropriate boundary conditions have been rigorously determined by Zhang [1].
Many researchers, such as Thula and Roul [2], Rufai and Ramos [3,4], and Tunc [5], discussed the wide applicability and the theoretical analysis of second-order singular initial/boundary value ordinary differential equations in different fields. By modeling using the system represented by (1), researchers can gain insights into the behavior and properties of many complex physical systems.
Researchers across various fields of applied sciences and engineering have shown significant interest in solving equations of the Emden–Fowler type, which are represented by (1)–(4). However, these equations pose challenges due to their singularity at and nonlinear characteristics, making them difficult to handle theoretically. In order to overcome these challenges and obtain meaningful solutions, numerical methods have emerged as crucial tools. By discretizing the equations and performing computations on a computational grid, these methods enable researchers to address the complexities arising from the singularity and nonlinearity, providing reasonable and practical approximate solutions.
Considerable efforts have been dedicated to obtain approximate solutions of the aforementioned problems. Various strategies have been used to tackle the challenge posed by the singularity at in Equation (1). Numerical analysts have proposed various numerical methods to solve the type of problem described in Equation (1). Some of these existing numerical methods include the finite difference methods proposed in [6,7], the spline methods discussed in [8,9], the Nyström methods reported in [10], the approximation methods introduced in [11,12], the hybrid block technique in [13], the high-order compact finite differences method in [14], the semi-numerical approach in [15], the pseudospectral method in [16], and the collocation method presented in [17]. The choice of these methods depends on the specific problem characteristics, such as the presence of singularities, smoothness of the solution, computational resources available, and desired accuracy.
Despite the extensive research conducted by numerous scholars to address the challenge of solving SBVPs described by Equations (1)–(4), the accuracies of many existing methods still require improvements. In order to address this issue, this work introduces a novel approach called Pair of Optimized Nyström Methods (PONM). This method is specifically designed to enhance the accuracy of numerical solutions by directly integrating second-order SBVPs. By utilizing PONM, we provide more reliable and accurate results compared to existing methods, contributing to the advancement of solving these challenging boundary value problems.
2. Pair of Optimized Nyström Methods
The method under consideration, namely, a pair of optimized Nyström methods, has been previously introduced in [3] for solving second-order singular initial value problems. The interested reader can refer to this source to better understand the method’s mathematical derivation and its characteristics. This method is represented by the following equations, which are fully explained in [3].
where
To solve the SBVP in (1) subject to any of the boundary conditions in (2)–(4) using PONM, we first select a mesh grid with step-size h. Then, we utilized the formulas presented in (5)–(7) for , in addition to those given in (8)–(10), corresponding to the first integration step. This systematic approach enabled us to obtain a global method that could accurately approximate the solution and complete the integration process over the interval . Through these steps, we could effectively use PONM to give numerical solutions to the challenging nature of the given SBVPs and obtain reliable numerical results.
Convergence Analysis
Firstly, we will define the concept of convergence. We will proceed to show that the PONM is convergent and provide a suitable matrix–vector representation for the formulas in (5)–(7) and (8)–(10). By doing so, we can analyze the convergence of the PONM and prove its effectiveness in approximating the solution to the considered problem. We assume that the exact solution is sufficiently smooth, as needed.
Definition 1.
Let be the exact solution of the considered problem and the approximations provided by the PONM technique. The numerical scheme is said to be convergent of order p if, when , there is a constant K that is independent of h, satisfying
Remark 1.
Note that K denotes a generic positive real constant, which, in general, cannot be estimated. This does not affect the convergence result, as, when , we have
no matter how big K is. This K depends, of course, on the specific problem at hand.
In the following lines, we will analyze the convergence of the proposed method for solving the SBVP given in (1) and (2), but we could have considered any other boundary conditions.
Theorem 1.
Proof.
The matrix M with dimensions can be defined as follows:
where the matrix M comprises various sub-matrices, denoted as , where most of them have dimensions of . However, there are two exceptions: with dimensions , and with dimensions . These sub-matrices are given as follows:
The remaining sub-matrices, which were not mentioned previously, were null matrices represented by . These null sub-matrices contributed to the structure of the overall matrix. Furthermore, we introduced another matrix called U, which had dimensions of . The matrix U played a role in the problem and complemented the matrix M in the numerical computations.
where the submatrices, denoted by , have dimensions of , except for , where i ranges from 1 to , which has a size of . The explicit expressions for these submatrices are provided below:
All submatrices, , which were not mentioned earlier, are null matrices, denoted by .
We can express the vectors of exact values in the following manner:
It is important to highlight that the vector Y contains a total of terms, but the vector F contains components. This is due to the fact that, as indicated in (2), the boundary conditions specify that the values of at and are known, with , and . The SBVP can be discretized and approximated using the following formulas:
In the above equation, the vector is constructed by assembling the predetermined values, given by
where T denotes the transpose operation. On the other hand, the vector represents the Local Truncation Errors (LTEs) associated with the formulas used in the discretization process. These LTEs can be expressed as follows:
Regarding the approximate values, they are obtained from the following system of equations:
being an approximation of the vector , such that:
and
By subtracting (12) from (11), we obtain the following equation:
where the vector denotes the errors at the discrete points, which are obtained by subtracting from the vector . It is represented as a column vector containing the errors at the considered points.
This equation characterizes the truncation errors resulting from the numerical approximation process. By utilizing the Mean Value Theorem, as presented in [18], we have that, for any suitable subindex i, there exists a value such that:
where represents an intermediate point lying on the line segment between and . This implies that:
It is important to note that the second equation utilizes the fact that , and . Taking this into account, we can reorganize the equation given in (13) in the following manner:
and, taking , we can write
For sufficiently small values of , we can express Equation (15) as follows:
After expanding the components of in powers of h, it is obtained that . Considering that has derivatives that are bounded within the interval up to the required order, we can derive the following inequality from (16) and the vector :
Therefore, the method suggested exhibits a minimum convergence order of five. This means that the error between the exact solution and the numerical approximation decreases at a rate of at least fifth order as the step size is reduced. □
Remark 2.
The above result shows a fifth order of convergence as a global method, i.e., considering all the points, including the intermediate ones. However, taking into account the expression of the vector of local truncation errors , we see that, at the grid points (with integer index), the method exhibits a superconvergence order (see [19]):
This behavior can be observed in the numerical experiments (see Table 1, where the calculated rates of convergence are close to eight).
Table 1.
Order of convergence for Problem (17).
3. Implementation
To implement the PONM, we used a block global approach. We rearranged the system in (12) as , the unknowns being as follows:
To solve the resulting nonlinear equations, we employed the Modified Newton’s Method (MNM) due to the implicit nature of the PONM method. The MNM can be expressed as:
where is the Jacobian matrix of . The MNM iterations start with initial values obtained from linear interpolation based on the boundary conditions.
We provide a comprehensive summary of how the PONM is applied to obtain numerical solutions to the SBVPs:
- Select a positive integer N and define the step size h as to create the partition . This partition consists of the points
- Combine all the equations from Step 2 within to form a single block matrix equation
- Then, solve the system obtained in the previous step, in order to get an efficient and accurate approximation of the SBVP solution on the grid and intermediate points over .
4. Computational Examples
Here, we present the computational experiments and discussions of the proposed PONM method applied to solve singular model problems described by Equations (1) to (4). The accuracy of the PONM is evaluated using the usual formulas:
In the above formulas, absolute error (AE) measures the absolute error at each node as the difference between the theoretical solution and the approximate solution obtained from the PONM. Maximum absolute error (MAE) is used to indicate the largest deviation between the theoretical and approximate solutions obtained using the PONM over the considered interval. These formulas are useful in determining the accuracy of the PONM in approximating the solutions of the singular model problems.
4.1. Numerical Example 1
Consider the following physical model SBVP problem of the isothermal gas sphere equilibrium, as described in [20]:
with analytical solution .
The rate of convergence (ROC) of the proposed PONM is presented in Table 1 using the formula . Table 2 compares the absolute error (AE) of the methods presented in [20,21,22] with the proposed method, using . The results in Table 2 demonstrate that the proposed PONM is more accurate than the methods proposed in [20,21,22]. Furthermore, Figure 1 is produced using , showing good agreement between the numerical and exact solutions.
Table 2.
Comparison of AE for Example (17).
Figure 1.
Plots of exact (blue line) and PONM solution (dots) for Problem (17).
4.2. Numerical Example 2
Consider the following model SBVP [23]:
Although the general exact solution for (18) is not known, the solution for can be expressed as , where represents the Thiele modulus. The value of is determined by the ratio of the reaction rate at the catalyst surface to the diffusion rate through the catalyst pores.
In Table 3, the Absolute Error (AE) of the Nyström method (NM) presented in [23] is compared with the proposed method using , , and . The results in Table 3 indicate that the proposed PONM is more accurate than the NM method proposed in [23]. Additionally, Figure 2 is generated using , , and , demonstrating good agreement between the numerical solution and the exact solution.
Table 3.
Comparison of AE for Problem (18).
Figure 2.
Plots of exact (blue line) and PONM solution (dots) for Example (18).
4.3. Numerical Example 3
Consider the SBVP for the thermal explosion in a cylindrical vessel presented in [24]:
The exact solution of this problem is .
We solve Problem (19) numerically using the new PONM for various stepsize values. The summarized numerical results and the comparisons of MAE between PONM and the method in [24] are presented in Table 4. It is worth noting that the PONM performs better than the technique in [24]. Additionally, Figure 3 is obtained using , and it demonstrates a good agreement between the numerical and exact solutions.
Table 4.
Comparison of MAE for Example (19).
Figure 3.
Plots of exact (blue line) and PONM solution (dots) for Example (17).
4.4. Numerical Example 4
Consider the SBVP for the thermal explosion arising in chemistry and chemical kinetics presented in [25] and the following physical model describing it:
The true solution of this SBVP is not available.
Problem (20) is solved using the PONM method for . The numerical results obtained by PONM, the spline method (SM), and the Adomian decomposition method (ADM) in [25,26] are presented in Table 5. It is evident from Table 4 that the PONM method outperforms the other methods significantly.
Table 5.
Comparison of numerical solutions for Example (20).
4.5. Numerical Example 5
Consider the following SBVP:
The exact solution of this problem is .
5. Conclusions
The paper proposed a Pair of Optimized Nyström Methods (PONM) to solve the SBVP of the Lane–Emden type, which is expressed in (1)–(4). The primary aim of this approach is to provide more accurate approximate solutions to some physical model SBVP problems. The numerical solutions obtained from the proposed PONM method are presented in Table 2, Table 3, Table 4, Table 5 and Table 6 and Figure 2 and Figure 3. These results demonstrate that the proposed PONM method performs better than various existing numerical techniques used for comparison. Hence, it can be concluded that the PONM method proposed in this study is an efficient numerical method to solve SBVPs of the Lane–Emden type and other similar problems in diverse fields of science and engineering.
Table 6.
Comparison of MAE for Example (21).
Author Contributions
The proposed method was conceived and analyzed by H.R. and M.A.R. who also took charge of writing the main manuscript text. The experiment section and figure plotting were carried out by H.R. and M.A.R. Conceptualization, H.R., M.A.R. and B.C.; methodology, H.R., M.A.R. and B.C.; software, H.R. and M.A.R.; validation, H.R., M.A.R. and B.C.; formal analysis, H.R., M.A.R. and B.C.; investigation, H.R., M.A.R. and B.C.; writing—original draft preparation, M.A.R. and B.C.; writing—review and editing, H.R., M.A.R. and B.C.; supervision, H.R., M.A.R. and B.C. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The numerical data used to support the findings of this study are available from M.A. Rufai upon request.
Acknowledgments
The authors present their sincere thanks to the anonymous reviewers that helped to improve the final version of this manuscript.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Zhang, Y. Existence of solutions of a kind of singular boundary value problem. Nonlinear Anal. Theory Methods Appl. 1993, 21, 153–159. [Google Scholar] [CrossRef] [Scilit]
- Thula, K.; Roul, P. A High-Order B-Spline Collocation Method for Solving Nonlinear Singular Boundary Value Problems Arising in Engineering and Applied Science. Mediterr. J. Math. 2018, 15, 176. [Google Scholar] [CrossRef] [Scilit]
- Rufai, M.A.; Ramos, H. Numerical solution of second-order singular problems arising in astrophysics by combining a pair of one-step hybrid block Nyström methods. Astrophys. Space Sci. 2020, 365, 96. [Google Scholar] [CrossRef] [Scilit]
- Rufai, M.A.; Ramos, H. Solving SIVPs of Lane-Emden-Fowler Type Using a Pair of Optimized Nyström Methods with a Variable Step Size. Mathematics 2023, 11, 1535. [Google Scholar] [CrossRef] [Scilit]
- Tunç, C.; Tunç, O. A note on the stability and boundedness of solutions to non-linear differential systems of second order. J. Assoc. Arab. Univ. Basic Appl. Sci. 2017, 24, 169–175. [Google Scholar] [CrossRef] [Scilit]
- Kumar, M. A difference scheme based on non-uniform mesh for singular two-point boundary value problems. Appl. Math. Comput. 2003, 136, 281–288. [Google Scholar] [CrossRef] [Scilit]
- Pandey, R.K. A finite difference methods for a class of singular two point boundary value problems arising in physiology. Int. J. Comput. Math. 1997, 65, 131–140. [Google Scholar] [CrossRef] [Scilit]
- Kadalbajoo, M.K.; Kumar, V. B-Spline method for a class of singular two-point boundary value problems using optimal grid. Appl. Maths. Comput. 2007, 188, 1856–1869. [Google Scholar] [CrossRef] [Scilit]
- Caglar, H.; Caglar, N.; Ozer, M. B-spline solution of non-linear singular boundary value problems arising in physiology. Chaos Solitons Fract. 2009, 39, 1232–1237. [Google Scholar] [CrossRef] [Scilit]
- Ramos, H.; Rufai, M.A. An adaptive pair of one-step hybrid block Nyström methods for singular initial-value problems of Lane-Emden-Fowler type. Math. Comput. Simul. 2022, 193, 497–508. [Google Scholar] [CrossRef] [Scilit]
- Allouche, H.; Tazdayte, A. Numerical solution of singular boundary value problems with logarithmic singularities by Padè approximation and collocation methods. J. Comput. Appl. Math. 2017, 311, 324–341. [Google Scholar] [CrossRef] [Scilit]
- Aydinlik, S.; Kiris, A. A high-order numerical method for solving nonlinear Lane-Emden type equations arising in astrophysics. Astrophys. Space Sci. 2018, 363, 264. [Google Scholar] [CrossRef] [Scilit]
- Rufai, M.A. An efficient third derivative hybrid block technique for the solution of second-order BVPs. Mathematics 2022, 10, 3692. [Google Scholar] [CrossRef] [Scilit]
- Malele, J.; Dlamini, P.; Simelane, S. Solving Lane–Emden equations with boundary conditions of various types using high-order compact finite differences. Appl. Math. Sci. Eng. 2023, 31, 2214303. [Google Scholar] [CrossRef] [Scilit]
- Sahoo, N.; Singh, R. A new efficient semi-numerical method with a convergence control parameter for Lane–Emden–Fowler boundary value problem. J. Comput. Sci. 2023, 70, 102041. [Google Scholar] [CrossRef] [Scilit]
- Mehrpouya, M.A. An efficient pseudospectral method for numerical solution of nonlinear singular initial and boundary value problems arising in astrophysics. Math. Methods Appl. Sci. 2016, 39, 3204–3214. [Google Scholar] [CrossRef] [Scilit]
- Bhrawy, A.H.; Alofi, A.S. A Jacobi–Gauss collocation method for solving nonlinear Lane-Emden type equations. Commun. Nonlinear Sci. Numer. Simul. 2012, 17, 62–70. [Google Scholar] [CrossRef] [Scilit]
- Lambert, J.D. Numerical Methods for Ordinary Differential Systems: The Initial Value Problem; John Wiley & Sons: New York, NY, USA, 1991. [Google Scholar]
- Ascher, U.; Christiansen, J.; Russell, R.D. A collocation solver for mixed order systems of boundary value problems. Math. Comp. 1979, 33, 659–679. [Google Scholar] [CrossRef]
- Kanth, A.R.; Aruna, K. He’s variational iteration method for treating nonlinear singular boundary value problems. Comput. Math. Appl. 2010, 60, 821–829. [Google Scholar] [CrossRef] [Scilit]
- Umesh; Kumar, M. Numerical solution of singular boundary value problems using advanced Adomian decomposition method. Eng. Comput. 2021, 37, 2853–2863. [Google Scholar] [CrossRef] [Scilit]
- Gümgüm, S. Taylor wavelet solution of linear and non-linear Lane-Emden equations. Appl. Numer. Math. 2020, 158, 44–53. [Google Scholar] [CrossRef] [Scilit]
- Rufai, M.A.; Ramos, H. Numerical Solution for Singular Boundary Value Problems Using a Pair of Hybrid Nyström Techniques. Axioms 2021, 10, 202. [Google Scholar] [CrossRef] [Scilit]
- Roul, P.; Thula, K.; Agarwal, R. Non-optimal fourth-order and optimal sixth-order B-spline collocation methods for Lane-Emden boundary value problems. Appl. Numer. Math. 2019, 145, 342–360. [Google Scholar] [CrossRef] [Scilit]
- Ravi Kanth, A.S.V. Cubic spline polynomial for non-linear singular two-point boundary value problems. Appl. Math. Comput. 2007, 189, 2017–2022. [Google Scholar] [CrossRef] [Scilit]
- Roul, P. A new mixed MADM-Collocation approach for solving a class of Lane-Emden singular boundary value problems. J. Math. Chem. 2019, 57, 945–969. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).


