Understanding how to write the quadratic equation whose roots are given is a fundamental skill in algebra that bridges the gap between solving equations and constructing them. This reverse-engineering process relies heavily on Vieta’s formulas, which establish a direct relationship between the coefficients of a polynomial and the sums and products of its roots. Whether you are a high school student preparing for exams, a teacher designing lesson plans, or an enthusiast exploring the symmetry of mathematics, mastering this technique provides a deeper appreciation for the structure of quadratic expressions.
The Core Concept: Vieta’s Formulas
At the heart of this topic lies Vieta’s formulas, named after the 16th-century mathematician François Viète. For a standard quadratic equation in the form $ax^2 + bx + c = 0$ (where $a \neq 0$), if the roots are denoted as $\alpha$ (alpha) and $\beta$ (beta), Vieta’s formulas state:
- Sum of roots ($S$): $\alpha + \beta = -\frac{b}{a}$
- Product of roots ($P$): $\alpha \beta = \frac{c}{a}$
These relationships are derived directly from the factored form of the quadratic equation. If $\alpha$ and $\beta$ are roots, the equation can be written as $a(x - \alpha)(x - \beta) = 0$. Expanding this yields: $a[x^2 - (\alpha + \beta)x + \alpha\beta] = 0$ $ax^2 - a(\alpha + \beta)x + a\alpha\beta = 0$
Comparing this with the standard form $ax^2 + bx + c = 0$, we confirm that $b = -a(\alpha + \beta)$ and $c = a\alpha\beta$. This derivation is the theoretical bedrock for the practical steps used to construct the equation Worth knowing..
The Standard Formula: $x^2 - Sx + P = 0$
In most academic contexts, unless specified otherwise, we assume the leading coefficient $a = 1$ (a monic quadratic). This simplifies the construction process significantly. The standard template for writing the quadratic equation whose roots are $\alpha$ and $\beta$ becomes:
$x^2 - (\text{Sum of Roots})x + (\text{Product of Roots}) = 0$
Or, using notation: $x^2 - Sx + P = 0$
Critical Sign Rule: Notice the minus sign before the sum ($-S$) and the plus sign before the product ($+P$). This is the most common source of errors. Because the sum of roots equals $-b/a$, the coefficient $b$ is the negative of the sum. Conversely, the product equals $c/a$, so the constant term $c$ carries the same sign as the product.
Step-by-Step Procedure
To write the quadratic equation whose roots are given, follow this systematic workflow:
- Identify the roots: Clearly define $\alpha$ and $\beta$.
- Calculate the Sum ($S$): Add the two roots together ($\alpha + \beta$).
- Calculate the Product ($P$): Multiply the two roots ($\alpha \times \beta$).
- Substitute into the template: Plug $S$ and $P$ into $x^2 - Sx + P = 0$.
- Simplify: Perform the arithmetic to write the final equation with integer coefficients (clearing fractions if necessary).
Illustrative Examples
Example 1: Integer Roots
Problem: Write the quadratic equation whose roots are $3$ and $-5$.
Solution:
- Roots: $\alpha = 3$, $\beta = -5$
- Sum ($S$): $3 + (-5) = -2$
- Product ($P$): $3 \times (-5) = -15$
- Equation: $x^2 - (-2)x + (-15) = 0$
- Final Answer: $x^2 + 2x - 15 = 0$
Verification: Factoring $x^2 + 2x - 15$ gives $(x + 5)(x - 3) = 0$, yielding roots $3$ and $-5$. Correct.
Example 2: Fractional Roots
Problem: Write the quadratic equation whose roots are $\frac{1}{2}$ and $\frac{3}{4}$.
Solution:
- Roots: $\alpha = \frac{1}{2}$, $\beta = \frac{3}{4}$
- Sum ($S$): $\frac{1}{2} + \frac{3}{4} = \frac{2}{4} + \frac{3}{4} = \frac{5}{4}$
- Product ($P$): $\frac{1}{2} \times \frac{3}{4} = \frac{3}{8}$
- Equation: $x^2 - \frac{5}{4}x + \frac{3}{8} = 0$
While mathematically correct, standard convention prefers integer coefficients. To clear denominators, find the Least Common Multiple (LCM) of the denominators (4 and 8), which is 8. Multiply the entire equation by 8: $8x^2 - 10x + 3 = 0$ Final Answer: $8x^2 - 10x + 3 = 0$
Worth pausing on this one.
Example 3: Irrational Roots (Conjugate Surds)
Problem: Write the quadratic equation whose roots are $2 + \sqrt{3}$ and $2 - \sqrt{3}$.
Solution:
- Roots: $\alpha = 2 + \sqrt{3}$, $\beta = 2 - \sqrt{3}$
- Sum ($S$): $(2 + \sqrt{3}) + (2 - \sqrt{3}) = 4$ (The radicals cancel out).
- Product ($P$): $(2 + \sqrt{3})(2 - \sqrt{3}) = 2^2 - (\sqrt{3})^2 = 4 - 3 = 1$ (Difference of squares).
- Equation: $x^2 - 4x + 1 = 0$
- Final Answer: $x^2 - 4x + 1 = 0$
This example highlights a beautiful property: irrational roots involving square roots often appear as conjugate pairs, resulting in rational (often integer) coefficients Nothing fancy..
Example 4: Complex Roots
Problem: Write the quadratic equation whose roots are $3 + 2i$ and $3 - 2i$.
Solution:
- Roots: $\alpha = 3 + 2i$, $\beta = 3 - 2i$
- Sum ($S$): $(3 + 2i) + (3 - 2i) = 6$
- Product ($P$): $(3 + 2i)(3 - 2i) = 3^2 - (2i)^2 = 9 - 4(-1) = 9 + 4 = 13$
- Equation: $x^2 - 6x + 13 = 0$
- Final Answer: $x^2 - 6x + 13 = 0$
Just like irrational conjugates, complex conjugate pairs always yield quadratic equations with real coefficients.
Advanced Scenario: Non-Monic Quadratics ($a \neq 1$)
Sometimes a problem specifies a leading coefficient other than 1. For instance: "Write the quadratic equation whose roots are 2 and -3, with a leading coefficient of 5."
Method 1: Use the General Form Start with $a(x - \alpha)(x - \beta) = 0$. $5(x - 2)(x + 3) = 0$ $5(x^2 + x - 6) = 0$ Final Answer: $5
Method 1: Use the General Form
Start with $a(x - \alpha)(x - \beta) = 0$.
For roots $2$ and $-3$ with leading coefficient $5$:
$5(x - 2)(x + 3) = 0$
$5(x^2 + x - 6) = 0$
Final Answer: $5x^2 + 5x - 30 = 0$
Method 2: Use Sum and Product
Sum of roots $S = 2 + (-3) = -1$.
Product of roots $P = 2 \times (-3) = -6$.
The general quadratic with leading coefficient $a$ is $a(x^2 - Sx + P) = 0$.
Substitute $S$, $P$, and $a = 5$:
$5(x^2 - (-1)x + (-6)) = 5(x^2 + x - 6) = 0$
Final Answer: $5x^2 + 5x - 30 = 0$
Both methods consistently yield the same result, demonstrating the flexibility of the approach.
Conclusion
The ability to construct quadratic equations from their roots underscores the profound connection between a polynomial's roots and its coefficients. By leveraging the sum and product of roots, we systematically derive equations that satisfy given conditions, whether the roots are integers, fractions, irrational conjugates, or complex pairs. This process ensures coefficients remain rational or real when applicable, adhering to algebraic conventions. For non-monic quadratics, scaling by a specified leading coefficient extends the method's versatility. In the long run, mastering this technique not only sharpens problem-solving skills but also deepens the understanding of polynomial behavior, laying a reliable foundation for advanced algebraic explorations.
Example 5: Repeated (Double) Roots
Problem: Write the quadratic equation whose (only) root is (4) It's one of those things that adds up..
Solution:
When a quadratic has a double root (\alpha), its factorisation is ((x-\alpha)^2).
Thus
[
(x-4)^2 = 0 \quad\Longrightarrow\quad x^2 - 8x + 16 = 0 .
]
Final Answer: (x^2 - 8x + 16 = 0)
A Quick Reference Cheat‑Sheet
| Situation | What you need | Formula (monic) | Resulting equation |
|---|---|---|---|
| Roots (\alpha,\beta) (real or complex) | (\alpha,\beta) | (x^2-(\alpha+\beta)x+\alpha\beta=0) | Plug in the sum and product |
| Roots (\alpha,\beta) with leading coefficient (a) | (\alpha,\beta,a) | (a\bigl[x^2-(\alpha+\beta)x+\alpha\beta\bigr]=0) | Multiply out |
| Double root (\alpha) | (\alpha) | ((x-\alpha)^2=0) | Expand |
| Roots are conjugates (;p\pm q\sqrt{r}) (irrational) or (p\pm qi) (complex) | (p,q,r) | Same sum‑product rule; the conjugate guarantees the sum and product are rational (or real) | Use the same steps as above |
Common Pitfalls and How to Avoid Them
- Sign errors in the sum – Remember the quadratic is (x^2 - Sx + P). The sum (S) is subtracted.
- Forgetting to distribute the leading coefficient – When (a\neq1), multiply both the (x^2) term and the constant term by (a).
- Mixing up product and sum – The product goes with the constant term, not with the linear term.
- Assuming irrational or complex roots produce irrational coefficients – Conjugate pairs always collapse the irrational or imaginary parts, leaving real (often integer) coefficients.
Extending the Idea: Higher‑Degree Polynomials
The same principle scales to cubics, quartics, and beyond. For a cubic with roots (\alpha,\beta,\gamma),
[ x^3 - (\alpha+\beta+\gamma)x^2 + (\alpha\beta+\alpha\gamma+\beta\gamma)x - \alpha\beta\gamma = 0 . ]
Thus, once you know the elementary symmetric sums of the roots, you can reconstruct the polynomial of any degree. This is the backbone of Vieta’s formulas, which are invaluable in competition problems and algebraic proofs.
Final Thoughts
Constructing a quadratic from its roots is a straightforward yet powerful technique. By mastering the sum‑and‑product relationship, you gain a reliable tool for:
- Reverse‑engineering equations from given solutions,
- Verifying that a proposed root actually satisfies a quadratic,
- Designing equations that meet specific criteria (e.g., integer coefficients, a prescribed leading term, or a required discriminant).
The method’s elegance lies in its universality: whether the roots are integers, fractions, irrational numbers, or complex conjugates, the same algebraic steps apply. With practice, you’ll find that forming quadratics becomes almost automatic, freeing mental bandwidth for deeper problem‑solving strategies in algebra, number theory, and beyond.
And yeah — that's actually more nuanced than it sounds Worth keeping that in mind..
In summary, the bridge between roots and coefficients is built on the simple yet profound identities of Vieta. Leveraging this bridge not only solves the immediate task of writing a quadratic equation but also reinforces a core algebraic intuition that will serve you throughout all higher‑level mathematics.