How do I find this limit?
$$\displaystyle{\lim_{x \to 1^-}}\frac{x^2+x+\sin({\pi \over 2}x)-3}{x-1}$$
I am unable to factor the numerator to get rid of the denominator. Can someone please help? Thank you!
Is there any other way to get the answer besides using L'Hopital's Rule?
Note that we can write
$$\begin{align} \frac{x^2+x+\sin(\pi x/2)-3}{x-1}&=(x+2)+\frac{\sin(\pi x/2)-1}{x-1}\\\\ &=(x+2)-2\frac{\sin^2(\pi(x-1)/4)}{x-1}\\\\ &=(x+2)-\frac{\pi^2}{8}\left(\frac{\sin(\pi(x-1)/4)}{\pi (x-1)/4}\right)^2(x-1) \end{align}$$
Inasmuch as $\lim_{x\to 1^-}\frac{\sin(\pi(x-1)/4)}{\pi (x-1)/4}=1$, the limit of interest is $3$.