I have a little question regarding the error function that disturbs me a lot:
Let us consider the classical error function defined as:
erf($z$) $= \frac{2}{\sqrt{\pi}}\int_{0}^{z} e^{-t^2} dt$
It is well-known [1] that for $z= \infty,$ erf($z$) = 1. My question may be idiotic but is the following one: is the error function only equals to 1 at $z= \infty$ ? In other words, is the error function never reaches the value of 1 before the strict value $z= \infty$ ? Don't tell me to refer to tables of values of erf($z$) because the latter are based on numerical integrations and thus subjected to numerical uncertainties.
Thank you very much for your help,
Regards
If you see that: $$\frac{d}{dz} \text{erf}(z) = \frac{2e^{-z^2}}{\sqrt{\pi}}>0$$ Therefore the function is strictly increasing.
Take $x>0$.
$$\frac{2}{\sqrt{\pi}}\int_{0}^{\infty} e^{-t^2} dt = \frac{2}{\sqrt{\pi}}\int_{0}^{x} e^{-t^2} dt + \frac{2}{\sqrt{\pi}}\int_{x}^{\infty} e^{-t^2} dt $$ $$1 = \text{erf}(x) + \frac{2}{\sqrt{\pi}}\int_{x}^{\infty} e^{-t^2} dt$$ $$1- \text{erf}(x) = \frac{2}{\sqrt{\pi}}\int_{x}^{\infty} e^{-t^2} dt >0$$
$$1>\text{erf}(x)$$