Evaluating Scalar 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
5 replies · 2K views
bowlbase
Messages
145
Reaction score
2

Homework Statement


Evaluate the scalar field ##f(r, \theta, \phi)= \mid 2\hat{r}+3\hat{\phi} \mid## in spherical coords.


Homework Equations


Law of Cosines?

##\mid \vec{A} + \vec{B} \mid = \sqrt{A^2+B^2+2ABCos(\theta)}##

The Attempt at a Solution



I'm not sure the law of cosines is exactly what I'm suppose to use but so far it is the only thing that I've found that seems to fit the way the problem is presented.

If this is the correct way then:
##\mid 2\hat{r}+3\hat{\phi} \mid=\sqrt{2^2+3^2+12cos(\theta)}##


Am I doing this correctly?
 
Physics news on Phys.org
bowlbase said:

Homework Statement


Evaluate the scalar field ##f(r, \theta, \phi)= \mid 2\hat{r}+3\hat{\phi} \mid## in spherical coords.


Homework Equations


Law of Cosines?

##\mid \vec{A} + \vec{B} \mid = \sqrt{A^2+B^2+2ABCos(\theta)}##

The [itex]\theta[/itex] which occurs in this expression is not the spherical coordinate [itex]\theta[/itex]. This is obviously going to be a source of confusion, so you need to find a different letter for the angle between [itex]\vec A[/itex] and [itex]\vec B[/itex], such as [itex]\alpha[/itex]:
[tex] \|\vec{A} + \vec{B}\| = \sqrt{A^2 + B^2 + 2AB\cos \alpha}[/tex]

However I think the intended method is to start from
[tex] \|2 \hat r + 3 \hat \phi\|^2 = (2 \hat r + 3 \hat \phi) \cdot (2 \hat r + 3 \hat \phi)[/tex]

The Attempt at a Solution



I'm not sure the law of cosines is exactly what I'm suppose to use but so far it is the only thing that I've found that seems to fit the way the problem is presented.

If this is the correct way then:
##\mid 2\hat{r}+3\hat{\phi} \mid=\sqrt{2^2+3^2+12cos(\alpha)}##


Am I doing this correctly?

Now all you need is the angle [itex]\alpha[/itex] between [itex]\hat r[/itex] and [itex]\hat \phi[/itex].
 
I made a mistake. The question should be: ##\mid 2\hat{r} +3\hat{\theta} \mid##
 
I'm not sure how I would go about finding the angle between the two vectors in spherical. I could probably switch them to Cartesian but is there a simpler way via spherical?