# Electric Field over a charged cylinder using only Coulomb's Law

PeteyCoco

## Homework Statement

What is the electric field at a point on the central axis of a solid, uniformly charged cylinder of radis R and length h?

## Homework Equations

Well, I've set up the triple integral and have gotten to this point:

$\bar{E}_{z}=\frac{2\pi\rho}{4\pi\epsilon_{0}}\int^{h/2}_{-h/2}[1-\frac{z'-z}{\sqrt{(z'-z)^{2}+R^{2}}}]dz$ , z' is the location of the test point

When I integrate this I get a constant term and a mess of logarithms. I know that the field should be 0 when z' = 0, but it doesn't check out. What's wrong?

Homework Helper
Gold Member
Well, I've set up the triple integral and have gotten to this point:

$\bar{E}_{z}=\frac{2\pi\rho}{4\pi\epsilon_{0}}\int^{h/2}_{-h/2}[1-\frac{z'-z}{\sqrt{(z'-z)^{2}+R^{2}}}]dz$

Re-evaluate how you got the 1 inside the brackets in the expression above. I suspect that you got this from assuming that ##\frac{z'-z}{\sqrt{(z'-z)^2}} = 1##. But, recall that ##\sqrt{x^2} = |x|##.

PeteyCoco
Alright. Now that I've changed that term, it vanishes when integrated, but the second term in the integrand still turns into

$\frac{1}{2}ln| (z'-z) + \sqrt{(z'-z)^{2}+R^{2}} |^{h/2}_{-h/2}$

Which, as far as I can tell, can't be reduced to 0 when z' = 0

PeteyCoco
Nevermind, integrating this absolute value function is a bit more work than I thought it was.

Homework Helper
Gold Member
Also, I don't see how you are getting a logarithm expression in the result of the integration.