does the x stay or do i change the x into a y?

Given:
[tex]\lim_{x\to1}\frac{sin(\pi x)}{x-1}[/tex]1. You need to evaluate it by substituting this value:
[tex]x=1[/tex]Then:
[tex]=\frac{sin(\pi(1))}{1-1}=\frac{0}{0}[/tex]2. Since it has an indeterminate form of zero over zero, you can use L'Hopital Rule and derivate the numerator and the denominator:
- Set up:
[tex]\lim_{x\to1}\frac{\frac{d}{dx}(sin(\pi x))}{\frac{d}{dx}(x-1)}[/tex]- Apply these Derivative Rules:
[tex]\begin{gathered} \frac{d}{dx}(sin(u(x))=cos(u(x))\cdot u^{\prime}(x) \\ \\ \frac{d}{dx}(x^n)=nx^{n-1} \\ \\ \frac{d}{dx}(k)=0 \end{gathered}[/tex]Where "k" is a constant.
Then:
[tex]\lim_{x\to1}\frac{cos(\pi x)\cdot(\pi x)^{\prime}}{1}[/tex][tex]\lim_{x\to1}\frac{\pi cos(\pi x)}{1}[/tex][tex]\lim_{x\to1}\pi cos(\pi x)[/tex]3. Evaluate:
[tex]=\pi cos(\pi(1))=\pi(-1)=-\pi[/tex]Hence, the answer is:
[tex]=-\pi[/tex]