In this note, a similar technique with Ferrari’s solution is introduced to solve a quartic equation x4+ax3+bx2+cx+d=0
The above equation is converted to the depressed quartic equation y4+py2+qy+r=0
Once the solution y is found, x can be naturally obtained from x=y−a/4. So, replacing x by y−a/4 in the original equation to find p, q, and r, ==⟹(y−4a)4+a(y−4a)3+b(y−4a)2+c(y−4a)+d(y4−ay3+83a2y2−16a3y+256a4)+a(y3−43ay2+163a2y−64a3)+b(y2−2ay+16a2)+c(y−4a)+dy4+(b−83a2)y2+(8a3−2ab+c)y+(−2563a4+16a2b−4ac+d)=0p=b−83a2q=8a3−2ab+cr=−2563a4+16a2b−4ac+d
Now, the depressed quartic equation can be rearranged y4=(y2)2=−py2−qy−r
Introducing a variable z, add 2zy2+z2 to both sides. y4+2zy2+z2(y2+z)2=−py2−qy−r+2zy2+z2=(2z−p)y2−qy+z2−r
As z may be arbitrarily chosen, this can be carefully set in order to complete the square on the right-hand side. That is, the discriminant on the quardratic equation on the right-hand side should be zero for doing this. (−q)2−4(2z−p)(z2−r)=0
This discriminant generates another cubic equation, which can be solved following this note. q2−(8z3−4pz2−8rz+4rp)=0⟹z3−2pz2−rz+2rp−8q2=0
After finding z and picking any, the reformed equation can be rewritten as (y2+z)2=(2z−py−22z−pq)2
or (y2+z)2=(2z−py±z2−r)2
Note that there no exists real solutions if 2z−p<0 or z2−r<0. Since these two equations are equal, (2z−py−22z−pq)2=(2z−py±z2−r)2⟹−2q=±22z−pz2−r
Therefore, this fact makes two separate cases. ⎩⎨⎧−2q=22z−pz2−r−2q=−22z−pz2−r(q<0)(q≥0)
Keeping this separation in mind, from the identity m2−n2=(m+n)(m−n), ⎩⎨⎧(y2−2z−py+z−z2−r)(y2+2z−py+z+z2−r)(y2−2z−py+z+z2−r)(y2+2z−py+z−z2−r)(q<0)(q≥0)
Accordingly, by the quadratic formula, ⎩⎨⎧y=21(±12z−p±2−2z−p±14z2−r)y=21(±12z−p±2−(2z+p±14z2−r))(q<0)(q≥0)
The two occurrences of ±1 must denote the same sign, while ±2 is independent. More specifically, if q<0, xxxx=21(2z−p+−2z−p+4z2−r)−4a,=21(2z−p−−2z−p+4z2−r)−4a,=21(−2z−p+−2z−p−4z2−r)−4a,=21(−2z−p−−2z−p−4z2−r)−4a
If q≥0, xxxx=21(2z−p+−(2z+p+4z2−r))−4a,=21(2z−p−−(2z+p+4z2−r))−4a,=21(−2z−p+−(2z+p−4z2−r))−4a,=21(−2z−p−−(2z+p−4z2−r))−4a
Reference
[1] Andrew S. Glassner (Ed.). 1990. Graphics gems. Academic Press Professional, Inc., USA.
Keep going!Keep going ×2!Give me more!Thank you, thank youFar too kind!Never gonna give me up?Never gonna let me down?Turn around and desert me!You're an addict!Son of a clapper!No wayGo back to work!This is getting out of handUnbelievablePREPOSTEROUSI N S A N I T YFEED ME A STRAY CAT