A quadratic equation is under the form:
Solving by finding roots and factorizing
Solutions for \( X \) which \( P_2(X) = 0 \) are called the roots of the polynomial.
They make it possible to obtain a factorized form.
Three cases should be considered after calculating the discriminant \( \Delta \):
$$ X_1 = \frac{- b - \sqrt{\Delta}}{2a} $$
$$ X_2 = \frac{- b + \sqrt{\Delta}}{2a} $$
And \( P_2(X) \) can be factorized like this:
$$ P_2(X) = a(X - X_1)(X - X_2) $$
$$ X_0 = \frac{- b}{2a} $$
And \( P_2(X) \) can be factorized like this:
$$ P_2(X) = a(X - X_0)^2 $$
$$ C_1 = \frac{- b - i\sqrt{|\Delta|}}{2a} $$
$$ C_2 = \frac{- b + i\sqrt{|\Delta}|}{2a} $$
And \( P_2(X) \) can be factorized like this:
$$ P_2(X) = a(X - C_1)(X - C_2) $$
Link between coefficients and roots
Furhtermore, in the general case we will also have these two relationships between the coefficients and the roots:
$$ X_1 + X_2 =- \frac{b}{a} $$
$$ X_1 X_2 = \frac{c}{a} $$
We start from the equation \( (1) \):
First of all, we factorize it by \( a \):
However, we notice that the expression in brackets has the same start as \(\left(X + \frac{b}{2a}\right)^2 \), because :
So that,
By rewriting the equation the other way around:
We can then transform \( (2) \) by injecting \( (3) \):
We then recognize the third quadratic remarkable identity which is:
With:
$$ \begin{Bmatrix} A = X + \frac{b}{2a} \\ B = \sqrt{\frac{b^2 - 4ac}{4a^2}} \end{Bmatrix} $$
Which leads us to:
For the sake of simplicity, let us set down:
We now have:
So:
Starting from this result, there will be three cases to take into account.
Then \( \sqrt{\Delta} \) exists and the solutions are directly given by:
$$ X_1 = \frac{- b - \sqrt{\Delta}}{2a} $$
$$ X_2 = \frac{- b + \sqrt{\Delta}}{2a} $$
Thereby, the polynomial \(P_2(X)\) admits the following factorization:
$$ P_2(X) = a(X - X_1)(X - X_2) $$
Then \( \sqrt{\Delta} = 0 \) and the root is double:
$$ X_0 = \frac{- b}{2a} $$
Then the factorization of \(P_2(X)\) becomes:
$$ P_2(X) = a(X - X_0)^2 $$
Then \( \sqrt{\Delta} \) is not defined on \( \mathbb{R} \). On the other hand, it can exists in the complex set \( (\mathbb{C}) \).
To solve a such equation in \( \mathbb{C} \) of type:
We do have the following solutions:
In our case, the solution \( \mathcal{S} \) will become:
We will then have two complex roots:
$$ C_1 = \frac{- b - i\sqrt{|\Delta|}}{2a} $$
$$ C_2 = \frac{- b + i\sqrt{|\Delta}|}{2a} $$
And the factorization will remain of the same form as for the case where \( \Delta > 0 \):
$$ P_2(X) = a(X - C_1)(X - C_2)$$
From the two general formulas for the roots seen above,
We can calculate their sum and product.
$$ X_1 + X_2 = -\frac{b}{a} $$
But, \(\Delta = b^2 - 4ac \), so:
$$ X_1 X_2 = \frac{c}{a} $$
We calculate the discriminant \( \Delta \):
So, \(P_2(X) \) has two real roots \(X_1, X_2\):
\(P_2(X) \) can be factorized:
\(P_2(X) \) is the polynomial which is worth \(0\) at \( X = \frac{1}{2}\) et \( X = 1\).
Let us solve this new equation:
When we have this type of situation, we do a variable change:
Let us set a new variable down:
Then the polynomial \(P_4(X)\) becomes a second degree polynomial:
We can now calculate the discriminant \( \Delta \):
Then \(P_2(\varphi ) \) has two real roots \(\varphi _1, \varphi _2\):
And \(P_2(\varphi) \) can be factorized:
We finally replace \(\varphi\) by its initial value, \( \varphi = X^2\) :
We can further break it down:
But, we know from the third quadratic remarkable identity that:
So,