I'm getting confused with improper integral over a closed interval it seems to me like the opposite of improper integrals when x tends to infinity.
Example: $\int_0^1 \frac{sin^2x}{x^2}$
I can see that the integral is an improper integral when $x \rightarrow 0^+$ because the function tends to infinity. Usually what I would have done is using the comparison test and take the function $\frac{1}{x^2}$ which its improper integral is convergent and $\frac{sin^2x}{x^2} <= \frac{1}{x^2}$ and for that reason $\int_0^1 \frac{sin^2x}{x^2}$ should be convergent too but it doesn't work like that as I said it seems to me like the opposite.
can someone clarify to me please what is going on? I think i'm lacking understanding of it..
Thanks in advance!