conlaw.rlg 32 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462
  1. Sun Jan 3 23:54:59 MET 1999
  2. REDUCE 3.7, 15-Jan-99 ...
  3. 1: 1:
  4. 2: 2: 2: 2: 2: 2: 2: 2: 2:
  5. 3: 3: off echo, dfprint$
  6. If you want to see more details of the following calculation then
  7. change in the file `conlaw.tst' the line
  8. lisp(print_:=nil)$
  9. into
  10. lisp(print_:=10)$
  11. **************************************************************************
  12. The following example calculates all conservation laws of the KdV-
  13. equation with a characteristic function of order not higher than two
  14. --------------------------------------------------------------------------
  15. This is CONLAW3 - a program for calculating conservation laws of DEs
  16. The DE under investigation is :
  17. df(u,t)=df(u,x,3) + df(u,x)*u
  18. for the function(s): {u}
  19. ======================================================
  20. Currently conservation laws with characteristic
  21. function(s) of order 0 are determined
  22. ======================================================
  23. Conservation law:
  24. ( 1 ) * ( df(u,t) - df(u,x,3) - df(u,x)*u )
  25. =
  26. df( u, t )
  27. +
  28. 2
  29. - 2*df(u,x,2) - u
  30. df( ---------------------, x )
  31. 2
  32. ======================================================
  33. Conservation law:
  34. ( t*u + x ) * ( df(u,t) - df(u,x,3) - df(u,x)*u )
  35. =
  36. 2
  37. t*u + 2*u*x
  38. df( --------------, t )
  39. 2
  40. +
  41. 2 3
  42. df( ( - 6*df(u,x,2)*t*u - 6*df(u,x,2)*x + 3*df(u,x) *t + 6*df(u,x) - 2*t*u
  43. 2
  44. - 3*u *x)/6, x )
  45. ======================================================
  46. Conservation law:
  47. ( u ) * ( df(u,t) - df(u,x,3) - df(u,x)*u )
  48. =
  49. 2
  50. u
  51. df( ----, t )
  52. 2
  53. +
  54. 2 3
  55. - 6*df(u,x,2)*u + 3*df(u,x) - 2*u
  56. df( --------------------------------------, x )
  57. 6
  58. ======================================================
  59. Currently conservation laws with characteristic
  60. function(s) of order 1 are determined
  61. ======================================================
  62. There is no conservation law of this order.
  63. ======================================================
  64. Currently conservation laws with characteristic
  65. function(s) of order 2 are determined
  66. ======================================================
  67. Conservation law:
  68. 2
  69. ( - 2*df(u,x,2) - u ) * ( df(u,t) - df(u,x,3) - df(u,x)*u )
  70. =
  71. 2 3
  72. 3*df(u,x) - u
  73. df( -----------------, t )
  74. 3
  75. +
  76. 2 2 4
  77. - 8*df(u,t)*df(u,x) + 4*df(u,x,2) + 4*df(u,x,2)*u + u
  78. df( -----------------------------------------------------------, x )
  79. 4
  80. ======================================================
  81. **************************************************************************
  82. The next example demonstrates that one can specify an ansatz
  83. for the characteristic function of one or more equations of the
  84. PDE-system. In this example all conservation laws of the wave
  85. equation which is written as a first order system are calculated
  86. such that the characteristic functions of the first of both
  87. equations is proportional to df(u,x,2). (This will include zero
  88. as it is a multiple of df(u,x,2) too.)
  89. --------------------------------------------------------------------------
  90. This is CONLAW2 - a program for calculating conservation laws of DEs
  91. The DEs under investigation are :
  92. df(u,t)=df(v,x)
  93. df(v,t)=df(u,x)
  94. for the function(s): {u,v}
  95. ======================================================
  96. A special ansatz of order 2 for the characteristic
  97. function(s) is investigated.
  98. Conservation law:
  99. (df(u,x,2)) * (df(u,t) - df(v,x))
  100. +
  101. (df(v,x,2)) * ( - df(u,x) + df(v,t))
  102. =
  103. 2 2
  104. - df(u,x) - df(v,x)
  105. df( ------------------------, t )
  106. 2
  107. +
  108. df( df(u,t)*df(u,x) - df(u,x)*df(v,x) + df(v,t)*df(v,x), x )
  109. ======================================================
  110. **************************************************************************
  111. For the Burgers equation the following example finds all conservation
  112. laws of zero'th order in the characteristic function up to the solution
  113. of the linear heat equation. This is an example for what happens when not
  114. all conditions could be solved, but it is also an example which shows
  115. that not only characteristic functions of polynomial or rational form
  116. can be found.
  117. --------------------------------------------------------------------------
  118. This is CONLAW1 - a program for calculating conservation laws of DEs
  119. The DE under investigation is :
  120. 2
  121. 2*df(u,x,2) + df(u,x)
  122. df(u,t)=------------------------
  123. 2
  124. for the function(s): {u}
  125. ======================================================
  126. Currently conservation laws with a conserved density
  127. of order 0 are determined
  128. ======================================================
  129. The function c_132(x,t) is not constant!
  130. There are remaining conditions: {df(c_132,t) + df(c_132,x,2)}
  131. for the functions: c_132(x,t)
  132. Corresponding CLs might not be shown below as they
  133. could be of too low order.
  134. ======================================================
  135. Conservation law:
  136. 2
  137. u/2 2*df(u,t) - 2*df(u,x,2) - df(u,x)
  138. ( e *c_132 ) * ( ------------------------------------ )
  139. 2
  140. =
  141. u/2
  142. df( 2*e *c_132, t )
  143. +
  144. u/2 u/2
  145. df( 2*e *df(c_132,x) - e *df(u,x)*c_132, x )
  146. ======================================================
  147. **************************************************************************
  148. In this example all conservation laws of the Ito system are calculated
  149. that have a conserved density of order not higher than one.
  150. This is a further example of non-polynomial conservation laws.
  151. --------------------------------------------------------------------------
  152. This is CONLAW1 - a program for calculating conservation laws of DEs
  153. The DEs under investigation are :
  154. df(u,t)=df(u,x,3) + 6*df(u,x)*u + 2*df(v,x)*v
  155. df(v,t)=2*df(u,x)*v + 2*df(v,x)*u
  156. for the function(s): {u,v}
  157. ======================================================
  158. Currently conservation laws with a conserved density
  159. of order 0 are determined
  160. ======================================================
  161. Conservation law:
  162. ( 0 ) * ( - 2*df(u,x)*v + df(v,t) - 2*df(v,x)*u )
  163. +
  164. ( 1 ) * ( df(u,t) - df(u,x,3) - 6*df(u,x)*u - 2*df(v,x)*v )
  165. =
  166. df( u, t )
  167. +
  168. 2 2
  169. df( - df(u,x,2) - 3*u - v , x )
  170. ======================================================
  171. Conservation law:
  172. ( 2*v ) * ( - 2*df(u,x)*v + df(v,t) - 2*df(v,x)*u )
  173. +
  174. ( 2*u ) * ( df(u,t) - df(u,x,3) - 6*df(u,x)*u - 2*df(v,x)*v )
  175. =
  176. 2 2
  177. df( u + v , t )
  178. +
  179. 2 3 2
  180. df( - 2*df(u,x,2)*u + df(u,x) - 4*u - 4*u*v , x )
  181. ======================================================
  182. Conservation law:
  183. ( -1 ) * ( - 2*df(u,x)*v + df(v,t) - 2*df(v,x)*u )
  184. +
  185. ( 0 ) * ( df(u,t) - df(u,x,3) - 6*df(u,x)*u - 2*df(v,x)*v )
  186. =
  187. df( - v, t )
  188. +
  189. df( 2*u*v, x )
  190. ======================================================
  191. Currently conservation laws with a conserved density
  192. of order 1 are determined
  193. ======================================================
  194. Conservation law:
  195. 2 2
  196. - 2*df(v,x,2)*v + 3*df(v,x) + 4*u*v
  197. ( ---------------------------------------- ) * ( - 2*df(u,x)*v + df(v,t)
  198. 4
  199. v
  200. - 2*df(v,x)*u )
  201. +
  202. - 4
  203. ( ------ ) * ( df(u,t) - df(u,x,3) - 6*df(u,x)*u - 2*df(v,x)*v )
  204. v
  205. =
  206. 2 2
  207. df(v,x) - 4*u*v
  208. df( -------------------, t )
  209. 3
  210. v
  211. +
  212. 2 2
  213. df( (4*df(u,x,2)*v + 4*df(u,x)*df(v,x)*v - 2*df(v,t)*df(v,x) + 2*df(v,x) *u
  214. 2 2 4 3
  215. + 8*u *v + 8*v )/v , x )
  216. ======================================================
  217. Conservation law:
  218. ( - 4*u*v ) * ( - 2*df(u,x)*v + df(v,t) - 2*df(v,x)*u )
  219. +
  220. 2 2
  221. ( - 2*df(u,x,2) - 6*u - 2*v ) * ( df(u,t) - df(u,x,3) - 6*df(u,x)*u
  222. - 2*df(v,x)*v )
  223. =
  224. 2 3 2
  225. df( df(u,x) - 2*u - 2*u*v , t )
  226. +
  227. 2 2 2 4
  228. df( - 2*df(u,t)*df(u,x) + df(u,x,2) + 6*df(u,x,2)*u + 2*df(u,x,2)*v + 9*u
  229. 2 2 4
  230. + 10*u *v + v , x )
  231. ======================================================
  232. **************************************************************************
  233. In the next example the 5th order Korteweg - de Vries equation is
  234. investigated concerning conservation laws of order 0 and 1 in the
  235. conserved density P_t. Parameters a,b,c in the PDE are determined
  236. such that conservation laws exist. This complicates the problem by
  237. making it non-linear with a number of cases to be considered.
  238. Some of the subcases below can be combined to reduce their number
  239. which currently is not done automatically.
  240. --------------------------------------------------------------------------
  241. This is CONLAW1 - a program for calculating conservation laws of DEs
  242. The DE under investigation is :
  243. 2
  244. df(u,t)= - df(u,x,5) - df(u,x,3)*c*u - df(u,x,2)*df(u,x)*b - df(u,x)*a*u
  245. for the function(s): {u}
  246. ======================================================
  247. Currently conservation laws with a conserved density
  248. of order 0 are determined
  249. ======================================================
  250. Conservation law:
  251. b
  252. c=---,
  253. 2
  254. ( - 4*u ) * ( (2*df(u,t) + 2*df(u,x,5) + df(u,x,3)*b*u + 2*df(u,x,2)*df(u,x)*b
  255. 2
  256. + 2*df(u,x)*a*u )/2 )
  257. =
  258. 2
  259. df( - 2*u , t )
  260. +
  261. 2 2
  262. df( - 4*df(u,x,4)*u + 4*df(u,x,3)*df(u,x) - 2*df(u,x,2) - 2*df(u,x,2)*b*u
  263. 4
  264. - a*u , x )
  265. ======================================================
  266. Conservation law:
  267. b
  268. c=---,
  269. 2
  270. ( -12 ) * ( (2*df(u,t) + 2*df(u,x,5) + df(u,x,3)*b*u + 2*df(u,x,2)*df(u,x)*b
  271. 2
  272. + 2*df(u,x)*a*u )/2 )
  273. =
  274. df( - 12*u, t )
  275. +
  276. 2 3
  277. df( - 12*df(u,x,4) - 6*df(u,x,2)*b*u - 3*df(u,x) *b - 4*a*u , x )
  278. ======================================================
  279. Conservation law:
  280. ( -6 ) * ( df(u,t) + df(u,x,5) + df(u,x,3)*c*u + df(u,x,2)*df(u,x)*b
  281. 2
  282. + df(u,x)*a*u )
  283. =
  284. df( - 6*u, t )
  285. +
  286. 2 2 3
  287. df( - 6*df(u,x,4) - 6*df(u,x,2)*c*u - 3*df(u,x) *b + 3*df(u,x) *c - 2*a*u , x )
  288. ======================================================
  289. The function c_320(x,t) is not constant!
  290. The function c_328(t) is not constant!
  291. There are remaining conditions: {df(c_320,t) + df(c_320,x,5) - c_328}
  292. for the functions: c_328(t), c_320(x,t)
  293. Corresponding CLs might not be shown below as they
  294. could be of too low order.
  295. ======================================================
  296. Conservation law:
  297. a=0,
  298. b=0,
  299. c=0,
  300. ( - 2*u ) * ( df(u,t) + df(u,x,5) )
  301. =
  302. 2
  303. df( - u , t )
  304. +
  305. 2
  306. df( - 2*df(u,x,4)*u + 2*df(u,x,3)*df(u,x) - df(u,x,2) , x )
  307. ======================================================
  308. Conservation law:
  309. a=0,
  310. b=0,
  311. c=0,
  312. ( - df(c_320,x) ) * ( df(u,t) + df(u,x,5) )
  313. =
  314. df( - df(c_320,x)*u, t )
  315. +
  316. df( df(c_320,t)*u + df(c_320,x,4)*df(u,x) - df(c_320,x,3)*df(u,x,2)
  317. + df(c_320,x,2)*df(u,x,3) - df(c_320,x)*df(u,x,4) + c_328*u, x )
  318. ======================================================
  319. The function c_303(x,t) is not constant!
  320. The function c_313(t) is not constant!
  321. There are remaining conditions: {df(c_303,t) + df(c_303,x,5) - c_313}
  322. for the functions: c_313(t), c_303(x,t)
  323. Corresponding CLs might not be shown below as they
  324. could be of too low order.
  325. ======================================================
  326. Conservation law:
  327. a=0,
  328. b=0,
  329. c=0,
  330. ( - df(c_303,x) ) * ( df(u,t) + df(u,x,5) )
  331. =
  332. df( - df(c_303,x)*u, t )
  333. +
  334. df( df(c_303,t)*u + df(c_303,x,4)*df(u,x) - df(c_303,x,3)*df(u,x,2)
  335. + df(c_303,x,2)*df(u,x,3) - df(c_303,x)*df(u,x,4) + c_313*u, x )
  336. ======================================================
  337. Conservation law:
  338. a=0,
  339. b
  340. c=---,
  341. 3
  342. 2
  343. - 3*x
  344. ( --------- ) * (
  345. b
  346. 3*df(u,t) + 3*df(u,x,5) + df(u,x,3)*b*u + 3*df(u,x,2)*df(u,x)*b
  347. ----------------------------------------------------------------- )
  348. 3
  349. =
  350. 2
  351. - 3*u*x
  352. df( -----------, t )
  353. b
  354. +
  355. 2 2
  356. df( ( - 3*df(u,x,4)*x + 6*df(u,x,3)*x - df(u,x,2)*b*u*x - 6*df(u,x,2)
  357. 2 2 2
  358. - df(u,x) *b*x + 2*df(u,x)*b*u*x - b*u )/b, x )
  359. ======================================================
  360. Conservation law:
  361. a=0,
  362. b
  363. c=---,
  364. 3
  365. 3*df(u,t) + 3*df(u,x,5) + df(u,x,3)*b*u + 3*df(u,x,2)*df(u,x)*b
  366. ( - 3*x ) * ( -----------------------------------------------------------------
  367. 3
  368. )
  369. =
  370. df( - 3*u*x, t )
  371. +
  372. 2
  373. df( - 3*df(u,x,4)*x + 3*df(u,x,3) - df(u,x,2)*b*u*x - df(u,x) *b*x
  374. + df(u,x)*b*u, x )
  375. ======================================================
  376. Conservation law:
  377. a=0,
  378. b
  379. c=---,
  380. 3
  381. 3*df(u,t) + 3*df(u,x,5) + df(u,x,3)*b*u + 3*df(u,x,2)*df(u,x)*b
  382. ( -3 ) * ( ----------------------------------------------------------------- )
  383. 3
  384. =
  385. df( - 3*u, t )
  386. +
  387. 2
  388. df( - 3*df(u,x,4) - df(u,x,2)*b*u - df(u,x) *b, x )
  389. ======================================================
  390. Currently conservation laws with a conserved density
  391. of order 1 are determined
  392. ======================================================
  393. The function c_408(t) is not constant!
  394. The function c_372(t,x) is not constant!
  395. There are remaining conditions: {30*df(c_372,t) + 30*df(c_372,x,5) - c_408}
  396. for the functions: c_372(t,x), c_408(t)
  397. Corresponding CLs might not be shown below as they
  398. could be of too low order.
  399. ======================================================
  400. Conservation law:
  401. a=0,
  402. b=0,
  403. c=0,
  404. ( - 2*df(u,x,2) ) * ( df(u,t) + df(u,x,5) )
  405. =
  406. 2
  407. df( df(u,x) , t )
  408. +
  409. 2
  410. df( - 2*df(u,t)*df(u,x) - 2*df(u,x,4)*df(u,x,2) + df(u,x,3)
  411. 2 2 2
  412. - 2*df(u,x,3)*df(u,x)*c*u - 2*df(u,x,2)*df(u,x) *b - 2*df(u,x) *a*u , x )
  413. ======================================================
  414. Conservation law:
  415. a=0,
  416. b
  417. c=---,
  418. 3
  419. 2
  420. ( - 18*df(u,x,2) - 3*b*u ) * (
  421. 3*df(u,t) + 3*df(u,x,5) + df(u,x,3)*b*u + 3*df(u,x,2)*df(u,x)*b
  422. ----------------------------------------------------------------- )
  423. 3
  424. =
  425. 2 3
  426. df( 9*df(u,x) - b*u , t )
  427. +
  428. 2
  429. df( - 18*df(u,t)*df(u,x) - 18*df(u,x,4)*df(u,x,2) - 3*df(u,x,4)*b*u
  430. 2
  431. + 9*df(u,x,3) + 12*df(u,x,3)*df(u,x)*b*u - 18*df(u,x,3)*df(u,x)*c*u
  432. 2 2 2 3
  433. - 6*df(u,x,2) *b*u - 6*df(u,x,2)*df(u,x) *b - df(u,x,2)*b *u
  434. 2 2
  435. - 18*df(u,x) *a*u , x )
  436. ======================================================
  437. Conservation law:
  438. a=0,
  439. b
  440. c=---,
  441. 3
  442. 3*df(u,t) + 3*df(u,x,5) + df(u,x,3)*b*u + 3*df(u,x,2)*df(u,x)*b
  443. ( 6*x ) * ( ----------------------------------------------------------------- )
  444. 3
  445. =
  446. 2
  447. df( - 3*df(u,x)*x , t )
  448. +
  449. 2 2 2
  450. df( 3*df(u,t)*x + 6*df(u,x,4)*x - df(u,x,3)*b*u*x + 3*df(u,x,3)*c*u*x
  451. 2 2 2
  452. - 6*df(u,x,3) + 2*df(u,x,2)*b*u*x + 2*df(u,x) *b*x + 3*df(u,x)*a*u *x
  453. - 2*df(u,x)*b*u, x )
  454. ======================================================
  455. Conservation law:
  456. a=0,
  457. b
  458. c=---,
  459. 3
  460. 2
  461. 9*x 3*df(u,t) + 3*df(u,x,5) + df(u,x,3)*b*u + 3*df(u,x,2)*df(u,x)*b
  462. ( ------ ) * ( -----------------------------------------------------------------
  463. b 3
  464. )
  465. =
  466. 3
  467. - 3*df(u,x)*x
  468. df( -----------------, t )
  469. b
  470. +
  471. 3 2 3 3
  472. df( (3*df(u,t)*x + 9*df(u,x,4)*x - df(u,x,3)*b*u*x + 3*df(u,x,3)*c*u*x
  473. 2 2 2
  474. - 18*df(u,x,3)*x + 3*df(u,x,2)*b*u*x + 18*df(u,x,2) + 3*df(u,x) *b*x
  475. 2 3 2
  476. + 3*df(u,x)*a*u *x - 6*df(u,x)*b*u*x + 3*b*u )/b, x )
  477. ======================================================
  478. Conservation law:
  479. 2 2
  480. - 2*b + 7*b*c - 3*c
  481. a=------------------------,
  482. 10
  483. 2 2
  484. ( - 1500*df(u,x,2) - 300*b*u + 150*c*u ) * ( (10*df(u,t) + 10*df(u,x,5)
  485. 2 2
  486. + 10*df(u,x,3)*c*u + 10*df(u,x,2)*df(u,x)*b - 2*df(u,x)*b *u
  487. 2 2 2
  488. + 7*df(u,x)*b*c*u - 3*df(u,x)*c *u )/10 )
  489. =
  490. 2 3 3
  491. df( 750*df(u,x) - 100*b*u + 50*c*u , t )
  492. +
  493. 2
  494. df( - 1500*df(u,t)*df(u,x) - 1500*df(u,x,4)*df(u,x,2) - 300*df(u,x,4)*b*u
  495. 2 2
  496. + 150*df(u,x,4)*c*u + 750*df(u,x,3) + 600*df(u,x,3)*df(u,x)*b*u
  497. 2 2
  498. - 300*df(u,x,3)*df(u,x)*c*u - 300*df(u,x,2) *b*u - 600*df(u,x,2) *c*u
  499. 2 2 3
  500. - 600*df(u,x,2)*df(u,x) *b + 300*df(u,x,2)*df(u,x) *c - 300*df(u,x,2)*b*c*u
  501. 2 3 2 2 2 2 2
  502. + 150*df(u,x,2)*c *u - 1500*df(u,x) *a*u - 300*df(u,x) *b *u
  503. 2 2 2 2 2 3 5 2 5
  504. + 1050*df(u,x) *b*c*u - 450*df(u,x) *c *u + 12*b *u - 48*b *c*u
  505. 2 5 3 5
  506. + 39*b*c *u - 9*c *u , x )
  507. ======================================================
  508. Conservation law:
  509. 2 2
  510. - 2*b + 7*b*c - 3*c
  511. a=------------------------,
  512. 10
  513. 2 2 2
  514. ( ( - 1500*df(u,x,2)*b*t + 4500*df(u,x,2)*c*t - 300*b *t*u + 1050*b*c*t*u
  515. 2 2
  516. - 450*c *t*u - 1500*x)/(b - 3*c) ) * ( (10*df(u,t) + 10*df(u,x,5)
  517. 2 2
  518. + 10*df(u,x,3)*c*u + 10*df(u,x,2)*df(u,x)*b - 2*df(u,x)*b *u
  519. 2 2 2
  520. + 7*df(u,x)*b*c*u - 3*df(u,x)*c *u )/10 )
  521. =
  522. 2 2 2 3 3
  523. df( (750*df(u,x) *b*t - 2250*df(u,x) *c*t - 100*b *t*u + 350*b*c*t*u
  524. 2 3
  525. - 150*c *t*u - 1500*u*x)/(b - 3*c), t )
  526. +
  527. df( ( - 1500*df(u,t)*df(u,x)*b*t + 4500*df(u,t)*df(u,x)*c*t
  528. - 1500*df(u,x,4)*df(u,x,2)*b*t + 4500*df(u,x,4)*df(u,x,2)*c*t
  529. 2 2 2 2 2
  530. - 300*df(u,x,4)*b *t*u + 1050*df(u,x,4)*b*c*t*u - 450*df(u,x,4)*c *t*u
  531. 2 2
  532. - 1500*df(u,x,4)*x + 750*df(u,x,3) *b*t - 2250*df(u,x,3) *c*t
  533. 2
  534. + 600*df(u,x,3)*df(u,x)*b *t*u - 2100*df(u,x,3)*df(u,x)*b*c*t*u
  535. 2 2 2
  536. + 900*df(u,x,3)*df(u,x)*c *t*u + 1500*df(u,x,3) - 300*df(u,x,2) *b *t*u
  537. 2 2 2
  538. + 300*df(u,x,2) *b*c*t*u + 1800*df(u,x,2) *c *t*u
  539. 2 2 2
  540. - 600*df(u,x,2)*df(u,x) *b *t + 2100*df(u,x,2)*df(u,x) *b*c*t
  541. 2 2 2 3
  542. - 900*df(u,x,2)*df(u,x) *c *t - 300*df(u,x,2)*b *c*t*u
  543. 2 3 3 3
  544. + 1050*df(u,x,2)*b*c *t*u - 450*df(u,x,2)*c *t*u - 1500*df(u,x,2)*c*u*x
  545. 2 2 2 2 2 3 2
  546. - 1500*df(u,x) *a*b*t*u + 4500*df(u,x) *a*c*t*u - 300*df(u,x) *b *t*u
  547. 2 2 2 2 2 2 2
  548. + 1950*df(u,x) *b *c*t*u - 3600*df(u,x) *b*c *t*u - 750*df(u,x) *b*x
  549. 2 3 2 2 2 2
  550. + 1350*df(u,x) *c *t*u + 750*df(u,x) *c*x - 750*df(u,x)*a*u *x
  551. 2 2 2 2 2 2 2 2
  552. - 150*df(u,x)*b *u *x + 525*df(u,x)*b*c*u *x - 225*df(u,x)*c *u *x
  553. 4 5 3 5 2 2 5
  554. + 1500*df(u,x)*c*u + 12*b *t*u - 84*b *c*t*u + 183*b *c *t*u
  555. 2 3 3 5 3 4 5 2 3
  556. + 100*b *u *x - 126*b*c *t*u - 350*b*c*u *x + 27*c *t*u + 150*c *u *x)/(
  557. b - 3*c), x )
  558. ======================================================
  559. Conservation law:
  560. a=0,
  561. b
  562. c=---,
  563. 3
  564. 3*df(u,t) + 3*df(u,x,5) + df(u,x,3)*b*u + 3*df(u,x,2)*df(u,x)*b
  565. ( 6*x ) * ( ----------------------------------------------------------------- )
  566. 3
  567. =
  568. 2
  569. df( - 3*df(u,x)*x , t )
  570. +
  571. 2 2 2
  572. df( 3*df(u,t)*x + 6*df(u,x,4)*x - df(u,x,3)*b*u*x + 3*df(u,x,3)*c*u*x
  573. 2 2 2
  574. - 6*df(u,x,3) + 2*df(u,x,2)*b*u*x + 2*df(u,x) *b*x + 3*df(u,x)*a*u *x
  575. - 2*df(u,x)*b*u, x )
  576. ======================================================
  577. Conservation law:
  578. a=0,
  579. b
  580. c=---,
  581. 3
  582. 2
  583. 9*x 3*df(u,t) + 3*df(u,x,5) + df(u,x,3)*b*u + 3*df(u,x,2)*df(u,x)*b
  584. ( ------ ) * ( -----------------------------------------------------------------
  585. b 3
  586. )
  587. =
  588. 3
  589. - 3*df(u,x)*x
  590. df( -----------------, t )
  591. b
  592. +
  593. 3 2 3 3
  594. df( (3*df(u,t)*x + 9*df(u,x,4)*x - df(u,x,3)*b*u*x + 3*df(u,x,3)*c*u*x
  595. 2 2 2
  596. - 18*df(u,x,3)*x + 3*df(u,x,2)*b*u*x + 18*df(u,x,2) + 3*df(u,x) *b*x
  597. 2 3 2
  598. + 3*df(u,x)*a*u *x - 6*df(u,x)*b*u*x + 3*b*u )/b, x )
  599. ======================================================
  600. The function c_392(t) is not constant!
  601. The function c_372(t,x) is not constant!
  602. There are remaining conditions: {df(c_372,t) + df(c_372,x,5) - c_392}
  603. for the functions: c_372(t,x), c_392(t)
  604. Corresponding CLs might not be shown below as they
  605. could be of too low order.
  606. ======================================================
  607. The function c_443(t) is not constant!
  608. The function c_372(t,x) is not constant!
  609. There are remaining conditions: {20*df(c_372,t) + 20*df(c_372,x,5) - c_443}
  610. for the functions: c_372(t,x), c_443(t)
  611. Corresponding CLs might not be shown below as they
  612. could be of too low order.
  613. ======================================================
  614. Conservation law:
  615. a=0,
  616. b=0,
  617. c=0,
  618. ( - 2*df(u,x,2) ) * ( df(u,t) + df(u,x,5) )
  619. =
  620. 2
  621. df( df(u,x) , t )
  622. +
  623. 2
  624. df( - 2*df(u,t)*df(u,x) - 2*df(u,x,4)*df(u,x,2) + df(u,x,3)
  625. 2 2 2
  626. - 2*df(u,x,3)*df(u,x)*c*u - 2*df(u,x,2)*df(u,x) *b - 2*df(u,x) *a*u , x )
  627. ======================================================
  628. Conservation law:
  629. 2
  630. 3*b
  631. a=------,
  632. 40
  633. b
  634. c=---,
  635. 2
  636. 2
  637. ( - 4000*df(u,x,2) - 600*b*u ) * ( (40*df(u,t) + 40*df(u,x,5)
  638. 2 2
  639. + 20*df(u,x,3)*b*u + 40*df(u,x,2)*df(u,x)*b + 3*df(u,x)*b *u )/40 )
  640. =
  641. 2 3
  642. df( 2000*df(u,x) - 200*b*u , t )
  643. +
  644. 2
  645. df( - 4000*df(u,t)*df(u,x) - 4000*df(u,x,4)*df(u,x,2) - 600*df(u,x,4)*b*u
  646. 2
  647. + 2000*df(u,x,3) + 3200*df(u,x,3)*df(u,x)*b*u - 4000*df(u,x,3)*df(u,x)*c*u
  648. 2 2 2 3
  649. - 1600*df(u,x,2) *b*u - 1200*df(u,x,2)*df(u,x) *b - 300*df(u,x,2)*b *u
  650. 2 2 2 2 2 3 5
  651. - 4000*df(u,x) *a*u + 300*df(u,x) *b *u - 9*b *u , x )
  652. ======================================================
  653. Conservation law:
  654. 2
  655. 3*b
  656. a=------,
  657. 40
  658. b
  659. c=---,
  660. 2
  661. 2 2
  662. - 4000*df(u,x,2)*b*t - 600*b *t*u + 8000*x
  663. ( ---------------------------------------------- ) * ( (40*df(u,t)
  664. b
  665. 2 2
  666. + 40*df(u,x,5) + 20*df(u,x,3)*b*u + 40*df(u,x,2)*df(u,x)*b + 3*df(u,x)*b *u
  667. )/40 )
  668. =
  669. 2 2 3
  670. 2000*df(u,x) *b*t - 200*b *t*u + 8000*u*x
  671. df( --------------------------------------------, t )
  672. b
  673. +
  674. df( ( - 4000*df(u,t)*df(u,x)*b*t - 4000*df(u,x,4)*df(u,x,2)*b*t
  675. 2 2 2
  676. - 600*df(u,x,4)*b *t*u + 8000*df(u,x,4)*x + 2000*df(u,x,3) *b*t
  677. 2
  678. + 3200*df(u,x,3)*df(u,x)*b *t*u - 4000*df(u,x,3)*df(u,x)*b*c*t*u
  679. 2 2
  680. - 2000*df(u,x,3)*b*u*x + 4000*df(u,x,3)*c*u*x - 8000*df(u,x,3)
  681. 2 2 2 2
  682. - 1600*df(u,x,2) *b *t*u - 1200*df(u,x,2)*df(u,x) *b *t
  683. 3 3 2 2
  684. - 300*df(u,x,2)*b *t*u + 4000*df(u,x,2)*b*u*x - 4000*df(u,x) *a*b*t*u
  685. 2 3 2 2 2 2
  686. + 300*df(u,x) *b *t*u + 2000*df(u,x) *b*x + 4000*df(u,x)*a*u *x
  687. 2 2 2 4 5 2 3
  688. - 300*df(u,x)*b *u *x - 4000*df(u,x)*b*u - 9*b *t*u + 200*b *u *x)/b, x
  689. )
  690. ======================================================
  691. Conservation law:
  692. b=0,
  693. c=0,
  694. 3 2
  695. ( --- ) * ( df(u,t) + df(u,x,5) + df(u,x)*a*u )
  696. a
  697. =
  698. - 3*df(u,x)*x
  699. df( ----------------, t )
  700. a
  701. +
  702. df(
  703. 3
  704. 3*df(u,t)*x + 3*df(u,x,4) + 3*df(u,x,3)*c*u*x + 3*df(u,x,2)*df(u,x)*b*x + a*u
  705. --------------------------------------------------------------------------------
  706. a
  707. , x )
  708. ======================================================
  709. The function c_425(t) is not constant!
  710. The function c_372(t,x) is not constant!
  711. There are remaining conditions: {2*df(c_372,t) + 2*df(c_372,x,5) - c_425}
  712. for the functions: c_372(t,x), c_425(t)
  713. Corresponding CLs might not be shown below as they
  714. could be of too low order.
  715. ======================================================
  716. **************************************************************************
  717. CONLAWi can also be used to determine first integrals of ODEs.
  718. The generality of the ansatz is not just specified by the order.
  719. For example, the Lorentz system below is a first order system
  720. therefore any first integrals are zero order expressions.
  721. The ansatz to be investigated below looks for first integrals of
  722. the form a1(x,1)+a2(y,t)+a3(x,t)=const. and determines parameters
  723. s,b,r such that first integrals exist.
  724. --------------------------------------------------------------------------
  725. This is CONLAW1 - a program for calculating conservation laws of DEs
  726. The DEs under investigation are :
  727. df(x,t)= - s*x + s*y
  728. df(y,t)=r*x + x*z - y
  729. df(z,t)= - b*z + x*y
  730. for the function(s): {x,y,z}
  731. ======================================================
  732. A special ansatz of order 0 for the conserved current is investigated.
  733. The function c_584(x) is not constant!
  734. ======================================================
  735. Conservation law:
  736. s=0,
  737. r=0,
  738. b=1,
  739. 2*t
  740. ( - 2*e *z ) * ( df(z,t) - x*y + z )
  741. +
  742. 2*t
  743. ( 2*e *y ) * ( df(y,t) - x*z + y )
  744. +
  745. ( 0 ) * ( df(x,t) )
  746. =
  747. 2*t 2 2*t 2
  748. df( e *y - e *z , t )
  749. ======================================================
  750. Conservation law:
  751. s=0,
  752. r=0,
  753. b=1,
  754. ( 0 ) * ( df(z,t) - x*y + z )
  755. +
  756. ( 0 ) * ( df(y,t) - x*z + y )
  757. +
  758. ( df(c_584,x) ) * ( df(x,t) )
  759. =
  760. df( c_584, t )
  761. ======================================================
  762. The function c_584(x) is not constant!
  763. ======================================================
  764. Conservation law:
  765. s=0,
  766. r=0,
  767. ( 0 ) * ( df(z,t) + b*z - x*y )
  768. +
  769. ( 0 ) * ( df(y,t) - x*z + y )
  770. +
  771. ( df(c_584,x) ) * ( df(x,t) )
  772. =
  773. df( c_584, t )
  774. ======================================================
  775. The function c_586(x) is not constant!
  776. ======================================================
  777. Conservation law:
  778. s=0,
  779. ( 0 ) * ( df(z,t) + b*z - x*y )
  780. +
  781. ( 0 ) * ( df(y,t) - r*x - x*z + y )
  782. +
  783. ( df(c_586,x) ) * ( df(x,t) )
  784. =
  785. df( c_586, t )
  786. ======================================================
  787. Conservation law:
  788. 1
  789. s=---,
  790. 2
  791. r=0,
  792. b=1,
  793. t
  794. ( - e ) * ( df(z,t) - x*y + z )
  795. +
  796. ( 0 ) * ( df(y,t) - x*z + y )
  797. +
  798. t 2*df(x,t) + x - y
  799. ( 2*e *x ) * ( ------------------- )
  800. 2
  801. =
  802. t 2 t
  803. df( e *x - e *z, t )
  804. ======================================================
  805. Conservation law:
  806. 1
  807. s=---,
  808. 2
  809. r=0,
  810. b=1,
  811. 2*t
  812. ( - 2*e *z ) * ( df(z,t) - x*y + z )
  813. +
  814. 2*t
  815. ( 2*e *y ) * ( df(y,t) - x*z + y )
  816. +
  817. 2*df(x,t) + x - y
  818. ( 0 ) * ( ------------------- )
  819. 2
  820. =
  821. 2*t 2 2*t 2
  822. df( e *y - e *z , t )
  823. ======================================================
  824. Conservation law:
  825. r=0,
  826. b=1,
  827. 2*t
  828. ( - 2*e *z ) * ( df(z,t) - x*y + z )
  829. +
  830. 2*t
  831. ( 2*e *y ) * ( df(y,t) - x*z + y )
  832. +
  833. ( 0 ) * ( df(x,t) + s*x - s*y )
  834. =
  835. 2*t 2 2*t 2
  836. df( e *y - e *z , t )
  837. ======================================================
  838. Conservation law:
  839. s=1,
  840. b=1,
  841. 2*t
  842. ( - 2*e *z ) * ( df(z,t) - x*y + z )
  843. +
  844. 2*t
  845. ( 2*e *y ) * ( df(y,t) - r*x - x*z + y )
  846. +
  847. 2*t
  848. ( - 2*e *r*x ) * ( df(x,t) + x - y )
  849. =
  850. 2*t 2 2*t 2 2*t 2
  851. df( - e *r*x + e *y - e *z , t )
  852. ======================================================
  853. Conservation law:
  854. b=2*s,
  855. 2*s*t
  856. ( - 2*e ) * ( df(z,t) + 2*s*z - x*y )
  857. +
  858. ( 0 ) * ( df(y,t) - r*x - x*z + y )
  859. +
  860. 2*s*t
  861. 2*e *x
  862. ( ------------ ) * ( df(x,t) + s*x - s*y )
  863. s
  864. =
  865. 2*s*t 2*s*t 2
  866. - 2*e *s*z + e *x
  867. df( -----------------------------, t )
  868. s
  869. ======================================================
  870. 4: 4: 4: 4: 4: 4: 4: 4: 4:
  871. Time for test: 216760 ms, plus GC time: 22500 ms
  872. 5: 5:
  873. Quitting
  874. Sun Jan 3 23:59:02 MET 1999