Let $r,s,t$ are roots of the cubic equation $f(x) = x^3+bx^2+cx+d$ then write down $D=((r-s)(r-t)(s-t))^2$ in terms of $b,c,d$.
Is there any clever way to solve it?
We know $r+s+t=-b, rs+st+rt=c, rst=d.$ I also have the feeling that $D$ is actually defined as a discriminant of the cubic so there must be a discriminant of a matrix or some tricky way to prove that this is in particular ${\displaystyle b^{2}c^{2}-4c^{3}-4b^{3}d-27d^{2}+18bcd\,.}$ I am just not getting the answer without making my hands dirty i.e. expanding both sides.
Let $$M = \begin{bmatrix} 1 & 1 & 1\\ r & s & t\\ r^2 & s^2 & t^2 \end{bmatrix}. $$ $M$ is a Vandermonde matrix, so $\det(M) = \prod_{\mathrm{cyc}} (r - s)$ and $\det(MM^\top) = D = \prod_{\mathrm{cyc}}(r - s)^2$. Thus if we define $\sigma_n = r^n + s^n + t^n$ for every $n \geq 0$, then one can easily compute $$ MM^\top = \begin{bmatrix} \sigma_0 & \sigma_1 & \sigma_2\\ \sigma_1 & \sigma_2 & \sigma_3\\ \sigma_2 & \sigma_3 & \sigma_4 \end{bmatrix}. $$ Now you only need to calculate $\sigma_i$ for $0 \leq i \leq 4$ and $\det(MM^\top)$.
It's unavoidable to do some calculations for getting an expression like $b^2c^2 - 4c^3 - 4b^3d - 27d^2 + 18bcd$. But I think that one can simply understand this solution and also, generalize it for higher degree polynomials.