Professional Documents
Culture Documents
Solution of KDV Equation by Computer Algebra: He Ping, Chen Zheng, Fu Jun
Solution of KDV Equation by Computer Algebra: He Ping, Chen Zheng, Fu Jun
Solution of KDV Equation by Computer Algebra: He Ping, Chen Zheng, Fu Jun
www.elsevier.com/locate/amc
a
Physics Department, Guangxi Teachers University, 19 MingXiu Road, Nanning,
Guangxi 530001, China
b
Nanning New & High-Tech Industrial Development Zone, Nanning, Guangxi 530002, China
c
Physics Department, Hainan Teachers University, Haikou 571158, China
Abstract
In this paper we use the real exponential approach by draw up Mathematica pro-
gram to calculate the KdV (Korteweg–de Vries) equation. We get the same soliton
solutions as conventional analytical methods of nonlinear equation.
Ó 2002 Elsevier Science Inc. All rights reserved.
Keywords: Computer algebra; KdV equation; Real exponential approach; Soliton solutions
1. Introduction
*
Corresponding author.
E-mail addresses: hp8827@263.net, heping@webmail.gxtc.edu.cn (H. Ping).
0096-3003/02/$ - see front matter Ó 2002 Elsevier Science Inc. All rights reserved.
PII: S 0 0 9 6 - 3 0 0 3 ( 0 2 ) 0 0 0 7 6 - 0
512 H. Ping et al. / Appl. Math. Comput. 136 (2003) 511–515
Real exponential approach was put forward by Korpel in 1978. Later this
method was developed to solve the nonlinear equation by Hereman et al. [6],
etc. In this method series solution of linear equation was used to express so-
lution of nonlinear equation. Putting the solution of equation into nonlinear
equation, then decompound nonlinear equation to compare the coefficients gn .
We can get the expression of series coefficients an . It is difficult to directly use
real exponential approach to calculate nonlinear equation because it is not easy
to get a general term of the series coefficient. We use the real exponential ap-
proach by making Mathematica program to solve series coefficient of equation
and the general term of an is convenient to obtain. We adopt LogicalExpand
function to realize this process in making program. This method can reduce
calculating quantity and raise calculating velocity.
X
1
u ¼ a0 þ an gn ðg > 1Þ; ð3Þ
n¼1
where we use CauchyÕs rule [6] to get formula (8). According to recursion re-
lations (5)–(8), we can get expression of an about a1 :
k2
an ¼ 12 ð1Þðnþ1Þ nan ; ð9Þ
a
where
a1 a
x ¼ k3; a¼ :
12k 2
Putting (9) into (2), we get
12k 2 ag
u¼ 2
: ð10Þ
að1 þ agÞ
Formula (10) was used following the formula:
2
X
1
nþ1
ð1 þ xÞ ¼ ð1Þ nxn1 : ð11Þ
n¼1
514 H. Ping et al. / Appl. Math. Comput. 136 (2003) 511–515
Fig. 1. k ¼ 1:25, t ¼ 0, a ¼ 1.
Putting
ag ¼ aeðkxþxtÞ ¼ eðkxþxtþln aÞ ð12Þ
into formula (10), we get
3k 2 1
u¼ sech2 ðkx xtÞ : ð13Þ
a 2
Formula (13) is soliton solution of KdV equation under zero boundary
condition. Fig. 1 is its graph drawing up by Mathematica program.
Fig. 2. k ¼ 1:25, t ¼ 0, a ¼ 1.
References
[1] B.-L. Guo, Nonlinear Evolution Equation [M], Shanghai Science and Technology Press,
Shanghai, 1996.
[2] S.-K. Liu, S.-D. Liu, Nonlinear Equation in Physics [M], Peking University Press, Peking, 2000.
[3] L.-Y. Zhuo et al., Nonlinear Physics Threoy and Application [M], Science Press, Peking, 2000.
[4] R.M. Miura (Ed.), Backlaund Transformation C, Springer Lecture Notes in Mathematica, vol.
515, Springer, New York, 1976.
[5] W.R. Rogerscand Shaduick, Backland Transformation and their Applications, Academic Press,
New York, 1982.
[6] W. Hereman, P.P. Banerjee, A. Korpel, G. Assanto, A. Immerzeele, A. Vanand, Meepeel,
Physica A 19 (1986) 607–628.