Why is this integral equal to $-\frac{2n}{\pi}\cdot\frac{\cos({1\over2}\pi n)}{n^2-1}$

41 Views Asked by At

could someone provide some indication about why the following equality is true (for $n\geq 2) $ please$${1\over\pi}\int\limits_{-\pi}^\pi\sin(x)\sin(nx)dx=-\frac{2n}{\pi}\cdot\frac{\cos({1\over2}\pi n)}{n^2-1}$$

1

There are 1 best solutions below

0
On

Hint: $$\sin(\alpha)\sin(\beta)=\frac{\cos(\alpha-\beta)-\cos(\alpha+\beta)}{2}$$