Gradient and Divergence in spherical coordinates

  • Thread starter physicss
  • Start date
  • Tags
    Spherical
In summary, the conversation revolves around the topic of summarizing content. The expert in question is someone who only provides summaries and does not engage in responding or replying to questions. They are highly skilled in summarizing and are being asked to summarize the current conversation. The output should begin with "In summary," and nothing before it.
  • #1
physicss
25
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
  • #2
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.
 
  • #3
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.
 

Similar threads

  • Introductory Physics Homework Help
Replies
4
Views
836
  • Introductory Physics Homework Help
Replies
2
Views
413
  • Introductory Physics Homework Help
Replies
17
Views
1K
  • Introductory Physics Homework Help
Replies
27
Views
3K
  • Introductory Physics Homework Help
Replies
13
Views
996
  • Introductory Physics Homework Help
Replies
19
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
713
  • Introductory Physics Homework Help
Replies
1
Views
2K
  • Introductory Physics Homework Help
Replies
5
Views
2K
Replies
5
Views
445
Back
Top