Use Gauss Law to find the electric field inside and outside
Solution
First let us find the electric field inside the infinitely long cylinder.
For that ,imagine a Gaussian surface inside the given cylinder.Let the length of the cylinder which is considered as Gaussian surface is L, and the radius of Gaussian surface is \'s\' . Since the cylinder is infinitely long the edges of the cylinder has no contribution in this case.
Then by Gauss\'s law , E.da = Qenclosed/ €0
Here da,which is the area of Gaussian surface = 2pisL
Qenclosed = dv =02pi 0L 0s (1/s) (0 R )s ds d d z = 2pi L 0 R s
E 2 pi s L = 2pi sLR 0 / €0
Einside = R 0 /€0
B) to find electric field outside, imagine a Gaussian surface ( cylinder ) of length L and radius s , out side the infinitely long cylinder.
In this case enclosed charge Q = 02pi 0L 0R R 0 (1/s) s ds d d z = 2 pi L R2 0
E 2pi s L = 2 pi L 0 R2
E outside = R20 /€0 s
