I am trying to find the following limit: $$\lim_{x\to 0} \frac{1}{x}\int_{x}^{2x}e^{-t^2}dt.$$
I tried to solve by using the Gaussian function, but in Gaussian function the usual limits of integration are from $-\infty$ to $\infty$ and with a certain upper bound $a$ the result of a Gaussian function ended up involving the erf function. I don't know how to find this limit or even if it exists or not by using these.
There is no need of De l'Hopital theorem: in a neighbourhood of zero, $e^{-t^2}=1-t^2+o(t^3)$, hence:
$$ \frac{1}{x}\int_{x}^{2x}e^{-t^2}\,dt = \frac{1}{x}\left(x-\frac{7}{3}x^3+o(x^4)\right) = 1 +O(x^2) $$ and the limit of the RHS as $x\to 0$ is clearly $\color{red}{1}$.