$$ \vert \vec E\vert =\frac{\lambda}{2\pi \varepsilon_0 r} $$ So I know this is the magnitude of the electric field of a line of charge using a cylindrical Gaussian surface. But, now let's say I have two coaxial metal conducting cylinders, one with the inner cylinder radius $a$ that is positively charged, and the outer cylinder with a larger radius $b$ which we can just say is negatively charged. My goal is to find the Electric field at a distance $a > r > b$.
Now I know that charge density $\lambda$ = (Charge)/(Length of wire) in the line of charge formula, which is how the length cancels out from the denominator. But when I introduce the inner cylinder with radius $a$, how do I adjust this formula to account for the fact that I now have an inner conducting cylinder with some radius? Does the length portion of the charge density have to change to something that represents the area of the inner cylinder?
Part of me thinks the formula might be the same because, if the electric field just shoots radially outward from the inner cylinder then the radius doesn't matter. Is that the case? Or do I need to account for the size of this inner cylinder?