Sub topic 2
The zero product property
This chapter assumes you can expand products of binomials, solve linear equations in one variable, and do arithmetic with integers and fractions. You should also know how to read a quadratic in standard form, ax^2 + bx + c = 0, from the previous chapter.
What the property says
The zero product property is the rule that turns a factored quadratic into two easy linear equations. It states:
If A and B are real numbers and A · B = 0, then A = 0 or B = 0 (or both).
The rule is about products that equal zero. It says nothing about products that equal any other number. This is the most common source of mistakes, and the later sections come back to it.
Two facts are behind the rule:
- Any number times 0 is 0, so if either factor is zero, the product is zero.
- A nonzero real number has a reciprocal. If A is not zero, you can multiply both sides of A · B = 0 by 1/A and get B = 0.
The second fact gives the proof. Suppose A · B = 0 and A is not zero. Then B = (1/A) · A · B = (1/A) · 0 = 0. So if the first factor is not zero, the second must be. That is exactly the statement "A = 0 or B = 0".
The rule extends to any number of factors. If A · B · C = 0, at least one of A, B, C is zero.
Why it only works for zero
Consider the equation (x - 2)(x - 3) = 6. It is tempting to say x - 2 = 6 or x - 3 = 6. Check x = 8, which comes from the first case: (8 - 2)(8 - 3) = 6 · 5 = 30, not 6. The answer fails.
The reason is that many pairs of numbers multiply to 6: 1 and 6, 2 and 3, -1 and -6, and infinitely many non-integer pairs. Knowing the product is 6 tells you almost nothing about either factor. Knowing the product is 0 tells you a lot, because a zero product can only come from a zero factor.
Using it on a quadratic
Take (x + 2)(x - 5) = 0. The product is zero, so one factor is zero:
- x + 2 = 0, which gives x = -2.
- x - 5 = 0, which gives x = 5.
The solutions are x = -2 and x = 5. Each linear equation is solved with the usual one-step methods.
You can confirm by expanding. (x + 2)(x - 5) = x^2 - 3x - 10, which is a quadratic in standard form with a = 1, b = -3, c = -10. The factored form and the standard form describe the same equation.
Factors that are not simply x plus a number
The property applies to any factors, not only ones with a coefficient of 1 on x. For (3x - 1)(2x + 7) = 0:
- 3x - 1 = 0 gives 3x = 1, so x = 1/3.
- 2x + 7 = 0 gives 2x = -7, so x = -7/2.
Each factor gives one linear equation, and each linear equation has exactly one solution. A quadratic with two distinct linear factors therefore has two solutions.
A constant factor gives no extra solution
Consider 4(x - 1)(x + 6) = 0. There are three factors: 4, x - 1, and x + 6. The factor 4 is never zero, so it contributes no solution. The solutions come only from x - 1 = 0 and x + 6 = 0, which give x = 1 and x = -6.
A factor with a variable in it, such as x, does give a solution. For x(x - 9) = 0, the first factor gives x = 0 and the second gives x = 9. Do not divide both sides by x. That would discard the solution x = 0 and leave you with only x = 9.
A repeated factor
For (x - 4)(x - 4) = 0, written (x - 4)^2 = 0, both factors give the same equation x - 4 = 0. The only solution is x = 4. It is called a repeated root, or a root of multiplicity 2, because the factor appears twice. A later chapter treats repeated roots and the case of no real roots in detail.
The property as a short program
The property can be expressed as code. Given the two linear factors in the form (p·x + q), the solutions are the values that make each factor zero. The function below solves (p1·x + q1)(p2·x + q2) = 0 using exact fractions, so results such as 1/3 are not rounded.
from fractions import Fraction
def solve_product_of_linears(p1, q1, p2, q2):
"""Solve (p1*x + q1) * (p2*x + q2) = 0 with p1 and p2 nonzero.
Each factor equals zero when x = -q/p. A set removes duplicates,
which handles the repeated-root case.
"""
if p1 == 0 or p2 == 0:
raise ValueError("each factor must contain x (p1 and p2 nonzero)")
roots = {Fraction(-q1, p1), Fraction(-q2, p2)}
return sorted(roots)
print(solve_product_of_linears(1, 2, 1, -5)) # [Fraction(-2, 1), Fraction(5, 1)]
print(solve_product_of_linears(3, -1, 2, 7)) # [Fraction(-7, 2), Fraction(1, 3)]
print(solve_product_of_linears(1, -4, 1, -4)) # [Fraction(4, 1)]The third call shows the repeated root: two identical factors produce one solution, because the set stores the value once.
The whole procedure
The property is the final step of solving by factoring, and the other steps exist to set it up. The flow looks like this:
Step B matters because the property needs a zero on one side. Step C is where most of the work happens, and the next chapters cover how to factor.
A worked example that needs rearranging
Solve x^2 = 7x.
A common wrong move is dividing both sides by x to get x = 7. This loses a solution. Instead:
- Move every term to one side: x^2 - 7x = 0.
- Factor out x: x(x - 7) = 0.
- Apply the property: x = 0 or x - 7 = 0.
- Solve: x = 0 or x = 7.
Check both in the original equation. For x = 0, 0^2 = 0 and 7 · 0 = 0, which matches. For x = 7, 49 = 49, which matches. The equation has two solutions, and dividing by x would have lost x = 0.
Common errors
| Error | Why it fails | Correct approach |
|---|---|---|
| Solving (x - 2)(x - 3) = 6 as x - 2 = 6 or x - 3 = 6 | The property applies only when the product is 0 | Expand, move 6 to the left, factor x^2 - 5x = 0 to get x(x - 5) = 0 |
| Dividing both sides by x | Loses the solution x = 0 | Move terms to one side and factor |
| Writing the solution as x = 2 from the factor (x + 2) | Sign error when isolating x | Solve x + 2 = 0 to get x = -2 |
| Setting the constant factor to zero, as in 4 = 0 | A nonzero constant can never be zero | Ignore it, it adds no solution |
| Stopping after one factor | Both factors can give solutions | Set every factor with x equal to 0 |
Take the first row as a full example. Expanding (x - 2)(x - 3) = 6 gives x^2 - 5x + 6 = 6. Subtracting 6 gives x^2 - 5x = 0, which factors as x(x - 5) = 0. The solutions are x = 0 and x = 5. Check x = 0: (-2)(-3) = 6. Check x = 5: (3)(2) = 6. Both work.
Summary of what to remember
- The property applies only when a product equals zero.
- If a product of several factors is zero, at least one factor is zero.
- Each factor that contains x gives one linear equation.
- Constant factors give no solutions.
- Never divide by an expression containing x, because it can remove a solution.
Exercise
Solve (2x + 5)(x - 3) = 0, and then solve x^2 = 4x without dividing by x. Give all solutions.
Show answer
For (2x + 5)(x - 3) = 0, set each factor to zero. 2x + 5 = 0 gives x = -5/2, and x - 3 = 0 gives x = 3. For x^2 = 4x, move terms to get x^2 - 4x = 0, factor to x(x - 4) = 0, and the solutions are x = 0 and x = 4.
Exercise
A student solves (x - 1)(x + 4) = 10 by writing x - 1 = 10 or x + 4 = 10, so x = 11 or x = 6. Explain what is wrong, then find the correct solutions.
Show answer
The property only applies when the product is 0, and here it is 10. Expanding gives x^2 + 3x - 4 = 10, so x^2 + 3x - 14 = 0 is the standard form, which does not factor with integers. A cleaner test shows the error: x = 11 gives (10)(15) = 150, not 10. The correct solutions need another method, which later chapters cover (completing the square gives x = (-3 ± sqrt(65))/2).