Question is to find discriminant of polynomial $x^n-1$
I consider $f(x)=x^n-1=(x-a_1)(x-a_2)(x-a_3)\cdots(x-a_n)$
Now, $$f'(x)=[(x-a_2)(x-a_3)\cdots(x-a_n)]+\cdots+[(x-a_1)(x-a_2)\cdots(x-a_{n-1})]$$
$f'(a_1)=(a_1-a_2)(a_1-a_3)\cdots(a_1-a_n)$
$f'(a_2)=(a_2-a_1)(a_2-a_3)\cdots(a_2-a_n)$
$f'(a_3)=(a_3-a_1)(a_3-a_2)\cdots (a_3-a_n)$
and so on.. Now i need to know how many sign changes do i need to get something which looks like discriminant
I would write this in a matrix form to get some idea... $$\begin{bmatrix}12&13&14&15&\cdots&1n\\21&23&24&25&\cdots&2n\\31&32&34&35&\cdots&3n\\\\n1&n2&n3&n4&\cdots&n(n-1) \end{bmatrix}$$
See that i first row every element is in correct position i mean of the form $ij$ for $i<j$
In second row only one element is odd of the form $ij$ with $i>j$ but i want $i<j$ in discriminant so i would change this.. So my count starts... change sign 1
In third row there are two elements which are not behaving properly... So, I should change them also.. So, Now another two changes... On the whole $1+2$ changes...
In fourth row there would be $3$ misbehaving children so my count is $1+2+3$
In last row every body is behaving badly so i have to make $n-1$ changes in that..
On the whole i have to make $1+2+3+\cdots +n-1=\dfrac{n(n-1)}{2}$ changes..
So, $f'(a_1)f'(a_2)\cdots f'(a_n)=(-1)^{\dfrac{n(n-1)}{2}}(a_1-a_2)^2(a_1-a_3)^2\cdots (a_{n-1}-a_n)^2=(-1)^{\dfrac{n(n-1)}{2}} Disc(f)$
But then $f'(x)=nx^{n-1}$
This tells me that $f'(a_i)=n(a_i)^{n-1}$
So, $$Disc (f)=(-1)^{\dfrac{n(n-1)}{2}} n^n(a_1a_2\cdots a_n)^{n-1}=(-1)^{\dfrac{n(n-1)}{2}} n^n(-1)^{(n-1)^2}=(-1)^{\dfrac{n(n-1)}{2}+(n-1)^2}$$
As $(-1)^{n-1}=(-1)^{(n-1)^2}$ i would replace my $(-1)^{(n-1)^2}$ with $(-1)^{n-1}$
$$Disc (f)=(-1)^{\dfrac{n(n-1)}{2}} n^n(a_1a_2\cdots a_n)^{n-1}=(-1)^{\dfrac{n(n-1)}{2}} n^n(-1)^{n-1}=(-1)^{\dfrac{n(n-1)}{2}+n-1}n^n$$
i.e., $$Disc(x^n-1)=(-1)^{\dfrac{(n-1)(n+2)}{2}}n^n$$
As nobody was giving answer to my question i was trying my best and started editing this when ever i thought i find some thing and this is its final stage... This is fully solved now...
Thank you..
Any other ways of approaches would be appreciated..
Thank you :)
Your method seems fine, you just have to be careful and count the number of sign changes you need to make in the formulas for $f'(a_i)$ in order to get it on the right form.
We know that
$$\text{disc}(f) = \prod_{i<j}(a_i-a_j)^2$$
Now
$$f'(a_1) = (a_1-a_2)(a_1-a_3)\ldots (a_1-a_n) = (-1)^{0}(a_1-a_2)(a_1-a_3)\ldots (a_1-a_n) $$ $$f'(a_2) = (a_2-a_1)(a_2-a_3)\ldots (a_2-a_n) = (-1)^1(a_1-a_2)(a_2-a_3)\ldots (a_2-a_n) $$ $$f'(a_3) = (a_3-a_1)(a_3-a_2)\ldots (a_3-a_n) = (-1)^2(a_1-a_3)(a_2-a_3)\ldots (a_3-a_n) $$ $$\ldots $$ $$f'(a_{n}) = (a_{n}-a_1)(a_{n}-a_2)\ldots (a_{n}-a_n) = (-1)^{n-1}(a_1-a_{n})(a_2-a_{n})\ldots (a_{n-1}-a_n) $$
Above I have switched the sign of the factors which has the wrong form: $(a_i - a_j)$ with $i>j$. This leads to a $(-1)^k$ factor.
Multiplying togeather the terms above and comparing with the definition of disc$(f)$ we see that:
$$\text{disc}(f) = \prod_{i<j}(a_i-a_j)^2 = \left(\prod_{i=1}^n f'(a_i)\right) \cdot (-1)^{1+2+\ldots + n-1} = (-1)^{n(n-1)/2} \prod_{i=1}^n n a_i^{n-1}$$
the last product is as you know just $\prod_{i=1}^n n a_i^{n-1} = \prod_{i=1}^n n a_i^{n}/a_i = \frac{n^n}{a_1a_2\ldots a_n} = (-1)^{1+n}n^n$ since $f(0) = (-a_1)(-a_2)\ldots (-a_n) = -1$. This gives
$$\text{disc}(f) = n^n(-1)^{n(n-1)/2}(-1)^{1 + n} = n^n(-1)^{n(n+1)/2 + 1}$$