MatheramaMatherama
← Quadratic Equations
Quadratic Equations·Section 7·19 min read

Roots

Factorizing a quadratic expression§

The primary goal of factorizing a quadratic expression ax2+bx+cax^2 + bx + c is to simplify the equation and find its solutions more easily. Factorization transforms the quadratic into a product of binomials, typically in the form a(x−α)(x−β)a(x - \alpha)(x - \beta), where α\alpha and β\beta are the roots.


:brain: Exploring the Factorization of Quadratic Expressions Using Completing the Square

One effective method to factorize a quadratic expression of the form ax2+bx+cax^2 + bx + c is by completing the square. This method involves transforming the expression into a perfect square plus or minus a constant. Let's go through this process step-by-step:

:right_arrow: Step 1: Take common the coefficient of x2x^2

First, let's factor out the coefficient aa from all terms in the expression:

a(x2+bax+ca)a(x^2 + \frac{b}{a}x + \frac{c}{a})

:right_arrow: Step 2: Completing the Square

Now, within the brackets, we add and subtract the square of half the coefficient of xx, which is (b2a)2\left(\frac{b}{2a}\right)^2:

a(x2+bax+(b2a)2−(b2a)2+ca)a \left(x^2 + \frac{b}{a}x + \left(\frac{b}{2a}\right)^2 - \left(\frac{b}{2a}\right)^2 + \frac{c}{a} \right)

:right_arrow: Step 3: Forming a Perfect Square

We can rearrange the terms inside the brackets to form a perfect square:

a((x+b2a)2−(b2a)2+ca)a \left( \left(x + \frac{b}{2a}\right)^2 - \left(\frac{b}{2a}\right)^2 + \frac{c}{a} \right)

:right_arrow: Step 4: A rearrangement

Let Δ=b2−4ac\Delta = b^2 - 4ac. Combine the last two terms:

a((x+b2a)2−b2−4ac4a2)a \left( \left(x + \frac{b}{2a}\right)^2 - \frac{{b^2-4ac}}{4a^2} \right)

=a((x+b2a)2−Δ4a2)= a \left( \left(x + \frac{b}{2a}\right)^2 - \frac{{\Delta}}{4a^2} \right)

:right_arrow: Step 5: Cases Based on Δ\Delta: :mag:
Whether the obtained expression can be factorized or not depends on Δ\Delta.

:radio_button: Case I. Δ>0\Delta > 0:

  • In this case, Δ4a2\frac{\Delta}{4a^2} is a positive number.
  • The expression can be viewed as a2−b2=(a−b)(a+b)a^2-b^2=(a-b)(a+b). Factorization is possible: a((x+b2a)2−Δ4a2)a\left(\left(x + \frac{b}{2a}\right)^2 - \frac{\Delta}{4a^2}\right) =a((x+b2a)−Δ2a)((x+b2a)+Δ2a)= a\left(\left(x + \frac{b}{2a}\right) - \frac{\sqrt{\Delta}}{2a}\right)\left(\left(x + \frac{b}{2a}\right) + \frac{\sqrt{\Delta}}{2a}\right)

:radio_button: Case II. Δ=0\Delta = 0:

  • The expression becomes a perfect square: a((x+b2a)2)a\left(\left(x + \frac{b}{2a}\right)^2\right)
  • Factorization results in a single repeated factor.

:radio_button: Case III. Δ<0\Delta < 0::no_entry_sign:

  • The term Δ4a2\frac{\Delta}{4a^2} is negative, leading to a2+b2a^2 + b^2 form inside the parentheses, which cannot be factorized.
  • Factorization is not possible into real factors. Even though we will learn later that we can factorize it into complex factors.

In summary, factorization into real number factors is possible when Δ≥0\Delta \geq 0, with a single repeated factor for Δ=0\Delta = 0, and two distinct factors for Δ>0\Delta > 0. For Δ<0\Delta < 0, factorization into real factors is not possible.


Roots(:deciduous_tree:)§

Now that we understand how to factorize a quadratic expression, we look at what roots of a quadratix expressions are. Simply, the roots of a quadratic expression are the solutions to the quadratic equation ax2+bx+c=0ax^2 + bx + c = 0, where aa, bb, and cc are real numbers and a≠0a \neq 0. The roots are the values of xx for which the value of the expression becomes exactly zero. That's why these values of xx are also called zeros. The rocess again involves completing the square method.

So, we start with quadratic eqaution ax2+bx+c=0ax^2 + bx + c = 0 and follow these steps. :right_arrow:Step 1. Rearranging the Equation: Divide the entire equation by aa (if aa is not 1) to make the coefficient of x2x^2 equal to 1:

x2+bax+ca=0x^2 + \frac{b}{a}x + \frac{c}{a} = 0

:right_arrow:Step 2. Moving the Constant Term: Shift the constant term to the right side:

x2+bax=−cax^2 + \frac{b}{a}x = -\frac{c}{a}

:right_arrow:Step 3. Completing the Square: Add (b2a)2\left(\frac{b}{2a}\right)^2 (the square of half the coefficient of xx) to both sides:

x2+bax+(b2a)2=(b2a)2−cax^2 + \frac{b}{a}x + \left(\frac{b}{2a}\right)^2 = \left(\frac{b}{2a}\right)^2 - \frac{c}{a}

This forms a perfect square on the left side:

(x+b2a)2=b2−4ac4a2\left(x + \frac{b}{2a}\right)^2 = \frac{b^2 - 4ac}{4a^2}

:right_arrow:Step 4: Introducing Discriminant (Δ\Delta):

Define Δ=b2−4ac\Delta = b^2 - 4ac. The equation becomes:

(x+b2a)2=Δ4a2\left(x + \frac{b}{2a}\right)^2 = \frac{\Delta}{4a^2}

:mag: Analysis Based on Discriminant (Δ\Delta)

:radio_button: Case I: For Δ>0\Delta > 0:

  • The equation has two real and distinct roots.
  • Solve using: x=−b±Δ2ax = \frac{-b \pm \sqrt{\Delta}}{2a}.

:radio_button: Case II: For Δ=0\Delta = 0:

  • The equation has one real root (a repeated root).
  • The root is x=−b2ax = \frac{-b}{2a}.

:radio_button: Case III. For Δ<0\Delta < 0:

  • The equation has no real roots. This is because the left-hand side of the equation, (x+b2a)2\left(x + \frac{b}{2a}\right)^2, represents a square and thus is always non-negative (as the square of any real number, whether positive, negative, or zero, is non-negative).
  • However, for Δ<0\Delta < 0, the right-hand side, Δ4a2\frac{\Delta}{4a^2}, is negative (since Δ\Delta is negative and a2a^2 is always non-negative).
  • Since a non-negative number cannot equal a negative number, there are no real values of xx that satisfy the equation when Δ<0\Delta < 0.

!!! Note info "Roots and Factorization" The factorization of a quadratic expression ax2+bx+cax^2 + bx + c is intimately connected to its roots. When this expression is factorized, it takes the form a(x−α)(x−β)a(x - \alpha)(x - \beta), where α\alpha and β\beta represent the roots of the quadratic equation ax2+bx+c=0ax^2 + bx + c = 0. These roots are the specific values of xx that satisfy the equation, making the entire expression equal to zero.

The roots, α\alpha and β\beta, are determined using the quadratic formula: α,β=−b±Δ2a\alpha, \beta = \frac{-b \pm \sqrt{\Delta}}{2a}, where Δ\Delta is the discriminant given by b2−4acb^2 - 4ac. This formula provides the solutions to the quadratic equation, and these solutions are precisely the values at which the factorized expression a(x−α)(x−β)a(x - \alpha)(x - \beta) equals zero.

In essence, the process of factorizing the quadratic expression reveals the roots directly. Each factor in the expression a(x−α)(x−β)a(x - \alpha)(x - \beta) corresponds to a root of the quadratic equation. When xx takes the value of α\alpha or β\beta, the corresponding factor becomes zero, thereby making the product of the factors, and hence the entire expression, equal to zero. This relationship between factorization and the roots of a quadratic equation is fundamental in algebra, allowing for an understanding of how the solutions to the equation are intrinsically linked to the expression's factorized form.

Vieta's Formula:§

Vieta's formulas for a quadratic expression provide a powerful relationship between the roots of the expression and its coefficients. These formulas state that for a quadratic expression of the form ax2+bx+cax^2 + bx + c, where aa, bb, and cc are constants and a≠0a \neq 0, the sum and product of its roots are directly related to the coefficients of the expression.

The Quadratic Expression and Its Roots§

Consider the quadratic expression ax2+bx+cax^2 + bx + c. The roots of this expression, let's call them α\alpha and β\beta, are the solutions to the equation ax2+bx+c=0ax^2 + bx + c = 0. These roots can be real or complex numbers depending on the discriminant of the quadratic equation.

Vieta's Formulas§

The fundamental idea behind Vieta's formulas comes from the fact that a quadratic expression with roots α\alpha and β\beta can be factorized as a(x−α)(x−β)a(x - \alpha)(x - \beta). By expanding this factorized form, we get:

a(x−α)(x−β)=ax2−a(α+β)x+aαβa(x - \alpha)(x - \beta) = ax^2 - a(\alpha + \beta)x + a\alpha\beta

Now, compare this expanded form to the original expression ax2+bx+cax^2 + bx + c. By equating the coefficients of the corresponding terms of x2x^2, xx, and the constant term, we derive the formulas:

  1. Sum of the Roots: Equating the coefficients of xx from −a(α+β)x-a(\alpha + \beta)x and bxbx gives us the first of Vieta's formulas: α+β=−ba\alpha + \beta = -\frac{b}{a}.
    This formula states that the sum of the roots of the quadratic expression is equal to the negative of the coefficient of xx divided by the coefficient of x2x^2.

  2. Product of the Roots: Equating the constant terms aαβa\alpha\beta and cc gives us the second formula: αβ=ca\alpha\beta = \frac{c}{a}.
    This means that the product of the roots of the quadratic expression is equal to the constant term divided by the coefficient of x2x^2.

Thus, Vieta's formulas establish a clear and direct relationship between the coefficients of a quadratic expression and the roots of the corresponding quadratic equation. The elegance of these formulas lies in their ability to provide information about the roots without necessarily having to solve the equation explicitly. They are particularly useful in various mathematical applications, including algebraic manipulation and problem-solving.

!!! Note info "When discriminant is negative." One thing which is not clear now is what happens when discriminant is negative. As negative discriminant indicates that quadratic expression does not have real roots, does the sum and product of roots still make sense? Since, we have not yet defined the concept of complex numbers, Vieta's formulas clearly are absurd in this case. But once we define complex numbers, these formulas will absolutely make sense for negative discriminant.

More than two roots :thinking:§

If a quadratic expression has three distinct roots (let's call them α\alpha, β\beta, and γ\gamma), then the coefficients of the quadratic expression must be zero (i.e., a=0a = 0, b=0b = 0, and c=0c = 0). To prove this, we start with the standard form of a quadratic expression:

ax2+bx+cax^2 + bx + c

Given that α\alpha, β\beta, and γ\gamma are roots of this expression, it means that the expression equals zero when xx is replaced by each of these roots. Therefore, we have:

  1. aα2+bα+c=0a\alpha^2 + b\alpha + c = 0 [1]
  2. aβ2+bβ+c=0a\beta^2 + b\beta + c = 0 [2]
  3. aγ2+bγ+c=0a\gamma^2 + b\gamma + c = 0 [3]

:gear: First, subtract [2] from [1]:

aα2+bα+c−(aβ2+bβ+c)=0−0a\alpha^2 + b\alpha + c - (a\beta^2 + b\beta + c) = 0 - 0
  ⟹  \implies a(α2−β2)+b(α−β)=0a(\alpha^2 - \beta^2) + b(\alpha - \beta) = 0
  ⟹  \implies (α−β)(a(α+β)+b)=0(\alpha - \beta)(a(\alpha + \beta) + b) = 0

Since α≠β\alpha \neq \beta (the roots are distinct), α−β≠0\alpha - \beta \neq 0. Therefore, the other factor must be zero:
a(α+β)+b=0a(\alpha + \beta) + b = 0 [4]

:gear: Similarly, subtract [3] from [1]:

a(α2−γ2)+b(α−γ)=0a(\alpha^2 - \gamma^2) + b(\alpha - \gamma) = 0
  ⟹  \implies (α−γ)(a(α+γ)+b)=0(\alpha - \gamma)(a(\alpha + \gamma) + b) = 0

Since α≠γ\alpha \neq \gamma, α−γ≠0\alpha - \gamma \neq 0. Thus:
a(α+γ)+b=0a(\alpha + \gamma) + b = 0 [5]

:gear: Subtract Equation [4] from [5]

a(α+γ)+b−(a(α+β)+b)=0−0a(\alpha + \gamma) + b - (a(\alpha + \beta) + b) = 0 - 0
  ⟹  \implies aγ−aβ=0a\gamma - a\beta = 0
  ⟹  \implies a(γ−β)=0a(\gamma - \beta) = 0

Since we assume a≠0a \neq 0, it follows that γ−β=0\gamma - \beta = 0 or β=γ\beta = \gamma, which contradicts our initial assumption of three distinct roots.

This contradiction implies that our initial assumption of having three distinct roots for a quadratic expression is flawed. Therefore, the only way a quadratic expression can have three distinct roots is if a=0a = 0, b=0b = 0, and c=0c = 0, which essentially means the expression is identically zero. This aligns with the fundamental nature of a quadratic equation, which can have at most two distinct roots.

Newton's identities§

For a quadratic equation ax2+bx+c=0ax^2 + bx + c = 0 with roots α\alpha and β\beta, Newton's identity states that for any natural number nn greater than or equal to 2, the following recursive relationship holds:

aSn+bSn−1+cSn−2=0aS_n + bS_{n-1} + cS_{n-2} = 0

where Sn=αn+βnS_n = \alpha^n + \beta^n.

Proof:

  1. Begin with the Roots: Since α\alpha and β\beta are roots of the quadratic equation, they satisfy:

    aα2+bα+c=0a\alpha^2 + b\alpha + c = 0 [1]
    aβ2+bβ+c=0a\beta^2 + b\beta + c = 0 [2]

  2. Multiply by Powers of α\alpha and β\beta: Multiply equation [1] by αn−2\alpha^{n-2} and equation [2] by βn−2\beta^{n-2}:

    aαn+bαn−1+cαn−2=0a\alpha^n + b\alpha^{n-1} + c\alpha^{n-2} = 0 [3]
    aβn+bβn−1+cβn−2=0a\beta^n + b\beta^{n-1} + c\beta^{n-2} = 0 [4]

  3. Add the Equations: Add equations [3] and [4] to get:

    a(αn+βn)+b(αn−1+βn−1)+c(αn−2+βn−2)=0a(\alpha^n + \beta^n) + b(\alpha^{n-1} + \beta^{n-1}) + c(\alpha^{n-2} + \beta^{n-2}) = 0

    Simplifying this, we have: aSn+bSn−1+cSn−2=0aS_n + bS_{n-1} + cS_{n-2} = 0

  4. Initial Cases: For n=1n = 1 and n=2n = 2, the initial cases are:

    S1=α+β=−baS_1 = \alpha + \beta = -\frac{b}{a}
    S2=α2+β2=(α+β)2−2αβ=(−ba)2−2caS_2 = \alpha^2 + \beta^2 = (\alpha + \beta)^2 - 2\alpha\beta = \left(-\frac{b}{a}\right)^2 - 2\frac{c}{a}

This recursive nature of Newton's identities provides a method for calculating higher power sums of the roots without directly solving for the roots themselves.

Difference of Roots§

Given a quadratic equation ax2+bx+c=0ax^2 + bx + c = 0 with roots α\alpha and β\beta, the absolute difference between the roots is given by the formula:

∣α−β∣=D∣a∣|\alpha - \beta| = \frac{\sqrt{D}}{|a|}

where D=b2−4acD = b^2 - 4ac is the discriminant of the quadratic equation.

Proof:

By Vieta's formulas, the sum and product of the roots α\alpha and β\beta of the quadratic equation are given as follows:

  • The sum of the roots α+β=−ba\alpha + \beta = -\frac{b}{a}.
  • The product of the roots αβ=ca\alpha\beta = \frac{c}{a}.

We aim to find the absolute value of the difference of the roots, ∣α−β∣|\alpha - \beta|. To do this, we start with the identity that relates the square of the difference of the roots to the sum and product of the roots:

(α−β)2=(α+β)2−4αβ(\alpha - \beta)^2 = (\alpha + \beta)^2 - 4\alpha\beta

Substituting Vieta's formulas into the identity gives:

(α−β)2=(−ba)2−4(ca)(\alpha - \beta)^2 = \left(-\frac{b}{a}\right)^2 - 4\left(\frac{c}{a}\right)
  ⟹  \implies (α−β)2=b2a2−4aca2(\alpha - \beta)^2 = \frac{b^2}{a^2} - \frac{4ac}{a^2}
  ⟹  \implies (α−β)2=b2−4aca2(\alpha - \beta)^2 = \frac{b^2 - 4ac}{a^2}

Recognizing that b2−4acb^2 - 4ac is the discriminant DD, we can write:

(α−β)2=Da2(\alpha - \beta)^2 = \frac{D}{a^2}

Taking the square root of both sides, and considering the absolute value to account for the order of subtraction in the roots, we obtain:

∣α−β∣=D∣a∣|\alpha - \beta| = \frac{\sqrt{D}}{|a|}

This completes the proof. The absolute difference between the roots of the quadratic equation ax2+bx+c=0ax^2 + bx + c = 0 is indeed D∣a∣\frac{\sqrt{D}}{|a|}, where DD is the discriminant of the equation.

Section 7 of 13 · Quadratic Equations

Mark this section complete when you have worked through its proofs.