The Ferrari's method for solving equations of the fourth degree

An algebraic equation of the fourth degree in the general case has the form a0x4 + a1x3 + a2x2 + a3x + a4 = 0,
the coefficients ai are real (or complex) numbers, and a0 ≠ 0. Without loss of generality, we will consider equations of degree 4 in the form x4 + ax3 + bx2 + cx + d = 0 (since a0 ≠ 0, we simply divide the left and right sides of the equation by a0).
The simplest method for solving this equation was proposed by L. Ferrari. The idea of the Ferrari method is to represent the left side of the equation as the difference of the squares of two polynomials. Then this difference can be factored into two quadratic factors, and the solution of the original equation will be reduced to the solution of two quadratic equations.
We introduce an auxiliary variable t and represent the left side of the equation as
(x2 + (a/2)x + t/2)2 - a2x2/4 - atx/2 - t2/4 - tx2 + bx2 + cx + d =
 = (x2 + (a/2)x + t/2)2 - [(a2/4 + t - b)x2 + (at/2 - c)x + t2/4 - d].
Our goal is to select a value of the auxiliary variable t such that the expression in square brackets is a perfect square. For this, it is necessary and sufficient that the discriminant of the square trinomial in square brackets is equal to zero, that is,
D = (at/2 - c)2 - 4(a2/4 + t - b)(t2/4 - d) = 0.
After opening the brackets, we get the following cubic equation
t3 - bt2 + (ac-4d)t - (c2 + a2d - 4bd) = 0.
Let t0 be an arbitrary root of this equation. It can be found either by Cardano's formula or by any other method. So, for t=t0 the polynomial in square brackets is a perfect square, that is, it has one double root x0
x0 = -(at0/2 - c) / (2(a2/4 + t0 - b)).
Hence,
(a2/4 + t0 - b)x2 + (at0/2 - c)x + t02/4 - d = (a2/4 + t0 - b)(x - x0)2 = (gx + h)2
for some values of the coefficients g, h. Thus, for the initial equation it is valid
(x2 + (a/2)x + t0/2)2 - (gx + h)2 = 0 <=>
<=> (x2 + (a/2)x + t0/2 - gx - h)(x2 + (a/2)x + t0/2 + gx + h)<=>
<=> x2 + (a/2-g)x + t0/2 - h = 0 or x2 + (a/2+g)x + t0/2 + h = 0.
Having solved these quadratic equations, we find the 4 roots of the original equation.

Calculators for solving examples and problems in mathematics

The best math apps for schoolchildren and their parents, students and teachers. More detailed ...


Here is one useful equality. Let x1, x2 be the roots of the first quadratic equation, and x3, x4 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 t0 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 x4 + 2x3 - 6x2 - 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)(t2/4 - 2) = 0.
After expanding the brackets we get t3 + 6t2 - 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 x4 - 2x3 + 4x2 - 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)(t2/4 - 3) = 0.
After expanding the brackets we get t3 - 4t2 - 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 x4 - 2x3 - 10x2 + 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)(t2/4 + 24) = 0.
After expanding the brackets we get t3 + 10t2 + 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 x4 + 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 = 42- 4t(t2/4 + 1) = 0.
After expanding the brackets and dividing both parts of the equality by 4, we get t3 + 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.
Example 4 - the roots of the quartic equation Answer:Example 4 - the roots of the quartic equation
Business Contact Book - Premium Contact Manager
Related Sites & Topics:
Copyright © 2025 Intemodino Group s.r.o.
All rights reserved
Menu