We know that the electric field is constant at any point irrespective of the radius due to a plane sheet of charge of infinite extent and can be proved by Gauss theorem however I don't understand why do we need an infinite length because we can apply the same gauss theorem to a finite length of plane sheet of charge and we get the same result. Also incase of capacitors, the electric field is taken constant even when the sheets are finite.
I have another question which is that the electric field due to an infinite linear charge distribution at any point is inversely proportional to the radius but we can apply the Gauss theorem there too and prove that electric field can be constant at any point irrespective of the radius by drawing a cuboid perpendicular to the linear charge.