How it can shown that:
$$\frac{1}{x^n+1}=\prod_{k=1}^n(x-x_k)^{-1}$$
where $x_k=e^{i(2k-1)\pi/n}$, $k=1, \cdots,n$
I just know that: $$\frac{1}{x^{n}+1}=\left(x^{n}+1\right)^{-1}=\sum_{k=0}^{\infty}\binom {-1}{k}x^{nk}$$
Using negative binomial theorem it can be written as:
$$\sum_{k=0}^{\infty}(-1)^kx^{nk}$$
Another representation for $\frac{1}{x^n+1}$ is:
$$\frac{1}{x^n+1}=\sum_{k=1}^na_k(x-x_k)^{-1} $$
where $a_k=\frac{-x_k}{n}$
But I don't know where does that come from.
$x_k^n=-1$ implies that $x^n+1=(x-x_1)....(x-x_n)$ since $x_1,...,x_k$ are roots of $x^n+1$.