Sign of scalar product in electric potential integral?

In summary, the potential difference between b and a is positive. However, when we integrate the electric field from infinity to r, we get a negative potential because E is inverse square in r.
  • #1
platonic
39
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
  • #2
don't you see the minus sign before it.
 
  • #3
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.
 
  • #4
[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.
 
  • #5
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.
 
  • #6
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 :)
 
  • #7
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.
 
  • #8
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]
 
  • #9
thanks to everyone that replied. my mistake was thinking that dl = - dr when in fact they are the same quantity, dl = dr .
 

1. What is the significance of the sign of the scalar product in the electric potential integral?

The sign of the scalar product in the electric potential integral determines the direction of the electric field. A positive sign indicates that the electric field and the displacement vector are in the same direction, while a negative sign indicates that they are in opposite directions.

2. How is the scalar product calculated in the electric potential integral?

The scalar product is calculated by multiplying the magnitude of the electric field and the magnitude of the displacement vector, and then multiplying the result by the cosine of the angle between them.

3. What is the difference between a positive and negative scalar product in the electric potential integral?

A positive scalar product indicates that the electric field and displacement vector are pointing in the same direction, while a negative scalar product indicates that they are pointing in opposite directions. This affects the overall sign and magnitude of the electric potential.

4. How does the sign of the scalar product affect the electric potential energy?

The sign of the scalar product affects the electric potential energy by determining whether it is positive or negative. A positive scalar product means that the electric potential energy is positive, indicating a repulsive force between two charges, while a negative scalar product means the electric potential energy is negative, indicating an attractive force between two charges.

5. Can the sign of the scalar product in the electric potential integral change?

Yes, the sign of the scalar product can change if the direction of either the electric field or displacement vector changes. This can happen if the location of the charges or the orientation of the electric field changes.

Similar threads

Replies
4
Views
415
Replies
33
Views
3K
Replies
1
Views
1K
Replies
1
Views
809
  • Electromagnetism
Replies
4
Views
895
Replies
3
Views
826
Replies
4
Views
1K
Replies
2
Views
3K
Replies
3
Views
2K
  • Electromagnetism
Replies
4
Views
936
Back
Top