58
Symbolic Computation of Conservation Laws of Nonlinear PDEs in (3+1)-Dimensions Willy Hereman Department of Mathematical and Computer Sciences Colorado School of Mines Golden, Colorado, U.S.A. [email protected] http://www.mines.edu/fs home/whereman/ International Conference on Nonlinear Waves, Integrable Systems and Applications University of Colorado at Colorado Springs MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m.

Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Symbolic Computation ofConservation Laws of Nonlinear

PDEs in (3+1)-Dimensions

Willy Hereman

Department of Mathematical and Computer Sciences

Colorado School of Mines

Golden, Colorado, U.S.A.

[email protected]

http://www.mines.edu/fs home/whereman/

International Conference on

Nonlinear Waves, Integrable Systems and Applications

University of Colorado at Colorado Springs

MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m.

Page 2: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Acknowledgements

Collaborators: Mark Hickman, Bernard DeconinckMichael Colagrosso

several undergraduate and graduate students

Research supported in part by NSF

under Grant CCR-9901929

This presentation in honor of Mark Ablowitz

was made in TeXpower

Page 3: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Acknowledgements

Collaborators: Mark Hickman, Bernard DeconinckMichael Colagrosso

several undergraduate and graduate students

Research supported in part by NSF

under Grant CCR-9901929

This presentation in honor of Mark Ablowitz

was made in TeXpower

My Ablowitz Number = 2 (MathSciNet)

Page 4: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Acknowledgements

Collaborators: Mark Hickman, Bernard DeconinckMichael Colagrosso

several undergraduate and graduate students

Research supported in part by NSF

under Grant CCR-9901929

This presentation in honor of Mark Ablowitz

was made in TeXpower

My Ablowitz Number = 2 (MathSciNet)

Gelukkige Verjaardag, Mark!

Page 5: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Outline

• Symbolic Software

• Conservation Laws of PDEs in multi-dimensions

• Example: Shallow water wave equations (Dellar)

• Algorithmic Methods for conservation laws

• Computer Demonstration

• Tools:

• The variational derivative (testing exactness)

• The higher Euler operators (testing exactness)

• The homotopy operator (inverting the

divergence operator)

• Algorithm and Example

Page 6: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Symbolic Software (where did your tax $$ go?)

Nonlinear Differential Equations

• Lie-point symmetries for PDEs (and ODEs)a

• Solitons with Hirota’s methoda

• Painleve test for PDEs and ODEs

• Conservation laws for PDEs in (1+1)-dimensions

• Higher-order symmetries for PDEs (ibid.)

• Exact solutions of tanh-, sech-, cn-, sn-type for

PDEs (in multi-dimensions)

• Recursion operators for PDEs in (1+1)-dimensions

aMacsyma program

Page 7: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

• Homotopy operatorsb

• Conservation laws for PDEs in (3+1)-dimensionsb

bUnder development

Page 8: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Symbolic Software-continued

Nonlinear Differential-Difference Equations (DDEs)

• Lie-point symmetriesa

• Conservation laws

• Higher-order symmetries

• Exact solutions of tanh-type

• Homotopy operatorb

aMacsyma programbUnder development

Page 9: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Conservation Laws

• Conservation law in (1 + 1) dimensions

Dtρ + DxJ = 0 (on PDE)

conserved density ρ and flux J

• Example: Korteweg-de Vries (KdV) equation

ut + uux + u3x = 0

• Sample conservation law

Dt

(u3 − 3ux

2)

+

Dx

(3

4u4 − 6uux

2 + 3u2u2x + 3u2x2 − 6uxu3x

)= 0

Page 10: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

• Key property: Dilation invariance

• Example: KdV equation and its density-flux pairs

are invariant under the scaling symmetry

(x, t, u) → (λ−1x, λ−3t, λ2u),

λ is arbitrary parameter.

Page 11: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

• First density-flux pairs:

ρ(1) = u J (1) =u2

2+ u2x

ρ(2) = u2 J (2) =2u3

3+ 2uu2x − ux

2

ρ(3) = u3 − 3ux2

J (3) =3

4u4 − 6uux

2 + 3u2u2x + 3u2x2 − 6uxu3x

...

ρ(6) = u6 − 60 u3ux2 − 30 ux

4 + 108 u2u2x2

+720

7u2x

3 −648

7uu3x

2 +216

7u4x

2

Page 12: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

• Conservation law in (3 + 1) dimensions

Dtρ +∇ ·J = Dtρ + DxJ1 + DyJ2 + DzJ3 = 0 (on PDE)

conserved density ρ and flux J = (J1, J2, J3)

• Example: Shallow water wave (SWW) equations

[P. Dellar, Phys. Fluids 15 (2003) 292-297]

ut + (u·∇)u + 2Ω× u +∇(θh)−1

2h∇θ = 0

θt + u·(∇θ) = 0

ht +∇·(uh) = 0

Page 13: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

• In components:

ut + uux + vuy − 2Ωv +1

2hθx + θhx = 0

vt + uvx + vvy + 2Ωu +1

2hθy + θhy = 0

θt + uθx + vθy = 0

ht + hux + uhx + hvy + vhy = 0

• SWW equations are invariant under

(x, y, t, u, v, h, θ, Ω) →

(λ−1x, λ−1y, λ−bt, λb−1u, λb−1v, λah, λ2b−a−2θ, λbΩ)

where W (h) = a and W (Ω) = b

Page 14: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

• First few densities-flux pairs:

ρ(1) = h J(1) =

uh

vh

ρ(2) = hθ J(2) =

uhθ

vhθ

ρ(3) = hθ2 J(3) =

uhθ2

vhθ2

ρ(4) = (u2 + v2)h + h2θ J(4) =

u3h + uv2h + 2uh2θ

v3h + u2vh + 2vh2θ

ρ(5) = vxθ − uyθ + 2Ωθ

J(5)=16

12Ωuθ−4uuyθ+6uvxθ+2vvyθ+u2θy+v2θy−hθθy+hyθ2

12Ωvθ+4vvxθ−6vuyθ−2uuxθ−u2θx−v2θx+hθθx−hxθ2

Page 15: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

.

Remind Willy to do the

Computer Demo!

Page 16: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Algorithmic Methods for Conservation Laws

• Use Noether’s Theorem (Lagrangian formulation)

• Direct methods (Anderson, Bluman, Anco, Wolf,

etc.) based on solving ODEs (or PDEs)

• Our strategy:

• Density is linear combination of scaling invariant

terms with undetermined coefficients

• Use variational derivative (Euler operator) to

compute the undetermined coefficients

• Use the homotopy operator to compute the flux

(invert Div)

• Work with linearly independent pieces in finite

dimensional spaces

Page 17: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Standard Vector Calculus

• Definition: F is conservative if F = ∇f

• Definition: F is irrotational or curl free if

∇× F = 0

• Theorem (gradient test): F = ∇f iff ∇× F = 0

Page 18: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Standard Vector Calculus

• Definition: F is conservative if F = ∇f

• Definition: F is irrotational or curl free if

∇× F = 0

• Theorem (gradient test): F = ∇f iff ∇× F = 0

The curl annihilates gradients!

Page 19: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Standard Vector Calculus

• Definition: F is conservative if F = ∇f

• Definition: F is irrotational or curl free if

∇× F = 0

• Theorem (gradient test): F = ∇f iff ∇× F = 0

The curl annihilates gradients!

• Definition: F is incompressible or divergence free

if ∇ · F = 0

• Theorem (curl test): F = ∇×G iff ∇ · F = 0

Page 20: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Standard Vector Calculus

• Definition: F is conservative if F = ∇f

• Definition: F is irrotational or curl free if

∇× F = 0

• Theorem (gradient test): F = ∇f iff ∇× F = 0

The curl annihilates gradients!

• Definition: F is incompressible or divergence free

if ∇ · F = 0

• Theorem (curl test): F = ∇×G iff ∇ · F = 0

The divergence annihilates curls!

Page 21: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Standard Vector Calculus

• Definition: F is conservative if F = ∇f

• Definition: F is irrotational or curl free if

∇× F = 0

• Theorem (gradient test): F = ∇f iff ∇× F = 0

The curl annihilates gradients!

• Definition: F is incompressible or divergence free

if ∇ · F = 0

• Theorem (curl test): F = ∇×G iff ∇ · F = 0

The divergence annihilates curls!

• Question: How can one verify that f = ∇ · F ?

Page 22: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Standard Vector Calculus

• Definition: F is conservative if F = ∇f

• Definition: F is irrotational or curl free if

∇× F = 0

• Theorem (gradient test): F = ∇f iff ∇× F = 0

The curl annihilates gradients!

• Definition: F is incompressible or divergence free

if ∇ · F = 0

• Theorem (curl test): F = ∇×G iff ∇ · F = 0

The divergence annihilates curls!

• Question: How can one verify that f = ∇ · F ?

No theorem from vector calculus!

Page 23: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Tools from Calculus of Variations

• In differential geometry one deals with differential

functions (jet space computations)

• Definition: f is exact iff f = DxF

• Theorem (exactness test): f = DxF iff L(0)u(x)(f) ≡ 0

• Definition: f is a divergence if f = DivF

• Theorem (divergence test): f = DivF iff

L(0)u(x)(f) ≡ 0

Page 24: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Tools from Calculus of Variations

• In differential geometry one deals with differential

functions (jet space computations)

• Definition: f is exact iff f = DxF

• Theorem (exactness test): f = DxF iff L(0)u(x)(f) ≡ 0

• Definition: f is a divergence if f = DivF

• Theorem (divergence test): f = DivF iff

L(0)u(x)(f) ≡ 0

The Euler operator annihilates divergences!

Page 25: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Formulas for Euler operators (variational derivatives):

L(0)u(x) =

∞∑k=0

(−Dx)k ∂

∂ukx

=∂

∂u−Dx

∂ux+ D2

x

∂u2x−D3

x

∂u3x+ · · ·

L(0,0)u(x,y) =

∞∑kx=0

∞∑ky=0

(−Dx)kx(−Dy)

ky∂

∂ukxx kyy

=∂

∂u−Dx

∂ux−Dy

∂uy

+ D2x

∂u2x+ DxDy

∂uxy+ D2

y

∂u2y−D3

x

∂u3x− · · ·

Page 26: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

L(0,0,0)u(x,y,z) =

∞∑kx=0

∞∑ky=0

∞∑kz=0

(−Dx)kx(−Dy)

ky(−Dz)kz

∂ukxx kyy kzz

=∂

∂u−Dx

∂ux−Dy

∂uy−Dz

∂uz

+ D2x

∂u2x+ D2

y

∂u2y+ D2

z

∂u2z

+DxDy∂

∂uxy+ DxDz

∂uxz+ DyDz

∂uyz−· · ·

Page 27: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Application of Euler Operator: Testing Exactness

Example:

f =3uxv2 sin u− u3x sin u− 6vvx cos u + 2uxu2x cos u + 8vxv2x

For example, for component u (of order 2):

L(0)u(x)(f)=

∂f

∂u−Dx

∂f

∂ux+ D2

x

∂f

∂u2x

= 3ux v2 cos u− u3x cos u + 6v vx sin u− 2ux u2x sin u

−Dx[3v2 sin u− 3u2x sin u + 2u2x cos u] + D2

x[2ux cos u]

= 3ux v2 cos u− u3x cos u + 6v vx sin u− 2ux u2x sin u

−[3uxv2 cos u + 6v vx sin u− 3u3x cos u− 6u u2x sin u

−2ux u2x sin u + 2u3x cos u]

+[−2u3x cos u− 6ux u2x sin u + 2u3x cos u] ≡ 0

Page 28: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Inverting Dx and Div

Problem Statement

• In 1D:

Example:

f =3uxv2 sin u−u3x sin u−6vvx cos u+2uxu2x cos u+8vxv2x

• Find F =

∫f dx so, f = DxF

• Result (by hand):

F = 4 v2x + u2

x cos u− 3 v2 cos u

Page 29: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Inverting Dx and Div

Problem Statement

• In 1D:

Example:

f =3uxv2 sin u−u3x sin u−6vvx cos u+2uxu2x cos u+8vxv2x

• Find F =

∫f dx so, f = DxF

• Result (by hand):

F = 4 v2x + u2

x cos u− 3 v2 cos u

Mathematica cannot compute this integral!

Page 30: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

• In 2D or 3D:

Example:

f = uxvy − u2xvy − uyvx + uxyvx

• Find F = Div−1f so, f = Div F

• Result (by hand):

F = (uvy − uxvy,−uvx + uxvx)

Page 31: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

• In 2D or 3D:

Example:

f = uxvy − u2xvy − uyvx + uxyvx

• Find F = Div−1f so, f = Div F

• Result (by hand):

F = (uvy − uxvy,−uvx + uxvx)

Mathematica cannot do this!

Page 32: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

• In 2D or 3D:

Example:

f = uxvy − u2xvy − uyvx + uxyvx

• Find F = Div−1f so, f = Div F

• Result (by hand):

F = (uvy − uxvy,−uvx + uxvx)

Mathematica cannot do this!

Can this be done without integration by parts?

Page 33: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

• In 2D or 3D:

Example:

f = uxvy − u2xvy − uyvx + uxyvx

• Find F = Div−1f so, f = Div F

• Result (by hand):

F = (uvy − uxvy,−uvx + uxvx)

Mathematica cannot do this!

Can this be done without integration by parts?

Can the problem be reduced to a single integral in one

variable?

Page 34: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

• In 2D or 3D:

Example:

f = uxvy − u2xvy − uyvx + uxyvx

• Find F = Div−1f so, f = Div F

• Result (by hand):

F = (uvy − uxvy,−uvx + uxvx)

Mathematica cannot do this!

Can this be done without integration by parts?

Can the problem be reduced to a single integral in one

variable?

Yes! With the Homotopy operator

Page 35: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Tools from Differential Geometry

Higher Euler Operators

• In 1D (with variable x):

L(i)u(x) =

∞∑k=i

(ki

)(−Dx)

k−i ∂

∂ukx

Examples for component u(x):

L(1)u(x) =

∂ux− 2Dx

∂u2x+ 3D2

x

∂u3x− 4D3

x

∂u4x+ · · ·

L(2)u(x) =

∂u2x− 3Dx

∂u3x+ 6D2

x

∂u4x− 10D3

x

∂u5x+ · · ·

L(3)u(x) =

∂u3x− 4Dx

∂u4x+ 10D2

x

∂u5x− 20D3

x

∂u6x+ · · ·

Page 36: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

• In 2D (with variables x and y):

L(ix,iy)u(x,y)=

∞∑kx=ix

∞∑ky=iy

(kx

ix

)(ky

iy

)(−Dx)

kx−ix(−Dy)ky−iy

∂ukxx kyy

Examples for component u(x, y):

L(1,0)u(x,y)=

∂ux− 2Dx

∂u2x−Dy

∂uxy+ 3D2

x

∂u3x+ · · ·

L(0,1)u(x,y)=

∂uy− 2Dy

∂u2y−Dx

∂uyx+ 3D2

y

∂u3y+ · · ·

L(1,1)u(x,y)=

∂uxy− 2Dx

∂u2xy− 2Dy

∂ux2y+ 3D2

x

∂u3xy+ · · ·

L(2,1)u(x,y)=

∂u2xy− 3Dx

∂u3xy− 2Dy

∂u2x2y+ 6D2

x

∂u4xy+ · · ·

Page 37: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

• In 3D (with variables x, y, and z):

L(ix,iy ,iz)u(x,y,z) =

∞∑kx=ix

∞∑ky=iy

∞∑kz=iz

(kx

ix

)(ky

iy

)(kz

iz

)(−Dx)

kx−ix(−Dy)ky−iy(−Dz)

kz−iz∂

∂ukxx kyy kzz

• Theorem:

[Kruskal et al, J. Math. Phys. 11 (1970) 952-960]

f = DrxF iff L(i)

u(x)(f) ≡ 0 for i=0, 1, . . . , r−1

Page 38: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Integration by Parts with Homotopy Operator

• Theorem (integration with homotopy operator):

[See P. Olver, Applications of Lie Groups to

Differential Equations, 2nd Ed., Springer Verlag,

1993]

• In 1D: If f is exact then

F = D−1x f =

∫f dx = Hu(x)(f)

• In 2D: If f is a divergence then

F = Div−1f = (H(x)u(x,y)(f),H(y)

u(x,y)(f))

Page 39: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

• In 3D: If f is a divergence then

F = Div−1f = (H(x)u(x,y,z)(f),H(y)

u(x,y,z)(f),H(z)u(x,y,z)(f))

Page 40: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Homotopy Operators

• In 1D (with variable x):

Hu(x)(f) =

∫ 1

0

N∑j=1

Iuj(f)[λu]dλ

λ

where uj is jth component of u and integrand

Iuj(f) =

∞∑i=0

Dix

(uj L(i+1)

uj(x)(f))

N is the number of dependent variables and

Iuj(f)[λu] means that in Iuj(f) one replaces

u(x) → λu(x), ux(x) → λux(x), etc.

Page 41: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Example: u(x) = (u1(x), u2(x)) = (u(x), v(x)):

Hu(x)(f) =

∫ 1

0

(Iu(f) + Iv(f)

)[λu]

λ

where

Iu(f) =∞∑i=0

Dix

(uL(i+1)

u(x) (f))

and

Iv(f) =∞∑i=0

Dix

(vL(i+1)

v(x) (f))

Page 42: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

• In 2D (with variables x and y):

H(x)u(x,y)(f) =

∫ 1

0

N∑j=1

I(x)uj

(f)[λu]dλ

λ

with

I(x)uj

(f)=∞∑

ix=0

∞∑iy=0

(1 + ix

1 + ix + iy

)Dix

x Diyy

(ujL(1+ix,iy)

uj(x,y) (f))

Analogous formulas for H(y)u(x,y)(f) and I

(y)uj (f)

Page 43: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

• In 3D (with variables x, y, and z):

H(x)u(x,y,z)(f) =

∫ 1

0

N∑j=1

I(x)uj

(f)[λu]dλ

λ

with

I(x)uj

(f) =

∞∑ix=0

∞∑iy=0

∞∑iz=0

(1 + ix

1 + ix + iy + iz

)Dix

x Diyy Diz

z

(uj L(1+ix,iy ,ix)

uj(x,y,z) (f))

Analogous formulas for y and z-operators

Page 44: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Application of Homotopy Operator in 1D

Example:

f = 3uxv2 sin u− u3x sin u− 6vvx cos u + 2uxu2x cos u + 8vxv2x

• Compute

Iu(f) = uL(1)u(x)(f) + Dx

(uL(2)

u(x)(f))

= u∂f

∂ux− 2uDx

(∂f

∂u2x

)+ Dx

(u

∂f

∂u2x

)= 3uv2 sin u− uu2

x sin u + 2u2x cos u

Page 45: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

• Similarly,

Iv(f) = vL(1)v(x)(f) + Dx

(vL(2)

v(x)(f))

= v∂f

∂vx− 2vDx

(∂f

∂v2x

)+ Dx

(v

∂f

∂v2x

)= −6v2 cos u + 8v2

x• Finally,

F = Hu(x)(f) =

∫ 1

0

(Iu(f) + Iv(f)

)[λu]

λ

=

∫ 1

0

(3λ2uv2 sin(λu)− λ2uu2

x sin(λu) + 2λu2x cos(λu)

−6λv2 cos(λu) + 8λv2x

)dλ

= 4v2x + u2

x cos u− 3v2 cos u

Page 46: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Application of Homotopy Operator in 2D

Example: f = uxvy − u2xvy − uyvx + uxyvx

Recall (done by hand): F = (uvy − uxvy,−uvx + uxvx)

• Compute

I(x)u (f) = uL(1,0)

u(x,y)(f) + Dx

(uL(2,0)

u(x,y)(f))

+1

2Dy

(uL(1,1)

u(x,y)(f))

= u

(∂f

∂ux− 2Dx

∂f

∂u2x−Dy

∂f

∂uxy

)

+ Dx

(u

∂f

∂u2x

)+

1

2Dy

(u

∂f

∂uxy

)

= uvy +1

2uyvx − uxvy +

1

2uvxy

Page 47: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

• Similarly,

I(x)v (f) = vL(1,0)

v(x,y)(f) = v∂f

∂vx= −uyv + uxyv

• Hence,

F1 = H(x)u(x,y)(f)=

∫ 1

0

(I(x)u (f) + I(x)

v (f))

[λu]dλ

λ

=

∫ 1

(uvy +

1

2uyvx − uxvy +

1

2uvxy − uyv + uxyv

)dλ

=1

2uvy +

1

4uyvx −

1

2uxvy +

1

4uvxy −

1

2uyv +

1

2uxyv

Page 48: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

• Analogously,

F2 = H(y)u(x,y)(f)=

∫ 1

0

(I(y)u (f) + I(y)

v (f))

[λu]dλ

λ

=

∫ 1

0

(−uvx −

1

2uv2x +

1

2uxvx

)+ λ (uxv − u2xv)

)dλ

= −1

2uvx −

1

4uv2x +

1

4uxvx +

1

2uxv −

1

2u2xv

• So,

F=

12uvy + 1

4uyvx − 1

2uxvy + 1

4uvxy − 1

2uyv + 1

2uxyv

−12uvx − 1

4uv2x + 1

4uxvx + 1

2uxv − 1

2u2xv

Page 49: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Let K= F−F then

K=

12uvy − 1

4uyvx − 1

2uxvy − 1

4uvxy + 1

2uyv − 1

2uxyv

−12uvx + 1

4uv2x + 3

4uxvx − 1

2uxv + 1

2u2xv

then ∇ ·K = 0

• Also, K = (Dyθ,−Dxθ) with θ = 12uv − 1

4uvx − 1

2uxv

(curl in 2D)

Page 50: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Computation of Conservation Laws for SWW

• Step 1: Construct the form of the density

Construct a candidate density, for example,

ρ = c1Ωθ + c2uyθ + c3vyθ + c4uxθ + c5vxθ

which is scaling invariant under (all) scaling

symmetries

• Step 2: Determine the constants ci

Compute E = −Dtρ and remove time derivatives

Page 51: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

E = −(∂ρ

∂uxutx +

∂ρ

∂uyuty +

∂ρ

∂vxvtx +

∂ρ

∂vyvty +

∂ρ

∂θθt)

= c4θ(uux + vuy − 2Ωv + 12hθx + θhx)x

+ c2θ(uux + vuy − 2Ωv + 12hθx + θhx)y

+ c5θ(uvx + vvy + 2Ωu + 12hθy + θhy)x

+ c3θ(uvx + vvy + 2Ωu + 12hθy + θhy)y

+ (c1Ω + c2uy + c3vy + c4ux + c5vx)(uθx + vθy)

Require that

L(0,0)u(x,y)(E) = L(0,0)

v(x,y)(E) = L(0,0)θ(x,y)(E) = L(0,0)

h(x,y)(E) ≡ 0

• Solution: c1 = 2, c2 = −1, c3 = c4 = 0, c5 = 1 gives

ρ = 2Ωθ − uyθ + vxθ

Page 52: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

• Step 3: Compute the flux J

E = θ(uxvx + uv2x + vxvy + vvxy + 2Ωux

+12θxhy − uxuy − uuxy − uyvy − u2yv

+2Ωvy − 12θyhx)

+2Ωuθx + 2Ωvθy − uuyθx

−uyvθy + uvxθx + vvxθy

Apply the 2D homotopy operator:

J = (J1, J2) = Div−1E = (H(x)u(x,y)(E),H(y)

u(x,y)(E))

Page 53: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Compute

I(x)u (E) = uL(1,0)

u(x,y)(E) + Dx

(uL(2,0)

u(x,y)(E))

+1

2Dy

(uL(1,1)

u(x,y)(E))

= u

∂E

∂ux− 2Dx

(∂E

∂u2x

)−Dy

(∂E

∂uxy

)+Dx

(u

∂E

∂u2x

)+

1

2Dy

(u

∂E

∂uxy

)

= uvxθ + 2Ωuθ +1

2u2θy − uuyθ

Page 54: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Similarly, compute

I(x)v (E) = vvyθ +

1

2v2θy + uvxθ

I(x)θ (E) =

1

2θ2hy + 2Ωuθ − uuyθ + uvxθ

I(x)h (E) = −

1

2θθyh

Page 55: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Next,

J1 = H(x)u(x,y)(E)

=

∫ 1

0

(I(x)u (E) + I(x)

v (E) + I(x)θ (E) + I

(x)h (E)

)[λu]

λ

=

∫ 1

0

(4λΩuθ + λ2

(3uvxθ +

1

2u2θy − 2uuyθ + vvyθ

+1

2v2θy +

1

2θ2hy −

1

2θθyh

))dλ

= 2Ωuθ−2

3uuyθ+ uvxθ+

1

3vvyθ+

1

6u2θy

+1

6v2θy −

1

6hθθy+

1

6hyθ

2

Page 56: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Analogously,

J2 = H(y)u(x,y)(E)

= 2Ωvθ +2

3vvxθ − vuyθ −

1

3uuxθ −

1

6u2θx −

1

6v2θx

+1

6hθθx −

1

6hxθ2

Hence,

J=1

6

12Ωuθ−4uuyθ+6uvxθ+2vvyθ+u2θy+v2θy−hθθy+hyθ2

12Ωvθ+4vvxθ−6vuyθ−2uuxθ−u2θx−v2θx+hθθx−hxθ2

Page 57: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

Implementation in Mathematica & Software

Codes are available via the Internet

URL: http://www.mines.edu/fs home/whereman/

and via anonymous FTP from mines.edu in directory

pub/papers/math cs dept/software/

Publications

1. W. Hereman, M. Colagrosso, R. Sayers, A.

Ringler, B. Deconinck, M. Nivala, and M. S.

Hickman, Continuous and Discrete Homotopy

Operators and the Computation of Conservation

Laws. In: Differential Equations with Symbolic

Computation, Eds.: D. Wang and Z. Zheng,

Birkhauser Verlag, Basel (2005), Chapter 15, pp.

249-285.

Page 58: Symbolic Computation of Conservation Laws of Nonlinearinside.mines.edu/~whereman/talks/UCCS-05-Multi... · MarkFest 2005, Tuesday, June 7, 2005, 3:00p.m. Acknowledgements Collaborators:

2. W. Hereman, J.A. Sanders, J. Sayers, and J.P.

Wang, Symbolic computation of polynomial

conserved densities, generalized symmetries, and

recursion operators for nonlinear

differential-difference equations, CRM Proceedings

and Lecture Series 39, Eds.: P. Winternitz and D.

Gomez-Ullate, American Mathematical Society,

Providence, Rhode Island (2004), pp. 267-282.

3. W. Hereman, Symbolic computation of

conservation laws of nonlinear partial differential

equations in multi-dimensions, Int. J. Quan.

Chem. (2005) in press.