Algebra 1Polynomials and Factoring7 of 7
Polynomials and Factoring · 7

Solving Quadratic Equations by Factoring

We cannot combine x2x^2 and xx as like terms. For the quadratic equations here, we'll rewrite one side as a product equal to 00.

1

Why We Need the Zero Trick

We want to find the values of xx that make a quadratic equation true, starting with

x2+5x+6\displaystyle x^2 \midterm{+ 5x} \constterm{+ 6} =0\displaystyle = 0

To see why a product equal to 00 is useful, we'll first solve a different equation.

(x−3)(x+5)\displaystyle (\factorone{x - 3})(\factortwo{x + 5}) =0\displaystyle = 0
Why We Need the Zero Trick
2x+3=11x=  ?x2+5x+6=0x=  ?\displaystyle \begin{alignedat}{2}2x + 3 &= 11 &\qquad x &= \;?\\[4pt] x^2 \midterm{{}+ 5x} \constterm{{}+ 6} &= 0 &\qquad x &= \;?\end{alignedat}
Text solution
Set each factor equal to zeroBecause the two parentheses multiply to 00, at least one of them must equal 00.
x−3\displaystyle \factorone{x - 3} =0orx+5\displaystyle = 0 \quad \text{or} \quad \factortwo{x + 5} =0\displaystyle = 0
Solve each equation for xxAdd 33 in the first equation and subtract 55 in the second to get xx by itself.
x\displaystyle x =3orx\displaystyle = \factorone{3} \quad \text{or} \quad x =−5\displaystyle = \factortwo{-5}

Both x=3x = \factorone{3} and x=−5x = \factortwo{-5} make the original equation true because each one turns one of the factors into 00, making the whole product 00.

A rectangle with side lengths ∣x−3∣|\factorone{x - 3}| and ∣x+5∣|\factortwo{x + 5}| has area ∣(x−3)(x+5)∣|(\factorone{x - 3})(\factortwo{x + 5})|. Its area is zero only at x=3x = \factorone{3} and x=−5x = \factortwo{-5}, where one factor is zero. Everywhere else, both side lengths are positive, so neither the area nor the product is zero.

The rectangle for the two factors shrinks to zero area only at 3\factorone{3} and −5\factortwo{-5}, where one of its sides shrinks to zero.
2

Solving Quadratic Equations by Factoring

The zero trick only works when factors are multiplied together, so when we have terms added or subtracted to equal zero, we first rewrite the left side as a product of factors:

x2+5x+6=0andx2−2x−24=0\displaystyle \begin{aligned} x^2 \midterm{+ 5x} \constterm{+ 6} &= 0 \quad \text{and} \\ x^2 \midterm{- 2x} \constterm{- 24} &= 0 \end{aligned}
Solving Quadratic Equations by Factoring
x2+5x+6=0(x+□)(x+□)=0\displaystyle \begin{aligned}x^2 \midterm{{}+ 5x} \constterm{{}+ 6} &= 0\\ (\factorone{x + \square})(\factortwo{x + \square}) &= 0\end{aligned}
Text solution
For x2+5x+6=0x^2 \midterm{+ 5x} \constterm{+ 6} = 0:
Factor using two numbers that multiply to 6\constterm{6} and add to 5\midterm{5}Since 2×3=62 \times 3 = \constterm{6} and 2+3=52 + 3 = \midterm{5}, rewrite the left side as two parentheses multiplying together.
(x+2)(x+3)\displaystyle (\factorone{x + 2})(\factortwo{x + 3}) =0\displaystyle = 0
Set each factor equal to zero and solveSplit the product into two simple equations and solve for xx in each.
x+2=0  ⟹  x=−2x+3=0  ⟹  x=−3\displaystyle \begin{aligned} \factorone{x + 2} &= 0 &&\implies x = \factorone{-2} \\ \factortwo{x + 3} &= 0 &&\implies x = \factortwo{-3} \end{aligned}
When negative signs are involved, as in x2−2x−24=0x^2 \midterm{- 2x} \constterm{- 24} = 0, we use the same steps while paying attention to the signs of the two numbers:
Factor using two numbers that multiply to −24\constterm{-24} and add to −2\midterm{-2}Since −6×4=−24-6 \times 4 = \constterm{-24} and −6+4=−2-6 + 4 = \midterm{-2}, rewrite the left side as two factors multiplying together.
(x−6)(x+4)\displaystyle (\factorone{x - 6})(\factortwo{x + 4}) =0\displaystyle = 0
Set each factor equal to zero and solveAdd 66 to solve the first equation and subtract 44 to solve the second.
x−6=0  ⟹  x=6x+4=0  ⟹  x=−4\displaystyle \begin{aligned} \factorone{x - 6} &= 0 &&\implies x = \factorone{6} \\ \factortwo{x + 4} &= 0 &&\implies x = \factortwo{-4} \end{aligned}

Notice that for simple factors like (x−6)(x+4)=0(\factorone{x - 6})(\factortwo{x + 4}) = 0, the solutions 6\factorone{6} and −4\factortwo{-4} have the opposite signs of the numbers inside the parentheses, because those are the values that cancel −6\factorone{-6} and +4\factortwo{+4} to make 00.

3

Getting Equal to Zero First

Now let's see what to do when the right side of the equation is a number other than zero, including when the left side already has parentheses:

x2+4x=12and(x+1)(x+4)=10\displaystyle \begin{aligned} x^2 \midterm{+ 4x} &= 12 \quad \text{and} \\ (\factorone{x + 1})(\factortwo{x + 4}) &= 10 \end{aligned}
Getting Equal to Zero First
x2+4x\displaystyle x^2 \midterm{{}+ 4x} =12\displaystyle = 12
x\displaystyle x =  ?\displaystyle = \;?
Text solution
For x2+4x=12x^2 \midterm{+ 4x} = 12:
Subtract 1212 from both sides to get zero on the rightWe cannot use the zero trick while 1212 is on the right side because infinitely many pairs of numbers multiply to 1212.
x2+4x−12\displaystyle x^2 \midterm{+ 4x} \constterm{- 12} =0\displaystyle = 0
Factor and set each factor equal to zeroUse 66 and −2-2, which multiply to −12\constterm{-12} and add to 4\midterm{4}, then solve each simple equation.
(x+6)(x−2)\displaystyle (\factorone{x + 6})(\factortwo{x - 2}) =0\displaystyle = 0
x+6=0  ⟹  x=−6x−2=0  ⟹  x=2\displaystyle \begin{aligned} \factorone{x + 6} &= 0 &&\implies x = \factorone{-6} \\ \factortwo{x - 2} &= 0 &&\implies x = \factortwo{2} \end{aligned}
For (x+1)(x+4)=10(\factorone{x + 1})(\factortwo{x + 4}) = 10, the existing parentheses are a trap because the right side is 1010 instead of 00:
Multiply out the parentheses on the leftMultiplying out the left side lets us combine the constant terms after subtracting 1010 from both sides.
x2+5x+4\displaystyle x^2 \midterm{+ 5x} + 4 =10\displaystyle = 10
Subtract 1010 from both sides to make the right side zeroCombine 44 and −10-10 so 00 is alone on the right.
x2+5x−6\displaystyle x^2 \midterm{+ 5x} \constterm{- 6} =0\displaystyle = 0
Factor the new expression and solveUse 66 and −1-1, which multiply to −6\constterm{-6} and add to 5\midterm{5}, and set each new factor to 00.
(x+6)(x−1)\displaystyle (\factorone{x + 6})(\factortwo{x - 1}) =0\displaystyle = 0
x+6=0  ⟹  x=−6x−1=0  ⟹  x=1\displaystyle \begin{aligned} \factorone{x + 6} &= 0 &&\implies x = \factorone{-6} \\ \factortwo{x - 1} &= 0 &&\implies x = \factortwo{1} \end{aligned}

Plugging x=1x = \factortwo{1} back into the original equation gives (1+1)(1+4)=(2)(5)=10(\factorone{1 + 1})(\factortwo{1 + 4}) = (\factorone{2})(\factortwo{5}) = 10, which works even though neither parenthesis is equal to 1010.

4

Common Factors, Differences of Squares, and Perfect Squares

Next, let's solve quadratics where the constant term is missing, the middle xx-term is missing, or the two factors turn out to be identical:

x2−7x=0,x2−9=0,andx2−6x+9=0\displaystyle \begin{aligned} x^2 \midterm{- 7x} &= 0, \\ x^2 \constterm{- 9} &= 0, \quad \text{and} \\ x^2 \midterm{- 6x} \constterm{+ 9} &= 0 \end{aligned}
Common Factors, Differences of Squares, and Perfect Squares
x2−7x\displaystyle x^2 \midterm{{}- 7x} =0\displaystyle = 0
x\displaystyle x =  ?\displaystyle = \;?
Text solution
When the plain number is missing, as in x2−7x=0x^2 \midterm{- 7x} = 0:
Pull out the common factor x\factorone{x}Both terms share an xx, so factoring it out in front writes the left side as x\factorone{x} times x−7\factortwo{x - 7}.
x(x−7)\displaystyle \factorone{x}(\factortwo{x - 7}) =0\displaystyle = 0
Set each factor equal to zero and solveThe first factor is x\factorone{x} itself and the second is x−7\factortwo{x - 7}.
x=0orx−7=0x=0orx=7\displaystyle \begin{aligned} \factorone{x} &= 0 &\quad \text{or} \quad \factortwo{x - 7} &= 0 \\ x &= \factorone{0} &\quad \text{or} \quad x &= \factortwo{7} \end{aligned}
When the middle xx-term is missing, as in x2−9=0x^2 \constterm{- 9} = 0:
Factor the difference of squares into opposite signsTwo numbers that multiply to −9\constterm{-9} and add to 0\midterm{0} are 33 and −3-3.
(x+3)(x−3)\displaystyle (\factorone{x + 3})(\factortwo{x - 3}) =0\displaystyle = 0
Set each factor equal to zero and solveEach parenthesis gives one of the two opposite solutions.
x+3=0  ⟹  x=−3x−3=0  ⟹  x=3\displaystyle \begin{aligned} \factorone{x + 3} &= 0 &&\implies x = \factorone{-3} \\ \factortwo{x - 3} &= 0 &&\implies x = \factortwo{3} \end{aligned}
When the expression is a perfect square, as in x2−6x+9=0x^2 \midterm{- 6x} \constterm{+ 9} = 0:
Factor using two numbers that multiply to 9\constterm{9} and add to −6\midterm{-6}Both numbers are −3-3, giving two identical factors.
(x−3)(x−3)\displaystyle (\factorone{x - 3})(\factorone{x - 3}) =0\displaystyle = 0
Set the repeated factor equal to zeroBecause both parentheses are the same, setting them to 00 gives the same equation twice.
x−3\displaystyle \factorone{x - 3} =0  ⟹  x\displaystyle = 0 \implies x =3\displaystyle = \factorone{3}

Here, the quadratic equation has only one solution, x=3x = \factorone{3}, because both factors give the same number.

In the 2×22 \times 2 box for (x−3)(x−r)=0(\factorone{x - 3})(\factortwo{x - r}) = 0, all three special cases come from the second solution r\factortwo{r}: r=0\factortwo{r} = \factortwo{0} makes the number corner zero (x2−3x=0x^2 \midterm{- 3x} = 0), r=−3\factortwo{r} = \factortwo{-3} makes the two xx-corners cancel out (x2−9=0x^2 \constterm{- 9} = 0), and r=3\factortwo{r} = \factortwo{3} makes both factors the same so there is only one solution (x2−6x+9=0x^2 \midterm{- 6x} \constterm{+ 9} = 0).

With one solution at 3, where you put the second solution on the number line decides which terms show up in the quadratic equation.
5

Solving When x2x^2 Has a Coefficient

Now let's solve a quadratic equation where dividing by the coefficient of x2x^2 would introduce fractions.

2x2+7x+3\displaystyle 2x^2 \midterm{+ 7x} \constterm{+ 3} =0\displaystyle = 0
Solving When x² Has a Coefficient
2x2+7x+3\displaystyle 2x^2 \midterm{{}+ 7x} \constterm{{}+ 3} =0\displaystyle = 0
x\displaystyle x =  ?\displaystyle = \;?
x\htmlClass{lc-violet}{x}
+3\htmlClass{lc-violet}{+3}
2x\htmlClass{lc-blue}{2x}
+1\htmlClass{lc-blue}{+1}
2x22x^2
6x\htmlClass{lc-pink}{6x}
1x\htmlClass{lc-pink}{1x}
3\htmlClass{lc-orange}{3}
Text solution
Factor the left side using a 2×22 \times 2 boxMultiply the 22 and the 3\constterm{3} to get 6\constterm{6}, split 7x\midterm{7x} into 6x\midterm{6x} and 1x\midterm{1x} (since 66 and 11 multiply to 6\constterm{6} and add to 7\midterm{7}), and pull out the common factors along each row and column.
(2x+1)(x+3)\displaystyle (\factorone{2x + 1})(\factortwo{x + 3}) =0\displaystyle = 0
Set each factor equal to zeroWrite out both simple equations so the 2\factorone{2} in front of xx is clear before solving.
2x+1\displaystyle \factorone{2x + 1} =0orx+3\displaystyle = 0 \quad \text{or} \quad \factortwo{x + 3} =0\displaystyle = 0
Solve for xx in each equationSubtract 11 and divide by 22 in the first equation, and subtract 33 in the second.
2x=−1  ⟹  x=−12x+3=0  ⟹  x=−3\displaystyle \begin{aligned} 2x &= -1 &&\implies x = \factorone{-\frac{1}{2}} \\ \factortwo{x + 3} &= 0 &&\implies x = \factortwo{-3} \end{aligned}

When a factor has a number in front of xx, like 2x+1\factorone{2x + 1}, just flipping the sign of +1\factorone{+1} no longer gives the solution, so take a second to write out 2x+1=0\factorone{2x + 1} = 0 to remember to divide by 22.

6

Area Problems and Complete Game Plan

Finally, let's use factoring to find the dimensions of a real-world object: suppose you are building a rectangular wooden deck whose length is 33 feet longer than its width, and you have enough wood to cover an area of 40\area{40} square feet. What should the width and length of the deck be?

Area Problems and Complete Game Plan
width\htmlClass{lc-blue}{\text{width}}
width+3\htmlClass{lc-violet}{\text{width} + 3}
40 ft2\htmlClass{lc-green}{40}\text{ ft}^2
x\htmlClass{lc-blue}{x}
x+3\htmlClass{lc-violet}{x + 3}
area=40 ft2\text{area} = \htmlClass{lc-green}{40}\text{ ft}^2
Text solution
Write an equation for the areaCalling the width x\factorone{x} and the length x+3\factortwo{x + 3}, multiply width by length to equal the area of 40\area{40} square feet.
x(x+3)\displaystyle \factorone{x}(\factortwo{x + 3}) =40\displaystyle = \area{40}
Multiply out the left side and subtract 4040 to get zero on the rightBecause the right side is 40\area{40} instead of 00, multiply x\factorone{x} into the parentheses first and then subtract 4040 from both sides.
x2+3x=40x2+3x−40=0\displaystyle \begin{aligned} x^2 \midterm{+ 3x} &= \area{40} \\ x^2 \midterm{+ 3x} \constterm{- 40} &= 0 \end{aligned}
Factor and solve for xxUse 88 and −5-5, which multiply to −40\constterm{-40} and add to 3\midterm{3}, and set each factor equal to 00.
(x+8)(x−5)\displaystyle (\factorone{x + 8})(\factortwo{x - 5}) =0\displaystyle = 0
x+8=0  ⟹  x=−8x−5=0  ⟹  x=5\displaystyle \begin{aligned} \factorone{x + 8} &= 0 &&\implies x = \factorone{-8} \\ \factortwo{x - 5} &= 0 &&\implies x = \factortwo{5} \end{aligned}
Keep only the solution that makes sense for a real lengthA deck cannot have a width of −8\rejected{-8} feet, so discard x=−8x = \rejected{-8}; the width is x=5 feetx = \keptwidth{5}\text{ feet} and the length is 5+3=8 feet\keptwidth{5} + 3 = 8\text{ feet}.

The algebra gives x=−8x = \rejected{-8} alongside x=5x = \keptwidth{5} because when x=−8x = \rejected{-8}, the two negative numbers −8\rejected{-8} and −5-5 also multiply to +40\area{+40}, even though only the positive 5 ft5\text{ ft} by 8 ft8\text{ ft} deck can be built in real life.

Two negative values can satisfy the area equation, even though they cannot be the deck's side lengths.

Key concepts

Every quadratic equation you solve by factoring follows one connected game plan built around the zero trick:

Get 00 on one side before you factor

Two factors multiplying to 00 must include a zero factor. If the product is non-zero, neither factor is zero. If a number is sitting on the right, subtract it over first (x2+4x=12x^2 \midterm{+ 4x} = 12   ⟹  x2+4x−12=0\implies x^2 \midterm{+ 4x} \constterm{- 12} = 0). If the left side is already factored but the right side is not 00, such as (x+1)(x+4)=10(\factorone{x + 1})(\factortwo{x + 4}) = 10 or x(x+3)=40\factorone{x}(\factortwo{x + 3}) = \area{40}, do not set the factors equal to 1010 or 4040. Multiply the parentheses out first, subtract the number over to get =0= 0, and then factor the new expression. On the other hand, if the equation is already factored and equal to 00, like (x−3)(x+5)=0(\factorone{x - 3})(\factortwo{x + 5}) = 0, do not multiply it out; go straight to setting each factor equal to 00.

Match the factoring method to the terms you see

  • No constant number (x2−7x=0x^2 \midterm{- 7x} = 0): Pull the common factor x\factorone{x} out in front to get x(x−7)=0\factorone{x}(\factortwo{x - 7}) = 0, which gives x=0x = \factorone{0} or x=7x = \factortwo{7}. Never drop the front x\factorone{x}, because it gives the solution x=0x = \factorone{0}.
  • Difference of squares (x2−9=0x^2 \constterm{- 9} = 0): Split the difference of squares into opposite signs (x+3)(x−3)=0(\factorone{x + 3})(\factortwo{x - 3}) = 0 to get x=−3x = \factorone{-3} or x=3x = \factortwo{3}.
  • Three terms starting with x2x^2 (x2−2x−24=0x^2 \midterm{- 2x} \constterm{- 24} = 0): Find the two numbers that multiply to the last number (−24\constterm{-24}) and add to the middle number (−2\midterm{-2}) to get (x−6)(x+4)=0(\factorone{x - 6})(\factortwo{x + 4}) = 0, giving x=6x = \factorone{6} or x=−4x = \factortwo{-4}. When both factors are identical, such as (x−3)(x−3)=0(\factorone{x - 3})(\factorone{x - 3}) = 0, the perfect square gives only one solution, x=3x = \factorone{3}.
  • A number in front of x2x^2 (2x2+7x+3=02x^2 \midterm{+ 7x} \constterm{+ 3} = 0): If the front number doesn't divide out evenly, multiply the front and last numbers (2×3=62 \times \constterm{3} = \constterm{6}) to split the middle term in a 2×22 \times 2 box and pull out row and column factors to get (2x+1)(x+3)=0(\factorone{2x + 1})(\factortwo{x + 3}) = 0.
Set each factor equal to 00 and check real-world answers

Write out each equation like 2x+1=0  ⟹  x=−12\factorone{2x + 1} = 0 \implies x = \factorone{-\frac{1}{2}} so you don't miss fractions, and in geometry problems, discard negative solutions that cannot be real lengths.

7

Practice

1

Solve (x+4)(x−7)=0(\factorone{x + 4})(\factortwo{x - 7}) = 0.

The equation is already written as two factors multiplying to 00. What equation does each parenthesis give when you set it equal to 00?

Because the product already equals 00, set each factor equal to 00:
x+4\displaystyle \factorone{x + 4} =0orx−7\displaystyle = 0 \quad \text{or} \quad \factortwo{x - 7} =0\displaystyle = 0
Watch out for the common mistake of reading the signs directly off the parentheses and writing x=4x = 4 or x=−7x = -7; solving each equation flips the sign so the factor cancels to 00:
x\displaystyle x =−4orx\displaystyle = \factorone{-4} \quad \text{or} \quad x =7\displaystyle = \factortwo{7}
Answer: x=−4x = -4 or x=7x = 7
2

Solve x2+9x+20=0x^2 \midterm{+ 9x} \constterm{+ 20} = 0.

Find two numbers that multiply to 20\constterm{20} and add to 9\midterm{9} to rewrite the left side as two parentheses multiplying to 00.

The numbers 44 and 55 multiply to 20\constterm{20} and add to 9\midterm{9}, so the equation factors as
(x+4)(x+5)\displaystyle (\factorone{x + 4})(\factortwo{x + 5}) =0\displaystyle = 0
Set each factor equal to 00 and solve. Be careful not to stop at the factor numbers and write x=4x = 4 or x=5x = 5. Subtracting 44 and 55 to make each factor equal 00 makes both solutions negative:
x+4=0  ⟹  x=−4x+5=0  ⟹  x=−5\displaystyle \begin{aligned} \factorone{x + 4} &= 0 &&\implies x = \factorone{-4} \\ \factortwo{x + 5} &= 0 &&\implies x = \factortwo{-5} \end{aligned}
Answer: x=−4x = -4 or x=−5x = -5
3

Solve x2−5x=14x^2 \midterm{- 5x} = 14.

Look at the right side first. What needs to happen before you try to factor?

Do not factor the left side as x(x−5)=14x(x - 5) = 14 and set the factors equal to 1414 (which gives the wrong answers x=14x = 14 and x=19x = 19). Subtract 1414 from both sides first so the right side is 00:
x2−5x−14\displaystyle x^2 \midterm{- 5x} \constterm{- 14} =0\displaystyle = 0
Now find two numbers that multiply to −14\constterm{-14} and add to −5\midterm{-5}. Watch the signs here: choosing +7+7 and −2-2 adds to +5+5 instead of −5-5 and leads to the opposite answers x=−7x = -7 or x=2x = 2. Since the sum is −5\midterm{-5}, the larger number gets the negative sign (−7-7 and +2+2):
(x−7)(x+2)\displaystyle (\factorone{x - 7})(\factortwo{x + 2}) =0\displaystyle = 0
x−7=0  ⟹  x=7x+2=0  ⟹  x=−2\displaystyle \begin{aligned} \factorone{x - 7} &= 0 &&\implies x = \factorone{7} \\ \factortwo{x + 2} &= 0 &&\implies x = \factortwo{-2} \end{aligned}
Answer: x=7x = 7 or x=−2x = -2
4

Solve x2+6x=0x^2 \midterm{+ 6x} = 0.

There is no plain number at the end. What common factor can you pull out in front of both terms?

Pull out the common factor x\factorone{x}:
x(x+6)\displaystyle \factorone{x}(\factortwo{x + 6}) =0\displaystyle = 0
Set each of the two factors equal to 00. Don't divide away or ignore the x\factorone{x} out in front and write only x=−6x = -6. Dividing by xx requires x≠0x \ne 0, so it would exclude the solution x=0x = \factorone{0}. That front x\factorone{x} is a factor of the product and gives the solution x=0x = \factorone{0}:
x=0orx+6=0x=0orx=−6\displaystyle \begin{aligned} \factorone{x} &= 0 &\quad \text{or} \quad \factortwo{x + 6} &= 0 \\ x &= \factorone{0} &\quad \text{or} \quad x &= \factortwo{-6} \end{aligned}
Answer: x=0x = 0 or x=−6x = -6
5

Solve x2−25=0x^2 \constterm{- 25} = 0.

The middle xx-term is missing (0x\midterm{0x}). How does a difference of squares split into factors?

The two numbers that multiply to −25\constterm{-25} and add to 0\midterm{0} are 55 and −5-5, so the left side factors into opposite signs:
(x+5)(x−5)\displaystyle (\factorone{x + 5})(\factortwo{x - 5}) =0\displaystyle = 0
Set each factor equal to 00. Watch out for only taking the positive number and writing just x=5x = 5, because both factors give a solution:
x+5=0  ⟹  x=−5x−5=0  ⟹  x=5\displaystyle \begin{aligned} \factorone{x + 5} &= 0 &&\implies x = \factorone{-5} \\ \factortwo{x - 5} &= 0 &&\implies x = \factortwo{5} \end{aligned}
Answer: x=−5x = -5 or x=5x = 5
6

Solve x2−10x+25=0x^2 \midterm{- 10x} \constterm{+ 25} = 0.

What two numbers multiply to +25\constterm{+25} and add to −10\midterm{-10}?

Both numbers are −5-5, because (−5)×(−5)=25(-5) \times (-5) = \constterm{25} and −5+(−5)=−10-5 + (-5) = \midterm{-10}. This gives two identical factors:
(x−5)(x−5)\displaystyle (\factorone{x - 5})(\factorone{x - 5}) =0\displaystyle = 0
Be careful not to confuse this perfect square with a difference of squares and write x=5x = 5 or x=−5x = -5, and don't keep the minus sign from the parenthesis to get x=−5x = -5. Both factors give the exact same equation:
x−5\displaystyle \factorone{x - 5} =0  ⟹  x\displaystyle = 0 \implies x =5\displaystyle = \factorone{5}
Answer: x=5x = 5
7

Solve 3x2+7x+2=03x^2 \midterm{+ 7x} \constterm{+ 2} = 0.

Set up a 2×22 \times 2 box with 3x23x^2 and 2\constterm{2}. What two numbers multiply to 3×2=63 \times \constterm{2} = \constterm{6} and add to 7\midterm{7}?

Since 3×2=63 \times \constterm{2} = \constterm{6}, split 7x\midterm{7x} into 6x\midterm{6x} and 1x\midterm{1x} inside the 2×22 \times 2 box and pull out the common factors along the rows and columns:
(3x+1)(x+2)\displaystyle (\factorone{3x + 1})(\factortwo{x + 2}) =0\displaystyle = 0
Set each factor equal to 00:
3x+1\displaystyle \factorone{3x + 1} =0orx+2\displaystyle = 0 \quad \text{or} \quad \factortwo{x + 2} =0\displaystyle = 0
On the first factor, don't just flip the sign of +1+1 to write x=−1x = -1 (or divide 33 by −1-1 to get x=−3x = -3). Subtract 11 and divide by 33:
3x=−1  ⟹  x=−13x+2=0  ⟹  x=−2\displaystyle \begin{aligned} 3x &= -1 &&\implies x = \factorone{-\frac{1}{3}} \\ \factortwo{x + 2} &= 0 &&\implies x = \factortwo{-2} \end{aligned}
Answer: x=−13x = -\frac{1}{3} or x=−2x = -2
8

Solve (x+2)(x−5)=8(\factorone{x + 2})(\factortwo{x - 5}) = 8.

Multiply out the parentheses, then subtract 88 from both sides before factoring again.

Do not fall into the trap of setting x+2=8x + 2 = 8 and x−5=8x - 5 = 8 (which gives x=6x = 6 and x=13x = 13, but only x=6x = 6 happens to satisfy the original equation) or setting the existing factors to 00 (x=−2x = -2 and x=5x = 5). Because the right side is 88 instead of 00, multiply out the parentheses first:
x2−3x−10\displaystyle x^2 \midterm{- 3x} - 10 =8\displaystyle = 8
Subtract 88 from both sides to get 00 on the right:
x2−3x−18\displaystyle x^2 \midterm{- 3x} \constterm{- 18} =0\displaystyle = 0
Now factor using −6-6 and 33, which multiply to −18\constterm{-18} and add to −3\midterm{-3}:
(x−6)(x+3)\displaystyle (\factorone{x - 6})(\factortwo{x + 3}) =0\displaystyle = 0
x−6=0  ⟹  x=6x+3=0  ⟹  x=−3\displaystyle \begin{aligned} \factorone{x - 6} &= 0 &&\implies x = \factorone{6} \\ \factortwo{x + 3} &= 0 &&\implies x = \factortwo{-3} \end{aligned}
Answer: x=6x = 6 or x=−3x = -3
9

A rectangular garden has a length that is 44 feet longer than its width and an area of 45\area{45} square feet. What are the width and length of the garden?

Call the width x\factorone{x} and the length x+4\factortwo{x + 4}, write an equation for the area, and get 00 on one side before factoring.

Multiplying width by length to get the area of 45\area{45} square feet gives
x(x+4)\displaystyle \factorone{x}(\factortwo{x + 4}) =45\displaystyle = \area{45}
Multiply x\factorone{x} in on the left and subtract 4545 from both sides so the right side is 00:
x2+4x=45x2+4x−45=0\displaystyle \begin{aligned} x^2 \midterm{+ 4x} &= \area{45} \\ x^2 \midterm{+ 4x} \constterm{- 45} &= 0 \end{aligned}
Factor using 99 and −5-5, which multiply to −45\constterm{-45} and add to 4\midterm{4}:
(x+9)(x−5)\displaystyle (\factorone{x + 9})(\factortwo{x - 5}) =0\displaystyle = 0
x+9=0  ⟹  x=−9x−5=0  ⟹  x=5\displaystyle \begin{aligned} \factorone{x + 9} &= 0 &&\implies x = \factorone{-9} \\ \factortwo{x - 5} &= 0 &&\implies x = \factortwo{5} \end{aligned}
Watch out for keeping x=−9x = -9 or mistaking the two numbers 55 and −9-9 for the width and length: a garden cannot have a negative width, so discard x=−9x = \rejected{-9}. The width is x=5x = \keptwidth{5} feet, and plugging x=5x = \keptwidth{5} into x+4\factortwo{x + 4} gives the length of 5+4=9\keptwidth{5} + 4 = 9 feet.
Answer: Width = 55 feet, length = 99 feet