Nonlinear systems in context
The rule. If two numbers have a known sum S and a known product P, they are the two roots of the quadratic x2 - Sx + P = 0. The sum comes in with a minus sign on the x-term, because a factored form (x - r1)(x - r2) expands to x2 - (r1 + r2)x + r1 r2. The product becomes the constant term with a plus sign. So a sum of 7 and a product of 12 give x2 - 7x + 12 = 0.
How to approach it
Start here. Turn the given sum and product into a quadratic whose roots are the two numbers.
Plan
- Write x2 as the first term.
- Put minus the sum on the x-term.
- Put the product as the constant.
- Set the whole thing equal to zero.
Work it. Assemble x2 - Sx + P = 0 from the sum S and the product P.
Check yourself. Check that the sum is negated on the x-term and the product is the plus constant.
Worked examples
Worked example 1
Two numbers add to 7 and multiply to 12. Write the quadratic equation they satisfy.
We know the sum, 7, and the product, 12, of two unknown numbers. Numbers with a given sum and product are the roots of x2 - (sum)x + (product) = 0.
Plan
- Start with x2.
- Subtract the sum times x.
- Add the product as the constant.
| x2 - Sx + P = 0 | the pattern for a known sum and product |
| x2 - 7x + 12 = 0 | put in S = 7 and P = 12 |
Check. This factors as (x - 3)(x - 4) = 0, and 3 + 4 = 7 with 3 times 4 = 12, matching the given sum and product.
Answer: x2 - 7x + 12 = 0
Worked example 2
Two numbers add to 2 and multiply to -15. Write the quadratic they satisfy and find the two numbers.
Numbers with a known sum and product are the roots of x2 - (sum)x + (product) = 0. Here the product is negative, so the constant term is negative. After writing the equation, factor to find the numbers.
Plan
- Write x2 - (sum)x + (product) = 0.
- Put in the sum 2 and product -15.
- Factor and solve for the two numbers.
| x2 - Sx + P = 0 | the pattern for a known sum and product |
| x2 - 2x - 15 = 0 | put in S = 2 and P = -15 |
| (x - 5)(x + 3) = 0 | factor the quadratic |
| x = 5 or x = -3 | set each factor to zero |
Check. The numbers 5 and -3 add to 2 and multiply to -15, matching the given sum and product.
Answer: x2 - 2x - 15 = 0, giving the numbers 5 and -3
Common mistakes
Wrong sign on the sum
Uses +Sx instead of -Sx, writing x2 + 7x + 12 = 0. Fix: the middle term is minus the sum, so x2 - 7x + 12 = 0.
Swapping sum and product
Puts the product on the x-term and the sum as the constant, like x2 - 12x + 7 = 0. Fix: the sum goes on the x-term (negated) and the product is the constant.
Wrong sign on the product
Writes -P instead of +P, giving x2 - 7x - 12 = 0. Fix: for two numbers with a positive product the constant is +12.
Related lessons
- Before this: Solve line & parabola by substitution
Practice this until it sticks
The adaptive tutor has 5 practice questions on this skill, names the exact mistake when you miss one, and gives you a fresh problem to confirm the fix. It is part of the Digital SAT program: $59 once, 12 months of access, no renewal.
See the Digital SAT programEnroll