Using $\text{n}^{\text{th}}$ root of unity

$$\large\left(e^{\frac{2ki\pi}{n}}\right)^{n} = 1$$

Prove that

$$\prod_{k=1}^{n-1}\sin\frac{k \pi}{n} = \frac{n}{2^{n-1}}$$

  • 27
    $\begingroup$ Incidentally, the proof given in fiktor's answer below can be modified to show that $\sin nx=2^{n-1}\prod_{k=0}^{n-1} \sin\left( x + \frac{k\pi}{n} \right)$, a very pretty multiple-angle identity which is not as widely know as it deserves to be. Dividing by $\sin x$ and letting $x\to 0$ reduces that identity to the one in the question. $\endgroup$ Commented Oct 31, 2010 at 14:38
  • 16
    $\begingroup$ And here's a kill-a-mosquito-with-a-cannon proof of the identity in my previous comment: combine Gauss's multiplication formula for the gamma function, $\Gamma(nx) = \frac{n^{nx-1/2}}{(2\pi)^{(n-1)/2}} \prod_{k=0}^{n-1} \Gamma(x+\frac{k}{n})$, with Euler's reflection formula $\Gamma(x) \Gamma(1-x) = \frac{\pi}{\sin(\pi x)}$. $\endgroup$ Commented Oct 31, 2010 at 16:43
  • 4
    $\begingroup$ And another comment... I just ran into this on Wikipedia: en.wikipedia.org/wiki/Morrie%27s_law $\endgroup$ Commented Nov 4, 2010 at 8:55
  • $\begingroup$ See also math.stackexchange.com/questions/2766630/… $\endgroup$
    – lhf
    Commented May 4, 2018 at 16:33
  • 1
    $\begingroup$ One can also construct a simple three-diagonal matrix with the eigenvalues $(2\sin\frac{\pi k}{n})^2$ and express the product in terms of determinants of its minors. $\endgroup$
    – DVD
    Commented Jul 20, 2018 at 21:38

3 Answers 3


$$ \begin{align*} P & = \prod_{k=1}^{n-1}\sin(k\pi/n) \\ & = (2i)^{1-n}\prod_{k=1}^{n-1}(e^{ik\pi/n}-e^{-ik\pi/n}) \\ & = (2i)^{1-n} e^{-i \frac{n(n-1)}{2}\frac{\pi}{n}} \prod_{k=1}^{n-1}(e^{2ik\pi/n}-1) \\ & = (-2)^{1-n}\prod_{k=1}^{n-1}(\xi^k-1) \\ & = 2^{1-n}\prod_{k=1}^{n-1}(1-\xi^k) \\ \end{align*} $$ where $\xi=e^{2i\pi/n}$.

Now note that $x^n-1=(x-1)\sum_{k=0}^{n-1}x^k$ and $x^n-1=\prod_{k=0}^{n-1} (x-\xi^k)$.

Cancelling $(x-1)$ we have $\prod_{k=1}^{n-1} (x-\xi^k) =\sum_{k=0}^{n-1}x^k$. Substituting $x=1$ we have $\prod_{k=1}^{n-1} (1-\xi^k)=n$. $$ \therefore \boxed{P=n2^{1-n}}$$


In order to note that $x^n-1=\prod_{k=0}^{n-1} (x-\xi^k)$, note that $1,\xi,\dots,\xi^{n-1}$ are roots of $x^n-1$. Therefore by polynomial reminder theorem we have $x^n-1=Q(x) \prod_{k=0}^{n-1} (x-\xi^k)$. Comparing degrees we find $Q(x)$ has degree $0$. Comparing highest coefficients we conclude $Q(x)=1$.


We may instead use the identity $\left\lvert 1 - e^{2ik\pi/n} \right\rvert = 2\sin(k\pi/n), k = 1, ..., n - 1,$ to establish immediately that $P \equiv \prod_{k=1}^{n-1}\sin(k\pi/n)= 2^{1-n}\prod_{k=1}^{n-1}\left\lvert 1 - e^{2ik\pi/n} \right\rvert = 2^{1 - n}\left\lvert \prod_{k=1}^{n-1}(1 - e^{2ik\pi/n}) \right\rvert$, and continue by applying the foregoing logic to the product to obtain $P=n2^{1-n}$.

  • $\begingroup$ Can you explain a little bit more why $x^n-1=\prod_{k=0}^n (x-\xi^k)$? $\endgroup$
    – r_31415
    Commented Oct 30, 2010 at 21:09
  • 2
    $\begingroup$ @Robert: well, the $\xi^k$ are the nth roots of unity... $\endgroup$ Commented Oct 30, 2010 at 22:50
  • $\begingroup$ @J.M. Yes, I know. But I wanted to know about the validity of the equality. $\endgroup$
    – r_31415
    Commented Oct 30, 2010 at 23:36
  • 1
    $\begingroup$ What is the justification again that I can cancel a term that later turns out to be zero? $\endgroup$
    – SK19
    Commented Oct 22, 2019 at 3:09
  • 1
    $\begingroup$ @SK19 The equality (before and after cancelling) is understood as equality of polynomials, i.e. all coefficients are the same. In other words, we know and use the fact that for 2 polynomials $P(x)$ and $Q(x)$ equality $P(x)*Q(x) = 0$ (understood as equality of polynomials) implies that $P(x) = 0$ or $Q(x) = 0$ (again, equalities of polynomials). This is easy to see by looking at the monomials with the highest power of $x$. $\endgroup$
    – Fiktor
    Commented Dec 25, 2020 at 18:37

Consider $z^n=1$, each root is $$\xi_k = \cos\frac{2k\pi}{n} + i\sin\frac{2k\pi}{n} = e^{i\frac{2k\pi}{n}}, k=0,1,2,...,n-1 $$ So, we have $$ z^n -1 = \prod_{k=0}^{n-1}(z-\xi_k)$$ $$\Longrightarrow (z-1)(z^{n-1}+...+z^2+z+1) = (z-\xi_0)\prod_{k=1}^{n-1}(z-\xi_k)$$ $$\Longrightarrow (z-1)(z^{n-1}+...+z^2+z+1) = (z-1)\prod_{k=1}^{n-1}(z-\xi_k)$$ $$\Longrightarrow z^{n-1}+...+z^2+z+1 = \prod_{k=1}^{n-1}(z-\xi_k)$$ By substituting z=1, $$\Longrightarrow n = \prod_{k=1}^{n-1}(1-\xi_k) $$

Next, take the modulus on both sides, $$ |n| = n = |\prod_{k=1}^{n-1}(1-\xi_k)| = \prod_{k=1}^{n-1}|(1-\xi_k)|$$ $$ 1 - \xi_k = 1-(\cos\frac{2k\pi}{n} + i\sin\frac{2k\pi}{n}) = 2\sin\frac{k\pi}{n}(\sin\frac{k\pi}{n} -i\cos\frac{k\pi}{n})$$ $$ |1 - \xi_k| = 2\sin\frac{k\pi}{n} $$ So, $$ n = 2^{n-1}\prod_{k=1}^{n-1}\sin\frac{k\pi}{n}$$ $$\prod_{k=1}^{n-1}\sin\frac{k\pi}{n} = \frac{n}{2^{n-1}} $$


Here is a more "1st principles" pf. I use a hint in Marsden's book.

1st, $\cos(A-B)-\cos(A+B)=2\sin A \sin B$ (1), which follows by angle summation formulas.

Next, we use Marsden's hint to consider roots of $(1-z)^n-1$. These satisfy

$$(1-z)^n=1 \leftrightarrow (1-z) \in \left\{\cos \frac{2 \pi k}{n}+i \sin \frac{2\pi k}{n}:k=0,...,n-1 \right\}$$

(the set of nth roots of 1)

$$\leftrightarrow z \in \left\{z_k= 1-\cos \frac{2 \pi k}{n}-i \sin \frac{2\pi k}{n}:k=0,...,n-1\right\}\;\;\; (2)$$.
Since $z_0,....,z_{n-1}$ are the roots of $(1-z)^n-1$, we have by factorization that

$$(1-z)^n-1=\prod_{k=0}^{n-1}(z_k-z)=-z \prod_{k=1}^{n-1}(z_k-z) \;\;(3)$$ (since, by (2), $z_0=0$)

In (3), the LHS and RHS are polynomials in z. Equating the coeffs in front of z, we get

$$-n=-\prod_{k=1}^{n-1}z_k \leftrightarrow n=\prod_{k=1}^{n-1}z_k\,.$$


$$\prod_{k=1}^{n-1} \bar{z}_k=\overline{\prod_{k=1}^{n-1}z_k}=n$$

(since $n\in \mathbb{R}$), so

$$\prod_{k=1}^{n-1}|z_k|^2=\prod_{k=1}^{n-1} z_k \bar{z}_k=\prod_{k=1}^{n-1} z_k \prod_{k=1}^{n-1} \bar{z}_k=n^2\;\; (4).$$


$$|z_k|^2=(1-\cos \frac{2 \pi k}{n})^2+ \sin^2 \frac{2\pi k}{n}=2(1-\cos \frac{2 \pi k}{n})$$

using this in (4) gives

$$2^{n-1} \prod_{k=1}^{n-1}(1-\cos \frac{2 \pi k}{n})=n^2\;\;(5)$$.

$$(\prod_{k=1}^{n-1} \sin \frac{k \pi}{n})^2=\prod_{k=1}^{n-1} \sin \frac{k \pi}{n} \prod_{k=1}^{n-1} \sin \frac{(n-k) \pi}{n}=\prod_{k=1}^{n-1} \sin \frac{k \pi}{n} \sin \frac{(n-k) \pi}{n}=$$

(where in the last 2 steps, we exploit that the order of taking a product doesn't matter)

$$=\frac{1}{2^{n-1}} \prod_{k=1}^{n-1} (\cos \frac{(n-2k) \pi}{n}-\cos \pi)=$$

(by (1))

$$=\frac{1}{2^{n-1}} \prod_{k=1}^{n-1} (1-\cos \frac{2k \pi}{n})=$$

(using $\cos (\pi -x)=-\cos x$)

$$=n^2 /2^{2(n-1)}\;.$$ Applying a sqrt to everything gives the desired result.

  • $\begingroup$ what is the title of Marsden's book? $\endgroup$
    – maomao
    Commented Oct 10, 2022 at 15:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .