Sums and Products of Roots
Learning goals
- Read and off a monic quadratic
- Divide by for the general sum and product
- Build a quadratic from roots with
- Recover a missing root from the sum, then check with the product
- Relate the factoring pair to the roots as the same product, opposite sum
Reading the sum and product off the coefficients
Start with a monic quadratic, one whose leading coefficient is , written . Suppose it has roots and . You already know from the last lessons that a quadratic with those roots can be written in factored form as . That form works because setting equal to either root makes one factor zero, and so makes the whole product zero. Expanding that product and comparing it with is the whole idea, and it pins down the sum and the product exactly.
Why a monic quadratic's roots satisfy and #
Because and are the roots of , the quadratic is the product of the two factors they produce:
Expand the right side, multiplying every term of the first factor by every term of the second:
Two expressions in are equal for every value of only when they match term by term. So line up the coefficient of and the constant on each side:
Solving the first equation for the sum gives , and the second already reads . So for a monic quadratic the sum of the roots is the negative of the middle coefficient, and the product of the roots is the constant term. Both the sum and the product are read straight off the quadratic with no solving required. Watch the sign on the sum. The middle coefficient is , so the roots add to , not ; that minus sign is the single most common slip with these formulas.
The picture is just the two forms of the quadratic lined up one above the other. Whatever sits beneath the middle term of has to equal , and whatever sits beneath the constant has to equal .
Worked example 1 Find the sum and product of the roots of
Read the coefficients off the quadratic: and . The sum of the roots is the negative of the middle coefficient, and the product is the constant, so both totals come without solving:
As a check, this trinomial factors as , whose roots and indeed add to and multiply to . The double negative on the sum is the piece to handle carefully: is , so is .
Check your understanding
Without solving, find the sum and product of the roots of .
Read the coefficients: and . The sum of the roots is and the product is .
So the sum is and the product is . The choice with sum forgets the minus sign that always sits in front of .
When the leading coefficient is not 1
Everything so far assumed the quadratic started with a bare . A general quadratic carries a leading coefficient that need not be , with , or it would not be a quadratic at all. Two short routes handle it, and they agree.
The quick route is to divide. Dividing the equation through by does not move its roots, since scaling an equation by a nonzero number leaves the values that make it zero untouched. It produces the monic quadratic
whose middle coefficient is and whose constant is . Reading the monic formulas with those in place gives and at once. The second route factors instead, and it is worth seeing because it explains where the goes.
Why and in general#
A quadratic with roots and and leading coefficient is times the product of its factors:
The factor out front is needed so the squared terms match. The reason is that expanding produces a squared term of just , and multiplying by restores the you started with. Carry out that expansion:
Match this term by term with . The squared terms already agree, the middle terms give , and the constants give . Dividing each of those equations by isolates the sum and the product:
When these collapse back to and , so the monic case is just this general result with . Both routes divide by , and only the sum picks up the extra minus sign.
These two formulas hold for every quadratic, even one whose graph never crosses the axis and so has no real roots. An example is , whose roots have sum and product . The two roots in that case are a kind of number introduced in a later chapter. So every example and exercise in this lesson stays with quadratics whose roots are real.
Worked example 2 Find the sum and product of the roots of
Now , , and . Use the general formulas, dividing each of and by the leading coefficient and putting the minus sign on the sum:
Both totals are fractions because the leading divides into them. Checking against the factorization , the roots are and , and indeed while .
Check your understanding
Find the sum and product of the roots of .
Here , , and . Divide each of and by , with the minus sign on the sum.
So the sum is and the product is . Leaving the sum negative keeps the minus that has already been cancelled by .
Building a quadratic from its roots
The formulas run just as well in reverse. If you are told the roots and asked for a quadratic, you do not need to expand anything from scratch. The sum and the product of those roots are all a monic quadratic needs. Because , a monic quadratic with roots and is
The coefficient of is the negative of the sum, and the constant is the product with its own sign kept. That single template builds the quadratic from any pair of roots.
Worked example 3 Build a monic quadratic with roots and
First find the sum and the product of the two roots:
Drop those into the template , taking care that the coefficient of is the negative of the sum:
So has the required roots, which you can confirm by factoring it back to . Notice how the negative sum turned into the positive middle coefficient ; that is the sign flip working exactly as the formula promises.
Worked example 4 Build a quadratic with roots and and whole-number coefficients
The monic template still works, but a fractional root leaves a fractional coefficient. Start there, with the sum and product of the two roots:
so the monic quadratic is . To clear the fractions, multiply every term by , which scales the whole equation without changing its roots:
That is the same quadratic with a leading coefficient of chosen to make every coefficient an integer. Factoring back gives , whose roots are and . Scaling a quadratic by a nonzero number is always free: it changes the coefficients but never the roots.
Check your understanding
Which monic quadratic equation has roots and ?
Find the sum and product of the two roots.
The monic template is , so the quadratic is . The coefficient of is the negative of the sum, which is why becomes ; the choice misses that flip.
Recovering a missing root and checking a pair
The sum and product also work as shortcuts once you already know one root, or when someone hands you a proposed pair of roots to check. Both jobs use the same two totals.
To recover a missing root, use whichever total is easier. Suppose and you have spotted that is a root. The two roots must add to , so the other root is whatever is left after removing from that total:
The product gives the same answer as a cross-check, since the roots multiply to and . Either total pins the second root without factoring the trinomial from scratch.
Worked example 5 One root of is . Find the other root.
The roots of add to and multiply to . Using the sum, subtract the known root from the total:
The product confirms it, since the roots multiply to and . The missing root is , a fraction because the leading divides into it.
Checking a proposed pair works the same way, and it is quick because a correct pair has to pass both tests. To test whether and are the roots of , compare their sum and product against the coefficients. The roots should sum to and multiply to , and with , so the pair passes both tests and is confirmed. A proposed pair like and would sum to but multiply to only , failing the product test. That pair can therefore be ruled out at a glance, without any substitution.
The connection to factoring
This lesson quietly closes a loop opened two lessons ago. To factor a monic trinomial you searched for two numbers and with sum and product , and wrote . Those two numbers are not the roots. The roots come from the sign flip in the zero-product step. Setting gives or , so the roots are and , the negatives of the factoring numbers.
Line the two searches up. The factoring numbers satisfy and . The roots and then satisfy
which are exactly the sum and product formulas from this lesson. The product is identical, either way, while the sum flips sign, for the factoring numbers and for the roots. So the two numbers you hunt for when factoring a monic trinomial are the negatives of the roots. Both jobs share the product but carry opposite sums, and the reason for that is the one sign flip that turns a factor into a root.