Divergence - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


DifferentialGeometry[Tools]

  

Divergence

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Divergence(X)

Parameters

X

-

a vector

Description

• 

The divergence of a vector, as defined by the usual formula in vector calculus, is not an intrinsic operator which can be defined in a coordinate independent manner. Still, for a number of purposes it is helpful to have this simple procedure.

• 

The command Divergence is part of the DifferentialGeometry:-Tools package, and so can be used in the form Divergence(...) only after executing the commands with(DifferentialGeometry) and with(Tools) in that order.  It can always be used in the long form DifferentialGeometry:-Tools:-Divergence.

Examples

withDifferentialGeometry:withTools:

 

Example 1.

First initialize a 3-dimensional manifold M with coordinates [x, y, z].

DGsetupx,y,z,M:

XDGzipa,b,cx,y,z,D_x,D_y,D_z,plus

Xax,y,zD_x+bx,y,zD_y+cx,y,zD_z

(1)

DivergenceX

zcx,y,z+ybx,y,z+xax,y,z

(2)

See Also

DifferentialGeometry

Tools

DGzip

CovariantDerivative

ExteriorDerivative