$$\lim_{T\to\infty} \frac{\frac{T}{2}-\frac{1}{4}\sin2T}{T}$$ If I solve this limit by breaking it into 2 parts and consider $\lim_{T\to\infty} \frac{sin2T}{T}=0$ and $\lim_{T\to\infty}\frac{T/2}{T}=\frac{1}{2}$, clearly the net answer of the limit is $\frac{1}{2}$.
However, the original limit is present in $\frac{\infty}{\infty}$ form, so if I apply L'Hôpital's rule, I get $\frac{1}{2}-\frac{1}{2}\cos2T$: why is this happening? Is L'Hôpital's rule not valid for all $\frac{\infty}{\infty}$ forms?