Skip to content

Quadratic equations by factoring

Quadratic equations by factoring

An equation in which the unknown appears squared – like x2−5x+6=0\displaystyle {x^{2}-5x+6}={0} – is a quadratic equation (an equation of the second degree). Unlike an equation of the first degree, such as 2x+3=7\displaystyle {2x+3}={7}, it can have two solutions. One way to solve it: factor, and use one simple fact about zero.

A product equal to zero
This works only with 0. From (x−2)(x+7)=8\displaystyle {(x-2)(x+7)}={8} you cannot conclude that x−2=8\displaystyle {x-2}={8}!

If a product of two numbers is 0, at least one of them is 0: a⋅b=0\displaystyle {a\cdot b}={0} means a=0\displaystyle {a}={0} or b=0\displaystyle {b}={0}. So in the equation (x−2)(x+7)=0\displaystyle {(x-2)(x+7)}={0} either x−2=0\displaystyle {x-2}={0}, and then x=2\displaystyle {x}={2}, or x+7=0\displaystyle {x+7}={0}, and then x=−7\displaystyle {x}={-7}.

The equation has two solutions: x=2\displaystyle {x}={2} and x=−7\displaystyle {x}={-7}. Check: (2−2)(2+7)=0⋅9=0\displaystyle {(2-2)(2+7)}={0\cdot9}={0}, and (−7−2)(−7+7)=−9⋅0=0\displaystyle {(-7-2)(-7+7)}={-9\cdot0}={0}.

Exercise 1

Solve the equations: set each factor equal to zero.

a
    b
      c
        d

        How many solutions does this equation have?

          An equation with a common factor
          Do not divide both sides by x\displaystyle x: that loses the solution x=0\displaystyle {x}={0}.

          When one side is 0 and the other is not yet a product, factor it first. In x2−5x=0\displaystyle {x^{2}-5x}={0} the common factor is x\displaystyle x:

          x2−5x=0x(x−5)=0 \begin{aligned}x^{2}-5x&=0\\ x(x-5)&=0\end{aligned}

          x=0\displaystyle {x}={0} or x−5=0\displaystyle {x-5}={0}, so x=0\displaystyle {x}={0} or x=5\displaystyle {x}={5}.

          An equation with a difference of squares

          In x2=9\displaystyle {x^{2}}={9} move the 9 to the side of x2\displaystyle x^{2}, and factor by the formula a2−b2=(a−b)(a+b)\displaystyle {a^{2}-b^{2}}={(a-b)(a+b)}:

          x2−9=0(x−3)(x+3)=0 \begin{aligned}x^{2}-9&=0\\ (x-3)(x+3)&=0\end{aligned}

          x=3\displaystyle {x}={3} or x=−3\displaystyle {x}={-3} – two numbers whose square is 9. And x2=−4\displaystyle {x^{2}}={-4} has no solution at all: the square of a number is never negative.

          An equation with a trinomial

          In x2−5x+6=0\displaystyle {x^{2}-5x+6}={0} look for two numbers whose sum is −5\displaystyle -5 and whose product is 6\displaystyle 6: −2\displaystyle -2 and −3\displaystyle -3.

          x2−5x+6=0(x−2)(x−3)=0 \begin{aligned}x^{2}-5x+6&=0\\ (x-2)(x-3)&=0\end{aligned}

          x=2\displaystyle {x}={2} or x=3\displaystyle {x}={3}. Check x=2\displaystyle {x}={2}: 22−5⋅2+6=4−10+6=0\displaystyle {2^{2}-5\cdot2+6}={4-10+6}={0} – true.

          Moving every term to one side

          The fact about zero works only when one side is 0. So first move all the terms to one side, and only then factor:

          x2=3x+10/−3x−10x2−3x−10=0(x−5)(x+2)=0 \begin{aligned}x^{2}&=3x+10 &&/-3x-10\\ x^{2}-3x-10&=0\\ (x-5)(x+2)&=0\end{aligned}

          x=5\displaystyle {x}={5} or x=−2\displaystyle {x}={-2}.

          Solving by factoring: the steps
          1. Move all the terms to one side, so the other side is 0.
          2. Factor (a common factor, a trinomial, a formula).
          3. Set each factor equal to zero and solve.
          4. Check by substituting in the original equation.

          A quadratic equation has at most two solutions; sometimes one, sometimes none.

          Exercise 2

          Factor the first side, then solve.

          a
            b
              c
                d
                  e
                    Exercise 3

                    First move all the terms to one side.
                    Then factor and solve.

                    a
                      b
                        Exercise 4

                        A number is multiplied by the number that is 3 greater than it, and the product is 40.
                        Write an equation, solve it, and find all the numbers that fit.