Gradient in spherical coordinates

In summary, the homework statement says that given a gradient in rectangular coordinates, how would you write it in spherical coordinates? The attempt at a solution anyone? Sure, it's possible! If you're working on Zwiebach, I'm sure you have a mechanics texbook lying around somewhere! Or a Griffith's E&M! It's done in there if you ever get tired of looking. But it's not very difficult. del=x-hat d/dx+y-hat d/dy+z-hat d/dz in spherical coordinates, we have: \vec{i}_{r}=\sin\phi(\cos\theta\vec{i}+\sin\
  • #1
ehrenfest
2,020
1

Homework Statement


Given the gradient

del = x-hat d/dx + y-hat d/dy + z-hat d/dz

in rectangular coordinates, how would you write that in spherical coordinates. I can transform the derivatives into spherical coordinates. But then I need to express the rectangular basis vectors in terms of the spherical basis vectors. Is that possible?

Homework Equations


The Attempt at a Solution

 
Physics news on Phys.org
  • #2
Anyone?
 
  • #3
Sure it's possible!

If you're working on Zwiebach, I'm sure you have a mechanics texbook lying around somewhere! Or a Griffith's E&M ! It's done in there if you ever get tired of looking. But it's not very difficult.
 
  • #4
del = x-hat d/dx + y-hat d/dy + z-hat d/dz

I am sorry. This is really bothering me. Can someone please walk me through how you would convert this to spherical coordinates? All of my books just say something like "after tedious calculations," and then show the gradient and the Laplacian in spherical coordinates.

You do not need to show me the tedious calculations. Just tell me what to do!
 
  • #5
Okay, so you wish to represent rectangular coordinates in terms of spherical ones.

We have:
[tex]\vec{i}_{r}=\sin\phi(\cos\theta\vec{i}+\sin\theta\vec{j})+\cos\phi\vec{k}[/tex]
[tex]\vec{i}_{\phi}=\cos\phi(\cos\theta\vec{i}+\sin\theta\vec{j})-\sin\phi\vec{k}[/tex]
[tex]\vec{i}_{\theta}=-\sin\theta\vec{i}+\cos\theta\vec{j}[/tex]
Now,
Compute the following quantity:
[tex]\sin\phi\cos\theta\vec{i}_{r}+\cos\phi\cos\theta\vec{i}_{\phi}-\sin\theta\vec{i}_{\theta}[/tex]
see if that helps you
 
  • #6
That equals [tex] \vec{i}[/tex].
So, the best way to find the expressions for [tex] \vec{j}[/tex] and [tex] \vec{k}[/tex] in terms of [tex] \vec{i_r},\vec{i_{\phi}},\vec{i_{\theta}}[/tex] is probably by inverting that matrix, right?
 
  • #7
Sure, but you should be able to do that without a full row reduction procedure.

Remember that the square of cosine plus the sine square equals 1.
What should you therefore multiply your vectors with to get, say, k?
 
  • #8
OK. Got the gradient. Now, to calculate the Laplacien, I just dot that with itself. But in the equation of the Laplacian, it seems like there are cross-terms between the coefficients of different spherical basis vectors. Does that make sense. Why do you not just square the coefficients of [tex] \vec{i_r},\vec{i_{\phi}},\vec{i_{\theta}}[/tex] in the gradient and add them up? Since [tex] \vec{i_r},\vec{i_{\phi}},\vec{i_{\theta}}[/tex] I thought you could do that.
 
  • #9
Does my question make sense to anyone?
 
  • #10
Please?
 
  • #11
Ok. Sure. You don't dot a gradient with itself to get the laplacian. You take the divergence of the gradient to get the laplacian.
 
  • #12
ehrenfest said:
OK. Got the gradient. Now, to calculate the Laplacien, I just dot that with itself. But in the equation of the Laplacian, it seems like there are cross-terms between the coefficients of different spherical basis vectors. Does that make sense. Why do you not just square the coefficients of [tex] \vec{i_r},\vec{i_{\phi}},\vec{i_{\theta}}[/tex] in the gradient and add them up? Since [tex] \vec{i_r},\vec{i_{\phi}},\vec{i_{\theta}}[/tex] I thought you could do that.

Sure you can "dot" the gradient with itself to get the Laplacian operator, as long as you do so PROPERLY.

The gradient in spherical coordinates is:
[tex]\nabla=\vec{i}_{r}\frac{\partial}{\partial{r}}+\vec{i}_{\phi}\frac{\partial}{r\partial\phi}+\vec{i}_{\theta}\frac{\partial}{r\sin\phi\partial\theta}[/tex]
The Laplacian is now gained as follows:
[tex]\nabla^{2}=\vec{i}_{r}\cdot\frac{\partial\nabla}{\partial{r}}+\vec{i}_{\phi}\cdot\frac{\partial\nabla}{r\partial\phi}+\vec{i}_{\theta}\cdot\frac{\partial\nabla}{r\sin\phi\partial\theta}[/tex]
Remember that unit vectors are varying functions of the angles.
 
Last edited:
  • #13
I see. Thanks.
 
  • #14
could anyone help me in preparing my presentation?
who introduce the spherical coordinates? its back ground?
 

FAQ: Gradient in spherical coordinates

1) What is meant by "gradient" in spherical coordinates?

The gradient in spherical coordinates is a mathematical concept used to describe the rate of change of a function with respect to its spatial coordinates. In simpler terms, it represents the direction and magnitude of the steepest increase of a function in three-dimensional space.

2) How is the gradient calculated in spherical coordinates?

The gradient in spherical coordinates is calculated using a set of equations known as the spherical coordinate system. It involves taking the partial derivatives of the function with respect to the three spherical coordinates: radius, inclination, and azimuth. These derivatives are then combined to form a vector representing the direction and magnitude of the gradient.

3) What is the physical significance of the gradient in spherical coordinates?

The gradient in spherical coordinates has important physical significance in fields such as physics and engineering. It can be used to describe the flow of heat, electricity, or other quantities in three-dimensional space. It also plays a crucial role in understanding the behavior of physical systems, such as electromagnetic fields and fluid dynamics.

4) Can the gradient in spherical coordinates be visualized?

Yes, the gradient in spherical coordinates can be visualized using vector fields or contour plots. Vector fields show the direction and magnitude of the gradient at different points in space, while contour plots represent the changes in the function along different directions in the spherical coordinate system.

5) How is the gradient in spherical coordinates related to other coordinate systems?

The gradient in spherical coordinates can be converted to other coordinate systems, such as Cartesian and cylindrical coordinates, using mathematical transformations. It can also be used to derive other important quantities, such as the Laplacian and the divergence, which have applications in various fields of science and engineering.

Back
Top