Algebra I & II

Factoring Rules Cheat Sheet

Look for a common factor first. Use the number and shape of the remaining terms to choose a square, cube, trinomial or grouping pattern.

On this page

Find a formula

Open a formula for its definition and a worked example.

Pull out a common factor

  • Divide every term by the shared factorab + ac = a(b + c), −ax − ay = −a(x + y)Check for a shared factor first. Factor out a negative when it makes the leading term inside positive.

    What it does

    The greatest common factor is shared by every term. Pulling it out reverses distribution, and a negative common factor can make the remaining leading coefficient positive.

    Worked example

    Factor −18x² − 12x.

    1. Both terms contain 6x. Choose −6x to make the leading term inside positive.
    2. Divide term by term to get −6x(3x + 2).
    Link to this example
  • Use the smallest shared power of each variable8x³y² + 12x²y = 4x²y(2xy + 3)

    What it does

    For a common monomial factor, use the greatest common divisor of coefficients and the lowest exponent of each variable shared by every term.

    Worked example

    Factor 15x⁴y³ + 20x²y⁵.

    1. The coefficient gcd is 5 and the lowest powers are x² and y³.
    2. Divide each term by 5x²y³ to get 5x²y³(3x² + 4y²).
    Link to this example

Factor two squared terms with a minus

  • Use a sum times a differenceu² − v² = (u − v)(u + v). For example x² − 16 = (x − 4)(x + 4), and x² − y² = (x − y)(x + y).

    What it does

    A difference of squares is the product of a sum and a difference because the cross terms cancel.

    Worked example

    Factor 25m² − 49n².

    1. The squared terms are (5m)² and (7n)².
    2. Use (5m − 7n)(5m + 7n).
    Link to this example
  • Check the sign and coefficient fieldWith independent variables u and v, u² + v² cannot be written as a product of two nonconstant real polynomials.Over the complex numbers it equals (u + iv)(u − iv).

    What it does

    A sum of two squares in independent variables has no factorization into nonconstant real polynomials. With complex coefficients the imaginary unit supplies conjugate factors.

    Worked example

    Factor x² + 9 as far as possible over the reals and over the complex numbers.

    1. There are no real zeros, so the quadratic has no real linear factors.
    2. The complex roots ±3i give (x − 3i)(x + 3i).
    Link to this example

Recognize a squared binomial

  • Check the middle term against the square rootsu² ± 2uv + v² = (u ± v)²The outside terms must be squares, and the middle term must be twice the product of their roots with the appropriate sign.

    What it does

    A perfect-square trinomial has two squared outer terms and a middle term equal to twice their signed product. Its sign chooses plus or minus inside the square.

    Worked example

    Factor 4x² − 20x + 25 and the version with +20x.

    1. The square roots are 2x and 5, and twice their product is 20x.
    2. The minus version is (2x − 5)² and the plus version is (2x + 5)².
    Link to this example
  • Test a positive middle termx² + 10x + 25 = (x + 5)²

    What it does

    A positive middle term can match the expansion of a binomial sum squared when it is exactly twice the product of the outer roots.

    Worked example

    Factor x² + 16x + 64.

    1. The outside roots are x and 8. Their double product is 16x.
    2. The trinomial is (x + 8)².
    Link to this example

Factor a quadratic with leading coefficient one

  • Choose the two constant termsx² + bx + c = (x + p)(x + q) when p + q = b and pq = c

    What it does

    For a monic quadratic, the constants of two linear factors multiply to the constant term and add to the coefficient of x.

    Worked example

    Factor x² − 11x + 24.

    1. Two numbers with product 24 and sum −11 are −3 and −8.
    2. Use (x − 3)(x − 8).
    Link to this example
  • Read signs from the constant termx² + 7x + 12 = (x + 3)(x + 4), x² + 2x − 15 = (x + 5)(x − 3)A negative constant needs opposite signs.

    What it does

    A positive constant term requires two factor constants with matching signs. A negative constant requires opposite signs.

    Worked example

    Factor x² + x − 12 and x² + 8x + 15.

    1. For the first, 4 and −3 multiply to −12 and add to 1.
    2. For the second, 3 and 5 multiply to 15 and add to 8. The results are (x + 4)(x − 3) and (x + 3)(x + 5).
    Link to this example
See Quadratic Formula Sheet

Factor a quadratic with a non-unit leading coefficient

  • Split the middle coefficientFor ax² + bx + c, find m and n with mn = ac and m + n = b. Rewrite bx as mx + nx and group.For integer factoring, stop and choose another method if no integer pair exists.

    What it does

    For integer factoring of ax² + bx + c, split b into two numbers whose product is ac. Then factor the resulting groups.

    Worked example

    Factor 6x² + 11x + 3.

    1. Since ac = 18, use 9 and 2 to split the middle term.
    2. Group 6x² + 9x + 2x + 3 as 3x(2x + 3) + 1(2x + 3), giving (3x + 1)(2x + 3).
    Link to this example
  • Factor by splitting, then expand to verify3x² + 14x + 8 = 3x² + 12x + 2x + 8 = (3x + 2)(x + 4)The cross terms sum to 14x and the constants multiply to 8.

    What it does

    After factoring by splitting the middle term, expand the resulting binomials to verify all three coefficients.

    Worked example

    Factor 4x² + 12x + 5 and check the result.

    1. Split 12x into 10x + 2x and group to get 2x(2x + 5) + (2x + 5).
    2. Multiply (2x + 1)(2x + 5). The cross terms 10x + 2x and constant 5 verify the result.
    Link to this example

Find the same binomial in two groups

  • Factor once inside each pairax + ay + bx + by = a(x + y) + b(x + y) = (a + b)(x + y)

    What it does

    Grouping works when two groups produce a common factor after each group’s local factor is removed.

    Worked example

    Factor 3ax − 6a + 5x − 10.

    1. Group the first two and last two terms as 3a(x − 2) + 5(x − 2).
    2. Factor the shared x − 2 to get (3a + 5)(x − 2).
    Link to this example
  • Group by matching remaindersx³ + 4x² + 5x + 20 = x²(x + 4) + 5(x + 4) = (x² + 5)(x + 4)

    What it does

    For some cubics, grouping pairs by degree exposes the same binomial in both groups.

    Worked example

    Factor x³ − 3x² + 2x − 6.

    1. Write x²(x − 3) + 2(x − 3).
    2. The common factor gives (x² + 2)(x − 3).
    Link to this example

Factor a pair of cubes

  • Keep the original sign in the linear factoru³ ± v³ = (u ± v)(u² ∓ uv + v²)Use the opposite sign for the middle term of the quadratic and a plus sign for its last term.

    What it does

    A cube pair factors into a binomial with the original sign and a quadratic with the opposite middle sign and a positive last term.

    Worked example

    Factor x³ − 125 and x³ + 125.

    1. Use 125 = 5³ to select linear factors x − 5 and x + 5.
    2. The quadratic factors are x² + 5x + 25 and x² − 5x + 25 respectively.
    Link to this example
  • Recognize numerical cubesx³ + 27 = (x + 3)(x² − 3x + 9), 64 − y³ = (4 − y)(16 + 4y + y²)

    What it does

    Numerical cubes can pair with a variable cube even when the numeric term appears first. Keep the order of the terms when factoring a difference.

    Worked example

    Factor 8 + z³ and 216 − z³.

    1. Read 8 = 2³ and 216 = 6³.
    2. Use (2 + z)(4 − 2z + z²) and (6 − z)(36 + 6z + z²).
    Link to this example

Reduce a higher degree to a simpler pattern

  • Apply the difference of squares twiceu⁴ − v⁴ = (u² + v²)(u + v)(u − v)

    What it does

    A difference of fourth powers first factors as a difference of squared quantities. Its difference factor is itself another difference of squares.

    Worked example

    Factor x⁴ − 81 over the reals.

    1. Use 81 = 3⁴ to get (x² − 9)(x² + 9).
    2. Factor x² − 9 again to obtain (x − 3)(x + 3)(x² + 9).
    Link to this example
  • Treat x² as a temporary variablex⁴ + 7x² + 10 = (x² + 2)(x² + 5)

    What it does

    When a quartic has powers x⁴, x² and a constant, substituting a temporary variable for x² turns it into a quadratic.

    Worked example

    Factor x⁴ − 13x² + 36.

    1. Let u = x². Then u² − 13u + 36 = (u − 4)(u − 9).
    2. Substitute back and factor both square differences to get (x − 2)(x + 2)(x − 3)(x + 3).
    Link to this example
  • Use the geometric factor for differences of powersun − vn = (u − v)(un−1 + un−2v + … + vn−1)For an odd positive integer n, substituting −v gives the corresponding sum factorization.

    What it does

    A positive integer power difference always contains the factor u − v. The remaining polynomial is the sum of all descending u powers with matching ascending v powers.

    Worked example

    Factor x⁵ − 32 using the difference-of-powers identity.

    1. Write 32 = 2⁵ and take out the factor x − 2.
    2. The second factor is x⁴ + 2x³ + 4x² + 8x + 16.
    Link to this example

Choose a factoring method

  • Simplify the expression before choosing a patternRemove any shared factor and count the remaining terms.

    What it does

    Removing a common factor first can expose a simpler expression. Counting the remaining terms helps choose its factorization pattern.

    Worked example

    Choose a method for 6x³ − 24x.

    1. Factor out 6x to get 6x(x² − 4).
    2. The two remaining terms form a square difference, giving 6x(x − 2)(x + 2).
    Link to this example
  • Use the shape of the remaining expressionTwo terms → square difference or cube pair. Three terms → binomial square or quadratic. Four terms → try grouping.

    What it does

    After taking out a shared factor, use term count as a clue. Two terms can hide square or cube patterns, three may form a quadratic, and four may permit grouping.

    Worked example

    Choose a method for y² − 49, y² + 9y + 20 and y³ + 2y² + 3y + 6.

    1. Use a square difference for (y − 7)(y + 7), and a monic quadratic for (y + 4)(y + 5).
    2. Group the cubic as y²(y + 2) + 3(y + 2), giving (y² + 3)(y + 2).
    Link to this example
  • Inspect the factors and check the resultRepeat on any factor that still splits over the chosen coefficient field. Expand to check.

    What it does

    A first split may leave factors that split again. Continue in the chosen coefficient field, then expand to check.

    Worked example

    Factor x⁴ − 16 completely over the reals and verify.

    1. Split as (x² − 4)(x² + 4), then split the first factor as (x − 2)(x + 2).
    2. The second quadratic has no real roots. Multiplying (x² − 4)(x² + 4) recovers x⁴ − 16.
    Link to this example

Preview the printable

Download the compact sheet for a quick review, or print the complete formula list from this page.

Practice these skills

Related references

Sources and review

Math Sheet prepares original print materials. See how we check formulas and printouts.

Browse all formula sheets →