Next Article in Journal
Applying the Theory of Multi-Operations to Building Decision-Making Systems with a Large Number of Uncertainties
Next Article in Special Issue
Exploration of Soliton Solutions to the Special Korteweg–De Vries Equation with a Stability Analysis and Modulation Instability
Previous Article in Journal
Aerospace Equipment Fault Diagnosis Method Based on Fuzzy Fault Tree Analysis and Interpretable Interval Belief Rule Base
Previous Article in Special Issue
Dynamical Behaviors and Abundant New Soliton Solutions of Two Nonlinear PDEs via an Efficient Expansion Method in Industrial Engineering
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Numerical Solution of Emden–Fowler Heat-Type Equations Using Backward Difference Scheme and Haar Wavelet Collocation Method

by
Mohammed N. Alshehri
1,*,
Ashish Kumar
2,
Pranay Goswami
2,
Saad Althobaiti
3 and
Abdulrahman F. Aljohani
4
1
Department of Mathematics, College of Arts and Sciences, Najran University, Najran 55461, Saudi Arabia
2
School of Liberal Studies, Dr B.R. Ambedkar University Delhi, Delhi 110006, India
3
Department of Sciences and Technology, Ranyah University Collage, Taif University, Taif 21944, Saudi Arabia
4
Department of Mathematics, Faculty of Science, University of Tabuk, Tabuk 47512, Saudi Arabia
*
Author to whom correspondence should be addressed.
Mathematics 2024, 12(23), 3692; https://doi.org/10.3390/math12233692
Submission received: 13 October 2024 / Revised: 4 November 2024 / Accepted: 11 November 2024 / Published: 25 November 2024
(This article belongs to the Special Issue Exact Solutions and Numerical Solutions of Differential Equations)

Abstract

:
In this study, we introduce an algorithm that utilizes the Haar wavelet collocation method to solve the time-dependent Emden–Fowler equation. This proposed method effectively addresses both linear and nonlinear partial differential equations. It is a numerical technique where the differential equation is discretized using Haar basis functions. A difference scheme is also applied to approximate the time derivative. By leveraging Haar functions and the difference scheme, we form a system of equations, which is then solved for Haar coefficients using MATLAB software. The effectiveness of this technique is demonstrated through various examples. Numerical simulations are performed, and the results are presented in graphical and tabular formats. We also provide a convergence analysis and an error analysis for this method. Furthermore, approximate solutions are compared with those obtained from other methods to highlight the accuracy, efficiency, and computational convenience of this technique.

1. Introduction and Mathematical Preliminaries

Partial differential equations (PDEs) are essential mathematical instruments employed to describe a multitude of phenomena in engineering [1], physics [2,3], and other applied sciences [4]. Unlike ordinary differential equations, which focus on functions of a single variable, PDEs are inherently more complex and capable of modeling a broad spectrum of physical processes. They are vital for representing systems where changes occur with respect to multiple independent variables, such as time and space.
The study and application of PDEs are pivotal for technological advancement and the comprehension of natural phenomena (see [5]). By developing efficient methods to solve these equations, researchers can simulate and predict the behavior of intricate systems, leading to breakthroughs in fields such as aerospace engineering [6], climate modeling [7], biomedical engineering [8,9], and more.
Analytically solving PDEs is often challenging due to their complexity. Consequently, numerical methods like finite element analysis [10], finite difference methods [11], and spectral methods [12] are frequently utilized. Temimi et al. [13] used an iterative finite difference algorithm to solve a two-dimensional Bratu problem numerically. They employed the Newton–Raphson–Kantorovich approximation in function space and designed an iterative finite difference approach that provided a straightforward algorithm for computing the sequence of numerical solutions. Darvishi et al. [14] used a modification of the HPM technique to solve sine-Gordon and coupled sine-Gordon equations numerically. Darvishi [15] also used domain decomposition schemes to solve partial differential equations. These techniques approximate the solutions of PDEs through computational algorithms, enabling the resolution of real-world problems that are otherwise analytically intractable.
The time-dependent Emden–Fowler equations are a class of partial differential equations that arise in various scientific and engineering contexts, particularly in astrophysics, fluid dynamics, and thermal analysis. Named after the astronomers Robert Emden [16] and Richard Fowler [17], these equations are extensions of the classical Emden–Fowler equations, incorporating time as a dynamic variable to model evolving systems.
The classical Emden–Fowler equations typically describe static, spherically symmetric stellar structures [18,19] and other similar phenomena where spatial variables alone dictate the system’s behavior. When extended to include time dependency, these equations become powerful tools for analyzing the temporal evolution of systems under various physical conditions. This extension is crucial for understanding dynamic processes such as the thermal behavior of stars, gas dynamics in astrophysical contexts, and transient heat conduction in materials. In our work, we consider the Emden–Fowler heat-type equation [20] in the form
2 Ω ( ϖ , ψ ) ϖ 2 + ε ϖ Ω ( ϖ , ψ ) ϖ + B ( ϖ , ψ ) F ( Ω ) = Ω ( ϖ , ψ ) ψ ,
ε > 0 , 0 < ϖ < 1 , ψ > 0 ,
where B ( ϖ , ψ ) F ( Ω ) is a nonlinear function or nonlinear heat source. This equation is solved subject to boundary conditions:
Ω ( 0 , ψ ) = f ( ψ ) , Ω ( 1 , ψ ) = g ( ψ ) ,
and initial condition Ω ( ϖ , 0 ) = h ( ϖ ) .
The time-dependent version of this equation incorporates the effect of time, allowing it to model evolving systems where properties like density, temperature, or pressure change dynamically over time. In (1), Ω ( ϖ , ψ ) is the primary variable of interest, which could represent physical quantities like density, temperature, or gravitational potential. ϖ is a spatial coordinate often representing a radial distance in problems with spherical symmetry and ψ is a time coordinate indicating that Ω evolves over time or a related temporal parameter. Physically, 2 Ω ( ϖ , ψ ) ϖ 2 is a measure of the concavity or curvature of Ω in space and often appears in diffusion processes. 1 ϖ represents a type of “damping” or scaling effect in radial diffusion processes. This could represent heat spreading from a central source, mass diffusing in a spherically symmetric object, or energy dissipating in a star. The term B ( ϖ , ψ ) F ( Ω ) acts as a source or sink, adding or removing Ω based on its current state and location. This term could represent reactions like chemical decay or fusion, heat generation in a stellar context.
A significant amount of research has been conducted to examine singular boundary value problems using various methods. Culham et al. [21] used the Galerkin method to solve time-dependent nonlinear boundary value problems. Netuzhylov et al. [22] used space–time meshfree collocation method (STMCM) to solve system of partial differential equations by a consistent discretization in both space and time. Dehgan [23] explored second-order finite difference methods for addressing a non-local boundary value problem in the two-dimensional diffusion equation with Neumann boundary conditions. Wazwaz et al. [24] used a modified Adomian decomposition method to solve time-dependent Emden–Fowler equations numerically with boundary conditions. Singh et al. [25] discussed the modified homotopy perturbation method for solving nonlinear and singular time-dependent Emden–Fowler type equations with the Neumann and Dirichlet boundary conditions. Mkhatshwa et al. [26] presented the bivariate spectral collocation method with the use of overlapping grids when applying the Chebyshev spectral collocation method. Bataineh et al. [27] solved time-dependent Emden–Fowler equations using the homotopy analysis method. Shahni [28] proposed the Berstein polynomial technique to numerically solve derivative-dependent Emden–Fowler equations with boundary conditions.
We are using a Haar wavelet collocation technique with backward difference scheme to solve Emden–Fowler heat-type equations with boundary conditions. The backward difference scheme [29] is a powerful numerical tool that offers stability, ease of implementation, and robustness, making it well suited for solving a variety of differential equations. The backward difference scheme can more easily handle complex boundary conditions compared to some explicit methods. This flexibility is important in accurately modeling physical systems with intricate boundary behaviors. Haar wavelet collocation method [30] offers a combination of simplicity, efficiency, adaptability, and accuracy, making it an attractive choice for solving differential equations in various scientific and engineering applications.
Combining the backward difference scheme’s stability with the spatial adaptivity of the Haar wavelet collocation method leads to a robust overall framework. This method tends to minimize numerical dispersion and oscillations that can occur in high-gradient regions. Thus, this method is robust for a wide range of PDE problems, particularly those with sharp features or requiring stability over long time simulations. It is well suited for problems with discontinuities or local features, as the Haar wavelet collocation can adapt to these with lower computational costs due to the sparsity of the resulting system.

Haar Wavelet

The Haar wavelet functions are simple and piecewise constant, making them easy to implement and compute. Haar wavelets are widely used in computer vision and image processing applications [31], including face detection [32] and pattern recognition. The Haar wavelet function is defined as:
h ρ ( ϖ ) = 1 ,   κ 1 ϖ < κ 2 , 1 ,   κ 2 ϖ < κ 3 , 0 ,   o t h e r w i s e .
where κ 1 = α + ( γ α ) r p , κ 2 = α + ( γ α ) 2 r + 1 2 p , and κ 3 = α + ( γ α ) r + 1 p . We define p = 2 s , s = 0 , 1 , 2 , J , and r = 0 , 1 , 2 , p 1 , where J is the maximum resolution, s represents a dilation parameter, and ρ = p + r + 1 . Specifically, the Haar wavelet constitutes a square wave family that is orthogonal, generally written as
h ρ ( ϖ ) = h 2 p ϖ r p .
for s 3 , l = p + r + 1 , l 0 , 0 r 2 s 1 and
0 1 h ρ ( ϖ ) h j ( ϖ ) d ϖ = 2 s ;   ρ = s , 0 ;   s j .
For resolution, J = 2 , the Haar function matrix is given by
H 8 × 8 = h 1 h 2 h 3 h 4 h 5 h 6 h 7 h 8 .
We define the collocation points where we approximate any function as ϖ l = l 0.5 2 p , for l = 1 , 2 , , 2 p .
After putting values
H 8 × 8 = 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 1 1 .
The integrals of wavelets are defined as
q ρ , m ( ϖ ) = 0 , ϖ [ 0 , ε 1 ) 1 m ! ( ϖ κ 1 ) m , ϖ [ κ 1 , κ 2 ) 1 m ! ( ϖ κ 1 ) m 2 ( ϖ κ 2 ) m , ϖ [ κ 2 , κ 3 ) 1 m ! ( ϖ κ 1 ) m 2 ( ϖ κ 2 ) m + ( ϖ κ 3 ) m , ϖ [ κ 3 , 1 )
where m is an integer.
Q 1 8 × 8 = q 1 , 1 q 2 , 1 q 3 , 1 q 4 , 1 q 5 , 1 q 6 , 1 q 7 , 1 q 8 , 1 .
Q 1 8 × 8 = 0 . 0625 0 . 1875 0 . 3125 0 . 4375 0 . 5625 0 . 6875 0 . 8125 0 . 9375 0 . 0625 0 . 1875 0 . 3125 0 . 4375 0.4375 0.3125 0.1875 0.0625 0 . 0625 0 . 1875 0 . 1875 0.0625 0 0 0 0 0 0 0 0 0.0625 0.1875 0.1875 0.0625 0 . 0625 0 . 0625 0 0 0 0 0 0 0 0 0.0625 0.0625 0 0 0 0 0 0 0 0 0.0625 0.0625 0 0 0 0 0 0 0 0 0.0625 0.0625 .
Similarly, we can calculate
Q 2 8 × 8 = q 1 , 2 q 2 , 2 q 3 , 2 q 4 , 2 q 5 , 2 q 6 , 2 q 7 , 2 q 8 , 2 .
Haar wavelets have local support, which means they are non-zero only in a small region. This property reduces the computational complexity and increases efficiency, especially for problems with localized features. Haar wavelets are piecewise constant functions that can accurately represent functions with discontinuities, sharp gradients, or localized features, unlike Fourier or polynomial-based methods, which require many terms to capture these features accurately. The hierarchical structure of Haar wavelets allows for fast computations and efficient use of resources, which is beneficial for large-scale problems. The sparsity also simplifies the process of matrix inversion or solving linear systems, as fewer non-zero elements need to be processed, making it more computationally efficient compared to methods that result in dense matrices. The adaptive mesh refinement property of Haar wavelets is advantageous over finite difference or finite element methods, which may require uniform grids or more complex adaptivity schemes to capture localized phenomena accurately.
The structure of this study is organized as follows: Section 1 presents the introduction and outlines essential mathematical preliminaries. Section 2 details the procedure employed in this article. Section 3 explores the convergence and error analysis. Section 4 applies our procedure to various examples. Section 5 addresses the numerical simulation of these examples. Finally, Section 6 concludes with a summary of our findings.

2. Numerical Procedure

In this section, we present the implementation of our technique in solving Emden–Fowler heat-type equations with boundary conditions. First, we divide the interval [ 0 , 1 ] into 2 p subintervals with length Δ = 1 2 p . Define ψ j = j Δ ψ for time ψ , where 0 j 2 p .
Consider
2 Ω ( ϖ , ψ ) ϖ 2 = ρ = 1 2 S α ρ h ρ ( ϖ ) , ϖ [ 0 , 1 ] , ψ [ ψ j , ψ j + 1 ] ,
where α ρ are Haar coefficients. Now, integrating (6) from 0 to ϖ with respect to ϖ , we obtain
Ω ( ϖ , ψ ) ϖ = ρ = 1 2 S α ρ q ρ , 1 ( ϖ ) + Ω ( 0 , ψ ) ϖ .
After integrating (7) from 0 to ϖ , we have
Ω ( 0 , ψ ) ϖ = Ω ( 1 , ψ ) Ω ( 0 , ψ ) + ρ = 1 2 S α ρ Y ρ , 1 ,
where Y ρ , 1 = q ρ , 1 ( 1 ) q ρ , 1 ( 0 ) . Putting the value of (8) into (7) gives
Ω ( ϖ , ψ ) ϖ = ρ = 1 2 S α ρ q ρ , 1 ( ϖ ) + Ω ( 1 , ψ ) Ω ( 0 , ψ ) + ρ = 1 2 S α ρ Y ρ , 1 .
Again, integrating (9) from 0 to ϖ with respect to ϖ gives
Ω ( ϖ , ψ ) = ρ = 1 2 S α ρ q ρ , 2 ( ϖ ) + ϖ ( Ω ( 1 , ψ ) Ω ( 0 , ψ ) + ρ = 1 2 S α ρ Y ρ , 1 ) + Ω ( 0 , ψ ) .
Also, we use the backward difference scheme for the time-derivative term
Ω ( ϖ , ψ ) ψ = Ω ( ϖ , ψ j + 1 ) Ω ( ϖ , ψ j ) Δ ψ .
Putting (6), (9), (10), and (11) into (1) and using boundary conditions, we have
ρ = 1 2 S α ρ h ρ ( ϖ ) + ε ϖ ρ = 1 2 S α ρ q ρ , 1 ( ϖ ) + Ω ( 1 , ψ ) Ω ( 0 , ψ ) + ρ = 1 2 S α ρ Y ρ , 1 + B ( ϖ , ψ ) F ρ = 1 2 S α ρ q ρ , 2 ( ϖ ) + ϖ ( Ω ( 1 , ψ ) Ω ( 0 , ψ ) + ρ = 1 2 S α ρ Y ρ , 1 ) + Ω ( 0 , ψ ) Ω ( ϖ , ψ ) Ω ( ϖ , ψ 0 ) Δ ψ = 0 .
After collocating points in (12), we have a system of algebraic equations. This system of equations was solved for Haar coefficients using Matlab software. The values of the Haar coefficients gave us the approximate solution.

3. Convergence and Error Analysis

In this section, we concentrate on the convergence analysis approximation of Ω ( ϖ , ψ ) . Define 0 < ψ 0 < ψ 1 < ψ 2 < < ψ ϑ = ψ , ϑ is a positive integer.
Theorem 1
([33]). Assume that the partial differential equation exists and is bounded in the interval [ a , b ] × [ 0 , ψ ] . For A = 2 V , where V = 0 , 1 , 2 , and ϑ = 0 , 1 , 2 , J , then
S u p Ω A ( ϖ , ψ ϑ ) Ω ( ϖ , ψ ) L ( a , b ) O 1 A 2 + O Δ ψ 2 , V , J
where Ω A ( ϖ , ψ ϑ ) denotes approximate solution, Ω ( ϖ , ψ ) denotes the exact solution, and Δ ψ = sup 0 ϑ J 1 ( ψ ϑ + 1 ψ ϑ ) .
Proof. 
The proof is given in [33]. □

Error Analysis

The maximum absolute error norm is defined as follows:
E = sup Ω A ( ϖ , ψ ) Ω ( ϖ , ψ ) .
The L 2 and root-mean-square errors are defined as:
L 2 = Ω A ( ϖ , ψ ) Ω ( ϖ , ψ ) 2 = ρ = 1 2 S ( Ω ρ A ( ϖ , ψ ) Ω ρ ( ϖ , ψ ) ) 2
L r m s = ρ = 1 2 S ( Ω ρ A ( ϖ , ψ ) Ω ρ ( ϖ , ψ ) ) 2 2 S .
The Figure 1 shows the comparison of maximum absolute error, L 2 error, and L r m s error.

4. Applications

We know heat-type Emden–Fowler equations combine diffusion, damping, and nonlinear source or sink terms. We took examples with different source or sink terms and different damping factors.

4.1. Example 1

Consider the Emden–Fowler heat-type equation
2 Ω ( ϖ , ψ ) ϖ 2 + 2 ϖ Ω ( ϖ , ψ ) ϖ ( 5 + 4 ϖ 2 ) Ω ( ϖ , ψ ) = Ω ( ϖ , ψ ) ψ 4 ϖ 4 5 ϖ 2 + 6 ,
with boundary conditions
Ω ( 0 , ψ ) = e ψ , Ω ( 1 , ψ ) = 1 + e 1 + ψ ,
Ω ( ϖ , 0 ) = ϖ 2 + e ϖ 2 .
The exact solution of (13) is
Ω ( ϖ , ψ ) = ϖ 2 + e ψ + ϖ 2 .
The factor 2 ϖ in Example 1 adjusts the diffusion rate based on the radial position Ω . The constant term + 6 is a uniform source term.
Then, we applied the Haar wavelet method and backward difference scheme to form a system of algebraic equations. That system was solved using MATLAB (latest v. 2024b) software to find the values of the Haar coefficients. Using the Haar coefficients, we found the numerical solution.

4.2. Example 2

Consider the Emden–Fowler heat-type equation
2 Ω ( ϖ , ψ ) ϖ 2 + 6 ϖ Ω ( ϖ , ψ ) ϖ 2 ( Ω ( ϖ , ψ ) ) 2 = Ω ( ϖ , ψ ) ψ + 5 2 ϖ 4 2 ψ 2 4 ϖ 2 ψ 8 ϖ 2 8 ψ ,
with boundary conditions
Ω ( 0 , ψ ) = 2 + ψ , Ω ( 1 , ψ ) = 3 + ψ .
Ω ( ϖ , 0 ) = 2 + ϖ 2 .
The exact solution of (14) is
Ω ( ϖ , ψ ) = 2 + ϖ 2 + ψ .
The right side contains several terms, each representing source, sink, or external forcing terms that contribute independently to the dynamics of Ω . Then, we applied the Haar wavelet method and backward difference scheme to form a system of algebraic equations. That system was solved using MATLAB software to find the values of the Haar coefficients. Using the Haar coefficients, we found the numerical solution.

4.3. Example 3

Consider the Emden–Fowler heat-type equation
2 Ω ( ϖ , ψ ) ϖ 2 + η ϖ Ω ( ϖ , ψ ) ϖ κ ψ ( ϖ ψ ) 2 + κ ( ϖ 2 ψ ( 1 + η + κ ) ) e Ω ( ϖ , ψ ) = Ω ( ϖ , ψ ) ψ + ψ 2 ( ϖ ψ ) 2 + 2 κ κ 2 e 2 Ω ( ϖ , ψ ) ,
with boundary conditions
Ω ( 0 , ψ ) = ln ( 3 ) , Ω ( 1 , ψ ) = ln ( 3 + ψ 2 ) .
Ω ( ϖ , 0 ) = ln ( 3 ) .
The exact solution of (15) is
Ω ( ϖ , ψ ) = ln ( 3 + ( ϖ ψ ) κ ) .
The exponential terms in the equation represent a nonlinear growth/decay, potentially modeling a reaction or feedback effect where an increase in Ω accelerates its own growth. Then, we applied the Haar wavelet method and backward difference scheme to form a system of algebraic equations. That system was solved using MATLAB software to find the values of the Haar coefficients. Using the Haar coefficients, we found the numerical solution.

4.4. Example 4

Consider the Emden–Fowler heat-type equation
2 Ω ( ϖ , ψ ) ϖ 2 + 2 ϖ Ω ( ϖ , ψ ) ϖ ( 6 + 4 ϖ 2 cos ψ ) Ω ( ϖ , ψ ) = Ω ( ϖ , ψ ) ψ ,
with boundary conditions
Ω ( 0 , ψ ) = e sin ψ , Ω ( 1 , ψ ) = e 1 + sin ψ .
Ω ( ϖ , 0 ) = e ϖ 2 .
The exact solution of (16) is
Ω ( ϖ , ψ ) = e ϖ 2 + sin ψ .
Then, we applied the Haar wavelet method and backward difference scheme to form a system of algebraic equations. That system was solved using MATLAB software to find the values of the Haar coefficients. Using the Haar coefficients, we found the numerical solution.

5. Numerical Simulation

In this section, we present our numerical findings along with 2D and 3D graphs comparing the Haar solution and the exact solution. Figure 2 shows the error and comparison of exact and Haar solutions for Example 1. Figure 3 shows 3D surface plots of exact and Haar solutions for Example 1. Figure 4 shows 3D contour plots of exact and Haar solutions for Example 1. Figure 5 shows the error and comparison of exact and Haar solutions for Example 2. Figure 6 shows 3D surface plots of exact and Haar solutions for Example 2. Figure 7 shows 3D contour plots of exact and Haar solutions for Example 2. Figure 8 shows the error and comparison of exact and Haar solutions for Example 3. Figure 9 shows 3D surface plots of exact and Haar solutions for Example 3. Figure 10 shows 3D contour plots of exact and Haar solutions for Example 3. Figure 11 shows the error and comparison of exact and Haar solutions for Example 4. Figure 12 shows 3D surface plots of exact and Haar solutions for Example 4. Figure 13 shows 3D contour plots of exact and Haar solutions for Example 4. Table 1 gives us the numerical comparison of exact and Haar solutions for different Δ ψ for Example 1. Table 2 gives the error norm for different resolutions for Example1. Table 3 gives us the numerical comparison of exact and Haar solutions for different Δ ψ for Example 2. Table 4 gives us the numerical comparison of exact and Haar solutions for different Δ ψ for Example 3. In Table 5, we compare our results with other method for Example 3. Table 6 gives us the numerical comparison of exact and Haar solutions for different Δ ψ for Example 4. In Table 7, we compare our results with other methods and provide the CPU run time to demonstrate the efficiency and convenience of our approach.

6. Conclusions

The numerical solution of the time-dependent Emden–Fowler equation offers a powerful way to simulate and understand time-dependent processes. In diffusion processes, the numerical solution provides the density or concentration profile over time and space, showing how a substance diffuses or a population disperses under the influence of nonlinear effects. In plasma physics, solutions to the time-dependent Emden–Fowler equation are relevant to understanding plasma behavior in various configurations, such as spherical or cylindrical plasma distributions. The Haar wavelet collocation method, combined with a backward difference scheme, has proven to be an effective and efficient approach for solving time-dependent Emden–Fowler equations, including both linear and nonlinear partial differential equations. The flexibility of this method in handling complex boundary conditions makes it particularly suitable for modeling physical systems with intricate boundary behaviors. The numerical results, supported by 2D and 3D visual comparisons between the Haar solution and the exact solution, highlight the accuracy, adaptability, and computational efficiency of this technique.
Additionally, the use of Haar wavelets introduces several advantages, such as simplicity, local support, and sparse representation, which reduces computational complexity and improves efficiency. A comparative analysis, including CPU run time and error metrics, indicated that this method not only met but often surpassed the performance of alternative methods in terms of accuracy and computational convenience. In general, the Haar wavelet collocation method is a promising tool for solving differential equations in scientific and engineering applications due to its combination of precision, efficiency, and ease of implementation.

Author Contributions

P.G. spearheaded the investigation and coordinated the necessary literature. A.K. composed the manuscript, interpreted the findings, performed all numerical calculations, and generated the graphs. M.N.A., S.A. and A.F.A. compiled the data for tables, crafted the study site map, and formatted the final document. All authors have reviewed and consented to the published version of the manuscript.

Funding

The authors are thankful to the Deanship of Graduate Studies and Scientific Research at Najran University for funding this work under the Easy Funding Program grant code (NU/EFP/SERC/13/75-2).

Data Availability Statement

The original contributions presented in the study are included in the article, further inquiries can be directed to the corresponding author.

Acknowledgments

The authors are thankful to the Deanship of Graduate Studies and Scientific Research at Najran University for funding this work under the Easy Funding Program grant code (NU/EFP/SERC/13/75-2).

Conflicts of Interest

The authors declare no conflicts of interest.

Correction Statement

This article has been republished with a minor correction to the acknowledgments. This change does not affect the scientific content of the article.

References

  1. Ames, W.F. Nonlinear Partial Differential Equations in Engineering; Academic Press: Cambridge, MA, USA, 1965. [Google Scholar]
  2. Sommerfeld, A. Partial Differential Equations in Physics; Academic Press: Cambridge, MA, USA, 1949. [Google Scholar]
  3. Rubinstein, I.; Rubinstein, L. Partial Differential Equations in Classical Mathematical Physics; Cambridge University Press: Cambridge, UK, 1998. [Google Scholar]
  4. Zauderer, E. Partial Differential Equations of Applied Mathematics; John Wiley & Sons: Hoboken, NJ, USA, 2011. [Google Scholar]
  5. Salsa, S.; Vegni, F.; Zaretti, A.; Zunino, P. A Primer on PDEs: Models, Methods, Simulations; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2013. [Google Scholar]
  6. Xia, H.; Tucker, P.; Dawes, W. Level sets for CFD in aerospace engineering. Prog. Aerosp. Sci. 2010, 46, 274–283. [Google Scholar] [CrossRef]
  7. Müller, E.H.; Scheichl, R. Massively parallel solvers for elliptic partial differential equations in numerical weather and climate prediction. Q. J. R. Meteorol. Soc. 2014, 140, 2608–2624. [Google Scholar] [CrossRef]
  8. Schiesser, W.E. Partial Differential Equation Analysis in Biomedical Engineering: Case Studies with MATLAB; Cambridge University Press: Cambridge, UK, 2013. [Google Scholar]
  9. Schiesser, W. Time Delay ODE/PDE Models: Applications in Biomedical Science and Engineering; CRC Press: Boca Raton, FL, USA, 2019. [Google Scholar]
  10. Johnson, C. Numerical Solution of Partial Differential Equations by the Finite Element Method; Courier Corporation: Chelmsford, MA, USA, 2009. [Google Scholar]
  11. Thomas, J.W. Numerical Partial Differential Equations: Finite Difference Methods; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2013; Volume 22. [Google Scholar]
  12. Pedram, P.; Mirzaei, M.; Gousheh, S.S. Using spectral method as an approximation for solving hyperbolic PDEs. Comput. Phys. Commun. 2007, 176, 581–588. [Google Scholar] [CrossRef]
  13. Temimi, H.; Ben-Romdhane, M.; Baccouch, M.; Musa, M. A two-branched numerical solution of the two-dimensional Bratu’s problem. Appl. Numer. Math. 2020, 153, 202–216. [Google Scholar] [CrossRef]
  14. Darvishi, M.T.; Khani, F.; Hamedi-Nezhad, S.; Ryu, S.W. New modification of the HPM for numerical solutions of the sine-Gordon and coupled sine-Gordon equations. Int. J. Comput. Math. 2010, 87, 908–919. [Google Scholar] [CrossRef]
  15. Darvishi, M. Preconditioning and domain decomposition schemes to solve PDEs. Int. J. Pure Appl. Math. 2004, 15, 419–440. [Google Scholar]
  16. Emden, R. Gaskugeln: Anwendungen der Mechanischen Wärmetheorie auf Kosmologische und Meteorologische Probleme; BG Teubner: Leipzig, Germany, 1907. [Google Scholar]
  17. Fowler, R. Some results on the form near infinity of real continuous solutions of a certain type of second order differential equation. Proc. Lond. Math. Soc. 1914, 2, 341–371. [Google Scholar] [CrossRef]
  18. Chandrasekhar, S.; Chandrasekhar, S. An Introduction to the Study of Stellar Structure; Courier Corporation: Chelmsford, MA, USA, 1957; Volume 2. [Google Scholar]
  19. Kippenhahn, R.; Weigert, A.; Weiss, A. Stellar Structure and Evolution; Springer: Berlin/Heidelberg, Germany, 1990; Volume 192. [Google Scholar]
  20. Batiha, K. Approximate analytical solutions for time-dependent Emden-Fowler-type equations by variational iteration method. Am. J. Appl. Sci. 2007, 4, 439–443. [Google Scholar] [CrossRef]
  21. Culham, W.; Varga, R.S. Numerical methods for time-dependent, nonlinear boundary value problems. Soc. Pet. Eng. J. 1971, 11, 374–388. [Google Scholar] [CrossRef]
  22. Netuzhylov, H.; Zilian, A. Space–time meshfree collocation method: Methodology and application to initial-boundary value problems. Int. J. Numer. Methods Eng. 2009, 80, 355–380. [Google Scholar] [CrossRef]
  23. Dehghan, M. On the numerical solution of the diffusion equation with a nonlocal boundary condition. Math. Probl. Eng. 2003, 2003, 81–92. [Google Scholar] [CrossRef]
  24. Singh, R.; Wazwaz, A.M. Numerical solution of the time dependent Emden–Fowler equations with boundary conditions using modified decomposition method. Appl. Math. Inf. Sci. 2016, 10, 403–408. [Google Scholar] [CrossRef]
  25. Singh, R.; Singh, S.; Wazwaz, A.M. A modified homotopy perturbation method for singular time dependent Emden–Fowler equations with boundary conditions. J. Math. Chem. 2016, 54, 918–931. [Google Scholar] [CrossRef]
  26. Mkhatshwa, M.P.; Motsa, S.S.; Sibanda, P. Numerical solution of time-dependent Emden-Fowler equations using bivariate spectral collocation method on overlapping grids. Nonlinear Eng. 2020, 9, 299–318. [Google Scholar] [CrossRef]
  27. Bataineh, A.S.; Noorani, M.S.M.; Hashim, I. Homotopy analysis method for singular IVPs of Emden–Fowler type. Commun. Nonlinear Sci. Numer. Simul. 2009, 14, 1121–1131. [Google Scholar] [CrossRef]
  28. Shahni, J.; Singh, R. Numerical results of Emden–Fowler boundary value problems with derivative dependence using the Bernstein collocation method. Eng. Comput. 2022, 38, 371–380. [Google Scholar] [CrossRef]
  29. Bin Suleiman, M.; Binti Ibrahim, Z.B.; Bin Rasedee, A.F.N. Solution of Higher-Order ODEs Using Backward Difference Method. Math. Probl. Eng. 2011, 2011, 810324. [Google Scholar] [CrossRef]
  30. Šarler, B.; Aziz, I.; Fazal-i-Haq. Haar wavelet collocation method for the numerical solution of boundary layer fluid flow problems. Int. J. Therm. Sci. 2011, 50, 686–697. [Google Scholar]
  31. Mulcahy, C. Image compression using the Haar wavelet transform. Spelman Sci. Math. J. 1997, 1, 22–31. [Google Scholar]
  32. Satiyan, M.; Hariharan, M.; Nagarajan, R. Recognition of facial expression using Haar wavelet transform. J. Electr. Electron. Syst. Res. (JEESR) 2010, 3, 89–96. [Google Scholar]
  33. Zaman, S.S.; Amin, R.; Haider, N.; Akgül, A. Numerical solution of Fisher’s equation through the application of Haar wavelet collocation method. Numer. Heat Transf. Part B Fundam. 2024, 1–12. [Google Scholar] [CrossRef]
  34. Bataineh, A.S.; Isik, O.R.; Alomari, A.K.; Shatnawi, M.; Hashim, I. An efficient scheme for time-dependent Emden-Fowler type equations based on two-dimensional Bernstein polynomials. Mathematics 2020, 8, 1473. [Google Scholar] [CrossRef]
Figure 1. Error plots of Example 1 and Example 3.
Figure 1. Error plots of Example 1 and Example 3.
Mathematics 12 03692 g001
Figure 2. Numerical simulation of Example 1.
Figure 2. Numerical simulation of Example 1.
Mathematics 12 03692 g002
Figure 3. Surface plots of Example 1.
Figure 3. Surface plots of Example 1.
Mathematics 12 03692 g003
Figure 4. Contour plot of Example 1.
Figure 4. Contour plot of Example 1.
Mathematics 12 03692 g004
Figure 5. Numerical simulation of Example 2.
Figure 5. Numerical simulation of Example 2.
Mathematics 12 03692 g005
Figure 6. Surface plots of Example 2.
Figure 6. Surface plots of Example 2.
Mathematics 12 03692 g006
Figure 7. Contour plot of Example 2.
Figure 7. Contour plot of Example 2.
Mathematics 12 03692 g007
Figure 8. Numerical simulation of Example 3.
Figure 8. Numerical simulation of Example 3.
Mathematics 12 03692 g008
Figure 9. Surface plots of Example 3.
Figure 9. Surface plots of Example 3.
Mathematics 12 03692 g009
Figure 10. Contour plot of Example 3.
Figure 10. Contour plot of Example 3.
Mathematics 12 03692 g010
Figure 11. Numerical simulation of Example 4.
Figure 11. Numerical simulation of Example 4.
Mathematics 12 03692 g011
Figure 12. Surface plots of Example 4.
Figure 12. Surface plots of Example 4.
Mathematics 12 03692 g012
Figure 13. Contour plot of Example 4.
Figure 13. Contour plot of Example 4.
Mathematics 12 03692 g013
Table 1. Comparison of Haar solution and exact solution of Example 1 ( Δ ψ = 0.001 and Δ ψ = 0.0001 ) when J = 3 .
Table 1. Comparison of Haar solution and exact solution of Example 1 ( Δ ψ = 0.001 and Δ ψ = 0.0001 ) when J = 3 .
ϖ Haar SolutionExact SolutionError
0.031251.0031591.0020161.14 × 10−3
0.156251.0501331.0493208.12 × 10−4
0.281251.1624871.1617547.33 × 10−4
0.406251.3456481.3449946.53 × 10−4
0.536251.6096231.6090515.72 × 10−4
0.656251.9704711.9700004.71 × 10−4
0.781252.4532592.4529263.32 × 10−4
0.906253.096983.0968491.30 × 10−4
0.968753.4971483.4971183.0 × 10−5
0.031251.0020561.0019599.7 × 10−5
0.156251.0492311.0491478.39 × 10−5
0.281251.1615241.1614497.5 × 10−5
0.406251.3445961.3445296.69 × 10−5
0.536251.6084381.6083805.8 × 10−5
0.656251.9690961.9690484.8 × 10−5
0.781252.4516142.4515793.5 × 10−5
0.906253.0949443.0949301.39 × 10−5
0.968753.4948183.4948161.99 × 10−6
Table 2. Error norm of Example 1 ( Δ ψ = 0.0001 ).
Table 2. Error norm of Example 1 ( Δ ψ = 0.0001 ).
Level of resolution J = 1 J = 2 J = 3 J = 4 J = 5
L 2 error8.02 × 10−58.86 × 10−57.82 × 10−51.76 × 10−47.6 × 10−4
Table 3. Comparison of the Haar solution and exact solution of Example 2 ( Δ ψ = 0.001 and Δ ψ = 0.0001 ) when J = 3 .
Table 3. Comparison of the Haar solution and exact solution of Example 2 ( Δ ψ = 0.001 and Δ ψ = 0.0001 ) when J = 3 .
ϖ Haar SolutionExact SolutionError
0.031252.0010752.0010393.6 × 10−5
0.156252.024512.0246019.10 × 10−5
0.281252.07922.0794142.13 × 10−4
0.406252.1651382.1654763.38 × 10−4
0.536252.2823262.2827894.63 × 10−4
0.656252.4307642.4313515.86 × 10−4
0.781252.6104512.6111647.13 × 10−4
0.906252.821382.8222268.46 × 10−4
0.968752.9386552.9394768.21 × 10−4
0.031252.0011032.0009821.21 × 10−4
0.156252.0245142.0244328.19 × 10−5
0.281252.0792012.0791326.89 × 10−5
0.406252.1651392.1650825.69 × 10−5
0.536252.2823262.2822824.39 × 10−5
0.656252.4307642.4307323.20 × 10−5
0.781252.6104512.6104321.89 × 10−5
0.906252.8213892.8213827.0 × 10−6
0.968752.9385772.9385761.0 × 10−6
Table 4. Comparison of Haar solution and exact solution of Example 3 ( Δ ψ = 0.0001 ) when J = 3 .
Table 4. Comparison of Haar solution and exact solution of Example 3 ( Δ ψ = 0.0001 ) when J = 3 .
ϖ Haar SolutionExact SolutionError
0.03125−1.09861229−1.098612282.075 × 10−12
0.15625−1.09861229−1.098612286.651 × 10−11
0.28125−1.09861229−-1.098612283.258 × 10−10
0.40625−1.09861229−1.098612288.995 × 10−10
0.53625−1.09861229−1.098612281.887 × 10−9
0.65625−1.09861229−1.098612283.370 × 10−9
0.78125−1.0986123−1.098612295.411 × 10−9
0.90625−1.0986123−1.098612298.147 × 10−9
0.96875−1.0986123−1.098612298.788 × 10−9
Table 5. Comparison of Haar solution with MADM for Example 3.
Table 5. Comparison of Haar solution with MADM for Example 3.
ErrorsMADM [24] ( E 2 ) MADM [24] ( E 3 ) Haar (J = 1)Haar (J = 2)Haar (J = 3)
ψ = 0.5 2.9 × 10−31.8 × 10−36.5 × 10−41.1 × 1032.1 × 10−3
Run time (s)--0.0698920.0867970.138372
Table 6. Comparison of Haar solution and exact solution of Example 4 ( Δ ψ = 0.0001 ) when J = 3 .
Table 6. Comparison of Haar solution and exact solution of Example 4 ( Δ ψ = 0.0001 ) when J = 3 .
ϖ Haar SolutionExact SolutionError
0.031251.001079891.000983299.65 × 10−5
0.156251.024816841.024733738.31 × 10−5
0.281251.08242251.082348067.44 × 10−5
0.406251.179557141.179490796.63 × 10−5
0.536251.326211671.326153715.79 × 10−5
0.656251.538432311.538384454.78 × 10−5
0.781251.841262151.841228133.40 × 10−5
0.906252.273654532.273641681.28 × 10−5
0.968752.556341282.556340031.24 × 10−6
Table 7. Comparison of Haar solution with other methods for Example 4.
Table 7. Comparison of Haar solution with other methods for Example 4.
MethodHaarHaarHaarHaarHAM [34]HAM [34]VIM [34]VIM [34]
J/degree J = 2 J = 3 J = 4 J = 5 deg 8deg 16deg 8deg 16
Max. Abs. error1.21 × 10−49.65 × 10−52.3 × 10−47.1 × 10−40.19331.22 × 10−30.19331.22 × 10−3
Run time (s)0.8918260.9926991.0013841.2025910.1880.3270.2180.343
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

Alshehri, M.N.; Kumar, A.; Goswami, P.; Althobaiti, S.; Aljohani, A.F. Numerical Solution of Emden–Fowler Heat-Type Equations Using Backward Difference Scheme and Haar Wavelet Collocation Method. Mathematics 2024, 12, 3692. https://doi.org/10.3390/math12233692

AMA Style

Alshehri MN, Kumar A, Goswami P, Althobaiti S, Aljohani AF. Numerical Solution of Emden–Fowler Heat-Type Equations Using Backward Difference Scheme and Haar Wavelet Collocation Method. Mathematics. 2024; 12(23):3692. https://doi.org/10.3390/math12233692

Chicago/Turabian Style

Alshehri, Mohammed N., Ashish Kumar, Pranay Goswami, Saad Althobaiti, and Abdulrahman F. Aljohani. 2024. "Numerical Solution of Emden–Fowler Heat-Type Equations Using Backward Difference Scheme and Haar Wavelet Collocation Method" Mathematics 12, no. 23: 3692. https://doi.org/10.3390/math12233692

APA Style

Alshehri, M. N., Kumar, A., Goswami, P., Althobaiti, S., & Aljohani, A. F. (2024). Numerical Solution of Emden–Fowler Heat-Type Equations Using Backward Difference Scheme and Haar Wavelet Collocation Method. Mathematics, 12(23), 3692. https://doi.org/10.3390/math12233692

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