# Video: Finding the Laplacian of a Multivariable Exponential Function of Three Variables in the Spherical Coordinates

Find the Laplacian of the function 𝑓(𝑥, 𝑦, 𝑧) = 𝑒^(−𝑥² − 𝑦² − 𝑧²) in terms of the spherical coordinates 𝜌, 𝜃, and 𝜙.

05:27

### Video Transcript

Find the Laplacian of the function 𝑓 of 𝑥, 𝑦, 𝑧 equals 𝑒 to the negative 𝑥 squared minus 𝑦 squared minus 𝑧 squared in terms of the spherical coordinates 𝜌, 𝜃, and 𝜙.

There are two approaches we can take for this problem. The first approach is to take the Laplacian in Cartesian coordinates and then convert to spherical coordinates. Let’s try this method first. Recall that the Laplacian of a function ∇ squared 𝑓 is equal to the divergence of the gradient of 𝑓, which in Cartesian coordinates is given by ∇ two 𝑓 by ∇𝑥 squared plus ∇ two 𝑓 by ∇𝑦 squared plus ∇ two 𝑓 by ∇𝑧 squared. So to begin with, partial 𝑓 by partial 𝑥 is partial by partial 𝑥 of 𝑒 to the negative 𝑥 squared minus 𝑦 squared minus 𝑧 squared. So we differentiate with respect to 𝑥 and treat 𝑦 and 𝑧 as a constant, giving negative two 𝑥 times 𝑒 to the negative 𝑥 squared minus 𝑦 squared minus 𝑧 squared.

Therefore, ∇ two 𝑓 by ∇𝑥 squared is given by taking the partial derivative with respect to 𝑥 again of negative two 𝑥𝑒 to the negative 𝑥 squared minus 𝑦 squared minus 𝑧 squared. Differentiating partially with respect to 𝑥 and using the product rule gives us negative two times 𝑒 to the negative 𝑥 squared minus 𝑦 squared minus 𝑧 squared plus four 𝑥 squared 𝑒 to the negative 𝑥 squared minus 𝑦 squared minus 𝑧 squared.

We can take out a common factor of two times the exponent to give two 𝑒 to the negative 𝑥 squared minus 𝑦 squared minus 𝑧 squared times two 𝑥 squared minus one. Now, we could repeat this process for ∇ two 𝑓 by ∇𝑦 squared and ∇ two 𝑓 by ∇𝑧 squared. But we can save some time by recognizing the symmetry of the function. We can see that the function 𝑓 has the same dependence on 𝑦 and 𝑧 as it does on 𝑥. So differentiating partially with respect to 𝑦 and 𝑧 will have the same result but with 𝑦 and 𝑧 replacing 𝑥, respectively.

So our expressions for ∇ two 𝑓 by ∇𝑦 squared and ∇ two 𝑓 by ∇𝑧 squared will be the same as the expression for ∇ two 𝑓 by ∇𝑥 squared, but with 𝑦 and 𝑧 replacing 𝑥. Adding these all together and taking out the exponent as a common factor gives us the Laplacian of 𝑓 equal to two 𝑒 to the negative 𝑥 squared minus 𝑦 squared minus 𝑧 squared times two 𝑥 squared plus two 𝑦 squared plus two 𝑧 squared minus three. Let’s take out a common factor of negative one from the exponent and a common factor of two from the 𝑥 squared plus 𝑦 squared plus 𝑧 squared inside the parentheses.

In spherical coordinates, the radius 𝜌 squared is given by 𝑥 squared plus 𝑦 squared plus 𝑧 squared. So these two terms here are, in fact, just equal to 𝜌 squared. So this gives us our answer. The Laplacian of 𝑓, ∇ squared 𝑓, is equal to two 𝑒 to the negative 𝜌 squared times two 𝜌 squared minus three. An alternative method is to first convert to spherical coordinates and then take the Laplacian. As mentioned before, negative 𝑥 squared minus 𝑦 squared minus 𝑧 squared is just negative 𝜌 squared. So in spherical coordinates, the function 𝑓 of 𝜌, 𝜃, 𝜙 becomes simply 𝑒 to the negative 𝜌 squared.

This greatly simplifies the function 𝑓. But the difficulty with this method is that you need to either remember or be able to derive the Laplacian in spherical coordinates. In spherical coordinates, the Laplacian of 𝑓, ∇ squared 𝑓, is given by one over 𝜌 squared partial by partial 𝜌 of 𝜌 squared partial 𝑓 by partial 𝜌 plus one over 𝜌 squared sin 𝜃 partial by partial 𝜃 of sin 𝜃 partial 𝑓 by partial 𝜃 plus one over 𝜌 squared sin squared 𝜃 ∇ two 𝑓 by ∇𝜙 squared. The good news is that in this case, this will greatly simplify taking the Laplacian of 𝑓 since 𝑓 depends only on 𝜌. So any partial terms with respect to either 𝜃 or 𝜙 will be zero.

This means that we can disregard both the second and third term, as they will both be equal to zero. First, we will need to find partial 𝑓 by partial 𝜌, which is given by negative two 𝜌 times 𝑒 to the negative 𝜌 squared. So then the Laplacian of 𝑓 is given by one over 𝜌 squared times partial by partial 𝜌 of 𝜌 squared times negative two 𝜌𝑒 to the negative 𝜌 squared. This simplifies to one over 𝜌 squared times partial by partial 𝜌 of negative two 𝜌 cubed 𝑒 to the negative 𝜌 squared.

Differentiating with respect to 𝜌, we get one over 𝜌 squared times negative six 𝜌 squared 𝑒 to the negative 𝜌 squared plus four 𝜌 to the fourth times 𝑒 to the negative 𝜌 squared. Multiplying out the parentheses and taking out a factor of 𝑒 to the negative 𝜌 squared, but not a factor of two this time, gives us 𝑒 to the negative 𝜌 squared times four 𝜌 squared minus six, as before.