Sub topic 9
Sum and Product of Roots
Prerequisites
Assume you can expand brackets, factor simple quadratics, and work with fractions. A root of an equation is a value of the variable that makes the equation true. For example, the roots of \(x^2-5x+6=0\) are \(2\) and \(3\).
For a quadratic equation,
\[ ax^2+bx+c=0,\qquad a\ne0, \]
let its roots be \(\alpha\) and \(\beta\). You can often find information about the roots without solving the equation.
The two root relationships
A quadratic with roots \(\alpha\) and \(\beta\) can be written as
\[ a(x-\alpha)(x-\beta)=0. \]
Expand the brackets:
\[ a[x^2-(\alpha+\beta)x+\alpha\beta]=0. \]
Comparing this with \(ax^2+bx+c=0\) gives:
| Quantity | Formula |
|---|---|
| Sum of roots | \(\alpha+\beta=-\frac{b}{a}\) |
| Product of roots | \(\alpha\beta=\frac{c}{a}\) |
The coefficient of \(x\) determines the sum, including its negative sign. The constant term determines the product.
flowchart TD
A["ax² + bx + c = 0"] --> B["Roots α and β"]
B --> C["α + β = -b/a"]
B --> D["αβ = c/a"]
C --> E["Evaluate root expressions"]
D --> Ecaption: Reading the sum and product of roots from a quadratic alt: A flowchart showing that the coefficients of a quadratic give the sum and product of its roots.
Worked example
For
\[ 3x^2-7x-6=0, \]
we have \(a=3\), \(b=-7\), and \(c=-6\). Therefore,
\[ \alpha+\beta=-\frac{-7}{3}=\frac{7}{3}, \qquad \alpha\beta=\frac{-6}{3}=-2. \]
Suppose the question asks for
\[ \frac{1}{\alpha}+\frac{1}{\beta}. \]
Combine the fractions:
\[ \frac{1}{\alpha}+\frac{1}{\beta} =\frac{\alpha+\beta}{\alpha\beta} =\frac{7/3}{-2} =-\frac{7}{6}. \]
There was no need to calculate either root separately.
Other useful transformations include
\[ \alpha^2+\beta^2=(\alpha+\beta)^2-2\alpha\beta \]
and
\[ (\alpha-\beta)^2=(\alpha+\beta)^2-4\alpha\beta. \]
These formulas turn a difficult-looking expression into one involving the known sum and product.
Common errors and CAT checks
- Do not write \(\alpha+\beta=b/a\). The correct formula has a negative sign.
- Do not use \(c\) instead of \(c/a\) when the coefficient of \(x^2\) is not \(1\).
- If the question asks for reciprocal roots, check that the product is not zero.
- Keep the distinction between the roots and the coefficients clear. The letters \(\alpha\) and \(\beta\) represent values of \(x\), not coefficients.
- Before doing lengthy algebra, calculate \(\alpha+\beta\) and \(\alpha\beta\). Many CAT options can then be eliminated quickly.
a, b, c = 3, -7, -6
root_sum = -b / a
root_product = c / a
reciprocal_sum = root_sum / root_product
print("sum =", root_sum)
print("product =", root_product)
print("reciprocal sum =", reciprocal_sum)Exercise
The roots of 2x² + 5x - 3 = 0 are α and β. Find α² + β².
Show answer
α + β = -5/2 and αβ = -3/2. Therefore, α² + β² = (α + β)² - 2αβ = 25/4 + 3 = 37/4.