Solving by Factoring

Some equations can be put into factored form such that the product of the factors is zero. Then we can solve by using the fact that if (a)(b) = 0, then either a or b (or both) is zero.

Examples
For these examples, notice that we first get the equation into the form (a)(b) = 0 and then find the zeros. See the cautionary notes, below, discussing this.
  1. Solve for x:
    (x+1)(x+3) = 15
    x^2+4x+3=15, so x^2+4x-12=0, or (x+6)(x-2)=0, so x=2 and x=-6 are solutions
  2. Solve for x:
    2(x+3)^2 = 5(x+3)
    2(x+3)^2-5(x+3)=0, so (x+3)(2(x+3) - 5)=0, or (x+3)(2x+1)=0, and x=-3 or x=-1/2
  3. Solve:
    e^x+xe^x = 0
    e^x(1 + x)=0
    e^x is never zero, so x=-1 is the only solution.
Be careful not to make these common mistakes:
  1. When solving
    (x+1)(x+3) = 15
    do not make the mistake of setting x + 1 =15 and x + 3 = 15. It is not true that (a)(b) = 15 means that a = 15 or b = 15 (or both). Thus we have to expand the left-hand side and set the equation to zero.
  2. When solving
    2(x+3)^2 = 5(x+3),
    we might be tempted to divide both sides by x + 3. However, if we do this we omit the solution x = -3, because we can't divide by zero.

Solving with the quadratic formula

If we are unable to factor an equation and it is quadratic (the highest power of the variable is 2) we can use the quadratic formula. If
ax^2 + bx + c = 0
then the solutions are
x = (-b +/- sqrt(b^2 - 4ac))/(2a)

Examples
Solve for x:
11+2x = x^2
This is the same as
-x^2 + 2x + 11 = 0,
which we are unable to factor using integers, so we use
x=(-2 +/- sqrt(4 - 4(-1)(11)))/(2(-1)) = (-2 +/- sqrt(48))/(-2) = 1 +/- 2sqrt(3)
Note that we can approximate these with the decimal approximations x approx -2.46 and x approx 4.46. We could find these directly from a graph or a calculator.
Practice

Be sure you've gone through each step in the examples above before doing these. Once you've worked them until you're sure that you understand them, go on to the next section. There are more problems of this type in the section test at the end of the section.

Note that you can get new practice problems by clicking the "Refresh" button at the bottom of the practice set.

  1. Solve for x:
    b x ^2   +   g x   +   h     d
    Answer:   x =   and   x =
    (Enter answers, then click: . Answer message: )
  2. Solve for x:
    m ( x   +   k ) ^2     p ( x   +   k
    )
    Answer:   x =   and   x =
    (Enter answers, then click: . Answer message: )
For more practice, click: .
next page

precal: 7.3 - solving by factoring
page created: Tue Nov 26 20:55:03 2024
Comments to math-itc(at)umich(dot)edu
©2003-2007 Gavin LaRose, Pat Shure / University of Michigan Math Dept. / Regents of the University of Michigan