# Electric potential of uniformly charged wire

I want to calculate the electric potential of a uniformly charged wire with infinite length. The problem I run into is that one boundary of the integral is $\infty$. That’s what I have so far:

Given the uniform charge density $\lambda$ and $E(r) = \frac{\lambda}{2\pi r \epsilon_0}$.

$$V(r) := \int_r^\infty \vec E \cdot \vec dr = \frac{\lambda}{2\pi\epsilon_0}[\log(r)]_r^\infty$$

How should I evaluate $\log(\infty)$?

• Use angles instead of length. Say that the angle between the line joining the $\vec{dl}$ element of wire and the point where you want to find the potential and the line drawn perpendicularly from that point on the wire be $\theta$. Then you could tend the angle of $\frac{\pi}{2}$. Commented Jul 26, 2017 at 16:00

By default we usually suppose that the electric field vanishes in infinity, since for a point charge it is KQ/r². We usually stablish V=0 at infinity in order to cancel one of the terms of the integral.

However, when you do have electric charges in the infinity (and that's the case if the wire is infinite), then you cannot say that the potential in the infinite is 0, and so that cannot be your origin of potentials anymore.

On the contrary, you must stablish a new point as reference. That means you have to choose any point you want and set it as V(there)=0. Then, the integral limits must be "from that reference point to the generic r position".

• Yup, that's pretty much it. Note that you can use LaTeX notation (so e.g. $KQ/r^2$ will render as $KQ/r^2$). Commented Jul 26, 2017 at 15:23

The expression you use assumes $$V(\infty)=0$$, which is the same as assuming there is no charge at $$\infty$$. This is clearly not the case for your setup since your uniformly charged wire is infinitely long.

In the specific case you have the reference potential, i.e. the location where $$V=0$$, is usually taken to be at $$r=1$$. In this way you can keep your expression for the potential, which then simply becomes $$V(r)= \frac{\lambda}{2\pi\epsilon_0}(\log(r)-\log(1))=\frac{\lambda}{2\pi\epsilon_0}\log(r)\, .$$ Note that the $$\log$$ behavior is typical of problems with cylindrical symmetry.

• $V = 0$ isn't near $r = 1$? since near $r = 0$ the log will go to $-\infty$
– aram
Commented May 23, 2020 at 18:50
• @Aram Thanks. I correct the answer. Commented May 23, 2020 at 19:33
• I find this unintuitive but why is $V$ non-zero at infinity even though the electric field is zero at infinity according to Gauss' Law (or is it)? Commented Feb 24, 2021 at 10:35
• @ChernSimons If the wire extends to $\infty$ along $\hat z$ (or any other direction), the electric is not $0$ for small $r$ near $z\to\infty$. Commented Feb 24, 2021 at 10:46