Factor Second Degree Polynomials (Quadratic Equations)

A polynomial contains a variable (x) raised to a power, known as a degree,[1] and several terms and/or constants. To factor a polynomial means to break the expression down into smaller expressions that are multiplied together. These skills are Algebra I and above, and may be difficult to understand if your math skills are not at this level.

Steps

Starting Out

  1. Set up your expression. The standard format for the quadratic equation is:

    ax2 + bx + c = 0

    Start by ordering the terms in your equation from highest to lowest power, just like this standard format. For example, take:

    6 + 6x2 + 13x = 0

    We will re-order this expression so it's easier to work with by simply moving the terms around:

    6x2 + 13x + 6 = 0
  2. Find the factored form using one of the methods below. Factoring the polynomial will result in two smaller expressions which can be multiplied to produce the original polynomial:[2]

    6x2 + 13x + 6 = (2x + 3)(3x + 2)

    In this example, (2x +3) and (3x + 2) are factors of the original expression, 6x2 + 13x + 6.
  3. Check your work! Multiply the factors you identified. Then combine like terms and you're done. Start with:

    (2x + 3)(3x + 2)

    Let's test it, multiplying the terms using FOIL (first - outer - inner - last), obtaining:

    6x2 + 4x + 9x + 6

    From here, we can add 4x and 9x together since they're like terms. We know our factors are correct because we get the equation we started with:

    6x2 + 13x + 6

Trial and Error

If you have a fairly simple polynomial, you might be able to figure out the factors yourself just from sight. For instance, after practice, many mathematicians are able to know that the expression 4x2 + 4x + 1 has the factors (2x + 1) and (2x + 1) just from having seen it so much. (This will obviously not be as easy with more complicated polynomials.) For this example, let's use a less common expression:
3x2 + 2x - 8
  1. List the factors of the a term and the c term. Using the expression format ax2 + bx + c = 0, identify the a and c terms and list out what factors they have. For 3x2 + 2x - 8, that means:

    a = 3 and has one set of factors: 1 * 3

    c = -8 and has four sets of factors: -2 * 4, -4 * 2, -8 * 1, and -1 * 8.
  2. Write down two sets of parentheses with empty spaces. You'll be filling in the constants for each expression into the space you've made:

    (  x    )(  x    )
  3. Fill the spaces in front of the x's with a pair of possible factors of the a value. For the a term in our example, 3x2, there is only one possibility for our example:

    (3x   )(1x   )
  4. Fill in the two spaces after the x's with a pair of factors for the constants. Let's say we chose 8 and 1. Write it in:

    (3x  8)(x  1)
  5. Decide what signs (plus or minus) should be between the x variables and the numbers. Depending on the signs in the original expression, it's possible to figure out what the signs for the constants should be. Let's call the two constants for our two factors h and k:

    If ax2 + bx + c then (x + h)(x + k)

    If ax2 - bx - c or ax2 + bx - c then (x - h)(x + k)

    If ax2 - bx + c then (x - h)(x - k)

    For our example, 3x2 + 2x - 8, the signs must be:(x - h)(x + k), giving us the two factors:

    (3x + 8) and (x - 1)
  6. Test your choice using first-outer-inner-last (FOIL) multiplication. A quick first test to run is to see if the middle term is at least the correct value. If it is not, you may have chosen the wrong c factors. Let's test our answer:

    (3x + 8)(x - 1)

    By multiplication, we arrive at:

    3x2 - 3x + 8x - 8

    Simplifying this expression by adding the like terms (-3x) and (8x), we get:

    3x2 - 3x + 8x - 8 = 3x2 + 5x - 8

    We know now that we must have identified the wrong factors:

    3x2 + 5x - 8 ≠ 3x2 + 2x - 8
  7. Swap out your choices if necessary. In our example, let's try 2 and 4 instead of 1 and 8:

    (3x + 2)(x - 4)

    Now our c term is a -8, but our outside/inside product (3x * -4) and (2 * x) is -12x and 2x, which will not combine to make the correct b term of +2x.

    -12x + 2x = 10x

    10x ≠ 2x
  8. Reverse the order if necessary. Let's try moving the 2 and 4 around:

    (3x + 4)(x - 2)

    Now, our c term (4 * 2 = 8) is still okay, but the outside/inside products are -6x and 4x. If we combine them:

    -6x + 4x = 2x

    2x ≠ -2x



    We're pretty close to the 2x we were aiming for, but it's the wrong sign.
  9. Double-check your signs if necessary. We're going to stick with the same order, but swap which one has the minus:

    (3x - 4)(x + 2)

    Now the c term is still okay, and the outside/inside products are now (6x) and (-4x). Since:

    6x - 4x = 2x

    2x = 2x


    We can now recognize the positive 2x from the original problem. These must be the correct factors.

Decomposition

This method will identify all possible factors of the a and c terms and use them to figure out what the factors should be. If the numbers are very large or other guesswork-type methods seem like they'd take too long, use this method.[3] Let's use the example:

6x2 + 13x + 6
  1. Multiply the a term by the c term. In this example, a is 6 and c is also 6.

    6 * 6 = 36
  2. Get the b term by factoring and testing. We're looking for two numbers that are factors of the a * c product we identified and also add up to the b term (13).

    4 * 9 = 36

    4 + 9 = 13
  3. Substitute the two numbers you get into your equation as the sum of the b term. Let's use k and h to represent the two numbers we got, 4 and 9:

    ax2 + kx + hx + c

    6x2 + 4x + 9x + 6
  4. Factor the polynomial by grouping. Organize the equation so that you can factor out the greatest common factor of the first two terms and the last two terms. Both factored groups should be the same. Add the Greatest Common Factors together and enclose them in parentheses next to the factored group; the result will be your two factors:[4]

    6x2 + 4x + 9x + 6

    2x(3x + 2) + 3(3x + 2)

    (2x + 3)(3x + 2)

Triple Play

Similar to the decomposition method, the 'triple play' method[5] examines possible factors of the product of the a and c terms and uses them to figure out what b must be. Consider for this example the equation:

8x2 + 10x + 2
  1. Multiply the a term by the c term. As with the decomposition method, this is going to help us identify candidates for the b term. In this example, a is 8 and c is 2.

    8 * 2 = 16
  2. Find two numbers with this number as a product and with a sum equal to the b term. This step is identical to the decomposition method - we're testing and rejecting candidates for the constants. The product of the a and c terms is 16, and the c term is 10:

    2 * 8 = 16

    8 + 2 = 10
  3. Take these two numbers and test substitute them into the 'triple play' formula. Take our two numbers from the previous step - let's call them h and k - and put them into this expression:

    ((ax + h)(ax + k))/ a


    Here, we'd get:

    ((8x + 8)(8x + 2)) / 8
  4. Look to see which one of the two terms in the numerator is evenly divisible by a. In this example, we're seeing if (8x + 8) or (8x + 2) can be divided by 8. (8x + 8) is divisible by 8, so we'll divide this term by a and leave the other one as is.

    (8x + 8) = 8(x + 1)

    The term we're saving out of here is what's left after dividing by the a term:

    (x + 1)
  5. Take the greatest common factor (GCF) out of either or both terms, if any. In this example, the second term, has a GCF of 2, since 8x + 2 = 2(4x + 1). Combine this answer with the term you identified in the previous step. These are your equation's factors.

    2(x + 1)(4x + 1)

Difference of Two Squares

Some coefficients in polynomials may be identified as a 'squares', or the product of two numbers. Identifying these squares allows you to factor some polynomials much faster.[6] Consider the equation:
27x2 - 12 = 0
  1. Factor out a greatest common factor if possible. In this case, we can see that 27 and 12 are both divisible by 3, so we'll separate that out:

    27x2 - 12 = 3(9x2 - 4)
  2. Identify if your equation's coefficients are square numbers. To use this method you should be able to take the square root of the terms evenly. (Notice that we'll have left out the negative signs - since these numbers are squares they may be products of positive or two negative numbers)

    9x2 = 3x * 3x and 4 = 2 * 2
  3. Using the square roots you have identified, write out the factors. We'll take the a and c values from our step above - a = 9 and c = 4, then find their square roots - √a = 3 and √c = 2. These are the coefficients for the factor expressions:

    27x2 - 12 = 3(9x2 - 4) = 3(3x + 2)(3x - 2)

Quadratic Formula

If all else fails and the equation will not factor evenly use the quadratic formula.[7] Consider the example:

x2 + 4x + 1 = 0
  1. Plug the corresponding values into the quadratic formula:

    x = -b ± √(b2 - 4ac)
          ---------------------
                    2a

    We obtain the expression:

    x = -4 ± √(42 - 4•1•1) / 2
  2. Solve for x. You should get two x values. As shown above, we obtain two answers:


    x = -2 + √(3) or x = -2 - √(3)
  3. Use your value for x to figure out the factors. Plug the x values you obtained into two polynomial expressions as the constants. These will be your factors. If we call our two answers h and k, we're writing two factors like so:

    (x - h)(x - k)

    In this case, our final answer is:

    (x - (-2 + √(3))(x - (-2 - √(3)) = (x + 2 - √(3))(x + 2 + √(3))

Using a Calculator

If you are allowed to use one, a graphic calculator makes the factoring process much easier, especially on standardized tests. These instructions are for a TI graphing calculator. We will use the example equation:
y = x2 − x − 2
  1. Enter your equation into the calculator. You will use the equation solver, also known as the [Y = ] screen.
  2. Graph the equation using your calculator. Once you've entered your equation, press [GRAPH] - you should see a smooth arc representing your equation (and it will be an arc since we are dealing with polynomials).
  3. Locate where the arc intersects the x axis. Since polynomial equations are traditionally written as ax2 + bx + c = 0, these are the two x values that cause the expression to equal zero:

    (-1, 0), (2, 0)

    x = -1, x = 2
    • If you cannot identify where your graph crosses the x axis by sight, press [2nd] and then [TRACE]. Press [2] or select "zero". Slide the cursor to the left of an intersect and press [ENTER]. Slide the cursor to the right of an intersect and press [ENTER]. Slide the cursor as close as possible to the intersect and press [ENTER]. The calculator will find the x value. Do this for the other intersect also.
  4. Plug the x values obtained in the previous into two factorial expressions. If we term our two x-values h and k, the expression we will be using is:

    (x - h)(x - k) = 0

    Thus, our two factors must be:

    (x - (-1))(x - 2) = (x + 1)(x - 2)

Tips

  • If you have a TI-84 calculator (graphing) there is a program named SOLVER that will solve a quadratic equation. It will also solve any other degree polynomial.
  • If a term does not exist the coefficient is 0. It will be helpful to rewrite the equation if this occurs, e.g. x2 + 6 = x2 + 0x + 6.
  • If you factored your polynomial using the quadratic formula and got answers with radicals, you may want to convert the x values to fractions in order to check them.
  • If a term has no coefficient as written, the coefficient is 1, i.e. x2 = 1x2.
  • After enough practice, eventually you will be able to factor polynomials in your head. Until then, make sure to write it out.
  • To find the GCF for the sum and product, write the factors of the product to the right of the question in a t table.

Warnings

  • If you are learning this concept in a math class, pay attention to what your teacher advises and do not just use your favorite method. Your teacher may ask you to use a specific method on the test or not allow graphing calculators.

Things You'll Need

  • Pencil
  • Paper
  • Quadratic equation (also called a 2nd degree polynomial)
  • Graphing calculator (optional)

Related Articles

References

Quick Summary