Calculating the divergence of r(arrow)/r^a and finding charge density

Click For Summary

Homework Help Overview

This discussion revolves around calculating the divergence and curl of the vector field \(\vec{E}=\frac{q\vec{r}}{4\pi\epsilon_{0}r^{a}}\) and finding the corresponding charge density. The problem involves concepts from vector calculus and electromagnetism.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to calculate the divergence and curl of the given vector field, using the divergence theorem and spherical coordinates. Some participants question the validity of the original poster's application of the divergence theorem and suggest recalculating the divergence correctly in spherical coordinates.

Discussion Status

Participants are actively engaging with the original poster's calculations, offering corrections and suggesting further investigation into the divergence and curl in spherical coordinates. There is a recognition of the need to clarify the application of the divergence theorem and the conditions under which the Dirac delta function is applicable.

Contextual Notes

There are indications of confusion regarding the use of the divergence theorem and the properties of the Dirac delta function, particularly in relation to the parameter 'a'. The original poster expresses uncertainty about their understanding of these concepts.

mjordan2nd
Messages
173
Reaction score
1

Homework Statement



This is a three part problem. My first task is to calculate the divergence of \vec{r}/r^{a}. Next, I am to calculate its curl. Then I'm supposed to find the charge density that would produce the field

\vec{E}=\frac{q\vec{r}}{4\pi\epsilon_{0}r^{a}}

The Attempt at a Solution



I calculated the curl by first calculating the surface integral through a sphere of r/r^a:

\oint\frac{\vec{r}}{r^{a}}r^{2}d\phi sin\theta d\theta \hat{r}=\frac{4\pi\left|\vec{r}\right|}{r^{a-2}}

By the divergence theorem \frac{4\pi\left|\vec{r}\right|}{r^{a-2}}=\int_{v}\nabla\bullet\frac{\vec{r}}{r^{a}}d\tau=\int_{v}\frac{4\pi\left|\vec{r}\right|}{r^{a-2}}\delta^{3}(\vec{r})d\tau

Which implies that the divergence of r/r^a is \frac{4\pi\delta^{3}(\vec{r})}{r^{a-3}}.

This would eventually give me the charge density as \frac{q\delta^{3}(r)}{r^{a-3}}

Does this look correct? Any help would be appreciated. Thanks in advance.
 
Physics news on Phys.org
Look at the expression of the curl in spherical coordinates. What happens if you calculate the curl of a field that has only a radial component?

I don't see how you get what you get "by the divergence theorem". Use the divergence in spherical coordinates to take the divergence of your field correctly. You don't get a Dirac delta function for all values of a.
 
Sorry, I didn't post that earlier. I calculated the curl of the field to be 0.

As for the dirac-delta function, I only learned about that a few days ago and I have a very un-intuitive, elementary understanding of it. That said, I don't see why the dirac-delta function isn't applicable for all values of 'a' since the divergence outside of the origin should be 0 for a field directed radially outward. I didn't have any test to check my answer except plugging 3 into the value for 'a', which reduces to the normal electric field, and my answer checks out at that point.

According to my understanding of the divergence theorem the surface integral of a field through a surface, which I chose to be a sphere, become the volume integral of the divergence of that field. In the following equation:

\int_{v}\nabla\bullet\frac{\vec{r}}{r^{a}}d\tau=\int_{v}\frac{4\pi\left|\vec{r}\right|}{r^{a-2}}\delta^{3}(\vec{r})d\tau

The integral on the right hand side when evaluated has the same value as the surface integral for my field. Since the volumes of both integrals are the same I reasoned that the integrands must be the same.

Could you please point me in the right direction as to what I may be doing wrong.

Thanks for the response.
 
Last edited:
The divergence theorem is not what you say it is. It relates a volume integral to a surface integral. Please look it up.

Also look up how to express the divergence in spherical coordinates. In spherical coordinates the radial piece of the divergence is not just the derivative with respect to r. So look it up and take the correct divergence. Then you will see that if a = 2, you get something that is zero everywhere except at r = 0. That's where the Dirac delta function comes in.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 13 ·
Replies
13
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
1
Views
2K
Replies
11
Views
3K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K