21.04.2014 Views

Michael Corral: Vector Calculus

Michael Corral: Vector Calculus

Michael Corral: Vector Calculus

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.6 Gradient, Divergence, Curl and Laplacian 185<br />

Step 5: Substitute the formulas for i, j, k from Step 2 and the formulas for ∂F<br />

∂x , ∂F<br />

∂y , ∂F<br />

∂z<br />

from Step 4 into the Cartesian gradient formula∇F(x,y,z)= ∂F<br />

∂x i+∂F ∂y j+∂F ∂z k.<br />

Doing this last step is perhaps the most tedious, since it involves simplifying 3×3+<br />

3×3+2×2=22 terms! Namely,<br />

∇F=<br />

+<br />

1<br />

ρsinφ<br />

(<br />

ρsin 2 φ cosθ ∂F<br />

∂ρ −sinθ∂F +sinφ cosφ cosθ∂F<br />

∂θ ∂φ<br />

+cosφ cosθe φ )<br />

1<br />

ρsinφ<br />

(<br />

ρsin 2 φ sinθ ∂F<br />

∂ρ +cosθ∂F +sinφ cosφ sinθ∂F<br />

∂θ ∂φ<br />

+cosφ sinθe φ )<br />

+ 1 (<br />

ρcosφ ∂F )<br />

ρ ∂ρ −sinφ∂F (cosφe ρ −sinφe φ ),<br />

∂φ<br />

)<br />

(sinφ cosθe ρ −sinθe θ<br />

)<br />

(sinφ sinθe ρ +cosθe θ<br />

which we see has 8 terms involving e ρ , 6 terms involving e θ , and 8 terms involving e φ .<br />

But the algebra is straightforward and yields the desired result:<br />

∇F= ∂F<br />

∂ρ e 1 ∂F<br />

ρ+<br />

ρsinφ ∂θ e θ+ 1 ∂F<br />

ρ∂φ e φ ̌<br />

Example 4.19. In Example 4.17 we showed that∇‖r‖ 2 = 2r and∆‖r‖ 2 = 6, where<br />

r(x,y,z)= xi+yj+zk in Cartesian coordinates. Verify that we get the same answers<br />

if we switch to spherical coordinates.<br />

Solution: Since‖r‖ 2 = x 2 + y 2 + z 2 =ρ 2 in spherical coordinates, let F(ρ,θ,φ)=ρ 2 (so<br />

that F(ρ,θ,φ)=‖r‖ 2 ). The gradient of F in spherical coordinates is<br />

∇F= ∂F<br />

∂ρ e 1 ∂F<br />

ρ+<br />

ρsinφ ∂θ e θ+ 1 ∂F<br />

ρ∂φ e φ<br />

1<br />

= 2ρe ρ +<br />

ρsinφ (0)e θ+ 1 ρ (0)e φ<br />

= 2ρe ρ = 2ρ r , as we showed earlier, so<br />

‖r‖<br />

= 2ρ r = 2r, as expected. And the Laplacian is<br />

ρ<br />

∆F= 1 (<br />

∂<br />

ρ 2 ρ 2∂F<br />

)<br />

1 ∂ 2 (<br />

F 1 ∂<br />

+<br />

∂ρ ∂ρ ρ 2 sin 2 φ ∂θ 2+ ρ 2 sinφ ∂F )<br />

sinφ∂φ<br />

∂φ<br />

= 1 ρ 2 ∂<br />

∂ρ (ρ2 2ρ)+<br />

= 1 ρ 2 ∂<br />

∂ρ (2ρ3 )+0+0<br />

1<br />

ρ 2 sinφ (0)+ 1<br />

ρ 2 sinφ<br />

= 1 ρ 2 (6ρ2 )=6, as expected.<br />

∂<br />

∂φ (sinφ(0))

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!