Calculating Divergence With Spherical Coords

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 4K views
maherelharake
Messages
261
Reaction score
0

Homework Statement



Calculate div v.

v= r sin(θ) r + r sin(2θ) cos(φ) θ + r cos(2θ) φ.


Homework Equations





The Attempt at a Solution



I've never had to do a problem like this using spherical coords, so I am not sure where to start. I have the general formula though.
 
Physics news on Phys.org
What you've shown is not a vector. I'm guessing you omitted putting hats on some of the symbols, like [tex]\hat r[/tex]. But if you have the formula for a gradient in spherical coordinates, just use it. Find the functions in front of [tex]\hat r[/tex], [tex]\hat \theta[/tex] and [tex]\hat \phi[/tex] and use it.
 
What I have so far is attached (as 6B). Am I on the right track?


http://i77.photobucket.com/albums/j72/maherelharake/photo-25.jpg
 
maherelharake said:
What I have so far is attached (as 6B). Am I on the right track?


http://i77.photobucket.com/albums/j72/maherelharake/photo-25.jpg

Some parts are right. You got some extra hats hanging around. The divergence should be a scalar, right? It shouldn't have any vector parts. And you haven't expanded your derivatives yet.
 
Thank you for responding.
I was still working on it, I just wanted to see if I was on the right track. What about now?
 

Attachments

  • photo.jpg
    photo.jpg
    38.5 KB · Views: 580