Calculate the volume integral of divergence over a sphere

In summary: But, when you use the grit approach, this term remains. So, the divergence theorem gives a more accurate result when F has a ##\hat{\theta}## component.
  • #1
Vitani11
275
3

Homework Statement


For the vector field F(r) = Ar3e-ar2rˆ+Br-3θ^ calculate the volume integral of the divergence over a sphere of radius R, centered at the origin.

Homework Equations


Volume of sphere V= ∫∫∫dV = ∫∫∫r2sinθdrdθdφ
Force F(r) = Ar3e-ar2rˆ+Br-3θ^ where ^ denote basis (unit vectors), F is a vector and is a function of r which is also a vector.
D(V) divergence over volume
θ = zenith angle (limits 0 to π)
Φ = azimuthal angle (limits 0 to 2π)
R = radius, r = variable of integration (limits 0 to R)

The Attempt at a Solution


The divergence of this thing is A(3r2e-ar2-2ar4e-ar2)
Here is the integral I set up:

D(V) = A∫∫∫(3r2e-ar2-2ar4e-ar2)r2sinθdrdθdΦ and I got down to the following: ... = 12Aπ∫r4e-ar2dr - 8aAπ∫r6e-ar2dr. My problem is integrating this. I mean is this even possible? If this were complex I am sure I could do it... but the integral of e-ar2 alone is already difficult to integrate.e-r2 I know has the solution of √π when limits are from -∞ to ∞ but these limits are also different.
 
Physics news on Phys.org
  • #2
Can I do this using a Fourier transform or expansion you think?
 
  • #4
Oh... thank you.
 
  • #5
Okay now even fixing that I am having the same issue. I still need to integrate ∫r4e-ar2dr and ∫r6e-ar2dr. Divergence obtained is A(5r2e-ar2-2ar4e-ar2)+Bcosθ/r4sinθ. When doing the integral the limits are from 0 to π and therefore the term with the B coefficient goes away since the integrals limits become 0 to 0, also after integrating the Φ component to 2π (since it doesn't depend on anything in the integral) I have this: 2πA[∫∫5r4e-ar2sinθdrdθ-2πA∫∫2ar6e-ar2sinθdrdθ. Then after integrating sinθ I get 20πA∫r4e-ar2dr-8πAa∫r6e-ar2dr
 
  • #7
Are you familiar with the divergence theorem?
 
  • Like
Likes Vitani11 and TSny
  • #8
Following Chestermiller: If you are allowed to use the divergence theorem then that's definitely the way to go!
 
  • Like
Likes Vitani11
  • #9
Okay awesome, thank you. I'll learn it
 
  • #10
So when I used the divergence theorem I got a value which was not 0, but when I integrated using grit over the volume instead of Gausses theorem I get something which is zero. I had to use the gamma function and what not for the second approach and there is more room for error when solving the problem, but this broke down simply and equaled 0 even after all the algebra which makes it more convincing than the first approach. Would it make sense for this this to be 0? What does this question even mean? I know the maths and what a divergence is... am I just summing up all the bits of outward force over the volume of the sphere? Using gausses theorem and the other method tells me that the divergence in the θ hat direction =0. Is this because of symmetry for θ in terms of the divergence throughout the spheres volume?
 
  • #11
Vitani11 said:
So when I used the divergence theorem I got a value which was not 0, but when I integrated using grit over the volume instead of Gausses theorem I get something which is zero. I had to use the gamma function and what not for the second approach and there is more room for error when solving the problem, but this broke down simply and equaled 0 even after all the algebra which makes it more convincing than the first approach.
I let Mathematica do the volume integral of the divergence. It gives a nonzero result which agrees with the result using the divergence theorem.

Using gausses theorem and the other method tells me that the divergence in the θ hat direction =0. Is this because of symmetry for θ in terms of the divergence throughout the spheres volume?
I'm not sure what "divergence in the θ hat direction" means. Can you clarify that?
 
  • Like
Likes Vitani11
  • #12
I meant that the divergence throughout the volume of the sphere is symmetric when integrating it throughout the zenith angle from 0 to pi i.e. it just cancels because the sum of the vectors represented by θ hat all sum to 0. Does this make sense? Also what did Mathematica tell you? I don't have software like that to check my work.
 
  • #13
Vitani11 said:
I meant that the divergence throughout the volume of the sphere is symmetric when integrating it throughout the zenith angle from 0 to pi i.e. it just cancels because the sum of the vectors represented by θ hat all sum to 0. Does this make sense?
We are integrating the divergence of the vector field F throughout the volume of the sphere. The divergence at each point is just a number. So, the integral is a sum of numbers rather than a sum of vectors.

However, F does have a ##\hat{\theta}## component. The contribution of this component of F to the divergence of F is Bcosθ/r4. As you noted in post #5, the integral of this expression over the volume of the sphere is zero. The only contribution to the volume integral of ∇ ⋅ F over the sphere come from the ##\hat{r}## component of F. This makes sense when considering the divergence theorem, because only the ##\hat{r}## component of F gives any flux through the surface of the sphere.

Also what did Mathematica tell you? I don't have software like that to check my work.
I let Mathematica do the integral ∫(5r2e-ar2-2ar4e-ar2)r2dr from r = 0 to r = R and it gave me an answer of R5e-aR2.
 
  • Like
Likes Vitani11
  • #14
Okay, thank you.
 

1. What does it mean to calculate the volume integral of divergence over a sphere?

Calculating the volume integral of divergence over a sphere involves finding the total amount of flux, or flow, of a vector field through the entire surface of a sphere. This can be thought of as measuring the "divergence" or spreading of the vector field at every point on the sphere.

2. How is the volume integral of divergence over a sphere related to the divergence theorem?

The volume integral of divergence over a sphere is a special case of the divergence theorem, which states that the flux of a vector field through a closed surface is equal to the volume integral of the divergence of that vector field over the enclosed volume. In this case, the closed surface is a sphere and the enclosed volume is the interior of that sphere.

3. What is the formula for calculating the volume integral of divergence over a sphere?

The formula for calculating the volume integral of divergence over a sphere is ∫∫∫ div(F) dV, where F is the vector field and the integration is performed over the entire volume of the sphere.

4. Why is the volume integral of divergence over a sphere useful in physics and engineering?

The volume integral of divergence over a sphere is useful in physics and engineering because it allows us to understand and quantify the flow, or divergence, of a vector field in a specific region. This can be applied to various real-world scenarios, such as fluid dynamics and electromagnetism, to analyze and predict the behavior of these systems.

5. Are there any practical applications of calculating the volume integral of divergence over a sphere?

Yes, there are many practical applications of calculating the volume integral of divergence over a sphere. One example is in fluid dynamics, where the volume integral of divergence over a sphere can be used to analyze and predict the movement and behavior of fluids, such as air and water, in various systems. It can also be applied in electromagnetism to understand and design electric and magnetic fields in different devices and technologies.

Similar threads

  • Advanced Physics Homework Help
Replies
1
Views
2K
  • Advanced Physics Homework Help
Replies
1
Views
431
  • Calculus
Replies
16
Views
489
  • Advanced Physics Homework Help
Replies
10
Views
2K
  • Advanced Physics Homework Help
Replies
7
Views
2K
  • Advanced Physics Homework Help
Replies
1
Views
2K
  • Advanced Physics Homework Help
Replies
1
Views
2K
  • Advanced Physics Homework Help
2
Replies
42
Views
4K
  • Advanced Physics Homework Help
Replies
1
Views
1K
  • Advanced Physics Homework Help
Replies
4
Views
2K
Back
Top