3 / 6 · Intermediate
Solving by factoring
If (x − 2)(x + 3) = 0, then x − 2 = 0 or x + 3 = 0, so the solutions are 2 and −3. No other number makes the product zero.
Jump to the 10 practice questionsYou will learn
- Factor x² + bx + c by product and sum
- Solve and check a quadratic word problem
Before this: Vertex form
1Explain
Dividing both sides by x loses a root
Here is a tempting move. To solve x² = 5x, divide both sides by x and get x = 5. It checks: 25 = 25. But x = 0 works too, since 0 = 0, and it has vanished. Division by x is allowed only when x is not 0, and 0 was exactly the solution that got thrown away. The safe route keeps everything on one side: x² − 5x = 0, so x(x − 5) = 0, and both 0 and 5 come out. The rest of this page is about that route.
2Explain
If a product is 0, one of the factors is 0
A quadratic equation is an equation with a second-degree polynomial, usually written in standard form ax² + bx + c = 0. Often the easiest way to solve one is factoring. It rests on a single fact, the zero-product property: if a · b = 0, then a = 0 or b = 0. The reason is that multiplying anything by zero gives zero, and two nonzero numbers never multiply to zero. So if the left side can be written as a product of two simpler factors, the hard question splits into two easy ones.
3Problem
The zero-product property
Which statement is the zero-product property?
Hint
A product of 0 needs a 0 factor.
Solution
Answer: If a · b = 0, then a = 0 or b = 0
A product can only be zero if at least one factor is zero.
4Explore
Multiplication run backwards
Factoring is multiplication run backwards. OpenStax shows it with (x − 2)(x + 3): multiply out and you get x² + 3x − 2x − 6 = x² + x − 6. So the equation x² + x − 6 = 0 can be rewritten as (x − 2)(x + 3) = 0. By the zero-product property, x − 2 = 0 or x + 3 = 0, which gives x = 2 or x = −3. Check both: 4 + 2 − 6 = 0 and 9 − 3 − 6 = 0. On the graph of y = x² + x − 6 these are the two x-intercepts.
Move the two zeros r and s along the x-axis: the panel multiplies (x − r)(x − s) out, and the curve crosses exactly at r and s.
5Problem
x² + x − 6 = 0
What is the negative solution of x² + x − 6 = 0?
Hint
(x − 2)(x + 3) = 0.
Solution
Answer: −3
(x − 2)(x + 3) = 0 gives x = 2 or x = −3. Check: 9 − 3 − 6 = 0.
6Explain
Product 6, sum −5: finding the pair for x² − 5x + 6
For x² + bx + c, look for two numbers that multiply to c and add to b. For x² − 5x + 6 you need a product of 6 and a sum of −5. The pairs that multiply to 6 are 1 and 6, 2 and 3, and their negatives; only −2 and −3 add to −5. So x² − 5x + 6 = (x − 2)(x − 3), and the solutions are 2 and 3. The signs give hints: a positive c means both numbers have the same sign, the sign of b; a negative c means one is positive and one is negative.
7Problem
x² − 5x + 6 = 0
What are the solutions of x² − 5x + 6 = 0?
Hint
Product 6, sum −5.
Solution
Answer: 2 and 3
(x − 2)(x − 3) = 0: product 6, sum 5 for the numbers 2 and 3.
8Problem
x² + 7x + 12
How does x² + 7x + 12 factor?
Hint
Product 12, sum 7.
Solution
Answer: (x + 3)(x + 4)
3 × 4 = 12 and 3 + 4 = 7.
9Problem
Product −12, sum −1
Which two numbers multiply to −12 and add to −1?
Hint
One positive, one negative.
Solution
Answer: −4 and 3
(−4)(3) = −12 and −4 + 3 = −1, so x² − x − 12 = (x − 4)(x + 3).
10Explain
Two special shapes
Two special shapes are worth spotting. First, a greatest common factor: 3x² − 12x = 0 has 3x in both terms, so 3x(x − 4) = 0 and x = 0 or x = 4. Do not divide both sides by x. As at the top of the page, that throws away the solution 0. Second, a difference of squares: x² − 4 = (x − 2)(x + 2), so x² − 4 = 0 gives x = 2 or x = −2. The same equation can also be solved with the square root property: x² = 4, so x = ±2.
11Problem
x² − 9 = 0
What is the positive solution of x² − 9 = 0?
Hint
(x − 3)(x + 3).
Solution
Answer: 3
(x − 3)(x + 3) = 0, so x = 3 or x = −3.
12Problem
3x² − 12x = 0
What is the nonzero solution of 3x² − 12x = 0?
Hint
3x(x − 4) = 0.
Solution
Answer: 4
3x(x − 4) = 0, so x = 0 or x = 4.
13Problem
(x − 4)² = 0
Solve (x − 4)² = 0.
Hint
A double root.
Solution
Answer: 4
Both factors are x − 4, so x = 4 is the only solution, a double root. The vertex (4, 0) touches the x-axis.
14Explain
When a is not 1
When a is not 1 the search takes a little longer. For 2x² + 5x − 3 = 0, try factors of the form (2x + p)(x + q) with pq = −3. The pair p = −1, q = 3 works: (2x − 1)(x + 3) = 2x² + 6x − x − 3 = 2x² + 5x − 3. Setting each factor to zero gives x = 1/2 and x = −3. If no pair of whole numbers works, the quadratic does not factor nicely, and the quadratic formula in the next unit still solves it.
15Problem
2x² + 5x − 3 = 0
What is the positive solution of 2x² + 5x − 3 = 0? Write it as a fraction.
Hint
(2x − 1)(x + 3) = 0.
Solution
Answer: 1/2
(2x − 1)(x + 3) = 0, so 2x − 1 = 0 gives x = 1/2.
16Explain
A 40 m² rectangle, and the root you throw away
A rectangle is 3 meters longer than it is wide and its area is 40 square meters. Call the width w; the length is w + 3, so w(w + 3) = 40, which becomes w² + 3w − 40 = 0. Two numbers with product −40 and sum 3 are 8 and −5, so (w + 8)(w − 5) = 0 and w = −8 or w = 5. A width cannot be negative, so the width is 5 m and the length 8 m. Check: 5 × 8 = 40. Rejecting a solution that does not fit the situation is a normal step.
17Problem
The 40 m² rectangle
A rectangle is 3 m longer than it is wide and has area 40 m². What is the width in meters?
Hint
w² + 3w − 40 = 0, keep the positive root.
Solution
Answer: 5
w(w + 3) = 40, w² + 3w − 40 = (w + 8)(w − 5) = 0. Only w = 5 is a length.
18Explore
Drag the zeros
Drag to turn. Scroll or pinch to zoom.
19Explain
Common mistakes
Solving (x − 5)(x + 1) = 0 as x = −5 or x = 1.
Set each factor to zero. x − 5 = 0 gives 5, and x + 1 = 0 gives −1. The solutions have the opposite signs to the numbers written in the brackets.
From (x − 1)(x − 2) = 6, writing x − 1 = 6 or x − 2 = 6.
The zero-product property needs 0 on the right. Those guesses give x = 7 and x = 8, and (6)(5) = 30, (7)(6) = 42, neither 6. Expand first: x² − 3x + 2 = 6, so x² − 3x − 4 = 0, (x − 4)(x + 1) = 0, and x = 4 or x = −1.
Factoring x² + 2x − 15 as (x − 5)(x + 3).
Multiply back: (x − 5)(x + 3) = x² − 2x − 15. The product −15 is right but the sum is −2, not 2. Swap the signs: (x + 5)(x − 3).
Dividing 2x² = 7x by x and reporting only x = 7/2.
x = 0 also satisfies it, since 0 = 0. Move everything to one side and factor: x(2x − 7) = 0, so x = 0 or x = 7/2.
20
Summary
- Write the equation as ax² + bx + c = 0 first.
- Zero-product property: if a · b = 0, then a = 0 or b = 0.
- For x² + bx + c, find two numbers with product c and sum b.
- Take out a common factor instead of dividing by x; check every solution.