Figures
Abstract
This research presents a novel conformable-Caputo fractional non-polynomial spline method for solving the time-fractional Korteweg-de Vries (KdV) equation. Emphasizing numerical analysis and algorithm development, the method offers enhanced precision and modeling capabilities. Evaluation via the Von Neumann method demonstrates unconditional stability within defined parameters. Comparative analysis, supported by contour and 2D/3D graphs, validates the method’s accuracy and efficiency against existing approaches. Quantitative assessment using L2 and L∞ error norms confirms its superiority. In conclusion, the study proposes a robust solution for the time-fractional KdV equation.
Citation: Yousif MA, Hamasalh FK, Zeeshan A, Abdelwahed M (2024) Efficient simulation of Time-Fractional Korteweg-de Vries equation via conformable-Caputo non-Polynomial spline method. PLoS ONE 19(6): e0303760. https://doi.org/10.1371/journal.pone.0303760
Editor: Muhammad Mubashir Bhatti, College of Mathematics and Systems Science, Shandong University of Science and Technology, CHINA
Received: March 25, 2024; Accepted: May 1, 2024; Published: June 26, 2024
Copyright: © 2024 Yousif et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: All relevant data are within the paper.
Funding: Researchers Supporting Project number (RSP2024R136), King Saud University, Riyadh, Saudi Arabia.
Competing interests: The authors have declared that no competing interests exist.
1 Introduction
Nonlinear fractional differential equations (FDEs) occupy a central position in the landscape of mathematical challenges, permeating a multitude of disciplines such as physics, chemistry, engineering, and finance [1–10]. Their applications transcend theoretical realms, finding practical utility in modeling physical systems and predicting trends in financial markets, showcasing the profound impact these equations have on our understanding of complex phenomena. Researchers, recognizing the intricate behavior that often eludes traditional analytical techniques, have immersed themselves in the exploration and resolution of nonlinear time-fractional differential equations. This pursuit has given rise to a rich tapestry of numerical methods, each offering unique approaches to solving these intricate problems. Techniques such as B-spline collocation [11], polynomial and non-polynomial splines [12], Galerkin–Hermite methods [13], and integro-quadratic spline-based schemes [14] serve as practical avenues, providing researchers with tools to approximate solutions tailored to the specific equation at hand and the desired level of accuracy. Among the prominent nonlinear fractional differential equations, the time-fractional Korteweg-de Vries equation, formulated by Dutch mathematicians in 1895, stands out as a captivating focal point [15]. Its applications extend beyond its historical roots, encompassing the study of wave phenomena in diverse physical systems, including shallow water wave propagation and rogue wave dynamics. The fractional generalization of the KdV equation amplifies its capacity to represent anomalous diffusion and dispersion, prompting the utilization of various numerical methods to unravel its complexities and facilitate the study of nonlinear waves in various contexts. These methods include the homotopy analysis transform method [16], Green’s Function with the Mittag-Leffler function [17], and the Radial Basis Functions Collocation Method [18]. Additionally, recent works have explored alternative numerical approaches such as the Laplace transform decomposition method [19], finite element method with B-spline [20], spectral collocation method with Chebyshev polynomials [21], finite difference/collocation scheme based on Jacobi–Gauss–Lobatto nodes [22], and q-homotopy analysis transform method [23]. These methods collectively contribute to the comprehensive understanding and analysis of the time-fractional KdV equation, offering valuable insights into its behavior and applications across diverse disciplines. Amid the vast array of numerical methods, the non-polynomial spline method emerges as a versatile and indispensable tool, showcasing its efficacy in navigating a diverse spectrum of mathematical challenges [24–26]. Its adaptability shines through in applications ranging from standard differential equations to fractional differential equations and nonlinear Volterra integral equations. The method’s versatility is exemplified in its successful resolution of challenges such as the fractional Bagely-Torvik equation and the Burgers-Fisher fractional differential equation [27–34]. The burgeoning interest evident in the surge of studies dedicated to non-polynomial spline methods underscores their importance and solidifies their role in propelling the field of mathematical research forward. Contemplate the time-fractional Korteweg-de Vries equation with the nonlinear term [35]:
(1)
with boundary conditions at t ≥ 0, as follows:
(2)
and the initial condition:
(3)
where σ1 is a specified constant and Caputo fractional derivative of the function u(x, t) is defined as [36]:
(4)
The time-fractional Korteweg-de Vries equation, given by Eq (1), arises from the combination of physical principles and mathematical considerations relevant to the behavior of nonlinear waves in one-dimensional media, such as shallow water waves and plasma waves.
This research responds to the critical need for more effective numerical methodologies to tackle the time-fractional Korteweg-de Vries Eqs (1)–(3) and its counterparts in fluid mechanics, plasma physics, and mathematical physics. Existing methods often struggle to capture the intricate dynamics and complex behavior inherent in these equations. To address this challenge, we propose the conformable-Caputo fractional non-polynomial spline method, a novel approach that embeds fractional derivatives within a non-polynomial spline framework. This integration significantly enhances accuracy and modeling capabilities, offering a more precise approximation of the solution compared to traditional polynomial-based methods. Our study not only introduces this innovative method but also demonstrates its stability and efficiency through rigorous analysis and comparisons with existing approaches. We employ stability analysis techniques, such as the von Neumann method, to provide insights into the method’s robustness within specific parameter ranges, ensuring reliable and consistent results. While our focus is on numerical aspects, future research avenues include exploring the method’s broader applicability and theoretical underpinnings. The key advantages of our approach over traditional methods lie in its ability to handle memory effects, irregular data, and systems with fractional dynamics more effectively, making it a versatile and accurate tool for modeling across various scientific domains. Our ultimate goal is to showcase the potential of this innovative method not only for the KdV equation but also in applied fields such as fluid mechanics, plasma physics, oceanography, geophysics, and biology.
2 Caputo fractional non-Polynomial spline construction
Within this section, our focus has been on the construction of a fractional non-polynomial spline, a novel mathematical entity that incorporates not only polynomial elements but also features trigonometric and exponential functions. This departure from the traditional spline framework introduces fractional calculus into the mix, allowing for a more refined and nuanced representation of mathematical structures. By integrating trigonometric and exponential functions within the context of fractional non-polynomial splines, we aim to harness the unique characteristics of these functions to provide a more flexible and expressive tool for addressing fractional differential equations. This innovative construction offers a promising avenue for exploring the complex dynamics associated with fractional calculus, paving the way for enhanced precision and adaptability in solving mathematical problems that exhibit fractional behavior.
Consider xj defined as j(h) for j = 0, 1, ⋯, M, and tn defined as n(τ) for n = 0, 1, ⋯, N, where represents the uniform spatial interval and
denotes the uniform temporal interval. To formulate a numerical strategy for simulating the solution to Eq (1), we will employ a fractional non-polynomial spline.
(5)
Let Sj,n(xj, tn) denote the non-polynomial spline function, approximating the solution . In this context, k signifies the frequency for trigonometric functions, while the coefficients
, and
remain undetermined. The determination of these coefficients relies on the fulfillment of the ensuing conditions:
(6)
According to Caputo fractional derivative for and the conditions (6) substituting into Eq (5), we have:
(7)
(8)
(9)
(10)
and
(11)
In this context, θ = hk, and the application of the continuity equation , results in the following expressions:
(12)
(13)
After some simplification and collection, we get:
(14)
(15)
where,
Subtracting Eqs (14) and (15), we have:
(16)
Upon replacing j in Eq (16) with j − 1, we obtain:
(17)
Substituting Eqs (16) and (15), into Eq (14), we get:
(18)
where,
3 Truncation error for FNPSM
Consider Tj, which characterizes the local truncation error associated with the jth step in the numerical scheme (18). This error gauges the difference between the exact solution of the differential equation at that specific stage and the approximation generated by the method. The analysis of Tj facilitates necessary adjustments to enhance precision. Our principal objective revolves around the minimization of Tj, especially as the step size is reduced, ensuring the production of dependable and accurate numerical solutions.
(19)
Upon collecting the derivative coefficients following the utilization of Taylor expansion, the ensuing relationship is upheld:
(20)
Referring to Eq (19), and setting the coefficient of equal to zero for ρ = 0, 1, …, we obtain:
Subsequently, the local truncation error, following the substitution of coefficients, is expressed as:
(21)
and the Eq (18) can be written as:
(22)
4 Conformable-Caputo fractional non-polynomial spline method
In the forthcoming section, we harness the power of Conformable derivatives along with their inherent properties, seamlessly amalgamating them with the Taylor finite difference scheme. Our objective is to provide a novel solution framework for tackling the time-fractional KdV Eq (1), accompanied by the stipulated initial and boundary conditions (3) and (2). This amalgamation of methodologies holds the promise of unveiling fresh insights into the dynamics of the problem at hand.
The conformable fractional derivative of the function u(x, t) is defined as: [37]
(23)
4.1 Some properties of conformable fractional derivative
Consider α ∈ (0, 1], , and assume F and G are α-differentiable at the point t > 0, as outlined in [37],
- Tα(a1F + a2G) = a1Tα(F) + a2Tα(G), for all
.
- Tα(tp) = ptp−α, for all
.
- Tα(F(t)) = 0, if F(t) is constant function.
-
.
- Tα(eat) = at1−αeat.
- Tα(cos at) = −at1−α sin at.
- Tα(sin at) = at1−α cos at.
Then by finite difference method, we have:
(24)
According to property (4) in section (4), we have: , implies that:
(25)
where, μ = t1−α, using Eq (1), we have:
(26)
Substituting j in Eq (26) with j − 1, j − 2, and j + 1 results in:
(27)
(28)
and,
(29)
Substituting Eqs (26)–(29) into Eq (18), we have:
(30)
Simplifying the implementation, scheme (30) undergoes a transformation into a more user-friendly form, manifesting as the following equation:
(31)
where,
5 Stability analysis for conformable-Caputo time-fractional KdV equation
In the realm of Von Neumann stability analysis, a foundational assumption is posited regarding the solution structure of the Eq (31). This assumption delineates the form of the solution in the following manner:
(32)
Here, ϵ denotes the real spatial wave number, and . By transforming the nonlinear term into a linear expression and substituting Eq (32) into Eq (30), we can assess the stability of the proposed method for solving Eq (1). This leads to:
(33)
Collecting terms after some simplification, we have:
(34)
Applying Euler’s formula , Eq (34) transforms into:
(35)
where,
Then
(36)
where
. Using the norm of both sides, we have:
(37)
Consequently, the developed method demonstrates stability without any imposed conditions, rendering it unconditionally stable.
6 Numerical illustration and discussion of conformable-Caputo non-polynomial spline method
In this particular section, we employ the fractional non-polynomial spline methodology for the resolution of the fractional Korteweg-de Vries problem (1), wherein both Caputo and conformable derivatives are considered within the framework of fractional conditions. A comprehensive comparative analysis is conducted between the outcomes derived from our fractional non-polynomial spline method (FNPSM) and the exact solution, aimed at elucidating the accuracy and efficacy inherent in the proposed computational paradigm. The exposition of findings is facilitated through the presentation of illustrative figures and tabulated data, generated using MATLAB software. Additionally, the maximum absolute errors and least square errors are calculated and compared to well-known values:
(39)
and
(40)
6.1 Example 1
Examine the time-fractional Korteweg-de Vries [22], where σ1 = 6, in Eq (1) given as:
(41)
with the initial condition:
(42)
and the boundary conditions:
(43)
and
(44)
and exact solution analytically is u(x, t) = (1 − t6)x(1 − x)2.
This study embarked on a comprehensive exploration of numerical approaches, employing the Conformable-Caputo FNPSM method, to address the fractional Korteweg-de Vries Eq (41) under specified conditions (42)–(44). The results of our comparative analysis, depicted in Fig 1, underscore a significant convergence between analytical and numerical solutions. This alignment serves as a robust indicator of the elevated precision inherent in our chosen numerical approach, affirming its methodological soundness and efficacy. Expanding the application of the Conformable-Caputo FNPSM methodology, three-dimensional depictions of the solution u(x, t) for Example 1 are presented in Fig 2. These depictions vividly portray the evolving characteristics of the solutions within the prescribed parameter domain 0 ≤ x, t ≤ 1, while maintaining a fixed fractional order at α = 0.75. Exploring the influence of the fractional order α on the solution u(x, t) for Example 1, as depicted in Fig 3, our observations indicate a negligible impact of the fractional order on u(x, t) in proximal regions of approximately x = 0.38. However, as α = 1.0, a discernible augmentation is observed. Conversely, beyond x = 0.38, an inverse relationship is noted, where an increase in α correlates with a decrease in the value of u(x, t). To elucidate the temporal influence on the solution u(x, t) for Example 1, Conformable-Caputo FNPSM was employed, as illustrated in Fig 4. Maintaining a constant α = 0.25 within the domain 0 ≤ x ≤ 1, our observations discern temporal alterations in the value of u(x, t) solely within the region 0.2 < x < 0.75. Notably, an increase in time corresponds to an augmentation in the value of u(x, t). In addition to these visual representations, a meticulous assessment of performance norm errors between analytical and numerical solutions was conducted using Conformable-Caputo FNPSM for Example 1. The findings outlined in Table 1 demonstrate the maximum norm error comparison between our method and the Finite difference/collocation method (FDCM) [38], clearly indicating the superiority of our presented method. Furthermore, norm error comparison in Table 2 reinforces the suitability of our method, affirming its effectiveness and superior results.
6.2 Example 2
Examine the time fractional Korteweg-de Vries [39], where σ1 = 6 and F(x, t) = 0, in Eq (1) given as:
(45)
with the exact solution, where α = 0.5 as follows:
(46)
Our study delves deep into the intricacies of numerical approaches, employing the Conformable-Caputo FNPSM method to address the fractional Korteweg-de Vries equation under specific conditions derived from the exact solution. The visual representations in Fig 5 provide a clear insight into the convergence between analytical and numerical solutions, emphasizing the precision of the chosen numerical approach. Expanding the application of Conformable-Caputo FNPSM to create three-dimensional depictions for Example 2, showcased in Fig 6, adds depth to your research by offering a vivid portrayal of the evolving characteristics of the solution. This meticulous exploration within the parameter domain, coupled with a fixed fractional order at α = 0.5, enhances the comprehensiveness of your investigation. Moving forward, your study systematically delves into the temporal dynamics governing the solution u(x, t) for Example 2. Employing the rigorous methodology of Conformable-Caputo FNPSM, delineated in Fig 7, the steadfast maintenance of α = 0.5 within the expansive domain −10 ≤ x ≤ 10 establishes a robust foundation for your observations. Notably, temporal fluctuations in the value of u(x, t) are discerned exclusively within the localized region of −6.0 < x < 6.0, with a conspicuous augmentation corresponding to the progression of time. Supplementing this visual exploration, your methodical evaluation of performance norm errors, meticulously documented in Table 3, provides a comprehensive norm error comparison between your method and the exact solution.
7 Conclusion
In conclusion, our investigation into the time-fractional Korteweg-de Vries equation has introduced a significant advancement in numerical methodologies with the conformable-Caputo fractional non-polynomial spline method. This innovative approach, rooted in the fusion of conformable and Caputo fractional calculus within a non-polynomial spline framework, overcomes the challenges associated with the complex behavior of the KdV equation. Our method offers precision and modeling capabilities, validated through graphical representations and comparative analysis. The stability analysis establishes the robustness of the proposed approach within a specific parameter range. Despite acknowledging limitations, our research contributes to the field of numerical analysis and algorithm development. The conformable-Caputo fractional non-polynomial spline method emerges as a versatile tool for modeling, offering potential applications beyond the time-fractional KdV equation. In essence, this study provides a robust solution to the challenges posed by the time-fractional KdV equation and illuminates new possibilities for accurate simulations in scientific disciplines such as fluid mechanics, plasma physics, and mathematical physics.
References
- 1.
Wilhelmsson H, Lazzaro E. Reaction-Diffusion Problems in the Physics of Hot Plasmas (1st ed.); 2000.
- 2.
Kuramoto Y. Waves, and Turbulence. Berlin-Heidelberg-New York-Tokyo, Springer-Verlag, Springer Series in Synergetics; 1984.
- 3.
Glass L, Murray JD. Interdisciplinary Applied Mathematics: Mathematical Biology I. 4. Springer New York, NY; 2002.
- 4. Naeem Jan M, Zaman G, Ali N, Ahmad I, Shah Z. Optimal control application to the epidemiology of HBV and HCV co-infection. International Journal of Biomathematics. 2022;15(3).
- 5. Zada I, Naeem Jan M, Ali N, Alrowail D, Sooppy Nisar K, Zaman G. Mathematical analysis of hepatitis B epidemic model with optimal control. Advances in Difference Equations. 2021;2021(1).
- 6.
Constantin M, Gheorghe D, Tenreiro J. Introduction to Fractional Differential Equations. December. Springer Cham; 2019.
- 7. Zafar Z, Ali N, Shah Z, Zaman Gul, Roy P, Deebani W. Hopf bifurcation and global dynamics of time delayed Dengue model. Computer Methods and Programs in Biomedicine. 2020;195:105530. pmid:32531718
- 8. Turkyilmazoglu M, Altanji M. Fractional models of falling object with linear and quadratic frictional forces considering Caputo derivative. Chaos, Solitons & Fractals. 2023;166:112980.
- 9. Ibraheem GH, Turkyilmazoglu M, AL-Jawary M A. Novel approximate solution for fractional differential equations by the optimal variational iteration method. Journal of Computational Science. 2022;64:101841.
- 10. Marin M, Hobiny A, Abbas I. The effects of fractional time derivatives in porothermoelastic materials using finite element method. Mathematics. 2021;9(14).
- 11. Tamsir M, Dhiman N, Nigam D, Chauhan A. Approximation of caputo time-fractional diffusion equation using redefined cubic exponential b-spline collocation technique. AIMS Mathematics. 2021;6(4):3805–3820.
- 12. Khalid A, Ghaffar A, Naeem MN, Sooppy K. Solutions of BVPs arising in hydrodynamic and magnetohydro-dynamic stability theory using polynomial and non-polynomial splines. Alexandria Engineering Journal. 2021;60(1):941–953.
- 13. Łukasz P, Mateusz Ś. Numerical scheme for Erdélyi–Kober fractional diffusion equation using Galerkin–Hermite method. Fractional Calculus and Applied Analysis. 2022;25:1651–1687.
- 14. Moghaddam B, Mostaghim Z, Pantelous A, Machado J. An integro quadratic spline-based scheme for solving nonlinear fractional stochastic differential equations with constant time delay. Communications in Nonlinear Science and Numerical Simulation. 2021;92.
- 15. Korteweg D, de Vries G. On the change of form of long waves advancing in a rectangular canal, and on a new type of long stationary waves. The London, Edinburgh, and Dublin Philosophical Magazine and Journal of Science. 1895;39(240):422–443.
- 16. Saad K, AL-Shareef E, Alomari A, Baleanu D, Gómez-Aguilar J. On exact solutions for time-fractional Korteweg-de Vries and Korteweg-de Vries-Burger’s equations using homotopy analysis transform method. Chinese Journal of Physics. 2020;63:149–162.
- 17. Le U, Pelinovsky D. Green’s Function for the Fractional KDV Equation on the Periodic Domain via Mittag-Leffler Function. Fractional Calculus and Applied Analysis. 2021;24(5):1507–1534.
- 18. Hussain M, Haq S. Radial Basis Functions Collocation Method for Numerical Solution of Coupled Burgers’ and Korteweg-de Vries Equations of Fractional Order. Iranian Journal of Science and Technology, Transaction A: Science. 2021;45(2):707–725.
- 19. Khan K, Ali A, De la Sen M, Irfan M. Localized modes in time-fractional modified coupled korteweg-de vries equation with singular and non-singular kernels. AIMS Mathematics. 2022;7(2):1580–1602.
- 20. Pedram L, Rostamy D. Numerical solutions of the initial boundary value problem for the perturbed conformable time Korteweg-de Vries equation by using the finite element method. Numerical Methods for Partial Differential Equations. 2021;37(2):1449–1463.
- 21. Khader M, Saad K. Numerical Studies of the Fractional Korteweg-de Vries, Korteweg-de Vries-Burgers’ and Burgers’ Equations. Proceedings of the National Academy of Sciences India Section A—Physical Sciences. 2021;91(1):67–77.
- 22. Cao W, Xu Y, Zheng Z. Finite difference/collocation method for a generalized time-fractional KdV equation. Applied Sciences (Switzerland). 2018;8(1).
- 23. Saad K, Baleanu D, Atangana A. New fractional derivatives applied to the Korteweg–de Vries and Korteweg–de Vries–Burger’s equations. Computational and Applied Mathematics. 2018;37(4):5203–5216.
- 24. Hamasalh FK, Muhammed PO. Computational Non-Polynomial Spline Function for Solving Fractional Bagely-Torvik Equation. Mathematical Sciences Letters. 2017;6(1):83–87.
- 25. Yousif MA, Hamasalh FK. Novel simulation of the time fractional Burgers–Fisher equations using a non-polynomial spline fractional continuity method. AIP Advances. 2022;12(11):115018.
- 26. Akgül A. A Novel Method for Solutions of Fourth-Order Fractional Boundary Value Problems. Fractal Fractional. 2019;(2):1–13.
- 27. Li M, Ding X, Xu Q. Non-polynomial spline method for the time-fractional nonlinear Schr¨odinger equation. Advances in Difference Equations. 2018;2018(1):1–15.
- 28. Khandelwal P, Khan A. Singularly perturbed convection-diffusion boundary value problems with two small parameters using nonpolynomial spline technique. Mathematical Sciences. 2017;11:119–126.
- 29. Akram G, Nadeem Z. Non-polynomial spline technique for the solution of ninth order boundary value. Turkish Journal of Mathematics. 2017;41(2):312–325.
- 30. Chekole AT, Duresssa GF, Kiltu GG. Non-polynomial septic spline method for singularly perturbed two point boundary value problems of order three. Journal of Taibah University for Science. 2019;13(May).
- 31. Tahernezhad T, Jalilian R. Exponential spline for the numerical solutions of linear Fredholm integro-differential equations. Adv Differ Equ. 2020;3.
- 32. Demirci E, Ozalp N. A method for solving differential equations of fractional order. Journal of Computational and Applied Mathematics. 2012;236(11):2754–2762.
- 33. Hosseini SM, Ghaffari R. Polynomial and non-polynomial spline methods for fractional sub-diffusion equations. Applied Mathematical Modelling. 2014;38(14):1–13.
- 34. Emadifar H, Jalilian R. An exponential spline approximation for fractional Bagley—Torvik equation. Bound Value Probl. 2020;2.
- 35. Ersoy O, Dag I. The Exponential Cubic B-Spline Algorithm for Korteweg-de Vries Equation. Advances in Numerical Analysis. 2015;2015:1–8.
- 36. Caputo M. Linear Models of Dissipation whose Q is almost Frequency Independent-II. Geophysical Journal of the Royal Astronomical Society. 1967;13(5):529–539.
- 37. Khalil R, Al Horani M, Yousef A, Sababheh M. A new definition of fractional derivative. Journal of Computational and Applied Mathematics. 2014;264:65–70.
- 38. Cao W, Xu Y, Zheng Z. Finite difference/collocation method for a generalized time-fractional KdV equation. Applied Sciences (Switzerland). 2018;8(1).
- 39. Inc M, Parto-Haghighi M, Akinlar MA, Chu YM. New numerical solutions of fractional-order Korteweg-de Vries equation. Results in Physics. 2020;19(May):103326.