I'm looking to evaluate algebraically the limit below which is an indeterminate form. I can get an answer from a graph, but I can't figure out how to algebraically evaluate the limit. I tried using logs to get it into the form where I can use L'Hospital's but that seems to make things worse?
\begin{equation} \lim_{x \to 1} (x-1)^{\sin(\pi x)} \end{equation}
The form I tried for L'Hospital's was: \begin{equation} e^{\lim_{x \to 1}{\frac{\ln(x-1)}{\csc(\pi x)}}} \end{equation} But the derivatives get messy really quickly. Any thoughts are appreciated.