Electric field of a line charge with the divergence theorem

Click For Summary

Discussion Overview

The discussion revolves around the calculation of the electric field generated by a finite line charge using both integral and differential forms of Maxwell's equations, particularly focusing on the application of the divergence theorem. Participants explore the challenges of reproducing results from Griffiths' textbook and the implications of symmetry in the system.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant presents an integral form for the electric field above a line charge and attempts to derive the same result using the divergence theorem, but encounters discrepancies.
  • Another participant questions the use of cylindrical coordinates, suggesting that the system lacks the necessary symmetry for simplification.
  • A participant acknowledges a mistake in their integration approach and expresses uncertainty about how to correctly apply the divergence theorem.
  • Some participants clarify that while the divergence theorem can be used, the electric field does not exhibit cylindrical symmetry due to the finite length of the line charge.
  • Concerns are raised about the integration process, particularly regarding the treatment of the area element and the incorrect application of logarithmic functions in the calculations.
  • A later reply notes that the configuration does not allow for cylindrical symmetry because of the finite ends of the line charge, contrasting it with an infinitely long cylinder.

Areas of Agreement / Disagreement

Participants express differing views on the applicability of cylindrical symmetry in this context, with some agreeing that it cannot be used due to the finite nature of the line charge, while others explore the implications of their calculations without reaching a consensus on the correct approach.

Contextual Notes

Participants highlight limitations in their integration methods and assumptions about symmetry, as well as unresolved mathematical steps in their calculations. The discussion reflects ongoing uncertainties regarding the application of the divergence theorem in this specific scenario.

dipole knight
Messages
3
Reaction score
0
Hi,

on page 63 of David J. Griffiths' "Introduction to Electrodynamics" he calculates the electric field at a point z above a line charge (with a finite length L) using the electric field in integral form.
E_z = \frac{1}{4 \pi \epsilon_0} \int_{0}^{L} \frac{2 \lambda z}{\sqrt{(z^2 + x^2)^3}} dx = \frac{1}{4 \pi \epsilon_0} \frac{2 \lambda L}{z \sqrt{z^2 + L^2}}
whereas \lambda = \frac{Q}{L}
Basically it's a two-dimensional system with a horizontal x-axis and a vertical z-axis, the charges go from -L to L on the x-axis and we look at the electric field a distance z above the line (i.e. on the z-axis).

That's all fine and dandy but I have some serious troubles trying to reproduce that same result with the corresponding Maxwell equation in differential form and the divergence theorem.
This is what I got so far:

<br /> \vec{\nabla} \vec{E} = \frac{\rho}{\epsilon_0} \\<br /> \int \vec{\nabla} \vec{E} dV = \int \frac{\rho}{\epsilon_0} dV \\<br /> \int \vec{E} d\vec{A} = \int \frac{\lambda}{\epsilon_0} dl \\<br />
whereas I used \rho dV \propto \lambda dl

For the left side I use cylindrical coordinates and get:
<br /> \vec{E} \hat{x} = \frac{1}{2 \pi \epsilon_0 x z} \int {\lambda} dl<br />.

Since λ is constant I can pull it out of the integral and when I integrate I get as a final result:
\vec{E} \hat{x} = \frac{2 \lambda L}{4 \pi \epsilon_0 x z}

Now this is a completely different result than what I get when I use the formula for the electric field in the integral form. One of the problems that this happens is that the integral form actually has the vector difference between the position of the charge and the point at which you want to calculate the electric field, i.e. \int \lambda \frac{\vec{r}-\vec{r&#039;}}{\| \vec{r} - \vec{r&#039;}\|^3} dl whereas this is not the case in the Maxwell equation.

What am I doing wrong? Why cannot I reproduce the same result?
 
Physics news on Phys.org
dipole knight said:
For the left side I use cylindrical coordinates and get:
<br /> \vec{E} \hat{x} = \frac{1}{2 \pi \epsilon_0 x z} \int {\lambda} dl<br />.
How? Your system has no symmetry which could be used in the integral.
 
mfb said:
How? Your system has no symmetry which could be used in the integral.

I am not sure I understand what you mean.

Though I think I have made a mistake.
I wanted to integrate using the surface area for cylindrical coordinates, i.e.:
\int \vec{E} \; d\vec{A} = \int \vec{E} \; \hat{r} \; dr \; d\phi \; dx = \vec{E} \; \vec{r} \; ln(r) \; 2 \pi \cdot 2 L

whereas r is the radius of the Gaussian cylinder I have put around the line charge.
Although I just realized that this is actually the integral for the volume of a cylinder. I am not really sure how to integrate over the surface but I don't think that will solve the problem.

I still don't understand why it's not possible to use the divergence theorem to solve this problem. :/
 
It's not that you can't use the divergence theorem, as it holds no matter the case. You cannot use cylindrical symmetry to simplify the system because the E field in the system will not be cylindrically symmetric. To prove this to yourself, take the shape of the field when z>>L.

dipole knight said:
I wanted to integrate using the surface area for cylindrical coordinates, i.e.:
\int \vec{E} \; d\vec{A} = \int \vec{E} \; \hat{r} \; dr \; d\phi \; dx = \vec{E} \; \vec{r} \; ln(r) \; 2 \pi \cdot 2 L

whereas r is the radius of the Gaussian cylinder I have put around the line charge.
Although I just realized that this is actually the integral for the volume of a cylinder. I am not really sure how to integrate over the surface but I don't think that will solve the problem.

Even as a volume integral, this is incorrect, as \hat{r} is a unit vector, and I don't know where you are getting the ln(r) from. The area element d\vec{A} = \vec{r} \; d\phi dx is proportional to and in the direction of \vec{r}. To get the surface area, the area element is integrated at constant radius r=R. However, \vec{E} \cdot \hat{r} would be a function of r and x, so it cannot be pulled out of the surface integral.
 
Jasso said:
It's not that you can't use the divergence theorem, as it holds no matter the case. You cannot use cylindrical symmetry to simplify the system because the E field in the system will not be cylindrically symmetric. To prove this to yourself, take the shape of the field when z>>L.



Even as a volume integral, this is incorrect, as \hat{r} is a unit vector, and I don't know where you are getting the ln(r) from. The area element d\vec{A} = \vec{r} \; d\phi dx is proportional to and in the direction of \vec{r}. To get the surface area, the area element is integrated at constant radius r=R. However, \vec{E} \cdot \hat{r} would be a function of r and x, so it cannot be pulled out of the surface integral.

Yes, thank you!
The I actually got the ln(r) from the unit vector, since
\hat{r} = \frac{\vec{r}}{r} and when integrating 1/r you get ln(r).
You are right though, my calculations are a mess, too many mistakes. Sorry about that. :/

At least I now know that this configuration does not permit cylindrical symmetry because of both ends of the cylinder, which seem to be the trouble makers.
Something like that would work for an infinitely long cylinder, though.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
477
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
867
  • · Replies 29 ·
Replies
29
Views
2K
Replies
92
Views
5K
  • · Replies 10 ·
Replies
10
Views
1K
  • · Replies 12 ·
Replies
12
Views
2K
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K