# Quartic Equation Solver & Quartic Formula

Fourth-degree polynomials, equations of the form*Ax*^{4} + *Bx*^{3} + *Cx*^{2} + *Dx* + *E* = 0

where A is not equal to zero, are called quartic equations. If you divide both sides of the equation by *A* you can simplify the equation to*x*^{4} + *bx*^{3} + *cx*^{2} + *dx* + e = 0.

A quartic equation with real number coeffiecients can have either four real roots, two real roots and two complex roots, or four complex roots. Complex roots occur in conjugate pairs. To solve a general quartic equation, you need to solve associated cubic and quadratic equations in a multi-step process. Certain special quartics can be solved with simpler methods.

You can apply the quartic formula following the instructions below, or use the quartic equation solver calculator on the left.

### The Quartic Formula

Given a general fourth degree equation*x*

^{4}+

*bx*

^{3}+

*cx*

^{2}+

*dx*+ e = 0, you can rearrange terms to form the equation

*x*

^{4}+

*bx*

^{3}= -

*cx*

^{2}-

*dx*- e.

Now add the expression (

*b*

^{2}/4 + 2

*p*)

*x*

^{2}+

*bpx*+

*p*

^{2}to both sides:

*x*

^{4}+

*bx*

^{3}+ (

*b*

^{2}/4 + 2

*p*)

*x*

^{2}+

*bpx*+

*p*

^{2}= (

*b*

^{2}/4 + 2

*p - c*)

*x*

^{2}+ (

*bp - d*)

*x*+

*p*

^{2}-

*e*.

The left hand side is now a perfect square: (

*x*

^{2}+ (

*b*/2)

*x*+

*p*)

^{2}. You want to find a real number

*p*such that the right hand side is also a square. In order for the right hand side to be a square quadratic, the discriminant must be zero. That is,

(

*bp - d*)

^{2}- 4(

*b*

^{2}/4 + 2

*p - c*)(

*p*

^{2}-

*e*) = 0.

This simplifies to a cubic equation in p:

-8

*p*

^{3}+ 4

*cp*

^{2}+ (8

*e*- 2

*bd*)

*p*+

*d*

^{2}- 4

*ce*+

*b*

^{2}

*e*= 0.

Since every cubic equation has at least one real root, you can find a suitable value of

*p*to resolve the quartic. After you plug in the value of

*p*, you take the square root of both sides to create two quadratic equations. This gives you a total of four solutions

**Example:**Solve the quartic equation

*x*

^{4}- 4

*x*

^{3}+ 5

*x*

^{2}- 4x + 4 = 0.

*x*

^{4}- 4

*x*

^{3}= -5

*x*

^{2}+ 4x - 4

*x*

^{4}- 4

*x*

^{3}+ (4 + 2

*p*)

*x*

^{2}- 4

*px*+

*p*

^{2}= (4 + 2

*p*)

*x*

^{2}- 4

*px*+

*p*

^{2}-5

*x*

^{2}+ 4x - 4

Now solve the cubic -8

*p*

^{3}+ 20

*p*

^{2}= 0. The solutions are

*p*= 0, 0, 5/2. You can use any real value of

*p*to plug into the quartic. For this example, we will use 0 since it is easier to work with.

*x*

^{4}- 4

*x*

^{3}+ 4

*x*

^{2}= -

*x*

^{2}+ 4

*x*- 4

sqrt(

*x*

^{4}- 4

*x*

^{3}+ 4

*x*

^{2}) = sqrt(-

*x*

^{2}+ 4

*x*- 4)

*x*

^{2}- 2

*x*= ±

*i*(

*x*- 2)

This yields two quadratic equations with complex coefficients:

*x*

^{2}+ (-2 +

*i*)

*x*- 2

*i*= 0

*x*

^{2}+ (-2 -

*i*)

*x*+ 2

*i*= 0

Using the quadratic equation, the roots of the first equation are 2 and -

*i*, and the roots of the second are 2 and

*i*. These four roots are the roots of the original quartic.

### Special Cases of Quartics

Quartic equations that take one of these four forms can be solved using only the quadratic equation, with no need to apply the more complicated formulas above.- x
^{4}+ bx^{3}+ cx^{2}= 0

Hint: Rewrite it as x^{2}(x^{2}+ bx + c) = 0. - x
^{4}+ cx^{2}+ e = 0

Hint: Use the quadratic formula to solve for x^{2}. - x
^{4}+ 2mx^{3}+ (m^{2}+ 2n)x^{2}+ 2mnx + e = 0

Hint: Rewrite it as x^{4}+ 2mx^{3}+ (m^{2}+ 2n)x^{2}+ 2mnx + n^{2}= n^{2}- e.

Factor the left side into (x^{2}+ mx + n)^{2}, then take the square root of both sides.

© *Had2Know 2010
*