Sub topic 10
Building a Quadratic from Its Roots
Assume you can expand brackets, work with fractions, and solve basic quadratic equations. This chapter focuses on reversing the usual process: instead of finding roots from a quadratic, you will build the quadratic when its roots are known.
The root-to-equation rule
A root is a value of \(x\) that makes an equation true. If the roots of a quadratic are \(\alpha\) and \(\beta\), then the corresponding factors are:
\[ (x-\alpha)(x-\beta)=0 \]
Expanding gives:
\[ x^2-(\alpha+\beta)x+\alpha\beta=0 \]
Therefore:
- The coefficient of \(x\) is the negative of the sum of the roots.
- The constant term is the product of the roots.
| Given information | Quadratic equation |
|---|---|
| Roots \(\alpha,\beta\) | \(x^2-(\alpha+\beta)x+\alpha\beta=0\) |
| Roots 3 and 5 | \(x^2-8x+15=0\) |
| Roots \(-2\) and 7 | \(x^2-5x-14=0\) |
The quadratic is not unique if multiplying every term by a nonzero constant is allowed. For example, \(x^2-8x+15=0\) and \(2x^2-16x+30=0\) have the same roots. Usually, write the simplest monic equation, where the coefficient of \(x^2\) is 1.
Worked examples
Integer roots
Suppose the roots are \(4\) and \(-3\).
The factors are:
\[ (x-4)(x-(-3))=(x-4)(x+3) \]
Expanding:
\[ x^2-x-12=0 \]
Using the root rule gives the same result:
\[ \alpha+\beta=4+(-3)=1,\qquad \alpha\beta=4(-3)=-12 \]
So:
\[ x^2-1x-12=0 \]
Fractional roots
Suppose the roots are \(\frac{1}{2}\) and \(-\frac{3}{4}\).
Their sum and product are:
\[ \alpha+\beta=\frac12-\frac34=-\frac14 \]
\[ \alpha\beta=\frac12\left(-\frac34\right)=-\frac38 \]
Thus:
\[ x^2-\left(-\frac14\right)x-\frac38=0 \]
\[ x^2+\frac14x-\frac38=0 \]
Multiplying the entire equation by 8 removes fractions:
\[ 8x^2+2x-3=0 \]
Both equations have the same roots.
Using the given sum and product
Sometimes a question gives the sum \(S\) and product \(P\), rather than the roots individually. The quadratic is:
\[ x^2-Sx+P=0 \]
For example, if the sum of the roots is 11 and their product is 24:
\[ x^2-11x+24=0 \]
The roots happen to be 3 and 8, but finding them is unnecessary.
A common mistake is forgetting the negative sign before the sum. If the sum is \(-5\), the coefficient of \(x\) is \(+5\), because:
\[ x^2-(-5)x+P=x^2+5x+P \]
Exercise
Form the simplest quadratic equation whose roots are -4 and 6.
Show answer
The sum is 2 and the product is -24, so the equation is x² − 2x − 24 = 0.