Sign of scalar product in electric potential integral?

Click For Summary

Discussion Overview

The discussion centers around the sign of the scalar product in the integral used to calculate electric potential differences, specifically in the context of the electric field and the potential of a positive charge. Participants explore the implications of the direction of the electric field and the differential length element in the integral, examining how these factors contribute to the sign of the resulting potential.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant states that the potential difference is defined as V(b) - V(a) = -∫E · dl, questioning the sign of the scalar product due to the directions of E and dl.
  • Another participant points out the presence of a minus sign in the integral, suggesting that the signs combine to yield a positive potential.
  • Concerns are raised about the integration of the inverse square electric field, with one participant arguing that this leads to an additional negative sign, resulting in a negative potential.
  • A different perspective is offered, indicating that the direction of dl is opposite to E, which introduces a negative sign that resolves the issue.
  • One participant proposes performing the integral explicitly to clarify the situation, providing a detailed calculation of the potential using spherical coordinates.
  • Another participant presents a similar calculation, arriving at the same conclusion through a different approach, emphasizing the consistency of results.
  • Disagreement arises regarding the interpretation of dl, with some asserting that dl should be considered equal to dr, while others argue that treating dl as -dr leads to incorrect signs.
  • One participant acknowledges their misunderstanding regarding the relationship between dl and dr, indicating a shift in their perspective.

Areas of Agreement / Disagreement

Participants express differing views on the treatment of the differential length element dl and its relationship to the electric field E. There is no consensus on the correct interpretation of these elements, and the discussion remains unresolved.

Contextual Notes

Participants highlight the importance of sign conventions and the implications of vector directions in the context of the integral. The discussion reveals a dependency on the definitions and assumptions made regarding the vectors involved.

platonic
Messages
38
Reaction score
0
the potential difference between b and a is defined as follows:

V(b) - V(a) = -∫E [itex]\bullet[/itex]dl

the integral is taken from a to b.

so the potential of a positive charge, with infinity as reference, is

V(r) - V(infinity) = V(r) = -∫E [itex]\bullet[/itex]dl

the integral is from infinity to r.

My question is this. E points outward, and since integral is from infinity to r, we would be moving inward over the integral. So dl, and hence the scalar product in the integral, should be negative. But since E is inverse square in r, integrating gives another negative sign, giving us 3 in all.This would lead to a negative potential for the positive charge.

Clearly, the potential of the positive charge is positive. But that means the scalar product in this integral is also positive, even though E and dl seem to be pointing is opposite directions.
 
Last edited:
Physics news on Phys.org
don't you see the minus sign before it.
 
andrien said:
don't you see the minus sign before it.

true. taking E[itex]\bullet[/itex]dl to be negative, the negative signs combine to give a positive.

But E is inverse square in r. When you compute the integral in terms of r, you get an extra negative sign, which makes the potential negative. Integral of 1/r^2 is negative.
 
[itex]\vec{dl}[/itex] is a vector whose direction is opposite the direction of E and produces a minus sign. The scalar under integral should be integrated over [itex]dl[/itex] ( scaler) and this happens to be [itex]-dr[/itex]. The last minus sign solves your problem.
 
Let's do the integral. That might clarify this issue. As the electric field, let's take the Coulomb field of a point charge at rest in the origin,

[tex]\vec{E}(\vec{x})=\frac{Q}{4 \pi r^3} \vec{x}, \quad \text{with} \quad r=|\vec{x}|.[/tex]

Since [itex]\vec{\nabla} \times \vec{E}=0[/itex] for all [itex]\vec{x} \in \mathbb{R}^3 \setminus\{0\}[/itex] and since this domain is simply connected, there exists a scalar potential, i.e.,

[tex]\vec{E}=-\vec{\nabla} \Phi.[/tex]

It's most easy to calculate the potential in spherical coordinates, i.e.,

[tex]\vec{E}=\frac{Q}{4 \pi r^2} \vec{e}_r.[/tex]

Obviously the potential is a function of [itex]r[/itex] only, and from that we get

[tex]-\vec{\nabla} \Phi=-\vec{e}_r \partial_r \Phi.[/tex]

Comparison with the electric field gives

[tex]\Phi'(r)=-\frac{Q}{4 \pi r^2} \; \Rightarrow \Phi(r)=+\frac{Q}{4 \pi r} + \text{const}.[/tex]

The arbitrary constant can be set to 0, which is the usual convention for the boundary condition of the potential at infinity.

Of course, you can get the same result by a direct evaluation of the line integral. You can take any path that connects a fixed point [itex]\vec{x}_0 \neq 0[/itex] with the point [itex]\vec{x}[/itex] and take

[tex]\tilde{\Phi(x)}=-\int_{C(\vec{x})} \mathrm{d} \vec{x} \cdot \vec{E}.[/tex]

The only constraint is that the path may not run through the origin. You can alwahys use a circle with the center at the origin and then a radial piece to connect the two points [itex]\vec{x}_0[/itex] and [itex]\vec{x}[/itex]. The circle doesn't contribute since the electric field is perpendicular to it and thus your result is

[tex]\tilde{\Phi}(\vec{x})=\Phi(\vec{x})-\Phi(\vec{x}_0)=\frac{Q}{4 \pi} \left (\frac{1}{r}-\frac{1}{r_0} \right)[/tex]

in accordance with the result obtained above using the more direct method of solving the differential equation.
 
I'll do it too, just to see it the same way, differently... (with no animosity towards the above whatsoever),

with all the numbers that can get in the way we set equal to 1, we have for the electric field of a point charge
[tex] \vec{E}=\frac{q}{r^2}\hat{r}[/tex]
we are going to preform
[tex] \Phi=-\int_{a}^{b}\vec{E}\cdot d\vec{l}=-\int_{\infty}^{r}\frac{q}{r'^2}\hat{r}'\cdot (\hat{r}'dr')=-\int_{\infty}^{r}\frac{q}{r'^2}dr'[/tex]
Above I put in the electric field, Now I'll switch the limits of integration at the cost of a sign change
[tex] \Phi=\int_{r}^{\infty}\frac{q}{r'^2}dr'=\left(0-\left(-\frac{q}{r}\right)\right)=\frac{q}{r}[/tex]
Now
[tex] -\partial_{r}\left(\frac{q}{r}\right)\hat{r}=\frac{q}{r^2}\hat{r}=\vec{E}[/tex]
which goes back also. Now you have it two ways from two different people :)
 
Hassan2 said:
[itex]\vec{dl}[/itex] is a vector whose direction is opposite the direction of E and produces a minus sign. The scalar under integral should be integrated over [itex]dl[/itex] ( scaler) and this happens to be [itex]-dr[/itex]. The last minus sign solves your problem.

I have to disagree. This is a common mistake. When we write [itex]\vec{dl}=-\vec{dr}[/itex] and keep the limits from infinity to r, we obtain the wrong sign.
Even though we "see" we've chosen the "right" [itex]\vec{dl}[/itex], the choice is wrong. [itex]\vec{dl}[/itex] points in the positive direction of the coordinates ([itex]\vec{dl}=\vec{dr}[/itex]) and the limits take care of the proper sign. Check it.
 
Gordianus said:
I have to disagree. This is a common mistake. When we write [itex]\vec{dl}=-\vec{dr}[/itex] and keep the limits from infinity to r, we obtain the wrong sign.
Even though we "see" we've chosen the "right" [itex]\vec{dl}[/itex], the choice is wrong. [itex]\vec{dl}[/itex] points in the positive direction of the coordinates ([itex]\vec{dl}=\vec{dr}[/itex]) and the limits take care of the proper sign. Check it.

I didn't wrote [itex]\vec{dl}=-\vec{dr}[/itex]. I wrote the relation for the scalar differential lengrh: [itex]dl=-dr[/itex] and I have another negative sign before, due the opposite direction of the vectors [itex]\vec{dr}[/itex] and [itex]\vec{E}[/itex]
 
thanks to everyone that replied. my mistake was thinking that dl = - dr when in fact they are the same quantity, dl = dr .
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 33 ·
2
Replies
33
Views
6K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 2 ·
Replies
2
Views
4K