Integrate a vector field in spherical coordinates

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 3K views
alpine_steer
Messages
4
Reaction score
0
I have the following integral:

## \oint_{S}^{ } f(\theta,\phi) \hat \phi \; ds ##Where s is a sphere of radius R.so ds = ##R^2 Sin(\theta) d\theta d\phi ##

Where ds is a scalar surface element. If I was working in Cartesian Coordinates I know the unit vector can be pulled out of integral and I can be on my way. But as ##\phi## changes as I move around the surface I am not sure how to account for this. is it a simple as including an additional ##R \; Sin(\theta)## in the integral?
 
Physics news on Phys.org
alpine_steer said:
If I was working in Cartesian Coordinates I know the unit vector can be pulled out of integral and I can be on my way.
Exactly as you said, that's the way to proceed.
alpine_steer said:
But as ϕ\phi changes as I move around the surface I am not sure how to account for this.
When you express ##\hat{\phi}## in terms of Cartesian unit vectors, each component will be a function of ##\theta## and ##\phi##, that is, the change in ##\phi## is automatically accounted for in the dependence of the components on this coordinate, as it should be.
alpine_steer said:
is it a simple as including an additional RSin(θ)R \; Sin(\theta) in the integral?
What makes you think so?
 
How about expressing the unit vector in terms of Cartesian basis vectors? Then you will get some extra stuff with angles inside the integral, but you won't have to worry about vectors changing direction inside the integral, because ## \textbf{i}##, ##\textbf{j}##, and ##\textbf{k}## can then be taken outside the integral.

I think I posted at near the same time as blue_leaf77, and it's the same idea.
 
Geofleur said:
How about expressing the unit vector in terms of Cartesian basis vectors? Then you will get some extra stuff with angles inside the integral, but you won't have to worry about vectors changing direction inside the integral, because ## \textbf{i}##, ##\textbf{j}##, and ##\textbf{k}## can then be taken outside the integral.

I think I posted at near the same time as blue_leaf77, and it's the same idea.

This is what I thought.
 
Last edited: