Next Article in Journal
Weighted Fractional Calculus: A General Class of Operators
Next Article in Special Issue
Contribution of Using Hadamard Fractional Integral Operator via Mellin Integral Transform for Solving Certain Fractional Kinetic Matrix Equations
Previous Article in Journal
Numerical Analysis of Local Discontinuous Galerkin Method for the Time-Fractional Fourth-Order Equation with Initial Singularity
Previous Article in Special Issue
Inequalities for Fractional Integrals of a Generalized Class of Strongly Convex Functions
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Numerical Solutions of Variable-Coefficient Fractional-in-Space KdV Equation with the Caputo Fractional Derivative

Department of Mathematics, Inner Mongolia University of Technology, Hohhot 010051, China
*
Author to whom correspondence should be addressed.
Fractal Fract. 2022, 6(4), 207; https://doi.org/10.3390/fractalfract6040207
Submission received: 11 March 2022 / Revised: 28 March 2022 / Accepted: 30 March 2022 / Published: 7 April 2022

Abstract

:
In this paper, numerical solutions of the variable-coefficient Korteweg-De Vries (vcKdV) equation with space described by the Caputo fractional derivative operator is developed. The propagation and interaction of vcKdV equation in different cases, such as breather soliton and periodic suppression soliton, are numerically simulated. Especially, the Fourier spectral method is used to solve the fractional-in-space vcKdV equation with breather soliton. From numerical simulations and compared with other methods, it can be easily seen that our method has low computational complexity and higher precision.

1. Introduction

The KdV equation is one of the most notable integrable equations and has found numerous applications in many fields of science, such as plasma physics, nonlinear optics, telecommunications, fluid mechanics, condensed matter physics and dust plasma. The KdV equation was derived by Korteweg and de Vires in 1895 [1]. There are many analytical methods to obtain the analytical solutions of the KdV equation, including Hirota method, Darboux transformation and so on [2,3]. The symmetry method is used to solve many fractional differential equations, such as the seventh-order generalized KdV equation [4], the generalized KdV-Burgers-Kuramoto equation [5] and the time fractional generalized fifth-order KdV equation [6]. Qin [7] used the Hirota method to obtain the N-soliton solutions of the coupled KdV-mKdV system based on Bell polynomials. Chen [8] used the test function method combined with the bilinear to obtain the lump solutions to the generalized variable coefficient Burgers equation.
There are also many good numerical methods to solve the KdV equation. Yan [9] used a local discontinuous Galerkin method to solve the KdV equation. Jackaman [10] advanced the design of the conservative finite element discretizations for the vectorial modified KdV equation. Energy-conserving Hamiltonian boundary value methods were used to solve the KdV equation by Brugnano [11]. However, the numerical method that can be applied to solve the space fractional vcKdV equation with breather soliton and periodic suppression soliton is seldom researched. Therefore, a Fourier spectral method is developed in this paper which has low computational complexity and higher precision. We consider the KdV equation with the following form:
v t + α 1 v 2 D x β 1 v + ε v D x β 2 v + α 2 v x x x + α 3 v x = 0 ,
equipped with the following initial and boundary conditions,
v ( x , 0 ) = v 0 , a x b , v ( a , t ) = v ( b , t ) = 0 ,
where D x β 1 v , D x β 2 v s . denote Caputo fractional derivative operator which has the following form,
D x β v ( x ) = 1 Γ ( 1 β 1 ) 0 x ( x τ ) β 1 v ( τ ) τ d τ , 0 < β 1 < 1 , v ( x ) x , β 1 = 1 ,
and ε , α 1 , α 2 , α 3 are positive parameters.
When α 1 = α 3 = α 4 = β 1 = 0 , α 2 = μ and β 2 = 1 , Equation (1) becomes the KdV equation,
v t + ε v v x + μ v x x x = 0 .
When ε = 3 2 , α 1 = 0 , α 2 = 1 6 , α 3 = ω 0 , β 1 = 0 and β 2 = 1 , Equation (1) is reduced to the gKdV equation [12],
v t ω 0 v x + 3 2 v v x + 1 6 v x x x = 0 .
When ε = α 3 = α 4 = 0 and β 1 = 1 , Equation (1) becomes the modified KdV(mKdV) equation,
v t + α 1 v 2 v x + α 2 v x x x = 0 ,
which has important applications in studying nonlinear optics [13,14], and quantum mechanics [15].
When ε = ε ( t ) , β 2 = 1 , α 1 = α 1 ( t ) , β 1 = 1 , α 2 = α 2 ( t ) , α 3 = α 3 ( t ) and α 1 ( t ) α 2 ( t ) 0 , Equation (1) becomes the generalized variable-coefficient KdV-modified KdV equation [16],
v t + ε ( t ) v v x + α 1 ( t ) v 2 v x + α 2 ( t ) v x x x + α 3 ( t ) v x = 0 .
Consulting materials in the literature, we discover that the numerical solutions of the space fractional vcKdV equation are rarely researched. Therefore, some numerical solutions of the vcKdV equation are given in this manuscript. From the numerical simulations and compared with other methods, it can be easily seen that our method has low computational complexity and higher precision.
This paper is organized as follows: In Section 2, we introduce the numerical method. Many numerical experiments are provided in Section 3. Section 4 concludes the paper.

2. Numerical Approximation Method

We use the Fourier spectral method [17,18,19] for spatial discretization. In order to standardize the space period [ a , b ] to [ 0 , 2 π ] , we use the transformations x 2 π ( x a ) L and L = b a . v is converted into a Fourier space with respect to x. We use Fast Fourier transform [20] to complete this operation. We use Fourier transform for Equation (1) in spatial domain,
v ^ t = ε F [ v F 1 ( ( i k ) β 2 v ^ ) ] α 1 F [ v 2 F 1 ( ( i k ) β 1 v ^ ) ] α 2 ( i k ) 3 v ^ α 3 ( i k v ^ ) , v ^ ( k , 0 ) = v ^ 0 ,
Let x j = j Δ x = 2 π L j N , N > 0 and N is an integer, L = b a , j = 0 , 1 , , N 1 . We use the discrete Fourier transform for v,
v ^ ( k , t ) = F ( v ) = 1 N j = 1 N 1 v ( x j , t ) e i k x j , N 2 k N 2 1 ,
and the inverse formula is
v ( x j , t ) = F 1 ( v ^ ) = k = N 2 N 2 1 v ^ ( k , t ) e i k x j , 0 j N 1 .
Next, the fourth-order Runge–Kutta method is used to solve the ordinary differential Equation (8),
k 1 = r ( t n , v ^ n ) , k 2 = r ( t n + τ 2 , v ^ n + τ k 1 2 ) , k 3 = r ( t n + τ 2 , v ^ n + τ k 2 2 ) , k 4 = r ( t n + τ , v ^ n + τ k 3 ) , v ^ n + 1 = v ^ n + τ 6 ( k 1 + 2 k 2 + 2 k 3 + k 4 ) ,
where τ is step-size and r ( t , v ^ ) = ε F [ v F 1 ( ( i k ) β 2 v ^ ) ] α 1 F [ v 2 F 1 ( ( i k ) β 1 v ^ ) ] α 2 ( i k ) 3 v ^ α 3 ( i k v ^ ) .
We mark
V = ( v ^ 0 ( k , t ) , v ^ 1 ( k , t ) , , v ^ N 1 ( k , t ) ) T , R ( t , V ) = ( r 0 ( t , v ^ 0 ( t ) ) , r 1 ( t , v ^ 0 ( t ) ) , , r N 1 ( t , v ^ N 1 ( t ) ) ) T , V 0 ( k ) = ( v ^ 00 ( k ) , v ^ 01 ( k ) , , v ^ 0 ( N 1 ) ( k ) ) T ,
where n = 1 , , T τ .
Equation (8) can be reduced to
V t = R ( t , V ) , V ( k , 0 ) = V 0 .
Then, we can obtain the solving formula [21]
k j 1 = r j ( t n , v ^ 0 , n , v ^ 1 , n , , v ^ N 1 , n ) , k j 2 = r j ( t n + h 2 , v ^ 0 , n + h k 01 2 , , v ^ N 1 , n + h k ( N 1 ) 1 2 ) , k j 3 = r j ( t n + h 2 , v ^ 0 , n + h k 02 2 , , v ^ N 1 , n + h k ( N 1 ) 2 2 ) , k j 4 = r j ( t n + h , v ^ 0 , n + h k 03 , , v ^ N 1 , n + h k ( N 1 ) 3 ) , v ^ j , n + 1 = v ^ j , n + h 6 ( k j 1 + 2 k j 2 + 2 k j 3 + k j 4 ) ,
where j = 0 , 1 , , N 1 .
Definition 1.
A class of the single-step method for solving an ordinary differential equation in the form of:
V n + 1 = V n + h ϕ ( V n , t n , h ) ,
where incremental function ϕ is determined by R ( t , V ) , that is a function of V n , t n , τ.
Theorem 1.
If ϕ ( V , t , τ ) satisfies the Lipschitz condition in V, then the numerical method that is given by Equation (15) is stable.
Proof. 
We refer the reader to [22,23,24] for the details of the proof. □
Lemma 1.
Let e n = V n V ( t n ) and D is constant [22]. If e n + 1 ( 1 + τ L ) e n + D , then
e n D ( 1 + τ L ) n τ L + ( 1 + τ L ) n e 0 D τ L ( e L T 1 ) + e L T e 0 .
Theorem 2.
If ϕ ( V , t , τ ) is a continuous function in V, t, τ, which satisfies the Lipschitz condition on 0 τ τ 0 , 0 t T , v i , then Equation (15) is convergent [22].
Theorem 3.
Let V ( t n ) be the analytical solution of problem (13) and V n is the numerical solution. If ϕ ( V , t , τ ) satisfies the Lipschitz condition on 0 τ τ 0 , 0 t T and Equation (15) is the fourth-order method, then the error estimate has the following form
e n e L T ( e 0 + c T τ 4 + L τ M 0 ) ,
where M 0 = m a x ( e 0 , e 1 , , e n 1 ) and L is lipschitz constant.
Proof. 
If Equation (15) is the fourth-order one-step method, then V ( t ) satisfies
V ( t n + 1 ) = V ( t n ) + τ ϕ ( t n , V ( t n ) , τ ) + O ( τ 5 ) .
By denoting e n = V ( t n ) V n , we have
e n + 1 e n e n + 1 e n = τ ϕ ( t n , V ( t n ) , τ ) ϕ ( t n , V n , τ ) + o ( τ 5 ) τ L e n + O ( τ 5 ) .
Summing over n, we get
e n e 0 τ L k = 0 n 1 e k + n c τ 5 ,
e n τ L k = 0 n 1 e k + c T τ 4 + e 0 .
Using the Gronwall inequality, we have
e n e L T ( e 0 + c T τ 4 + L τ M 0 ) .
Finally, we find the numerical solution using the inverse discrete Fourier transform [25].

3. Simulation Results

Numerical solutions of the space fractional vcKdV equation are obtained in this chapter. We use the error norms, L 2 , L and GRE (global relative error) to test the accuracy of the method: L 2 = 1 N j = 1 N [ v ( x j , t ) v * ( x j , t ) ] 2 , L = max 1 j N v ( x j , t ) v * ( x j , t ) , GRE = j = 1 N v ( x j , t ) v * ( x j , t ) j = 1 N v * ( x j , t ) , where v ( x j , t ) and v * ( x j , t ) are the numerical solution and analytical solution. The order of convergence in space is computed by
o r d e r = log v N ( x , t ) v * ( x , t ) v N 2 ( x , t ) v * ( x , t ) log 2 .
Example 1.
Let ε = 1 , β 2 = 1 and α 1 = α 3 = α 4 = β 1 = 0 in Equation (1). The initial value is as follows,
v ( x , 0 ) = 3 c ( s e c h 2 ( ( k x x 0 ) ) ,
with
k = 1 2 c α 2 , ω = c k ,
where c, x 0 are constant parameters.
Referring to the numerical experiment in [26,27,28,29,30], the analytical solution is as follows:
v * ( x , t ) = 3 c ( s e c h 2 ( ( k x ω t x 0 ) ) , 2 x 2 .
In this simulation, we set α 2 = 4.84 × 10 4 , c = 0.5 , x 0 = 6 , τ = 0.01 and N = 512 . By present method, the numerical results are given in Table 1. Table 2 and Table 3 show the absolute error by our numerical method, Hybrid method [26], B-spline method [27], ANS method [29], HBI method [30] at t = 0.005 , 0.01 . Then, we shall investigate the space fractional KdV equation. Table 4 shows comparison of L at different β 2 . For the space fractional KdV equation, we take (26) as reference solution because the analytical solution can not be obtained. Figure 1 and Figure 2 show the logarithm of absolute errors by present method, Hybrid numerical method [26], B-spline method [27], ANS method [29], HBI method [30] at the the selected notes for t = 0.005 , 0.01 , which shows that our numerical method has higher accuracy than other methods. Comparisons are made between numerical solutions and analytical solutions at t = 0 , 1 , 2 in Figure 3. Figure 4 presents absolute error at x = 2 . Numerical solutions at t = 1 , 2 and β 2 = 0.9, 0.99, 1 are plotted in Figure 5 and Figure 6. Numerical solutions at different β 2 are presented in Figure 7.
From Example 1, we know that our numerical method has higher accuracy than other methods for the one-soliton solution. Next, we will study the generalized vc KdV-mKdV equation and the influence of β 1 , β 2 on the numerical solution of this equation.
Example 2.
Let ε ( t ) = 6 , α 1 ( t ) = 0.06 , β 1 = 2 , β 2 = 1 , α 2 ( t ) = 0.01 , α 3 ( t ) = 15 cos π t 2 in Equation (1) and τ = 0.01 , N = 512 . The initial value is as follows,
v ( x , 0 ) = 202 Ψ exp ( x + 1 100 ) .
Wang [31] obtained one periodic depression soliton solution of the generalized vcKdV-mKdV equation,
v * ( x , t ) = 202 Ψ exp ( t 100 + 30 π sin π t 2 + x + 1 100 ) , 20 x 20 ,
with
Ψ = 20200 exp ( t 100 + 30 π sin π t 2 + x + 1 100 ) + 10001 exp ( 60 π sin π t 2 + 2 x + 1 50 ) + 10201 exp ( t 50 ) .
Table 5 shows L and G R E at different times. Table 6 shows numerical results. Figure 8, Figure 9 and Figure 10 represent numerical solution. Absolute errors at t = 3.4 , 3.5 , 3.6 are shown in Figure 11, Figure 12, Figure 13 and Figure 14 present absolute errors at x = 10 , 5 , 10 . From Figure 15 which shows the numerical solutions at different β 1 and β 2 , we can find that the change of β 1 and β 2 has minimal effect on the shape of periodic depression soliton.
From Example 2, we find that our numerical method has higher accuracy and low computational complexity than other methods for one periodic depression soliton solution of the generalized vc KdV-mKdV equation. Next, we will investigate the breather-type solution of the mKdV equation.
Example 3.
Let α 3 = α 4 = ε = 0 and β 1 = 1 in Equation (1).
Case I The initial value is as follows,
v ( x , 4 ) = ± 2 6 α 2 α 1 x arctan k 2 k 1 sin ( k 1 α 2 1 3 x ω 1 ( 4 ) ) cosh ( ω 2 ( 4 ) k 2 α 2 1 3 x ) , 20 x 20 ,
with
ω 1 = 3 k 2 2 k 1 k 1 3 , ω 2 = k 2 3 3 k 1 2 k 2 ,
where k 1 , k 2 are constant parameters.
The breather-type solution is as follows [33]:
v * ( x , t ) = ± 2 6 α 2 α 1 x arctan k 2 k 1 sin ( k 1 α 2 1 3 x ω 1 t ) cosh ( ω 2 t k 2 α 2 1 3 x ) .
In this simulation, we set α 1 = 1 , α 2 = 1 , k 1 = 0.5 , k 2 = 1 , τ = 0.01 and N = 512 . Table 7 gives the numerical results and Figure 16, Figure 17 and Figure 18 show the numerical solution. Figure 19 shows the absolute errors at t = 1 . The absolute error at x = 5 is plotted in Figure 20. Table 8 gives L 2 , L and GRE at different times. Then, we shall investigate the space fractional modified KdV equation. We take (32) as the analytical solution for the space fractional modified KdV equation. Figure 21 and Figure 22 show the numerical solutions at β 1 = 0.6 , 0.99 , 1 and t = 0 , 1 . Table 9 gives L at different β 1 . Figure 23 shows numerical solutions at different β 1 .
Case II The initial value is as follows,
v ( x , 2 ) = ± 2 6 α 2 α 1 x arctan k 2 k 1 sin ( k 1 α 2 1 3 x ω 1 ( 2 ) ) cosh ( ω 2 ( 2 ) k 2 α 2 1 3 x ) , 10 x 10 .
In this simulation, we set α 1 = 1 , α 2 = 1 , k 1 = 1 , k 2 = 2 , τ = 0.01 and N = 256 . Table 10 shows numerical results. Table 11 gives L 2 , L and GRE at different times. Absolute error at t = 1 is plotted in Figure 24. Figure 25 and Figure 26 show absolute errors at x = 5 , 5 . Figure 27 shows numerical solutions at β 1 = 0.9, 0.99, 1 and t = 0 . Table 12 presents L at different β 1 . Numerical solution at different β 1 are plotted in Figure 28. Figure 29, Figure 30 and Figure 31 present the numerical solution.
Through Example 3, we can obtain that if β 1 tends to 1, the numerical solution of the spatial fractional mKdV equation tends to the analytical solution of Equation (6); in addition, the numerical solution of the spatial fractional mKdV equation is very sensitive to a change in β 1 .

4. Conclusions

In this manuscript, we study the influence of β 1 , β 2 on the numerical solutions of the spatial fractional vcKdV equation. Comparisons are made between the present method and others methods; it can be easily seen that our method has low computational complexity and higher precision. Through Examples 1–3, we know that if β 1 , β 2 tends to 1, the numerical solution of the spatial fractional vcKdV equation tends to the analytical solution of the original equation. Through Example 3, the solutions of the space fractional KdV equation are very sensitive to a change in β 1 , β 2 . From Example 2, we can find that a change in β 1 and β 2 has a minimal effect on the shape of a periodic depression soliton. These results are consistent with the numerical simulation of other scholars [24,27,32].
All computations are performed by the MatlabR2017b software.

Author Contributions

Conceptualization, Y.-L.W.; methodology and software, Y.-L.W. and C.H.; data curation, formal analysis and funding acquisition, Y.-L.W.; writing—original draft and writing—review and editing, Y.-L.W. and C.H. All authors have read and agreed to the published version of the manuscript.

Funding

This paper is supported by the Natural Science Foundation of Inner Mongolia [2021MS01009] and the National Natural Science Foundation of China [11361037].

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data used to support the findings of this study are available from the corresponding author upon request.

Acknowledgments

The authors thank the reviewers for their valuable suggestions, which greatly improved the quality of the paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Korteweg, D.J.; Vries, G.D. On the change of form of long waves advancing in a rectangular canal and a new type of long stationary waves. Philos. Mag. 2011, 39, 422–443. [Google Scholar] [CrossRef]
  2. Ma, W.X. Linear superposition of Wronskian rational solutions to the KdV equation. Commun. Theor. Phys. 2021, 73, 5. [Google Scholar] [CrossRef]
  3. Lü, X.; Ma, W.X. Solitary waves with the Madelung fluid description: A generalized derivative nonlinear Schrödinger equation. Commun. Nonlinear Sci. 2016, 31, 40–46. [Google Scholar] [CrossRef]
  4. Wang, G.W. Symmetry analysis, analytical solutions and conservation laws of a generalized KdV-Burgers-Kuramoto equation and its fractional version. Fractals 2021, 29, 2150101. [Google Scholar] [CrossRef]
  5. Wang, G.W.; Liu, Y.X.; Wu, Y.B. Symmetry analysis for a seventh-order generalized KdV equation and its fractional version in fluid mechanics. Fractals 2020, 28, 2050044. [Google Scholar] [CrossRef]
  6. Wang, G.W.; Liu, X.Q.; Zhang, Y.Y. Lie symmetry analysis to the time fractional generalized fifth-order KdV equation. Commun. Nonlinear Sci. 2013, 18, 2321–2326. [Google Scholar] [CrossRef]
  7. Qin, Y.; Gao, Y.T.; Xin, Y. Bell Polynomial Approach and N-Soliton Solutions for a Coupled KdV-mKdV System. Commun. Theor. Phys. 2012, 58, 2321–2326. [Google Scholar] [CrossRef]
  8. Chen, S.J.; Lü, X.; Tang, X.F. Novel evolutionary behaviors of the mixed solutions to a generalized Burgers equation with variable coefficients. Commun. Nonlinear Sci. 2021, 95, 105628. [Google Scholar] [CrossRef]
  9. Yan, J.; Shu, C.W. A Local Discontinuous Galerkin Method for KdV Type Equations. SIAM J. Numer. Anal. 2002, 10, 769–791. [Google Scholar] [CrossRef]
  10. Jackaman, J.; Papamikos, G.; Pryer, T. The design of conservative finite element discretizations for the vectorial modified KdV equation. Appl. Numer. Math. 2019, 137, 230–251. [Google Scholar] [CrossRef]
  11. Brugnano, L.; Gurioli, G.; Sun, Y. Energy-conserving Hamiltonian Boundary Value Methods for the numerical solution of the Korteweg-de Vries equation. J. Comput. Appl. Math. 2018, 351, 117–135. [Google Scholar] [CrossRef]
  12. Geyer, A.; Quirchmayr, R. Shallow water equations for equatorial tsunami waves. Philos. Trans. R. Soc. A 2018, 376, 20170100. [Google Scholar] [CrossRef]
  13. El-Shamy, E.F. Dust ion acoustic solitary waves in a hot magnetized dusty plasma with charge fluctuations. Chaos Solitons Fractals 2005, 25, 665–674. [Google Scholar] [CrossRef]
  14. Smyth, N.F.; Worthy, A.L. Solitary wave evolution for mKdV equations. Wave Motion 1995, 21, 263–275. [Google Scholar] [CrossRef]
  15. Kundu, A. Exact bethe ansatz solution of nonultralocal quantum mKdV model. Mod. Phys. Lett. A 1995, 10, 2955–2966. [Google Scholar] [CrossRef]
  16. Vaneeva, O.; Kuriksha, O.; Sophocleous, C. Enhanced group classification of Gardner equations with time-dependent coefficients. Commun. Nonlinear Sci. 2015, 22, 1243–1251. [Google Scholar] [CrossRef]
  17. Gottlieb, D.; Orszag, S.A. Numerical Analysis of Spectral Methods: Theory and Application; Society for Industrial & Applied Mathematics: Philadelphia, PA, USA, 1977. [Google Scholar]
  18. Trefethen, L.N. Spectral Methods in MATLAB; Society for Industrial & Applied Mathematics: Philadelphia, PA, USA, 2000. [Google Scholar]
  19. Boyd, J.P. Chebyshev and Fourier Spectral Methods; Dover Publications: Mineola, NY, USA, 2001. [Google Scholar]
  20. Cooley, J.W.; Tukey, J.W. An algorithm for the machine calculation of complex fourier series. Math. Comput. 1965, 19, 297–301. [Google Scholar] [CrossRef]
  21. Tian, F.H. Discussion on convergence and stability of standard fourth order Runge–Kutta method. J. Liaoning Educ. Inst. 2003, 20, 57–58. [Google Scholar]
  22. Han, C.; Wang, Y.L.; Li, Z.Y. Numerical solutions of space fractional variable-coefficient KdV-modified KdV equation by Fourier spectral method. Fractals 2021, 29, 2150246. [Google Scholar] [CrossRef]
  23. Li, X.Y.; Han, C.; Wang, Y.L. Novel patterns in fractional-in-space nonlinear coupled FitzHugh-Nagumo models with Riesz fractional derivative. Fractal Fract. 2022, 6, 136. [Google Scholar] [CrossRef]
  24. Han, C.; Wang, Y.L.; Li, Z.Y. A high-precision numerical approach to solving space fractional Gray-Scott model. Appl. Math. Lett. 2022, 125, 107759. [Google Scholar] [CrossRef]
  25. Frigo, M.; Johnson, S.G. FFTW: An Adaptive Software Architecture for the FFT. In Proceedings of the International Conference on Acoustics, Speech & Signal Processing, Seattle, WA, USA, 15 May 1998; pp. 1381–1384. [Google Scholar]
  26. Kong, D.; Xu, Y.; Zheng, Z. A hybrid numerical method for the KdV equation by finite difference and sinc collocation method. Appl. Math. Comput. 2019, 355, 61–72. [Google Scholar] [CrossRef]
  27. Aksan, E.N.; Zde, A. Numerical solution of Korteweg-de Vries equation by Galerkin B-spline finite element method. Appl. Math. Comput. 2006, 175, 1256–1265. [Google Scholar] [CrossRef]
  28. Hao, S.Y.; Xie, S.S.; Yi, S.C. The Galerkin method for the kdv equation using a new basis of smooth piecewise cubic polynomials. Appl. Math. Comput. 2012, 218, 8659–8671. [Google Scholar] [CrossRef]
  29. ÖZer, S.; Kutluay, S. An analytical-numerical method for solving the Korteweg-de Vries equation. Appl. Math. Comput. 2005, 164, 789–797. [Google Scholar] [CrossRef]
  30. Kutluay, S.; Bahadir, A.R.; Zde, A. A small time solutions for the Korteweg-de Vries equation. Appl. Math. Comput. 2000, 107, 203–210. [Google Scholar] [CrossRef]
  31. Wang, P.; Tian, B.; Liu, W.J. Interactions of breathers and solitons of a generalized variable-coefficient Korteweg-de Vries-modified Korteweg-de Vries equation with symbolic computation. Eur. Phys. J. D 2012, 66, 233. [Google Scholar] [CrossRef]
  32. Lan, Z.Z.; Hu, W.Q.; Guo, B.L. General propagation lattice Boltzmann model for a variable-coefficient compound KdV-Burgers equation. Appl. Math. Model. 2019, 73, 695–714. [Google Scholar] [CrossRef]
  33. Xi, G.Z. Breather solution to mKdV equation by using variables Separation method. J. Hexi Univ. 2009, 25, 1–6. [Google Scholar]
Figure 1. Logarithm of absolute errors of v ( x , t ) at t = 0.005 for Example 1.
Figure 1. Logarithm of absolute errors of v ( x , t ) at t = 0.005 for Example 1.
Fractalfract 06 00207 g001
Figure 2. Logarithm of absolute errors of v ( x , t ) at t = 0.01 for Example 1.
Figure 2. Logarithm of absolute errors of v ( x , t ) at t = 0.01 for Example 1.
Fractalfract 06 00207 g002
Figure 3. Numerical solutions of v ( x , t ) obtained by the present method and analytical solutions at t = 0 , 1 , 2 for Example 1.
Figure 3. Numerical solutions of v ( x , t ) obtained by the present method and analytical solutions at t = 0 , 1 , 2 for Example 1.
Fractalfract 06 00207 g003
Figure 4. Absolute error of v ( x , t ) obtained by the present method at x = 2 for Example 1.
Figure 4. Absolute error of v ( x , t ) obtained by the present method at x = 2 for Example 1.
Fractalfract 06 00207 g004
Figure 5. Numerical solutions of vs. at t = 1 , β 2 = 0.9, 0.99, 1 for Example 1.
Figure 5. Numerical solutions of vs. at t = 1 , β 2 = 0.9, 0.99, 1 for Example 1.
Fractalfract 06 00207 g005
Figure 6. Numerical solutions of vs. at t = 2 , β 2 = 0.9, 0.99, 1 for Example 1.
Figure 6. Numerical solutions of vs. at t = 2 , β 2 = 0.9, 0.99, 1 for Example 1.
Fractalfract 06 00207 g006
Figure 7. Numerical solutions of vs. at different β 2 for Example 1.
Figure 7. Numerical solutions of vs. at different β 2 for Example 1.
Fractalfract 06 00207 g007
Figure 8. Numerical solution of v ( x , t ) obtained by the present method for Example 2.
Figure 8. Numerical solution of v ( x , t ) obtained by the present method for Example 2.
Fractalfract 06 00207 g008
Figure 9. 2D contour plot of v ( x , t ) obtained by the present method for Example 2.
Figure 9. 2D contour plot of v ( x , t ) obtained by the present method for Example 2.
Fractalfract 06 00207 g009
Figure 10. 2D density plot of v ( x , t ) obtained by the present method for Example 2.
Figure 10. 2D density plot of v ( x , t ) obtained by the present method for Example 2.
Fractalfract 06 00207 g010
Figure 11. Absolute errors of v ( x , t ) obtained by the present method at t = 3.4, 3.5, 3.6 for Example 2.
Figure 11. Absolute errors of v ( x , t ) obtained by the present method at t = 3.4, 3.5, 3.6 for Example 2.
Fractalfract 06 00207 g011
Figure 12. Absolute error of v ( x , t ) obtained by the present method at x = 10 for Example 2.
Figure 12. Absolute error of v ( x , t ) obtained by the present method at x = 10 for Example 2.
Fractalfract 06 00207 g012
Figure 13. Absolute error of v ( x , t ) obtained by the present method at x = 5 for Example 2.
Figure 13. Absolute error of v ( x , t ) obtained by the present method at x = 5 for Example 2.
Fractalfract 06 00207 g013
Figure 14. Absolute error of v ( x , t ) obtained by the present method at x = 10 for Example 2.
Figure 14. Absolute error of v ( x , t ) obtained by the present method at x = 10 for Example 2.
Fractalfract 06 00207 g014
Figure 15. Numerical solutions of vs. at different β 1 , β 2 for Example 2.
Figure 15. Numerical solutions of vs. at different β 1 , β 2 for Example 2.
Fractalfract 06 00207 g015
Figure 16. Numerical solution at α 1 = 1 , α 2 = 1 , k 1 = 0.5 , k 2 = 1 for Example 3.
Figure 16. Numerical solution at α 1 = 1 , α 2 = 1 , k 1 = 0.5 , k 2 = 1 for Example 3.
Fractalfract 06 00207 g016
Figure 17. 2D contour plot at α 1 = 1 , α 2 = 1 , k 1 = 0.5 , k 2 = 1 for Example 3.
Figure 17. 2D contour plot at α 1 = 1 , α 2 = 1 , k 1 = 0.5 , k 2 = 1 for Example 3.
Fractalfract 06 00207 g017
Figure 18. 2D density plot at α 1 = 1 , α 2 = 1 , k 1 = 0.5 , k 2 = 1 for Example 3.
Figure 18. 2D density plot at α 1 = 1 , α 2 = 1 , k 1 = 0.5 , k 2 = 1 for Example 3.
Fractalfract 06 00207 g018
Figure 19. Absolute error at α 1 = 1 , α 2 = 1 , k 1 = 0.5 , k 2 = 1 , t = 1 for Example 3.
Figure 19. Absolute error at α 1 = 1 , α 2 = 1 , k 1 = 0.5 , k 2 = 1 , t = 1 for Example 3.
Fractalfract 06 00207 g019
Figure 20. Absolute error at α 1 = 1 , α 2 = 1 , k 1 = 0.5 , k 2 = 1 , x = 5 for Example 3.
Figure 20. Absolute error at α 1 = 1 , α 2 = 1 , k 1 = 0.5 , k 2 = 1 , x = 5 for Example 3.
Fractalfract 06 00207 g020
Figure 21. Numerical solutions of vs. at t = 0 , β 1 = 0.9, 0.99, 1 , α 1 = 1 , α 2 = 1 , k 1 = 0.5 , k 2 = 1 for Example 3.
Figure 21. Numerical solutions of vs. at t = 0 , β 1 = 0.9, 0.99, 1 , α 1 = 1 , α 2 = 1 , k 1 = 0.5 , k 2 = 1 for Example 3.
Fractalfract 06 00207 g021
Figure 22. Numerical solutions of vs. at t = 1 , β 1 = 0.9, 0.99, 1 , α 1 = 1 , α 2 = 1 , k 1 = 1 , k 2 = 2 for Example 3.
Figure 22. Numerical solutions of vs. at t = 1 , β 1 = 0.9, 0.99, 1 , α 1 = 1 , α 2 = 1 , k 1 = 1 , k 2 = 2 for Example 3.
Fractalfract 06 00207 g022
Figure 23. Numerical solutions at α 1 = 1 , α 2 = 1 , k 1 = 0.5 , k 2 = 1 and different β 1 for Example 3.
Figure 23. Numerical solutions at α 1 = 1 , α 2 = 1 , k 1 = 0.5 , k 2 = 1 and different β 1 for Example 3.
Fractalfract 06 00207 g023aFractalfract 06 00207 g023b
Figure 24. Absolute error at t = 1 , α 1 = 1 , α 2 = 1 , k 1 = 1 , k 2 = 2 for Case II.
Figure 24. Absolute error at t = 1 , α 1 = 1 , α 2 = 1 , k 1 = 1 , k 2 = 2 for Case II.
Fractalfract 06 00207 g024
Figure 25. Absolute error at x = 5 , α 1 = 1 , α 2 = 1 , k 1 = 1 , k 2 = 2 for Case II.
Figure 25. Absolute error at x = 5 , α 1 = 1 , α 2 = 1 , k 1 = 1 , k 2 = 2 for Case II.
Fractalfract 06 00207 g025
Figure 26. Absolute error at x = 5 , α 1 = 1 , α 2 = 1 , k 1 = 1 , k 2 = 2 for Case II.
Figure 26. Absolute error at x = 5 , α 1 = 1 , α 2 = 1 , k 1 = 1 , k 2 = 2 for Case II.
Fractalfract 06 00207 g026
Figure 27. Numerical solutions of vs. at β 1 = 0.9, 0.99, 1 , t = 0 , α 1 = 1 , α 2 = 1 , k 1 = 1 , k 2 = 2 for Case II.
Figure 27. Numerical solutions of vs. at β 1 = 0.9, 0.99, 1 , t = 0 , α 1 = 1 , α 2 = 1 , k 1 = 1 , k 2 = 2 for Case II.
Fractalfract 06 00207 g027
Figure 28. Numerical solutions of vs. at different β 1 , α 1 = 1 , α 2 = 1 , k 1 = 1 , k 2 = 2 for Case II.
Figure 28. Numerical solutions of vs. at different β 1 , α 1 = 1 , α 2 = 1 , k 1 = 1 , k 2 = 2 for Case II.
Fractalfract 06 00207 g028aFractalfract 06 00207 g028b
Figure 29. Numerical solution of vs. at α 1 = 1 , α 2 = 1 , k 1 = 1 , k 2 = 2 for Case II.
Figure 29. Numerical solution of vs. at α 1 = 1 , α 2 = 1 , k 1 = 1 , k 2 = 2 for Case II.
Fractalfract 06 00207 g029
Figure 30. 2D contour plot of vs. at α 1 = 1 , α 2 = 1 , k 1 = 1 , k 2 = 2 for Case II.
Figure 30. 2D contour plot of vs. at α 1 = 1 , α 2 = 1 , k 1 = 1 , k 2 = 2 for Case II.
Fractalfract 06 00207 g030
Figure 31. 2D density plot of vs. at α 1 = 1 , α 2 = 1 , k 1 = 1 , k 2 = 2 for Example 3.
Figure 31. 2D density plot of vs. at α 1 = 1 , α 2 = 1 , k 1 = 1 , k 2 = 2 for Example 3.
Fractalfract 06 00207 g031
Table 1. Spatial numerical errors L , L 2 and their corresponding convergence rates at t = 0.001 for Example 1.
Table 1. Spatial numerical errors L , L 2 and their corresponding convergence rates at t = 0.001 for Example 1.
N L O r d e r L 2 O r d e r
32 7.3429× 10 4 4.1640× 10 4
64 6.9269× 10 4 N 0.0842 2.4502× 10 4 N 0.7651
128 2.6108× 10 5 N 4.7297 8.3098× 10 6 N 4.8819
256 1.1068× 10 9 N 14.5257 3.8198× 10 10 N 14.4090
512 1.0904× 10 10 N 3.3436 3.2646× 10 11 N 3.5486
Table 2. Comparison of absolute errors at t = 0.005 .
Table 2. Comparison of absolute errors at t = 0.005 .
xAbsolute Error
HBI [30] ANS [29] Hybrid [26]B–Spline [27]Present Method
0.1 9.7700× 10 6 2.0000× 10 8 1.5900× 10 6 1.1900× 10 6 8.0000× 10 8
0.5 6.7880× 10 3 5.2021× 10 4 4.8032× 10 4 6.5700× 10 5 1.0000× 10 8
0.6 5.8627× 10 3 4.9210× 10 5 1.1316× 10 4 1.8600× 10 5 1.9000× 10 7
0.7 5.9116× 10 4 3.6400× 10 6 1.3030× 10 5 1.6500× 10 6 1.0000× 10 8
0.8 4.9840× 10 5 6.4000× 10 7 1.4100× 10 6 1.3000× 10 7 1.0000× 10 8
0.9 4.1400× 10 6 5.0000× 10 8 1.2000× 10 7 1.0000× 10 8 1.0000× 10 8
1.0 3.5000× 10 7 1.0000× 10 8 1.0000× 10 8 0.0000 1.0000× 10 8
Table 3. Comparison of absolute errors at t = 0.01 .
Table 3. Comparison of absolute errors at t = 0.01 .
xAbsolute Error
HBI [30] ANS [29] Hybrid [26]B–Spline [27]Present Method
0.2 2.3064× 10 4 1.7400× 10 6 5.0200× 10 6 7.2000× 10 7 8.0000× 10 8
0.5 1.3048× 10 2 9.8242× 10 4 8.9174× 10 4 1.1370× 10 4 6.0000× 10 8
0.6 1.1900× 10 2 5.5860× 10 5 2.3296× 10 4 3.5900× 10 5 1.9000× 10 7
0.7 1.2044× 10 3 7.4500× 10 6 2.5860× 10 5 4.0100× 10 6 5.0000× 10 8
0.8 1.0158× 10 4 1.3900× 10 6 2.9200× 10 6 3.4000× 10 7 4.0000× 10 8
0.9 8.4300× 10 6 1.2000× 10 7 2.5000× 10 7 3.0000× 10 8 4.0000× 10 8
1.0 7.0000× 10 7 1.0000× 10 8 3.0000× 10 8 0.0000 4.0000× 10 8
Table 4. Comparison of L of v ( x , t ) at α 1 = 1 , α 2 = 1 , k 1 = 0.5 , k 2 = 1 for Example 1.
Table 4. Comparison of L of v ( x , t ) at α 1 = 1 , α 2 = 1 , k 1 = 0.5 , k 2 = 1 for Example 1.
t β 1 = 0.9999 β 1 = 0.99999 β 1 = 0.999999 β 1 = 0.9999999 β 1 = 1
1.0 3.7351 × 10 3 3.7415 × 10 4 3.6993 × 10 5 4.0937× 10 6 2.0209× 10 6
1.5 6.9479× 10 3 6.9721× 10 4 7.0101× 10 5 7.4340× 10 6 1.2061× 10 6
2.0 1.1371× 10 2 1.1409× 10 3 1.1363× 10 4 1.1542× 10 5 8.8914× 10 7
2.5 1.6674× 10 2 1.6785× 10 3 1.6737× 10 4 1.6364× 10 5 8.7256× 10 7
3.0 2.2625× 10 2 2.2826× 10 3 2.2962× 10 4 2.4065× 10 5 1.1692× 10 6
Table 5. Error norms L and GRE at different times for Example 2.
Table 5. Error norms L and GRE at different times for Example 2.
L GRE
Present Method Ref. [32] Present MethodRef. [32]
t = 1.0 8.2189× 10 7 5.1096× 10 6 2.9499× 10 4 7.4281× 10 4
t = 2.0 9.0010× 10 7 7.3044× 10 6 4.1717× 10 4 1.2207× 10 3
t = 3.0 1.0152× 10 6 1.1358× 10 5 5.2455× 10 4 1.8416× 10 3
t = 4.0 9.2295× 10 7 1.4313× 10 5 6.8842× 10 4 2.4443× 10 3
Table 6. Numerical results of v ( x , t ) obtained by the present method at t = 1 for Example 2.
Table 6. Numerical results of v ( x , t ) obtained by the present method at t = 1 for Example 2.
xAnalytical SolutionNumerical SolutionAbsolute Error
13.75 0.0003 0.0003 1.9412× 10 9
12.5 0.0009 0.0009 6.7763× 10 9
11.25 0.0026 0.0026 1.3403× 10 8
10 0.0047 0.0047 1.9307× 10 9
8.75 0.0043 0.0043 3.8465× 10 8
7.5 0.0020 0.0020 1.6845× 10 8
6.25 0.0007 0.0007 2.2970× 10 8
5 0.0002 0.0002 3.6866× 10 9
Table 7. Numerical results of v ( x , t ) at t = 1 , α 1 = 1 , α 2 = 1 , k 1 = 0.5 , k 2 = 1 for Case I.
Table 7. Numerical results of v ( x , t ) at t = 1 , α 1 = 1 , α 2 = 1 , k 1 = 0.5 , k 2 = 1 for Case I.
xAnalytical SolutionNumerical SolutionAbsolute Error
10.0 0.0003 0.0003 4.7709× 10 9
7.5 0.0094 0.0094 1.7568× 10 8
5.0 0.0306 0.0306 1.7562× 10 8
2.5 1.1357 1.1357 4.1767× 10 9
0 0.2941 0.2941 2.4809× 10 8
2.5 1.2591 1.2591 6.0335× 10 8
5.0 0.1163 0.1163 7.8856× 10 8
7.5 0.0147 0.0147 5.0883× 10 8
Table 8. Error norms, L 2 , L and GRE at α 1 = 1 , α 2 = 1 , k 1 = 0.5 , k 2 = 1 for Example 3.
Table 8. Error norms, L 2 , L and GRE at α 1 = 1 , α 2 = 1 , k 1 = 0.5 , k 2 = 1 for Example 3.
t = 0 t = 1.0 t = 2.0 t = 3.0 t = 4.0
L 2 4.3364× 10 7 4.1878× 10 8 3.6983× 10 7 7.3778× 10 7 7.7441× 10 7
L 5.0048× 10 7 9.0930× 10 8 4.5768× 10 7 8.1363× 10 7 8.4852× 10 7
G R E 1.5727× 10 6 1.1964× 10 7 1.3157× 10 6 2.6396× 10 6 2.7113× 10 6
Table 9. Comparison of L of v ( x , t ) at α 1 = 1 , α 2 = 1 , k 1 = 0.5 , k 2 = 1 for Example 3.
Table 9. Comparison of L of v ( x , t ) at α 1 = 1 , α 2 = 1 , k 1 = 0.5 , k 2 = 1 for Example 3.
t β 1 = 0.999999 β 1 = 0.9999999 β 1 = 0.99999999 β 1 = 0.999999999 β 1 = 1
2 1.7658× 10 3 1.7716× 10 4 1.8260× 10 5 2.3703× 10 6 1.2617× 10 6
1 1.8815× 10 3 1.8875× 10 4 1.9565× 10 5 2.6702× 10 6 9.2254× 10 7
0 5.4293× 10 3 5.4241× 10 4 5.3860× 10 5 5.7137× 10 6 5.0048× 10 7
1 6.9070× 10 3 6.9092× 10 4 6.9067× 10 5 6.8848× 10 6 9.0930× 10 8
2 9.6478× 10 3 9.6405× 10 4 9.6092× 10 5 9.9524× 10 6 5.5768× 10 6
Table 10. Numerical results of v ( x , t ) at α 1 = 1 , α 2 = 1 , k 1 = 1 , k 2 = 2 , t = 0 for Case II.
Table 10. Numerical results of v ( x , t ) at α 1 = 1 , α 2 = 1 , k 1 = 1 , k 2 = 2 , t = 0 for Case II.
xAnalytical SolutionNumerical SolutionAbsolute Error
5.625 0.0005 0.0005 9.8195× 10 7
5.0 0.0020 0.0020 1.5196× 10 6
3.75 0.0035 0.0035 1.0557× 10 6
1.875 1.0078 1.0078 1.2865× 10 6
1.25 2.2706 2.2706 1.9922× 10 6
0 9.7980 9.7980 1.6831× 10 5
1.25 2.2706 2.2706 2.1611× 10 6
1.875 1.0078 1.0078 1.6041× 10 6
3.75 0.0035 0.0035 1.5075× 10 6
Table 11. Error norms, L 2 , L and GRE at α 1 = 1 , α 2 = 1 , k 1 = 1 , k 2 = 2 for Example 3.
Table 11. Error norms, L 2 , L and GRE at α 1 = 1 , α 2 = 1 , k 1 = 1 , k 2 = 2 for Example 3.
t = 2 t = 1 t = 0 t = 1 t = 2
L 2 4.0774× 10 16 8.5229× 10 7 2.7727× 10 6 1.6213× 10 6 1.5889× 10 6
L 1.7764× 10 15 2.1440× 10 6 1.6831× 10 5 3.5398× 10 6 2.5029× 10 6
G R E 5.2480× 10 16 1.3009× 10 6 3.2589× 10 6 2.7586× 10 6 2.7296× 10 6
Table 12. Comparison of L of v ( x , t ) at α 1 = 1 , α 2 = 1 , k 1 = 1 , k 2 = 2 for Example 3.
Table 12. Comparison of L of v ( x , t ) at α 1 = 1 , α 2 = 1 , k 1 = 1 , k 2 = 2 for Example 3.
t β 1 = 0.9999999 β 1 = 0.99999999 β 1 = 0.99999999 β 1 = 0.9999999999 β 1 = 1
1 3.8303× 10 3 3.8396× 10 4 3.9336× 10 5 4.8743× 10 6 2.1440× 10 6
0 1.6335× 10 2 1.6269× 10 3 1.7066× 10 4 2.7020× 10 5 1.6831× 10 5
1 3.7859× 10 2 3.7830× 10 3 3.7557× 10 4 3.8415× 10 5 3.5398× 10 6
2 5.7068× 10 2 5.7102× 10 3 5.6925× 10 4 5.6869× 10 5 2.5029× 10 6
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Han, C.; Wang, Y.-L. Numerical Solutions of Variable-Coefficient Fractional-in-Space KdV Equation with the Caputo Fractional Derivative. Fractal Fract. 2022, 6, 207. https://doi.org/10.3390/fractalfract6040207

AMA Style

Han C, Wang Y-L. Numerical Solutions of Variable-Coefficient Fractional-in-Space KdV Equation with the Caputo Fractional Derivative. Fractal and Fractional. 2022; 6(4):207. https://doi.org/10.3390/fractalfract6040207

Chicago/Turabian Style

Han, Che, and Yu-Lan Wang. 2022. "Numerical Solutions of Variable-Coefficient Fractional-in-Space KdV Equation with the Caputo Fractional Derivative" Fractal and Fractional 6, no. 4: 207. https://doi.org/10.3390/fractalfract6040207

APA Style

Han, C., & Wang, Y. -L. (2022). Numerical Solutions of Variable-Coefficient Fractional-in-Space KdV Equation with the Caputo Fractional Derivative. Fractal and Fractional, 6(4), 207. https://doi.org/10.3390/fractalfract6040207

Article Metrics

Back to TopTop