Suppose we have the polynomial $f(x)=x^3+ax+b$, with roots $\alpha, \beta, \gamma$ in $\mathbb{C}$, and let $\Delta = (\alpha - \beta)(\beta - \gamma)(\gamma - \alpha)$.
Is there any quick way of show that the discriminant $\Delta^2$ is $-4a^3-27b^2$?
It seems as though we need to exploit certain properties of symmetric functions. Is there some way of writing out $\Delta$ in terms of elementary symmetric polynomials perhaps?
$\Delta$ is not expressible in terms of elementary symmetric polynomials (because it is not invariant by all permutations of the roots, and so $-4a^3-27b^2$ is not a square).
The standard way is to develop $\Delta^2$ and write that in terms of elementary symmetric polynomials.
I guess you can take a shortcut by noticing that $\Delta^2$ is homogeneous of degree $6$ in the roots, so it has to be a linear combination of $(\alpha\beta\gamma)^2$ and $(\alpha\beta+\alpha\gamma+\beta\gamma)^3$ (the other products involving $\alpha+\beta+\gamma$ vanish because this is $0$ in our case)
So you only have to figure out the two coefficients. Then by picking some custom polynomials for which you know the roots, like $X(X-1)(X+1)$ and $(X-1)(X-2)(X+3)$, the discriminant is simple to compute, $a$ and $b$ are too, so you should be able to deduce the right coefficients from there.