VectorCalculus
Laplacian
compute the Laplacian of a function from R^n to R, or of a vector field
Calling Sequence
Parameters
Description
Examples
Laplacian(f, c)
Laplacian(F)
f
-
algebraic expression
c
(optional) list(name) or name[name, name, ...]; specify the list of variable names or coordinate system indexed by coordinate names
F
(optional) Vector or Vector-valued procedure; specify a vector field
The Laplacian(f, c) command computes the Laplacian of the function f. This is a synonym for (Del . Del)(f) or Del . Del(f).
If c is a list of names, the Laplacian is taken in the current default coordinate system by using the names in c as the coordinate names. If the number of given names is not compatible with this coordinate system, an error is raised.
If c is a name indexed by other names, the Laplacian is computed in this coordinate system by using the indices as the coordinate names. If the number of names is not compatible with the coordinate system, an error is raised.
If c is not specified, the current default coordinates are used. The default coordinates must be indexed by coordinate names, otherwise an error is raised.
The Laplacian(F) command, where F is either a vector field or a Vector-valued procedure (which is interpreted as a vector field), computes the Laplacian of the vector field as follows:
If the coordinate system of F is cartesian, then map the algebraic Laplacian onto the component functions.
Otherwise, if F is a 3-D vector field, use the formula Del⁡Del·F−Del&xDel&xF.
Otherwise, map F to cartesian coordinates, apply the algebraic Laplacian to the component functions, and then map the result back to the original coordinate system of F.
The Laplacian() command returns the differential form of the Laplacian operator in the current coordinate system. For more information, see SetCoordinates.
with⁡VectorCalculus:
Laplacian⁡x2+y2+z2,x,y,z
6
Laplacian⁡f⁡r,θ,polarr,θ
∂∂rf⁡r,θ+r⁢∂2∂r2f⁡r,θ+∂2∂θ2f⁡r,θrr
SetCoordinates⁡cylindricalr,θ,z
cylindricalr,θ,z
Laplacian⁡f⁡r,θ,z
∂∂rf⁡r,θ,z+r⁢∂2∂r2f⁡r,θ,z+∂2∂θ2f⁡r,θ,zr+r⁢∂2∂z2f⁡r,θ,zr
Del·Del⁡f⁡r,θ,z
Laplacian⁡
∂∂rr⁢∂∂rSF ⁡r,θ,z+∂∂θ∂∂θSF ⁡r,θ,zr+∂∂zr⁢∂∂zSF ⁡r,θ,zr
F≔VectorField⁡r3,zθ,sqrt⁡z
simplify⁡Laplacian⁡F
See Also
convert/PhysicsVectors
Physics/Vectors
Physics/Vectors/Laplacian
VectorCalculus[Curl]
VectorCalculus[Del]
VectorCalculus[Divergence]
VectorCalculus[DotProduct]
VectorCalculus[Gradient]
VectorCalculus[Nabla]
VectorCalculus[SetCoordinates]
VectorCalculus[VectorField]
Vectors/Laplacian
Download Help Document