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
- Compare the roots to the factoring pair, same product but opposite sum
Reading the sum and product off the coefficients
Look back at : the roots and summed to and multiplied to . Here is why that always happens. Start with a monic quadratic, one whose leading coefficient is , written , and 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.
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.
Both derivations above started from a real factorization , so they take and to be two real roots, whether those two roots are different numbers or the same number repeated. In this lesson, and in every example and exercise it contains, and always mean a real root pair.
One more thing has to be true before any of this works: the equation has to already be in standard form, , with every term moved to one side. An equation like is not there yet. Move every term to one side first, , and only then read off , , . Reading coefficients from the wrong side of the equation is a quiet way to flip a sign.
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 canceled 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:
Multiplying by changes the coefficients and gives a different-looking equation, but it does not change which values of make it zero: multiplying both sides of an equation by the same nonzero number always leaves its solutions untouched. So is an equation with a leading coefficient of , chosen to make every coefficient an integer, and it has exactly the same roots as the fractional one it came from. Factoring back gives , whose roots are and .
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, the sum always works. 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 check, since the roots multiply to and . That division worked because the known root, , was not zero. The product route breaks down exactly when the known root is , since dividing by is never allowed; the sum route has no such gap, which is why it comes first.
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.
Check your understanding
One root of is . Find the other root, then use the product to check it.
Here and , so the roots add to and multiply to . Subtract the known root from the sum to recover the other one:
Check with the product: , which matches , confirming is the missing root. The known root is not zero, so the product check is available here.
Check your understanding
One root of is . Which method finds the other root?
Here and , so the roots add to and multiply to . The known root is , so the product route would need , which is undefined.
The sum route still works and gives . When the known root is , the sum is the only option, since dividing by is never allowed.
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
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. Both jobs share the same product ; only the sum flips sign, from for the factoring numbers to for the roots, and that one sign flip is the whole difference between a factor and a root.
Check your understanding
The factoring numbers for are and , since expands back to it. What are the trinomial's two roots?
The roots are the negatives of the factoring numbers: and . Check them against the coefficients, and .
Both totals match, confirming the roots. The choice and mistakes the factoring numbers themselves for the roots, forgetting the sign flip.