The complex number $z = e^{2\pi i/5}$ is a fifth root of the unity: $z^5 = 1$. Find the minimal polynomial of $z$ over $\mathbb{Q}$.
I tried to solve this by converting the z into the term of $a + bi$, which is $\cos\left(\frac{2\pi}{5}\right) + i\sin\left(\frac{2\pi}{5}\right)$. However I found it doesn't work. So I assume the minimal polynomial is just $x^5-1$. I am not sure about it. Could you please help me to solve this question?