Choosing a Method and Building Equations
Decide when to factor, take square roots, complete the square or use the formula, and use the sum and product of roots to check and build equations.
Welcome back!
Step 1 of 12Learn
Four tools, one job
You now have four ways to solve a quadratic. All of them give the same answers when used correctly, but some are much faster for certain equations. Picking well is a skill that saves time on every test.
Look at the equation first and ask a few questions:
- Is there no x-term? (like 5x2 = 80 or (x − 2)2 = 9) → Square roots. Isolate the square and take ±√.
- Is there no constant term? (like 3x2 − 12x = 0) → Factor out x. You get x(3x − 12) = 0 instantly.
- Are the numbers small and does it look factorable? → Factor. Check that D is a perfect square if unsure.
- Is a = 1 and b even? → Completing the square is clean, since b/2 is a whole number.
- Otherwise (messy numbers, D not a perfect square, decimals) → Quadratic formula. It always works.
The formula is the universal backup, so if you're unsure, use it. But using it on x2 − 9 = 0 is like using a calculator for 2 + 2: it works, it's just slow.
The compare table below summarizes the strengths and weaknesses of each method.
Step 2 of 12Compare
The four methods
| Aspect | Best for | Watch out for |
|---|---|---|
| Factoring | Small integer coefficients with a perfect-square discriminant | Forgetting to set the equation to 0 first |
| Square roots | No x-term, or a squared binomial already isolated | Forgetting the ± and the negative solution |
| Completing the square | a = 1 with an even b; converting to vertex form | Adding (b/2)2 to only one side |
| Quadratic formula | Any quadratic, especially messy or irrational roots | Sign errors in −b and b2; dividing only part of the numerator |
Step 3 of 12Practice · Sort into groups
Pick the most efficient method for each equation.
Tap an item, then tap its group (or drag it there).
Step 4 of 12Learn
Sum and product of the roots
There's a hidden pattern linking the solutions of a quadratic to its coefficients. If x2 + bx + c = 0 has roots r and s, then it factors as (x − r)(x − s) = x2 − (r + s)x + rs. Comparing coefficients:
- Sum of roots: r + s = −b
- Product of roots: r × s = c
For a general ax2 + bx + c = 0, divide by a first:
- r + s = −b/a
- r × s = c/a
Check with x2 − 7x + 10 = 0, whose roots are 2 and 5: the sum is 7 = −(−7), and the product is 10 = c.
This is a great way to check answers. If you solved 2x2 − 3x − 9 = 0 and got 3 and −3/2, check: the sum should be −(−3)/2 = 3/2, and 3 + (−3/2) = 3/2. The product should be −9/2, and 3 × (−3/2) = −9/2. Both match.
It also helps factoring. For x2 + bx + c, you were already looking for two numbers with product c and sum b. Those numbers are the opposites of the roots, which is why (x + 2)(x + 5) has roots −2 and −5.
Step 5 of 12Try the calculator
Sum and product check
Enter a, b and c. Compare −b/a and c/a with the sum and product of the actual roots. Try 2, −3, −9 from the example.
- Predicted sum −b/a
- 1.5
- Predicted product c/a
- -4.5
- Root 1
- 3
- Root 2
- -1.5
Step 6 of 12Practice · Work it out
Without solving, find the sum of the roots of 3x2 − 12x + 1 = 0.
Step 7 of 12Learn
Building an equation from its roots
Running the zero product property backwards lets you write a quadratic with any roots you choose.
If the roots are 3 and −5, then x = 3 and x = −5 come from the factors (x − 3) and (x + 5). So:
(x − 3)(x + 5) = 0 x2 + 5x − 3x − 15 = 0 x2 + 2x − 15 = 0
Check with sum and product: the sum 3 + (−5) = −2 should equal −b, and here b = 2. The product 3 × (−5) = −15 equals c. Both match.
For fractional roots, clear denominators. Roots 1/2 and −4 come from (2x − 1)(x + 4) = 0, which expands to 2x2 + 7x − 4 = 0. (Using (x − 1/2)(x + 4) also works but leaves fractions; multiplying by 2 clears them.)
Any nonzero multiple of an equation has the same roots: x2 + 2x − 15 = 0 and 3x2 + 6x − 45 = 0 have identical solutions. That's why a problem asking for "a" quadratic with given roots has infinitely many correct answers, while "the" quadratic with a = 1 has just one.
The sign flip is the usual error: root 3 means factor (x − 3), not (x + 3).
Step 8 of 12Diagram
From roots to equation: 2 and −6
Tap a shape with to see more.
- Roots 2 and −6
- (x − 2)(x + 6) = 0
Each root r gives a factor (x − r).
- x² + 4x − 12 = 0
Sum 2 + (−6) = −4 = −b, product −12 = c.
- Any multiple works
3x2 + 12x − 36 = 0 has the same roots.
Step 9 of 12Practice · Fill in the blanks
Fill in the blanks
A quadratic with roots 3 and −5 and a = 1 is x2 + x − = 0.
Step 10 of 12Practice · Choose one
Which equation has roots 4 and −1?
Step 11 of 12Practice · True or false
The equations x2 − x − 6 = 0 and 2x2 − 2x − 12 = 0 have the same solutions.
Step 12 of 12Practice · Work it out
Without solving, find the product of the roots of 2x2 − 9x − 18 = 0.
Lesson complete!