Here is one useful equality. Let x
1, x
2 be the roots of the first quadratic equation, and x
3, x
4 be the roots of the second. Then by Vieta's theorem
x1x2 = t0/2 - h, x3x4 = t0/2 + h.
By adding these two equalities, we obtain an expression for the auxiliary variable t, we get the expression for the auxiliary variable t
0 by the roots of the original equation:
t0 = x1x2 + x3x4.
Let us consider examples of solving quartic equations using the Ferrari method.
Examples of solving fourth-order equations using the Ferrari method
Example 1.
Solve the equation x
4 + 2x
3 - 6x
2 - 5x + 2 = 0.
Solution.
For the original equation a=2, b=-6, c=-5, d=2. Let's select the perfect square on the left side of the equation
x4 + 2x3 - 6x2 - 5x + 2 = (x2 + x + t/2)2 - x2 - tx - t2/4 - tx2 - 6x2 - 5x + 2 =
 (x2 + x + t/2)2 - [(t+7)x2 + (t+5)x + t2/4 - 2].
We equate the discriminant of the expression in square brackets to zero D = (t+5)
2- 4(t+7)(t
2/4 - 2) = 0.
After expanding the brackets we get t
3 + 6t
2 - 18t - 81 = 0. Integer solutions of this equation must be sought among the divisors of the free term -81: ±1, ±3,... .
By direct substitution we see that t = -3 is the solution of the cubic equation. Therefore, the polynomial in square brackets at t=-3 is a perfect square
4x2 + 2x + 1/4 = (2x+1/2)2.
Thus, we get
x4 + 2x3 - 6x2 - 5x + 2 = 0 <=> (x2 + x - 3/2)2 - (2x+1/2)2 = 0.
By factoring the last equation and equating the factors to zero, we obtain two quadratic equations
x2 - x - 2 = 0 or x2 + 3x - 1 = 0.
The solutions of these quadratic equations will give us 4 real roots of the original equation:
x1 = -1, x2 = 2, x3,4 = (-3±√13)/2.
Answer: (-3-√13)/2, -1, (-3+√13)/2, 2.
Example 2.
Solve the equation x
4 - 2x
3 + 4x
2 - 2x + 3 = 0.
Solution.
For the original equation a=-2, b=4, c=-2, d=3. Let's select the perfect square on the left side of the equation
x4 - 2x3 + 4x2 - 2x + 3 = (x2 - x + t/2)2 - x2 + tx - t2/4 + tx2 + 4x2 - 2x + 3 =
 (x2 - x + t/2)2 - [(t-3)x2 + (-t+2)x + t2/4 - 3].
We equate the discriminant of the expression in square brackets to zero D = (-t+2)
2 - 4(t-3)(t
2/4 - 3) = 0.
After expanding the brackets we get t
3 - 4t
2 - 8t + 32 = 0. Integer solutions of this equation must be sought among the divisors of the free term 32: ±1, ±2, ±4,... .
It is easy to see that t = 4 is the solution of the cubic equation. Therefore, the polynomial in square brackets at t=4 is a perfect square
x2 - 2x + 1 = (x - 1)2.
Thus, we get
x4 - 2x3 + 4x2 - 2x + 3 = 0 <=> (x2 - x + 2)2 - (x-1)2 = 0 <=> (x2 - 2x + 3)(x2 + 1) = 0.
By equating the factors to zero, we obtain two quadratic equations
x2 - 2x + 3 = 0 or x2 + 1 = 0.
The solutions of these quadratic equations will give us the 4 complex roots of the original equation:
x1,2 = 1±i√2, x3,4 = ±i.
Answer: 1-i√2, 1+i√2, -i, i.
Example 3.
Solve the equation x
4 - 2x
3 - 10x
2 + 24x - 24 = 0.
Solution.
For the original equation a=-2, b=-10, c=24, d=-24. Let's select the perfect square on the left side of the equation
x4 - 2x3 - 10x2 + 24x - 24 = (x2 - x + t/2)2 - x2 + tx - t2/4 - tx2 - 10x2 + 24x - 24 =
 (x2 - x + t/2)2 - [(t+11)x2 - (t+24)x + t2/4 + 24].
We equate the discriminant of the expression in square brackets to zero D = (t+24)
2- 4(t+11)(t
2/4 + 24) = 0.
After expanding the brackets we get t
3 + 10t
2 + 48t + 480 = 0.
It is easy to verify by a simple substitution that t> = -10 is the solution of the cubic equation. Therefore, the polynomial in square brackets at t=-10 is a perfect square
x2 - 14x + 49 = (x - 7)2.
Thus, we get
x4 - 2x3 - 10x2 + 24x - 24 = 0 <=> (x2 - x - 5)2 - (x-7)2 = 0 <=> (x2 - 2x + 2)(x2 - 12) = 0.
By equating the factors to zero, we obtain two quadratic equations
x2 - 2x + 2 = 0 or x2 - 12 = 0.
The solutions of these quadratic equations will give us 4 roots of the original equation: 2 complex and 2 real.
x1,2 = 1±i, x3,4 = ±2√3.
Answer: 1-i, 1+i, -2√3, 2√3.
Example 4.
Solve the equation x
4 + 4x - 1 = 0.
Solution.
For the original equation a=0, b=0, c=4, d=-1. Let's select the perfect square on the left side of the equation
x4 + 4x - 1 = (x2 + t/2)2 - x2t - t2/4 + 4x - 1 =
 (x2 + t/2)2 - [tx2 - 4x + t2/4 + 1].
We equate the discriminant of the expression in square brackets to zero D = 4
2- 4t(t
2/4 + 1) = 0.
After expanding the brackets and dividing both parts of the equality by 4, we get t
3 + 4t -16 = 0. Integer solutions of this equation must be sought among the divisors of the free term -16: ±1, ±2, ±4,... .
By direct substitution we see that t = 2 is the solution of the cubic equation. Therefore, the polynomial in square brackets at t=2 is a perfect square
2x2 - 4x + 2 = (√2x-√2)2.
Thus, we get
x4 + 4x - 1 = 0 <=> (x2 + 1)2 - (√2x-√2)2 = 0
<=> (x2 - √2x + 1 + √2)(x2 + √2x + 1 - √2) = 0.
By equating the factors to zero, we obtain two quadratic equations
x2 - √2x + 1 + √2 = 0 or x2 + √2x + 1 - √2 = 0.
The solutions of these quadratic equations will give us 4 roots of the original equation: 2 complex and 2 real.
Answer: