I have a small question. The electric field exerted by a disc with radius $R$ (charge density $\sigma$) on the $xy$ plane on a point $z$ on the $z$-axis is:
$$\vec{E}=\frac{\sigma}{2\epsilon_0}[1-\frac{z}{\sqrt {z^2+R^2}}]\hat{z}.$$
Now, if I want to calculate the electric potential at a point $(0,0,D)$ on the $z$-axis, I need to calculate:
$$\phi=-\int_\infty ^D \frac{\sigma}{2\epsilon_0}[1-\frac{z}{\sqrt {z^2+R^2}}]dz.$$
Now the first integrand gives $-\int_\infty ^D dz$ which is $\infty-D$.
My question is then, what makes the integral converge? is it the second integrand? two orders of "the same infinity"? Isn't it an approximation then?