Computing the Laplacian in different coordinate systems.
The Laplacian of a function ta(x.y.z) in 3D Cartesian coordinates in defined by
∇2u = (∂2u/∂x2) + (∂2u/∂y2) + (∂2u/∂z2)
Any function in 3 variables can also be expressed in terms of either cylindrical polar coordinates (r, θ, Φ) or spherical polar coordinates (r, θ, Φ). In these coordinate systems the Laplacian has its own form. These are
∇2u =(1/r) (∂/∂r) (r ∂u/∂r) + (1/r2) (∂2u/∂θ2) + (∂2u/∂z2) (cylindrical polar)
∇2u = (1/r2) (∂/∂r) (r2 ∂u/∂r) + (1/r2 sin θ) (∂/∂θ) (sin (θ) ∂u/∂θ) + (1/r2 sin2 θ)(∂2u/∂Φ2)
a. Take the function u(x. y,z) = -x3 - 3xy2+ z2. Compute the Laplacian in 3D Cartesian coordinates.
b. Convert the formula for u into a formula for u involving cylindrical polar coordinates. Then compute the Laplacian ∇2u using the cylindrical polar form. Show that your answer here is the same as your answer from (a)
c. For this section take u(x, y, z) = x2 Convert the formula for u into a formula for u involving spherical polar coordinates. Then compute the Laplacian ∇2u using the spherical polar form. Check that your answer is 2 .