Nothing Special   »   [go: up one dir, main page]

Next Article in Journal
Effective Modified Fractional Reduced Differential Transform Method for Solving Multi-Term Time-Fractional Wave-Diffusion Equations
Next Article in Special Issue
Methodology for Solving Engineering Problems of Burgers–Huxley Coupled with Symmetric Boundary Conditions by Means of the Network Simulation Method
Previous Article in Journal
Application of GA-WELM Model Based on Stratified Cross-Validation in Intrusion Detection
Previous Article in Special Issue
Several Characterizations of Δh-Doped Special Polynomials Associated with Appell Sequences
You seem to have javascript disabled. Please note that many of the page functionalities won't work as expected without javascript enabled.
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Pair of Optimized Nyström Methods with Symmetric Hybrid Points for the Numerical Solution of Second-Order Singular Boundary Value Problems

by
Higinio Ramos
1,2,*,†,
Mufutau Ajani Rufai
3,† and
Bruno Carpentieri
3,†
1
Scientific Computing Group, Universidad de Salamanca, Plaza de la Merced, 37008 Salamanca, Spain
2
Department of Mathematics, Escuela Politécnica Superior de Zamora, Campus Viriato, 49022 Zamora, Spain
3
Faculty of Engineering, Free University of Bozen-Bolzano, 39100 Bolzano, Italy
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Symmetry 2023, 15(9), 1720; https://doi.org/10.3390/sym15091720
Submission received: 26 July 2023 / Revised: 18 August 2023 / Accepted: 5 September 2023 / Published: 7 September 2023
(This article belongs to the Special Issue Differential Equations and Applied Mathematics)

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.

1. Introduction

The problem of interest is described by the differential equation
q ( x ) + λ x q ( x ) = k ( x , q ( x ) ) , 0 < x x N = 1
with one of the following three different types of boundary conditions (BCs)
q ( 0 ) = q a , q ( 1 ) = q b ,
q ( 0 ) = q a , q ( 1 ) = q b ,
q ( 0 ) = q a , q ( 1 ) = q b ,
where λ , q a , q b , q a , and q b are given, and the function k ( x , q ) 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 x = 0 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 x = 0 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].
q n + 1 = q n + h q n + 1 360 h 2 7 21 + 7 f n + u + 64 f n + v 7 21 7 f n + w + 18 f n , q n + 1 = q n + h 1 20 f n + 49 180 f n + u + 16 45 f n + v + 49 180 f n + w + 1 20 f n + 1 .
q n + u = q n 1 14 21 7 h q n + h 2 17640 140 f n + u + 32 31 7 21 f n + v + 7 227 49 21 f n + w + h 2 17640 435 63 21 f n 6 f n + 1 , q n + v = q n + h 2 q n + h 2 5760 7 8 21 + 35 f n + u + 80 f n + v + 7 35 8 21 f n + w + h 2 5760 147 f n + 3 f n + 1 , q n + w = q n + 21 + 7 h 14 q n + h 2 17640 7 49 21 + 227 f n + u + h 2 17640 32 7 21 + 31 f n + v + 140 f n + w + 63 21 + 435 f n 6 f n + 1 ,
q n + u = q n + h 17640 7 343 9 21 f n + u + 64 49 12 21 f n + v + 7 343 69 21 f n + w + 9 3 21 + 119 f n + 27 21 7 f n + 1 , q n + v = q n + h 2880 7 15 21 + 56 f n + u + 512 f n + v + 7 56 15 21 f n + w + 117 f n + 27 f n + 1 , q n + w = q n + h 17640 7 69 21 + 343 f n + u + 64 12 21 + 49 f n + v + 7 9 21 + 343 f n + w + 9 119 3 21 f n 27 21 + 7 f n + 1 ,
q 1 = q 0 + h q 0 + h 2 0.2009319137389590 f u ¯ + 0.2292411063595862 f v ¯ + 0.0698269799014541 f w ¯ , q 1 = q 0 + h 0.2204622111767684 f u ¯ + 0.3881934688431719 f v ¯ + 0.3288443199800597 f w ¯ + 0.0625 f 1 ,
q u ¯ = q 0 + 0.0885879595127039 h q 0 + h 2 0.0053826755294719 f u ¯ + 0.0024215917832576 f v ¯ + 0.001564645634154 f w ¯ 0.0006018160950569 f 1 , q v ¯ = q 0 + 0.4094668644407347 h q 0 + h 2 0.0695583040205626 f u ¯ + 0.0161202500910538 f v ¯ 0.002478766567991 f w ¯ + 0.000631768993838 f 1 , q w ¯ = q 0 + 0.7876594617608470 h q 0 + h 2 0.1545378137303791 f u ¯ + 0.1448580872610296 f v ¯ + 0.0111501356039639 f w ¯ 0.00034232274467 f 1 ,
q u ¯ = q 0 + h 0.112999479323156 f u ¯ 0.0403092207235222 f v ¯ + 0.0258023774203363 f w ¯ 0.0099046765072664 f 1 , q v ¯ = q 0 + h 0.2343839957474002 f u ¯ + 0.206892573935358 f v ¯ 0.0478571280485407 f w ¯ + 0.0160474228065162 f 1 , q w ¯ = q 0 + h 0.2166817846232503 f u ¯ + 0.4061232638673733 f v ¯ + 0.189036518170056 f w ¯ 0.024182104899832 f 1 ,
where
u = 7 21 14 , v = 1 2 , w = 7 + 21 14 ,
u ¯ = 1 7 3 6 sin 1 3 tan 1 ( 7 ) 2 cos 1 3 tan 1 ( 7 ) 0.0885879595127039 , v ¯ = 1 7 3 + 6 sin 1 3 tan 1 ( 7 ) 2 cos 1 3 tan 1 ( 7 ) 0.4094668644407347 , w ¯ = 3 7 + 2 7 2 cos 1 3 tan 1 ( 7 ) 0.7876594617608470 .
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 n = 1 ( 1 ) N 1 , 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 [ 0 , x N ] . 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 q ( x ) be the exact solution of the considered problem and q j j = 0 N the approximations provided by the PONM technique. The numerical scheme is said to be convergent of order p if, when h 0 , there is a constant K that is independent of h, satisfying
max 0 j N | q ( x j ) q j | K h p .
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 h 0 , we have
max 0 j N | q ( x j ) q j | 0 ,
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. 
Let q ( x ) denote the exact solution of problem (1) together with the BCs given in (2), and q j j = 0 N represents the approximate solution obtained using the proposed scheme. Then, the proposed method exhibits convergence of, at least, order five.
Proof. 
The matrix M with dimensions 8 N × 8 N can be defined as follows:
M = M 1 , 1 M 1 , 2 M 1 , 2 N M 2 N , 1 M 2 N , 2 M 2 N , 2 N ,
where the matrix M comprises various sub-matrices, denoted as M i , j , where most of them have dimensions of 4 × 4 . However, there are two exceptions: M i , N + 1 with dimensions 4 × 3 , and M i , 2 N with dimensions 4 × 5 . These sub-matrices are given as follows:
M i , i = I , i = N + 2 , , 2 N , I is a four - dimensional identity matrix ,
M N , N = 1 0 0 0 1 0 0 0 1 0 0 0 ; M i , i 1 = 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 , i = N + 2 , , 2 N ;
M N + 1 , N + 1 = 1 1 0 0 0 1 0 1 0 0 1 0 0 1 0 1 0 0 0 1 ;
M 1 , N + 1 = h 0.0885879595127039 0 0 0 0 0.4094668644407347 0 0 0 0 0.7876594617608471 0 0 0 0 1.0000000000000000 0 0 0 0 ;
M i , N + i = h 0 0 0 1 14 7 21 0 0 0 1 2 0 0 0 1 14 7 + 21 0 0 0 1 , i = 1 , N 1 ;
M N , 2 N = h 0 0 0 0 1 14 7 21 0 0 0 0 1 2 0 0 0 0 1 14 7 + 21 0 0 0 0 1 .
The remaining sub-matrices, which were not mentioned previously, were null matrices represented by M i , j = O . These null sub-matrices contributed to the structure of the overall matrix. Furthermore, we introduced another matrix called U, which had dimensions of 8 N × ( 4 N + 1 ) . The matrix U played a role in the problem and complemented the matrix M in the numerical computations.
U = U 1 , 1 U 1 , 2 U 1 , N U 2 N , 1 U 2 N , 2 U 2 N , N ,
where the submatrices, denoted by U i , j , have dimensions of 4 × 4 , except for U i , 1 , where i ranges from 1 to 2 N , which has a size of 4 × 5 . The explicit expressions for these submatrices are provided below:
U 1 , 1 = h 0 0.005382675529 0.002421591783 0.001564645635 0.000601816095 0 0.069558304020 0.016120250091 0.002478766567 0.000631768993 0 0.154537813730 0.144858087261 0.011150135603 0.0003423227446 0 0.200931913738 0.229241106359 0.069826979901 0.0000000000000 ;
U i , i = h 1 126 4 31 + 7 21 2205 227 + 49 21 2520 1 2940 7 35 + 8 21 5760 1 72 7 35 + 8 21 5760 1 1920 227 49 21 2520 4 31 + 7 21 2205 1 126 1 2940 7 360 7 + 21 8 45 7 360 7 + 21 0 , i = 2 , N ;
U i , i 1 = h 0 0 0 145 + 21 21 5880 0 0 0 49 1920 0 0 0 145 21 21 5880 0 0 0 1 20 , i = 3 , , N ; U 2 , 1 = h 0 0 0 0 145 + 21 21 5880 0 0 0 0 49 1920 0 0 0 0 145 21 21 5880 0 0 0 0 1 20 ;
U N + 1 , 1 = 0 0.112999479323 0.040309220723 0.025802377420 0.009904676507 0 0.23438399574 0.206892573935 0.047857128048 0.016047422806 0 0.216681784623 0.406123263867 0.189036518170 0.024182104899 0 0.220462211176 0.388193468843 0.328844319980 0.062500000000 ;
U N + j , j = 343 + 9 21 2520 8 45 + 32 35 21 343 + 69 21 2520 3 7 + 21 1960 7 56 + 15 21 2880 8 45 7 56 + 15 21 2880 3 320 343 69 21 2520 8 49 + 12 21 2205 343 9 21 2520 3 7 + 21 1960 49 180 16 45 49 180 1 20 , j = 2 , , N ;
U N + j , j 1 = 0 0 0 119 3 21 1960 0 0 0 13 320 0 0 0 119 + 3 21 1960 0 0 0 1 20 , j = 3 , , N ; U N + 2 , 1 = 0 0 0 0 119 3 21 1960 0 0 0 0 13 320 0 0 0 0 119 + 3 21 1960 0 0 0 0 1 20 .
All submatrices, U i , j , which were not mentioned earlier, are null matrices, denoted by U i , j = O .
We can express the vectors of exact values in the following manner:
Q 8 N = q ( x u ¯ ) , q ( x v ¯ ) , q ( x w ¯ ) , q ( x 1 ) , , q ( x N 1 + w ) , q ( x 0 ) , q ( x u ¯ ) , , q ( x N ) T , F 4 N + 1 = f ( x 0 , q ( x 0 ) , q ( x 0 ) ) , f ( x u ¯ , q ( x u ¯ ) , q ( x u ¯ ) ) , , f ( x N , q ( x N ) , q ( x N ) ) ) .
It is important to highlight that the vector Y contains a total of 8 N terms, but the vector F contains ( 4 N + 1 ) components. This is due to the fact that, as indicated in (2), the boundary conditions specify that the values of q ( x ) at x 0 and x N are known, with q ( x 0 ) = q a , and q ( x N ) = q b . The SBVP can be discretized and approximated using the following formulas:
M 8 N × 8 N Q 8 N + h U 8 N × ( 4 N + 1 ) F 4 N + 1 + C 8 N = L T ( h ) 8 N .
In the above equation, the vector C 8 N is constructed by assembling the predetermined values, given by
C 8 N = q a , q a , q a , q a , 0 , , 0 , q b , 0 , , 0 T ,
where T denotes the transpose operation. On the other hand, the vector L T ( h ) 8 N represents the Local Truncation Errors (LTEs) associated with the formulas used in the discretization process. These LTEs can be expressed as follows:
L T ( h ) 8 N 2.805556 × 10 6 h 6 q ( 6 ) x 0 + O ( h 7 ) 9.161677 × 10 7 h 6 q ( 6 ) x 0 + O ( h 7 ) 2.962403 × 10 6 h 6 q ( 6 ) x 0 + O ( h 7 ) 1.417233 × 10 7 h 8 q ( 8 ) x 0 + O ( h 9 ) h 7 q ( 7 ) x 1 1152480 21 + O ( h 8 ) h 8 q ( 8 ) x 1 30965760 + O ( h 9 ) h 7 q ( 7 ) x 1 1152480 21 + O ( h 8 ) h 9 q ( 9 ) x 1 177811200 + O ( h 10 ) h 9 q ( 9 ) x N 1 177811200 + O ( h 10 ) 4.58527 × 10 5 h 6 q ( 6 ) x 0 + O ( h 7 ) 4.81348 × 10 5 h 6 q ( 6 ) x 0 + O ( h 7 ) 2.60817 × 10 5 h 6 q ( 6 ) x 0 + O ( h 7 ) 2.02462 × 10 8 h 9 q ( 9 ) x 0 + O ( h 10 ) h 7 q ( 7 ) x 1 493920 + O ( h 8 ) h 7 q ( 7 ) x 1 322560 + O ( h 8 ) h 7 q ( 7 ) x 1 493920 + O ( h 8 ) h 10 y ( 10 ) x 1 1422489600 + O ( h 11 ) h 10 q ( 10 ) x N 1 1422489600 + O ( h 11 ) .
Regarding the approximate values, they are obtained from the following system of equations:
M 8 N × 8 N Q ¯ 8 N + h U 8 N × ( 4 N + 1 ) F ¯ 4 N + 1 + C 8 N = 0 ,
Q ¯ 8 N being an approximation of the vector Q 8 N , such that:
Q ¯ 8 N = q u ¯ , q v ¯ , q w ¯ , q 1 , , q N 1 + w , q 0 , q u ¯ , , q N T ,
and
F ¯ 4 N + 1 = f 0 , f u ¯ , f v ¯ , f w ¯ , f 1 , f 1 + u , , f N T .
By subtracting (12) from (11), we obtain the following equation:
M 8 N × 8 N E 8 N + h U 8 N × ( 4 N + 1 ) F 4 N + 1 F ¯ 4 N + 1 = L T ( h ) 8 N ,
where the vector E 8 N denotes the errors at the discrete points, which are obtained by subtracting Q ¯ 8 N from the vector Q 8 N . It is represented as a column vector containing the errors e u ¯ , e v ¯ , , e N 1 + w , e 0 , e u ¯ , , e N 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 ξ i such that:
f ( x i , q ( x i ) , q ( x i ) ) f ( x i , q i , q i ) = q ( x i ) q i f q ( ξ i ) + q ( x i ) q i f q ( ξ i ) ,
where ξ i represents an intermediate point lying on the line segment between ( x i , q ( x i ) , q ( x i ) ) and ( x i , q i , q i ) . This implies that:
( F F ¯ ) 4 N + 1 = f q ( ξ 0 ) 0 0 f q ( ξ 0 ) 0 0 0 f q ( ξ u ¯ ) 0 0 f q ( ξ u ¯ ) 0 0 0 f q ( ξ N ) 0 0 f q ( ξ N ) e 0 e u ¯ e N e 0 e u ¯ e N = 0 0 f q ( ξ 0 ) 0 f q ( ξ u ¯ ) 0 0 0 0 0 f q ( ξ N 1 + w ) 0 0 0 0 0 f q ( ξ N ) e u ¯ e v ¯ e N 1 + w e 0 e u ¯ e N = J ( 4 N + 1 ) × 8 N E 8 N .
It is important to note that the second equation utilizes the fact that e 0 = q ( x 0 ) q a = 0 , and e N = q ( x N ) q b = 0 . Taking this into account, we can reorganize the equation given in (13) in the following manner:
M 8 N × 8 N + h U 8 N × ( 4 N + 1 ) J ( 4 N + 1 ) × 8 N E 8 N = L T ( h ) 8 N ,
and, taking D = M + h U J , we can write
D 8 N × 8 N E 8 N = L T ( h ) 8 N .
For sufficiently small values of h > 0 , we can express Equation (15) as follows:
E = D 1 L T ( h ) .
After expanding the components of D 1 in powers of h, it is obtained that D 1 = O ( h 1 ) . Considering that q ( x ) has derivatives that are bounded within the interval [ 0 , x N ] up to the required order, we can derive the following inequality from (16) and the vector L T ( h ) :
E D 1 L T ( h ) = O ( h 1 ) O ( h 6 ) K h 5 .
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 L T ( h ) 8 N , we see that, at the grid points (with integer index), the method exhibits a superconvergence order (see [19]):
  • | e 1 | = | q ( x 1 ) q 1 | | O ( h 1 ) | | O ( h 8 ) | K h 7 ,
  • | e i | = | q ( x i ) q i | | O ( h 1 ) | | O ( h 9 ) | K h 8 , i = 2 , 3 , , N .
This behavior can be observed in the numerical experiments (see Table 1, where the calculated rates of convergence are close to eight).

3. Implementation

To implement the PONM, we used a block global approach. We rearranged the system in (12) as F ( Q ˜ ) = 0 , the unknowns being as follows:
Q ˜ = q u ¯ , q v ¯ , q w ¯ , q u ¯ , q v ¯ , q w ¯ q j j = 1 ( 1 ) N 1 q j j = 0 ( 1 ) N q j + u , q j + v , q j + w , q j + u , q j + v , q j + w j = 1 ( 1 ) N 1 .
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:
Q ˜ i + 1 = Q ˜ i J i 1 F i ,
where J is the Jacobian matrix of F . 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 h = x N x 0 N to create the partition P N . This partition consists of the points
    P N = x u ¯ , x v ¯ , x w ¯ x j j = 0 ( 1 ) N x j + k k = u , v , w ; j = 1 ( 1 ) N 1 .
  • Utilize the formulas given in (8)–(10) and the ones in (5)–(7), taking n = 1 ( 1 ) N 1 to construct a system whose unknowns are those in Q ˜ .
  • Combine all the equations from Step 2 within P N 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 x 0 , x N .

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:
A E = q ( x j ) q j , M A E = max j = 0 , 1 , , N q ( x j ) q j .
In the above formulas, absolute error (AE) measures the absolute error at each node as the difference between the theoretical solution q ( x j ) and the approximate solution q j 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]:
q ( x ) + 2 x q ( x ) + q ( x ) 5 = 0 , q ( 0 ) = 0 , q ( 1 ) = 3 4 ,
with analytical solution q ( x ) = 3 3 + x 2 .
The rate of convergence (ROC) of the proposed PONM is presented in Table 1 using the formula R O C = log 2 M A E h M A E 2 h . Table 2 compares the absolute error (AE) of the methods presented in [20,21,22] with the proposed method, using h = 1 10 . 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 h = 1 16 , showing good agreement between the numerical and exact solutions.

4.2. Numerical Example 2

Consider the following model SBVP [23]:
q ( x ) + 2 x q ( x ) ϕ 2 q ( x ) n = 0 , q ( 1 ) = 1 , q ( 0 ) = 0 , x [ 0 , 1 ] .
Although the general exact solution for (18) is not known, the solution for n = 1 can be expressed as q ( x ) = sinh ( x ϕ ) x sinh ( ϕ ) , 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 h = 1 10 , n = 1 , and ϕ = 5 . 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 h = 1 20 , n = 1 , and ϕ = 2 , demonstrating good agreement between the numerical solution and the exact solution.

4.3. Numerical Example 3

Consider the SBVP for the thermal explosion in a cylindrical vessel presented in [24]:
q ( x ) + 1 x q ( x ) e q ( x ) = 0 , q ( 0 ) = 0 , q ( 1 ) = 0 .
The exact solution of this problem is q ( x ) = 2 log 2 6 + 1 5 2 6 5 x 2 + 1 .
We solve Problem (19) numerically using the new PONM for various stepsize ( h ) 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 h = 1 8 , and it demonstrates a good agreement between the numerical and exact solutions.

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:
q ( x ) + λ x q ( x ) = ϕ 2 q ( x ) exp s r ( 1 q ( x ) ) 1 + c ( 1 q ( x ) ) , q ( 0 ) = 0 , q ( 1 ) = 0 .
The true solution of this SBVP is not available.
Problem (20) is solved using the PONM method for ϕ = r = s = c = 1 . 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.

4.5. Numerical Example 5

Consider the following SBVP:
q ( x ) + 0.5 x q ( x ) + e 2 q ( x ) 0.5 e q ( x ) = 0 , q ( 0 ) = log ( 2 ) , q ( 1 ) = 0 .
The exact solution of this problem is q ( x ) = log 2 x 2 + 1 .
The new PONM was used to solve Problem (21) numerically for different values of the stepsize ( h ) . Table 4 presents the numerical results and compares PONM with [14] in terms of MAE. It is evident that PONM provides better accuracy than the method in [14].

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.

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

  1. 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]
  2. 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]
  3. 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]
  4. 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]
  5. 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]
  6. 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]
  7. 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]
  8. 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]
  9. 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]
  10. 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]
  11. 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]
  12. 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]
  13. Rufai, M.A. An efficient third derivative hybrid block technique for the solution of second-order BVPs. Mathematics 2022, 10, 3692. [Google Scholar] [CrossRef]
  14. 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]
  15. 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]
  16. 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]
  17. 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]
  18. Lambert, J.D. Numerical Methods for Ordinary Differential Systems: The Initial Value Problem; John Wiley & Sons: New York, NY, USA, 1991. [Google Scholar]
  19. 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]
  20. 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]
  21. Umesh; Kumar, M. Numerical solution of singular boundary value problems using advanced Adomian decomposition method. Eng. Comput. 2021, 37, 2853–2863. [Google Scholar] [CrossRef]
  22. 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]
  23. 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]
  24. 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]
  25. 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]
  26. 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]
Figure 1. Plots of exact (blue line) and PONM solution (dots) for Problem (17).
Figure 1. Plots of exact (blue line) and PONM solution (dots) for Problem (17).
Symmetry 15 01720 g001
Figure 2. Plots of exact (blue line) and PONM solution (dots) for Example (18).
Figure 2. Plots of exact (blue line) and PONM solution (dots) for Example (18).
Symmetry 15 01720 g002
Figure 3. Plots of exact (blue line) and PONM solution (dots) for Example (17).
Figure 3. Plots of exact (blue line) and PONM solution (dots) for Example (17).
Symmetry 15 01720 g003
Table 1. Order of convergence for Problem (17).
Table 1. Order of convergence for Problem (17).
hProposed MethodMAEROC
1 4 PONM 2.4386 × 10 9
1 8 PONM 1.0498 × 10 11 7.8597
1 16 PONM 4.0634 × 10 14 8.0132
1 32 PONM 2.2204 × 10 16 7.5157
Table 2. Comparison of AE for Example (17).
Table 2. Comparison of AE for Example (17).
xPONMMethod in [21]Method in [20]Method in [22]
0 1.50857 × 10 12 1.65000 × 10 6 6.32000 × 10 4 6.52000 × 10 6
0.1 1.75970 × 10 12 6.63000 × 10 6 6.27000 × 10 4 6.46000 × 10 6
0.2 9.21152 × 10 13 1.59000 × 10 6 6.11000 × 10 4 6.30000 × 10 6
0.3 6.06404 × 10 13 1.53000 × 10 6 5.86000 × 10 4 6.05000 × 10 6
0.4 4.24327 × 10 13 1.44000 × 10 6 5.28000 × 10 4 5.70000 × 10 6
0.5 2.99538 × 10 13 1.34000 × 10 6 5.09000 × 10 4 5.30000 × 10 6
0.6 2.06835 × 10 13 1.22000 × 10 6 4.53000 × 10 4 4.84000 × 10 6
0.7 1.35669 × 10 13 1.10000 × 10 6 3.82000 × 10 4 4.33000 × 10 6
0.8 7.99361 × 10 14 9.58000 × 10 7 2.88000 × 10 4 3.86000 × 10 6
0.9 3.57492 × 10 14 7.30000 × 10 7 1.64000 × 10 4 3.24000 × 10 6
1.0 0.00000 1.89000 × 10 14 0.00000 1.45000 × 10 13
Table 3. Comparison of AE for Problem (18).
Table 3. Comparison of AE for Problem (18).
xAE with NMAE with PONM
0.1 1.87474 × 10 9 5.37389 × 10 11
0.2 9.16894 × 10 10 1.74590 × 10 11
0.3 1.91515 × 10 9 8.02497 × 10 12
0.4 2.61712 × 10 9 4.47804 × 10 12
0.5 3.29006 × 10 9 2.85583 × 10 12
0.6 3.95964 × 10 9 1.94503 × 10 12
0.7 4.50469 × 10 9 1.28325 × 10 12
0.8 4.59898 × 10 9 6.94778 × 10 13
0.9 3.55123 × 10 9 1.87517 × 10 13
1 0.00000 0.00000
Table 4. Comparison of MAE for Example (19).
Table 4. Comparison of MAE for Example (19).
hMethodsMAE
1 8 PONM 1.51282 × 10 11
1 8 Method in [24] 8.53810 × 10 10
1 16 PONM 2.33730 × 10 13
1 16 Method in [24] 2.19100 × 10 11
1 32 PONM 2.58127 × 10 15
1 32 Method in [24] 3.92400 × 10 13
Table 5. Comparison of numerical solutions for Example (20).
Table 5. Comparison of numerical solutions for Example (20).
xPONM, h = 1 10 SM in [26], h = 1 10 ADM in [25], h = 1 50
0.1 0.8383648968813362 0.838364878696000 0.83836491959750
0.2 0.8431842515033859 0.843184233589000 0.84318428772800
0.3 0.8512302074809177 0.851230190133000 0.85123026453741
0.4 0.8625224114670785 0.862522394979000 0.86252249405263
0.5 0.8770865272385724 0.877086511985000 0.87708663616863
0.6 0.8949523006665648 0.894952287104000 0.89495243141739
0.7 0.9161509382762109 0.916150926969000 0.91615107927542
0.8 0.9407117001190575 0.940711691749000 0.94071183074544
0.9 0.9686575885214240 0.968657583887000 0.96865767679753
1.0 1.0000000000000000 1.0000000000000000 1.000000000000000
Table 6. Comparison of MAE for Example (21).
Table 6. Comparison of MAE for Example (21).
hMethodsMAE
1 8 PONM 3.38905 × 10 10
1 8 Method in [14] 5.62700 × 10 5
1 16 PONM 1.55342 × 10 12
1 16 Method in [14] 1.45823 × 10 7
1 32 PONM 6.21724 × 10 15
1 32 Method in [14] 1.37249 × 10 9
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.

Share and Cite

MDPI and ACS Style

Ramos, H.; Rufai, M.A.; Carpentieri, B. A Pair of Optimized Nyström Methods with Symmetric Hybrid Points for the Numerical Solution of Second-Order Singular Boundary Value Problems. Symmetry 2023, 15, 1720. https://doi.org/10.3390/sym15091720

AMA Style

Ramos H, Rufai MA, Carpentieri B. A Pair of Optimized Nyström Methods with Symmetric Hybrid Points for the Numerical Solution of Second-Order Singular Boundary Value Problems. Symmetry. 2023; 15(9):1720. https://doi.org/10.3390/sym15091720

Chicago/Turabian Style

Ramos, Higinio, Mufutau Ajani Rufai, and Bruno Carpentieri. 2023. "A Pair of Optimized Nyström Methods with Symmetric Hybrid Points for the Numerical Solution of Second-Order Singular Boundary Value Problems" Symmetry 15, no. 9: 1720. https://doi.org/10.3390/sym15091720

APA Style

Ramos, H., Rufai, M. A., & Carpentieri, B. (2023). A Pair of Optimized Nyström Methods with Symmetric Hybrid Points for the Numerical Solution of Second-Order Singular Boundary Value Problems. Symmetry, 15(9), 1720. https://doi.org/10.3390/sym15091720

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop