TExcelTAD
Home › School Algebra, Identities & Quadratic Equations › Reconstructing Quadratic Equations from Roots

Reconstructing Quadratic Equations from Roots

In previous lessons, we started with a quadratic equation and worked forward to find its roots. But in algebra, the reverse process is just as crucial:

The Reverse Problem: If you are given two numbers, or relationships between unknown numbers (such as their sum and their product), how do you reconstruct the unique quadratic equation that produced them?

This technique—the Viète Reconstruction Theorem—allows us to factor any quadratic trinomial effortlessly, solve systems of symmetric equations, and engineer new equations whose roots are transformations of existing roots.


1. Concepts & Paper Visuals

The Viète Reconstruction Theorem

Suppose two numbers uu and vv have a known sum SS and a known product PP:

u+v=Su⋅v=P\begin{aligned} u + v &= S \\ u \cdot v &= P \end{aligned}

Consider the monic quadratic polynomial whose roots are uu and vv:

(X−u)(X−v)=0(X - u)(X - v) = 0

Expanding this product on paper:

X2−vX−uX+uv=0  ⟹  X2−(u+v)X+uv=0X^2 - vX - uX + uv = 0 \implies X^2 - (u + v)X + uv = 0

Substituting SS and PP gives the fundamental Reconstruction Equation:

X2−SX+P=0X^2 - SX + P = 0

Theorem: Two real numbers uu and vv whose sum is SS and product is PP are the roots of the quadratic equation:

X2−SX+P=0X^2 - SX + P = 0

These numbers exist in the real number system R\mathbb{R} if and only if:

Δ=S2−4P≥0\Delta = S^2 - 4P \ge 0

Factoring General Trinomials ax2+bx+cax^2 + bx + c via Roots

A quadratic trinomial ax2+bx+cax^2 + bx + c with a≠0a \neq 0 can be factored completely over the real numbers using its roots x1x_1 and x2x_2:

ax2+bx+c=a(x−x1)(x−x2)ax^2 + bx + c = a(x - x_1)(x - x_2)
                     ┌───────────────────────┐
                     │   ax² + bx + c = 0    │
                     └───────────┬───────────┘
                                 │
                     Solve for roots x₁ and x₂
                                 │
                                 ▼
                     ┌───────────────────────┐
                     │ a · (x - x₁) · (x - x₂)│
                     └───────────────────────┘
                                 ▲
                     DON'T FORGET THE LEADING "a"!
  • If Δ>0\Delta > 0, the trinomial factors into two distinct linear binomials.
  • If Δ=0\Delta = 0, the trinomial is a perfect square: a(x−x0)2a(x - x_0)^2.
  • If Δ<0\Delta < 0, the trinomial is irreducible over the real numbers R\mathbb{R} (it cannot be factored into real linear binomials).

Constructing Transformed Equations

Often in exams, you are given an equation ax2+bx+c=0ax^2 + bx + c = 0 with roots x1,x2x_1, x_2, and asked to find a new quadratic equation whose roots are transformed, such as:

  1. Opposite roots: y1=−x1,y2=−x2y_1 = -x_1, \quad y_2 = -x_2
  2. Reciprocal roots: y1=1x1,y2=1x2y_1 = \frac{1}{x_1}, \quad y_2 = \frac{1}{x_2}
  3. Scaled or shifted roots: y1=2x1+1,y2=2x2+1y_1 = 2x_1 + 1, \quad y_2 = 2x_2 + 1

Instead of calculating the complicated roots x1x_1 and x2x_2, we compute the new sum SnewS_{\text{new}} and new product PnewP_{\text{new}} and write:

y2−Snewy+Pnew=0y^2 - S_{\text{new}} y + P_{\text{new}} = 0

2. Step-by-Step Paper Notebook Template

To reconstruct an equation on paper:

Step 1: Compute Target Sum (S)
        S = u + v

Step 2: Compute Target Product (P)
        P = u · v

Step 3: Check Feasibility
        Verify Δ = S² - 4P ≥ 0 (guarantees real numbers exist)

Step 4: Formulate the Equation
        Write: X² - SX + P = 0
        (If clearing fractions, multiply every term by the common denominator)

3. Step-by-Step Notebook Examples

Example 1: Finding Two Numbers Given Sum and Product

Problem: Find two numbers whose sum is 1414 and whose product is 4545 on paper.

  • Step 1: Identify SS and PP
    S=14,P=45S = 14, \qquad P = 45
  • Step 2: Check existence
    Δ=S2−4P=142−4(45)=196−180=16>0\Delta = S^2 - 4P = 14^2 - 4(45) = 196 - 180 = 16 > 0
    Since Δ>0\Delta > 0, two distinct real numbers exist.
  • Step 3: Set up the reconstruction equation
    X2−SX+P=0  ⟹  X2−14X+45=0X^2 - SX + P = 0 \implies X^2 - 14X + 45 = 0
  • Step 4: Solve the equation Using reduced discriminant Δ′\Delta' (b′=−7b' = -7):
    Δ′=(−7)2−(1)(45)=49−45=4  ⟹  Δ′=2\Delta' = (-7)^2 - (1)(45) = 49 - 45 = 4 \implies \sqrt{\Delta'} = 2
    X=−(−7)±2=7±2  ⟹  X1=9,X2=5X = -(-7) \pm 2 = 7 \pm 2 \implies X_1 = 9, \quad X_2 = 5
  • Final Answer: The two numbers are 55 and 99.

Example 2: Factoring a Difficult Trinomial Over R\mathbb{R}

Problem: Factor the quadratic trinomial P(x)=2x2−5x−3P(x) = 2x^2 - 5x - 3 using its roots.

  • Step 1: Set trinomial equal to 00 and find its roots
    2x2−5x−3=02x^2 - 5x - 3 = 0
    a=2,b=−5,c=−3a = 2, \quad b = -5, \quad c = -3
    Δ=(−5)2−4(2)(−3)=25+24=49  ⟹  Δ=7\Delta = (-5)^2 - 4(2)(-3) = 25 + 24 = 49 \implies \sqrt{\Delta} = 7
    x=−(−5)±72(2)=5±74x = \frac{-(-5) \pm 7}{2(2)} = \frac{5 \pm 7}{4}
    x1=5−74=−24=−12x2=5+74=124=3\begin{aligned} x_1 &= \frac{5 - 7}{4} = -\frac{2}{4} = -\frac{1}{2} \\ x_2 &= \frac{5 + 7}{4} = \frac{12}{4} = 3 \end{aligned}
  • Step 2: Apply the factoring formula a(x−x1)(x−x2)a(x - x_1)(x - x_2)
    P(x)=2(x−(−12))(x−3)=2(x+12)(x−3)\begin{aligned} P(x) &= 2 \left(x - \left(-\frac{1}{2}\right)\right)(x - 3) \\ &= 2 \left(x + \frac{1}{2}\right)(x - 3) \end{aligned}
  • Step 3: Distribute the leading factor 22 into the first binomial
    P(x)=(2x+1)(x−3)P(x) = (2x + 1)(x - 3)
  • Final Answer:
    2x2−5x−3=(2x+1)(x−3)2x^2 - 5x - 3 = (2x + 1)(x - 3)

Example 3: Reconstructing an Equation with Transformed Roots

Problem: Let x1x_1 and x2x_2 be the roots of x2−3x−5=0x^2 - 3x - 5 = 0. Construct a new quadratic equation in variable yy whose roots are:

y1=1x1,y2=1x2y_1 = \frac{1}{x_1}, \qquad y_2 = \frac{1}{x_2}
  • Step 1: Extract SS and PP of the original equation
    S=x1+x2=3,P=x1x2=−5S = x_1 + x_2 = 3, \qquad P = x_1 x_2 = -5
  • Step 2: Compute the new sum SnewS_{\text{new}}
    Snew=y1+y2=1x1+1x2=x1+x2x1x2=SP=3−5=−35S_{\text{new}} = y_1 + y_2 = \frac{1}{x_1} + \frac{1}{x_2} = \frac{x_1 + x_2}{x_1 x_2} = \frac{S}{P} = \frac{3}{-5} = -\frac{3}{5}
  • Step 3: Compute the new product PnewP_{\text{new}}
    Pnew=y1⋅y2=1x1⋅1x2=1x1x2=1P=1−5=−15P_{\text{new}} = y_1 \cdot y_2 = \frac{1}{x_1} \cdot \frac{1}{x_2} = \frac{1}{x_1 x_2} = \frac{1}{P} = \frac{1}{-5} = -\frac{1}{5}
  • Step 4: Form the new equation y2−Snewy+Pnew=0y^2 - S_{\text{new}} y + P_{\text{new}} = 0
    y2−(−35)y+(−15)=0  ⟹  y2+35y−15=0y^2 - \left(-\frac{3}{5}\right)y + \left(-\frac{1}{5}\right) = 0 \implies y^2 + \frac{3}{5}y - \frac{1}{5} = 0
  • Step 5: Multiply by 55 to obtain integer coefficients
    5y2+3y−1=05y^2 + 3y - 1 = 0
  • Final Answer:
    5y2+3y−1=05y^2 + 3y - 1 = 0

4. Common Mistakes & Paper Traps

Trap 1: Forgetting the Leading Coefficient aa in Factoring

When factoring 3x2−10x+3=03x^2 - 10x + 3 = 0, its roots are x1=3x_1 = 3 and x2=13x_2 = \frac{1}{3}. A student often writes:

3x2−10x+3=(x−3)(x−13)[FATAL MISTAKE!]3x^2 - 10x + 3 = (x - 3)\left(x - \frac{1}{3}\right) \quad \text{\textbf{[FATAL MISTAKE!]}}

Expanding this gives x2−…x^2 - \dots, not 3x23x^2! You must include aa:

3(x−3)(x−13)=(x−3)(3x−1)3\left(x - 3\right)\left(x - \frac{1}{3}\right) = (x - 3)(3x - 1)

Trap 2: The Sign of the Sum in X2−SX+P=0X^2 - SX + P = 0

Students frequently write X2+SX+P=0X^2 + SX + P = 0. Remember: The linear term must carry a negative sign: −SX-SX. If the sum of two roots is +7+7, the equation is X2−7X+P=0X^2 - 7X + P = 0. If the sum of two roots is −7-7, the equation is X2−(−7)X+P=0  ⟹  X2+7X+P=0X^2 - (-7)X + P = 0 \implies X^2 + 7X + P = 0.

Trap 3: Creating Impossible Numbers

If asked to find two real numbers with sum S=4S = 4 and product P=10P = 10, writing X2−4X+10=0X^2 - 4X + 10 = 0 gives:

Δ=(−4)2−4(1)(10)=16−40=−24<0\Delta = (-4)^2 - 4(1)(10) = 16 - 40 = -24 < 0

No such real numbers exist! Always check Δ=S2−4P≥0\Delta = S^2 - 4P \ge 0.


5. Pencil & Paper Practice

Work through these problems on paper, then check the complete solutions below.

  1. Practice 1: Find two numbers whose sum is −1-1 and product is −30-30.
  2. Practice 2: Factor P(x)=4x2−12x+9P(x) = 4x^2 - 12x + 9 using root analysis.
  3. Practice 3: The roots of x2−4x+2=0x^2 - 4x + 2 = 0 are x1x_1 and x2x_2. Construct a quadratic equation whose roots are y1=2x1y_1 = 2x_1 and y2=2x2y_2 = 2x_2.

Worked Solution to Practice 1

S=−1,P=−30S = -1, \quad P = -30
Δ=S2−4P=(−1)2−4(−30)=1+120=121>0\Delta = S^2 - 4P = (-1)^2 - 4(-30) = 1 + 120 = 121 > 0

Form the equation:

X2−(−1)X+(−30)=0  ⟹  X2+X−30=0X^2 - (-1)X + (-30) = 0 \implies X^2 + X - 30 = 0

Factor the equation:

(X+6)(X−5)=0  ⟹  X1=−6,X2=5(X + 6)(X - 5) = 0 \implies X_1 = -6, \quad X_2 = 5

Answer: The two numbers are −6-6 and 55.


Worked Solution to Practice 2

Set 4x2−12x+9=04x^2 - 12x + 9 = 0.

Δ′=(−6)2−(4)(9)=36−36=0\Delta' = (-6)^2 - (4)(9) = 36 - 36 = 0

Since Δ′=0\Delta' = 0, there is a double root:

x0=−b′a=−−64=32x_0 = -\frac{b'}{a} = -\frac{-6}{4} = \frac{3}{2}

Using the factoring formula a(x−x0)2a(x - x_0)^2:

P(x)=4(x−32)2=[2(x−32)]2=(2x−3)2P(x) = 4\left(x - \frac{3}{2}\right)^2 = \left[2\left(x - \frac{3}{2}\right)\right]^2 = (2x - 3)^2

Answer: P(x)=(2x−3)2P(x) = (2x - 3)^2.


Worked Solution to Practice 3

For x2−4x+2=0x^2 - 4x + 2 = 0, S=x1+x2=4S = x_1 + x_2 = 4 and P=x1x2=2P = x_1 x_2 = 2. For the new roots y1=2x1y_1 = 2x_1 and y2=2x2y_2 = 2x_2:

Snew=2x1+2x2=2(x1+x2)=2(4)=8S_{\text{new}} = 2x_1 + 2x_2 = 2(x_1 + x_2) = 2(4) = 8
Pnew=(2x1)(2x2)=4(x1x2)=4(2)=8P_{\text{new}} = (2x_1)(2x_2) = 4(x_1 x_2) = 4(2) = 8

The new equation is:

y2−Snewy+Pnew=0  ⟹  y2−8y+8=0y^2 - S_{\text{new}} y + P_{\text{new}} = 0 \implies y^2 - 8y + 8 = 0

Answer: y2−8y+8=0y^2 - 8y + 8 = 0.


6. Summary

  • Two numbers with sum SS and product PP are the roots of X2−SX+P=0X^2 - SX + P = 0.
  • Any quadratic trinomial factors as ax2+bx+c=a(x−x1)(x−x2)ax^2 + bx + c = a(x - x_1)(x - x_2).
  • Never forget the factor aa in front of the factored binomials.
  • To construct an equation with modified roots, determine the new sum SnewS_{\text{new}} and new product PnewP_{\text{new}} first.

Test yourself

Which quadratic equation has roots x1=3x_1 = 3 and x2=−5x_2 = -5?

  1. x2−2x−15=0x^2 - 2x - 15 = 0
  2. x2+2x−15=0x^2 + 2x - 15 = 0
  3. x2−8x−15=0x^2 - 8x - 15 = 0
  4. x2+8x+15=0x^2 + 8x + 15 = 0

What is the complete factorization of 3x2−5x−23x^2 - 5x - 2 using its roots x1=2x_1 = 2 and x2=−13x_2 = -\frac{1}{3}?

  1. (x−2)(x+13)(x - 2)(x + \frac{1}{3})
  2. (x−2)(3x+1)(x - 2)(3x + 1)
  3. (3x−2)(x+1)(3x - 2)(x + 1)
  4. (x+2)(3x−1)(x + 2)(3x - 1)

Can two real numbers have a sum of 66 and a product of 1010?

  1. Yes, they are 22 and 44.
  2. Yes, they are irrational numbers.
  3. No, because the discriminant S2−4P=36−40=−4<0S^2 - 4P = 36 - 40 = -4 < 0.
  4. Yes, because any pair of numbers can form a quadratic equation.