Given $f ( x ) = x^n + a_{1} x_{n − 1} + ··· + a_{n − 1} x + a_n$, find the discriminant of the these polynomials
(1) $x^n+a_{n}$
(2) $x^n+a_{n-1}x$
(3) $x^n+a_{n-1}x+a_n$
For (1), a hint says that we should remember the factorization of $x^n-1$ into $n$ linear terms. But I cannot find how to use it.
And (3) is related to (1) and (2), a hint says that it is related to weighted degree.
I am stucked on (1) and do not know what to do with it, maybe the method of using the hint is considering the $n$ th root of $a_n$, but it seems so weird that I am confused.
Could someone give help on these? Thanks in advance!
EDIT: I use Artin's Algebra as the textbook and in this text the discriminant is defined to be $\prod_{i<j}(x_{i}-x_{j})^2$. May I ask for a derivation from this definition?