Question:
Charge is uniformly distributed with charge density $ρ$ inside a very long cylinder of radius $R$.
Find the potential difference between the surface and the axis of the cylinder.
Express your answer in terms of the variables $ρ$, $R$, and appropriate constants.
$Attempt:$
I am struggling with determining which Gaussian surface to use. If I use a cylinder, then the cylinder would have an infinite area, right? How can I deal with that? If I use a sphere (since I am trying to find the potential difference between only two points, one on the surface and one on the axis), what will be the charge inside the sphere?
If I use a sphere as my Gaussian surface, I get:
$$\int \overrightarrow{E}.d\overrightarrow{A}=\frac{Q }{\epsilon _{0}}$$
$$\Delta V = -\int_{i}^{f}\overrightarrow{E}.d\overrightarrow{s}$$
$$E = \frac{\rho }{4\pi R^{2}\epsilon _{0}}$$
$$\Delta V = \frac{\rho }{4\pi R^{2}\epsilon _{0}} \int_{0}^{R}dR=\frac{\rho }{4\pi R\epsilon _{0}}$$
But this is wrong.