This is the method for solving any quartic equation.
Say we have:
ax4+bx3+cx2+dx+e=0 .
Divide by a , to rewrite this as:
x4+fx3+gx2+hx+j=0 .
Put y=x+f/4 , so x=y−f/4 , so
so x4+fx3+gx2+hx+j=y4−fy3+3f2/y2/8−f3y/16+f4/256+fy3−3y2f2/4+3yf3/16−f4/64+gy2−gyf/2+gf2/16+hy−hf/4+j
=y4+y3(−f+f) y2(3f2/8)−32/4+4) +y(−f3/16+3f3/16−gf/2+h) +
f4/256−f4/64+gf2/16−hf/4+j
So we can rewrite the original
equation as:
y4+py2+qy+r=0
with p=−3f2/8+g ,
q=f3/8−gf/2+h ,
r=−3f4/256+gf2/16−hf/4+j .
Now, we can write:
y4+py2=−qy−r
y4+2py2+p2=py2−qy−r+p2
(y2+p)2=py2−qy−r+p2 .
Now, for any z ,
(y2+p+z)2=((y2+p)+z)2
=(y2+p)2+2(y2+p)z+z2
=py2−qy−r+p2+2z(y2+p)+z2
=(p+2z)y2−qy+(p2−r+2pz+z2) (*)
The right hand side of (*) is a quadratic in y ; and we can choose z so that it is a perfect square, i.e. so that the discriminant is zero, ie:
(−q)2−4(p+2z)(p2−r+2pz+z2)=0 .
We can rewrite this as (q2−4p3+4pr)+(−16p2+8r)z−20pz2−8z3=0 .
This is a cubic equation in z . So we can solve it for z using the cubic equation formula (Cardano's method).
When we have solved this to find a value for z , we can substitute in this value of z to (*). This makes the right hand side of (*) a perfect square, so we can take the square root of both sides of (*). (*) is then a quadratic equation in y , which we can solve using the quadratic solution formula. The values of y will easily give us values of x , i.e. solutions of the original equation.
There can be 0, 1, 2, 3, or 4 real solutions.
Say we have:
ax4+bx3+cx2+dx+e=0 .
Divide by a , to rewrite this as:
x4+fx3+gx2+hx+j=0 .
Put y=x+f/4 , so x=y−f/4 , so
|
so x4+fx3+gx2+hx+j=y4−fy3+3f2/y2/8−f3y/16+f4/256+fy3−3y2f2/4+3yf3/16−f4/64+gy2−gyf/2+gf2/16+hy−hf/4+j
=y4+y3(−f+f) y2(3f2/8)−32/4+4) +y(−f3/16+3f3/16−gf/2+h) +
| � � |
| � � |
y4+py2+qy+r=0
with p=−3f2/8+g ,
q=f3/8−gf/2+h ,
r=−3f4/256+gf2/16−hf/4+j .
Now, we can write:
y4+py2=−qy−r
y4+2py2+p2=py2−qy−r+p2
(y2+p)2=py2−qy−r+p2 .
Now, for any z ,
(y2+p+z)2=((y2+p)+z)2
=(y2+p)2+2(y2+p)z+z2
=py2−qy−r+p2+2z(y2+p)+z2
=(p+2z)y2−qy+(p2−r+2pz+z2) (*)
The right hand side of (*) is a quadratic in y ; and we can choose z so that it is a perfect square, i.e. so that the discriminant is zero, ie:
(−q)2−4(p+2z)(p2−r+2pz+z2)=0 .
We can rewrite this as (q2−4p3+4pr)+(−16p2+8r)z−20pz2−8z3=0 .
This is a cubic equation in z . So we can solve it for z using the cubic equation formula (Cardano's method).
When we have solved this to find a value for z , we can substitute in this value of z to (*). This makes the right hand side of (*) a perfect square, so we can take the square root of both sides of (*). (*) is then a quadratic equation in y , which we can solve using the quadratic solution formula. The values of y will easily give us values of x , i.e. solutions of the original equation.
There can be 0, 1, 2, 3, or 4 real solutions.