Gradient and Divergence in spherical coordinates

  • Thread starter Thread starter physicss
  • Start date Start date
  • Tags Tags
    Spherical
Click For Summary
The discussion centers on the divergence of a vector field expressed in spherical coordinates, specifically the components involving er, e(θ), and e(φ). There is a disagreement regarding the expression for the vector field, with one participant presenting a different form for e(θ) and raising questions about the dimensional consistency of the scalar field. The conversation highlights the importance of using LaTeX for clarity in mathematical expressions. It is emphasized that the gradient can be derived in spherical coordinates through direct substitution and basic linear algebra, which also allows for the computation of divergence, curl, and the Laplacian. Overall, the thread focuses on the mathematical formulation and consistency of vector fields in spherical coordinates.
physicss
Messages
25
Reaction score
4
Homework Statement
Hello, are my answers correct?

I had to calculate the gradient of f=z and f=xy in spherical coordinates.
My solution for f= z is: cos(θ) er+ (-sin(θ)) e(θ)

f=xy

rsin^2(θ)sin(2φ) er+ rcos(θ)cos(φ)sin(θ)sin(φ) e(θ)+ rcos(2φ)sin(θ) e(φ)

I also had to calculate the divergence of the following vectorfield (Image)

My result is: (scalarfield)

Sin^2(θ)cos^2(φ) er + rcos(2θ)cos^2(φ) e(θ)-rsin(θ)cos(2φ) e(φ)


Thanks in advance
Relevant Equations
er, e(θ) and e(φ) are the spherical base vectors
9527BE5E-8449-4D24-8FA2-A3BE2FC41DD0.jpeg

Vectorfield for the divergence
 
Physics news on Phys.org
physicss said:
rsin^2(θ)sin(2φ) er+ rcos(θ)cos(φ)sin(θ)sin(φ) e(θ)+ rcos(2φ)sin(θ) e(φ)
I get a slightly different ##\vec e_\theta##.
Please learn to use LaTeX.
 
physicss said:
My result is: (scalarfield)

Sin^2(θ)cos^2(φ) er + rcos(2θ)cos^2(φ) e(θ)-rsin(θ)cos(2φ) e(φ)
If it is a scalar, how come it has ##\vec e_r## etc?
I also note a dimensional inconsistency.
 
You can get the gradient in spherical (or any other) coordinates by direct substitution, using basic linear algebra. From there you can get div, curl, and the Laplacian just by vector operations:
 
Thread 'Chain falling out of a horizontal tube onto a table'
My attempt: Initial total M.E = PE of hanging part + PE of part of chain in the tube. I've considered the table as to be at zero of PE. PE of hanging part = ##\frac{1}{2} \frac{m}{l}gh^{2}##. PE of part in the tube = ##\frac{m}{l}(l - h)gh##. Final ME = ##\frac{1}{2}\frac{m}{l}gh^{2}## + ##\frac{1}{2}\frac{m}{l}hv^{2}##. Since Initial ME = Final ME. Therefore, ##\frac{1}{2}\frac{m}{l}hv^{2}## = ##\frac{m}{l}(l-h)gh##. Solving this gives: ## v = \sqrt{2g(l-h)}##. But the answer in the book...

Similar threads

Replies
6
Views
1K
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
6
Views
310
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 27 ·
Replies
27
Views
5K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K