We want to solve the equation ax4+bx3+cx2+dx+e=0, assuming that a=0 so that it really is a quartic equation.
First, as with equations of lower degree, we divide through by the leading coefficient:
x4+abx3+acx2+adx+ae=0
Now that the equation is monic, we can factor our quartic:
If α, β, γ, and δ are the roots of our quartic, since it is monic we have:
x4+abx3+acx2+adx+ae=(x−α)(x−β)(x−γ)(x−δ)
This holds true for all x, so we can equate coefficients of powers of x:
−α−β−γ−δ=ab so α+β+γ+δ=−ab
αβ+αγ+αδ+βγ+βδ+γδ=ac
−αβγ−αβδ−αγδ−βγδ=ad so
αβγ+αβδ+αγδ+βγδ=−ad
αβγδ=ae
Now comes the key to this derivation, which is making a convenient substitution. Specifically, since
Note that the product of the signs on ζ, η, and θ is always 1; this will be important at the end.
This substitution allows us to solve for ϵ immediately:
α+β+γ+δ=4ϵ=−ab, so
ϵ=−4ab
αβ+αγ+αδ+βγ+βδ+γδ=6ϵ2−2ζ2−2η2−2θ2=ac so
ζ2+η2+θ2=16a23b2−8ac
αβγ+αβδ+αγδ+βγδ=4(ϵ(ϵ2−ζ2−η2−θ2)+2ζηθ)=−ad so, since ϵ=−4ab and ζ2+η2+θ2=16a23b2−8ac, we obtain
ζηθ=64a3−8a2d+4abc−b3
ae=αβγδ=ϵ4+ζ4+η4+θ4−2ϵ2ζ2−2ϵ2η2−2ϵ2θ2−2ζ2η2−2ζ2θ2−2η2θ2+8ϵζηθ so, since ϵ=−4ab and ζηθ=64a3−8a2d+4abc−b3, we obtain ϵ4+ζ4+η4+θ4−2ϵ2ζ2−2ϵ2η2−2ϵ2θ2−2ζ2η2−2ζ2θ2−2η2θ2=32a432a3e+b(−8a2d+4abc−b3)
Since ζ2+η2+θ2=16a23b2−8ac, we can add ϵ2=16a2b2 to get ϵ2+ζ2+η2+θ2=4a2b2−2ac.
Then squaring both sides gives ϵ4+ζ4+η4+θ4+2ϵ2ζ2+2ϵ2η2+2ϵ2θ2+2ζ2η2+2ζ2θ2+2η2θ2=16a4(b2−2ac)2
Then subtracting gives us 4ϵ2ζ2+4ϵ2η2+4ϵ2θ2+4ζ2η2+4ζ2θ2+4η2θ2=(ϵ2+ζ2+η2+θ2)2−(ϵ4+ζ4+η4+θ4−2ϵ2ζ2−2ϵ2η2−2ϵ2θ2−2ζ2η2−2ζ2θ2−2η2θ2)=16a4(b2−2ac)2−ae−32a4b(−8a2d+4abc−b3)=32a42(b2−2ac)2−32a3e+b(8a2d−4abc+b3) so we can now obtain
ϵ2ζ2+ϵ2η2+ϵ2θ2+ζ2η2+ζ2θ2+η2θ2=128a42(b2−2ac)2−32a3e+b(8a2d−4abc+b3)
Since ϵ=−4ab and ζ2+η2+θ2=16a23b2−8ac, ϵ2ζ2+ϵ2η2+ϵ2θ2=ϵ2(ζ2+η2+θ2)=16a2b2⋅16a2(3b2−8ac)=256a4b2(3b2−8ac)
Then we can subtract to obtain ζ2η2+ζ2θ2+η2θ2=256a44(b2−2ac)2−64a3e+2b(8a2d−4abc+b3)+b2(8ac−3b2)
This means ζ2, η2, and θ2 are the roots of the cubic
(y−ζ2)(y−η2)(y−θ2)=y3−(ζ2+η2+θ2)y2+(ζ2η2+ζ2θ2+η2θ2)y−(ζηθ)2=y3+16a2(8ac−3b2)y2+256a44(b2−2ac)2−64a3e+2b(8a2d−4abc+b3)+b2(8ac−3b2)y−4096a6(8a2d−4abc+b3)2.
The importance of the product of signs in the substitutions defining ϵ, ζ, η, and θ is that just four sign combinations give roots of our original quartic, and they are the ones making (±ζ)(±η)(±θ)=ζηθ=64a3−8a2d+4abc−b3. So the solutions to our original quartic are given by
x=4a−b±y1±y2±y3, where the signs are chosen so that (±y1)(±y2)(±y3)=−8a2d+4abc−b3
(There's a reason this formula is almost never written explicitly and directly in terms of the coefficients of the original quartic.)