$$\vec{E} = \frac{\rho _{o}}{4\pi\epsilon}\int_{-\infty}^{+\infty}\frac{dz'(\rho\vec{a_{\rho}} + (z-z')\vec{a_{z}}}{(\sqrt{\rho^{2} + (z-z')^{2}})^{3}}$$
I am confused about what the bounds of integration in calculating the electric field of an infinite line charge would be. When I try integrating it I cannot come up with $\vec{E}=\frac{\rho_{o}}{2\pi\epsilon\rho}\vec{a_{\rho}}$
Edit: By using an indefinite integral I got the answer: $$\vec{E} = \frac{\rho _{o}}{4\pi\epsilon}(\frac{-(z-z')}{\rho\sqrt{\rho^{2} + (z-z')^{2}}} \vec{a_{\rho}} + \frac{1}{\sqrt{\rho^{2} + (z-z')^{2}}}\vec{a_{z}})$$
When I sub in $-\infty$ and $+\infty$ the $\vec{a_{z}}$ is equal to $0$. The $\vec{a_{\rho}}$ component is $$\vec{E} = \frac{\rho _{o}}{4\pi\epsilon\rho}(\frac{-(z-(\infty))}{\sqrt{\rho^{2} + (z-(\infty))^{2}}} \vec{a_{\rho} - \frac{-(z-(\infty))}{\sqrt{\rho^{2} + (z-(\infty))^{2}}} \vec{a_{\rho}})}$$
I don't know how to go about simplifying the expression above.