Divergence theorem on Octant of a sphere

In summary, the conversation discussed a problem on Vector Calculus from Griffith's book, specifically the use of the Divergence Theorem in spherical coordinates. The conversation included steps for solving the problem, as well as a discussion on the placement of angles in physics and mathematics. Additionally, resources for help with solving similar problems were requested.
  • #1
Reshma
749
6
Hi everyone!

I am having some trouble with this particular problem on Vector Calculus from Griffith's book.

The question is: Check the divergence theorem for the vector function(in spherical coordinates)
[tex]\vec v = r^2\cos\theta\hat r + r^2\cos\phi \hat \theta - r^2\cos\theta\sin\phi\hat \phi[/tex]
using your volume as one octant of the sphere of radius R.

According to the Divergence Theorem:
[tex]\int_v (\nabla.\vec v)d\tau = \oint_s \vec v.d\vec a [/tex]

Here is how I went about it exclulsively using spherical coordinates:
Part 1: Volume integral
I found the divergence of the given vector field according to spherical coordinates and integrated it over the volume of the octant. I got the answer for the left hand side as [tex]\frac{\pi R^4}{4}[/tex] which tallies with the solution provided.

Part 2: Surface integral
Here is where my problem lies. While calculating the volume integral, you are find the volume integral over 4 surfaces of the octant viz. the spherical surface, xy plane, yz plane and xz plane.

For the spherical surface:Radius R is constant
[tex]d\vec a_1 = r^2\sin\theta d\theta d\phi \hat r [/tex]

For the xy plane: [tex]\theta[/tex] is constant
[tex]d\vec a_2 = rdrd\phi \hat \theta[/tex]

Now I don't have a clue on how to calculate the surface integral for the other two surfaces. Although I get the required answer by calculating the surface integral just over the spherical surface, I still want to know the procedure for the other surfaces since it is specifically mentioned in the question that the surface integral has to calculated over the entire surface.

Any help would be greatly appreciated.

Regards,
Reshma
 
Physics news on Phys.org
  • #2
For the xy-plane, it is NOT θ that is constant, it is [tex]\phi= \frac{\pi}{2}[/tex]. ρ ranges from 0 to R, of course, and θ from 0 to [tex]\frac{\pi}{2}[/tex].

On the yz-plane, θ is constant: θ= [tex]\frac{\pi}{2}[/tex]. ρ varies from 0 to R again and φ from 0 to [tex]\frac{\pi}{2}[/tex].

On the xz-plane, θ is constant: θ= 0. ρ varies form 0 to R and φ from 0 to [tex]\frac{\pi}{2}[/tex].
 
  • #3
For the part of the surface in the xz-plane, [itex]\phi=0[/itex] so the field becomes:

[tex]\vec v = r^2\cos \theta \hat r +r^2 \hat \theta[/tex]
This field is perpendicular to the normal at the surface (for points in the xz-plane:[itex]\hat r[/itex] and [itex]\hat \theta[/itex] lie in the xz-plane). So the flux through this side is 0.

For the yz-plane this fails and I think this is the place where you have to resort to more cumbersome calculations. My advice is to write everything out in cartesian components. Use:

[tex]\hat r = \sin \theta \cos \phi \hat x + \sin \theta \sin \phi \hat y +\cos \theta \hat z[/tex]
[tex]\hat \theta = \cos \theta \cos \phi \hat x + \cos \theta \sin \phi \hat y -\sin \theta \hat z[/tex]
[tex]\hat \phi = -\sin \phi \hat x +\cos \phi \hat y[/tex]

Write it out and pick out the component pointing in the [itex]-\hat x[/itex] direction.
The difficulty is ofcourse that the spherical unit vector depend on the position as well.
 
  • #4
On second thought, for the yz-plane, you can write [itex]d\vec a = rdr d\theta \hat \phi[/itex], that might work better :)

HallsofIvy said:
For the xy-plane, it is NOT θ that is constant, it is [tex]\phi= \frac{\pi}{2}[/tex]. ρ ranges from 0 to R, of course, and θ from 0 to [tex]\frac{\pi}{2}[/tex].

On the yz-plane, θ is constant: θ= [tex]\frac{\pi}{2}[/tex]. ρ varies from 0 to R again and φ from 0 to [tex]\frac{\pi}{2}[/tex].

On the xz-plane, θ is constant: θ= 0. ρ varies form 0 to R and φ from 0 to [tex]\frac{\pi}{2}[/tex].

In physics (and Griffiths' EM in particular) the azimuthal angle is commonly taken to be [itex]\phi[/itex] and the declination angle [itex]\theta[/itex]. In mathematics it's the other way around.
 
  • #5
Reshma,

flux over the:

1) spherical boundary surface: (pi/4)R^4 (your result, I agree)

2) xz plane boundary surface: 0 (Galilleo's result, I agree)

So you need the flux over the:

3) xy plane boundary surface: you found the area element for this; now dot that with v and integrate (it's not hard)

4) yz plane boundary surface: I think you still need to find this area element, then dot with v and integrate.

Hint: Given the results of 1) and 2), you can see that 3) and 4) need to cancel. (They do!)

By the way, nice job showing us the work you already did. You're almost there!
 
  • Like
Likes Hediye
  • #6
"In physics (and Griffiths' EM in particular) the azimuthal angle is commonly taken to be and the declination angle . In mathematics it's the other way around."

I always hated that--- even in EE they reverse it from math--- but I first learned it with the azimuthal angle to be phi...
 
  • #7
When working in two dimensions and polar coordinates, the angle is always taken to be [itex]\theta[/itex], even in physics. So why change it when going to 3D? I remember it took me an hour once to figure out what was wrong with my calculation after getting a nutty answer. It's definitely not the kind of error you would think of soon (well, for me it is now).
 
  • #8
I've learned it and used it in one way only.

polar plane

[tex] \rho,\varphi [/tex]

cylindrical

[tex]\rho,\varphi,z [/tex]

spherical

[tex] r,\varphi,\vartheta [/tex]

Daniel.
[tex]
 
  • #9
Thanks for the help everyone! I think I got the answers. BTW, can someone provide me with some links on line integrals, volume and surface integrals. I'm trying to solve the problems given at the end of Chapter 1 in Griffith's books and I'm finding them tougher than I expected, thanks to the limited resources I have. I would be very grateful if you folks can point out to me some resources which can help me solve Griffith's problems.
 
  • #10
I can think of only one...

http://tutorial.math.lamar.edu/download.asp

Daniel.
 
Last edited by a moderator:

What is the Divergence Theorem on Octant of a Sphere?

The Divergence Theorem on Octant of a Sphere is a mathematical theorem that relates the surface integral of a vector field over a closed surface to the volume integral of the divergence of that vector field within the volume enclosed by the surface.

How is the Divergence Theorem on Octant of a Sphere used in science?

The Divergence Theorem on Octant of a Sphere is used in physics and engineering to calculate flux, which is the flow of a vector field through a surface. It is also used in the study of fluid dynamics and electromagnetism.

What is the significance of the "octant of a sphere" in the Divergence Theorem?

The "octant of a sphere" refers to one-eighth of a full sphere, specifically the portion of the sphere that lies in the positive x, y, and z axes. This specific shape is important in the Divergence Theorem because it allows for easier calculations and simplifications.

How is the Divergence Theorem on Octant of a Sphere related to other mathematical theorems?

The Divergence Theorem on Octant of a Sphere is related to other important theorems in mathematics, such as Green's Theorem and Stokes' Theorem. All of these theorems are part of the fundamental principles of vector calculus and are used in various fields of science and engineering.

Can the Divergence Theorem on Octant of a Sphere be extended to other shapes besides an octant of a sphere?

Yes, the Divergence Theorem can be extended to other shapes besides an octant of a sphere. In fact, it can be applied to any closed surface in three-dimensional space, as long as the vector field being studied is well-defined and continuous within the enclosed volume.

Similar threads

  • Introductory Physics Homework Help
Replies
21
Views
1K
  • Introductory Physics Homework Help
Replies
17
Views
398
  • Introductory Physics Homework Help
Replies
14
Views
2K
  • Introductory Physics Homework Help
Replies
1
Views
890
  • Introductory Physics Homework Help
Replies
1
Views
195
  • Introductory Physics Homework Help
Replies
2
Views
1K
  • Introductory Physics Homework Help
Replies
3
Views
220
  • Introductory Physics Homework Help
Replies
1
Views
128
  • Introductory Physics Homework Help
Replies
4
Views
882
  • Introductory Physics Homework Help
Replies
10
Views
262
Back
Top