[Math] Knowing a quartic has a double root, how to find it

quartics

I have a depressed quartic polynomial with three free parameters in the real numbers:

$x^{4}+qx^{2}+rx+s$

Furthermore, the discriminant is constrained to be zero and there are four real roots, exactly two of which are equal. I am only interested in the double root.

Wikipedia has the general solution. However, is there a simpler formula for this special case?

Best Answer

Yes, there is. You know that your roots (including multiplicities) can be expressed as $\{a, a, -a+δ, -a-δ\}$ (because the sum is zero after the normalization). Expand

$$(x-a)^2(x+a-δ)(x+a+δ) = x^4 - (2a^2 + δ^2)x^2 + 2aδ^2 x + a^4-δ^2a^2$$

and compare with your form. Next, note that the equations

$$\begin{aligned} - (2a^2 + δ^2) &= q \\ a^4-δ^2a^2 &= s \end{aligned}$$

can be both expressed using

$$A = a^2, D = δ^2$$

and they only lead to a quadratic equation for $A$. It's easy from there. You'll get $a^2$ but the sign of $a$ is correlated with the sign of the linear term (which otherwise only contains factors of a 2 and a square).

Generally:

$$\bbox[7px,border:2px solid]{a = (\mathop{\rm sgn} r)\cdot \sqrt{\frac{-q \pm \sqrt{q^2 + 12s}}6}}\ .$$

The sign inside the square root needs to be chosen so that $2aD = -2a(q+2a^2) = r$. For $s > 0$ only + guarantees a real $a$ but if $s < 0$ then both signs lead to a real solution and one of them corresponds to a quartic with a different $r$.

Example:

$$\begin{aligned} p(x) &= x^4 - 19x^2 + 6x + 72 \\ ⇒ 2A + D &= 19 \\ A^2 - AD &= 72 \\ ⇒ A^2 - A(19-2A) = 3A^2 - 19A &= 72 \\ ⇒ A &= \frac{19 \pm \sqrt{1225}}{6} = \frac{19 \pm 35}6, \quad D = 19-2A \\ A ≥ 0 ⇒ A &= 9, \quad D = 1 \\ ⇒ a &= 3, d = 1 ⇒ p(x) = (x-3)^2 (x+2) (x+4) \end{aligned}$$

Related Question