I have read a solution which I didn't understand. $$ \mbox{Given the improper integral:}\quad \int_{0}^{1}{\,\mathrm{e}^x - \,\mathrm{e}^{-x} - 2x \over 2x^{2}\left(\,\mathrm{e}^x - \,\mathrm{e}^{-x}\,\right)}\,\,\mathrm{d}x $$
The integrand is undefined at $x = 0$, but the lecturer says that since
$\displaystyle{%
\lim_{x \to 0^{+}}\,{\,\mathrm{e}^{x} - \,\mathrm{e}^{-x} - 2x \over
2x^{2}\left(\,\mathrm{e}^{x} - \,\mathrm{e}^{-x}\,\,\right)}}$ exists,
therefore $x = 0$ is not a singular point, and therefore the improper integral exists, and it is finite.
I don't understand why showing that the integrand has a limit means that the definite integral has a limit when approaching $0$.
Thank you.
One of the big facts of integrability is: If $f$ is continuous on $[a,b]$, then $f$ is integrable on $[a,b]$.
If $f$ is continuous on $(a,b]$, and $\lim_{x\to a^+} f(x) = L$, then we can create a new function $g$ on $[a,b]$ by $$ g(x) = \begin{cases} f(x) & a < x \leq b \\ L & x=a \end{cases} $$ Then by design, $g$ is continuous on $[a,b]$.
We claim that the improper integral $\int_a^b f(x)\,dx$ converges to $\int_a^b g(x)\,dx$. Because, $$ \lim_{x\to a^+} \int_x^b f(t)\,dt = \lim_{x\to a^+} \int_x^b g(t)\,dt $$ since $f(t) = g(t)$ for all $t$ in $(a,b]$. Also, since $g$ is integrable, the function $x\mapsto \int_x^b g(t)\,dt$ is continuous on $[a,b]$. So $$ \lim_{x\to a^+} \int_x^b g(t)\,dt = \int_a^b g(t)\,dt $$ This establishes the claim.