freeCodeCamp/guide/english/mathematics/algebra/polynomial-factorization/index.md

1.7 KiB

title
Polynomial Factorization

Polynomial Factorization

Factoring polynomials is a lot like factoring regular numbers. The goal is to find numbers or polynomials that divide out evenly from the polynomial. In contrast to factoring, you can simplify an expression like so:

7(x+4) = 7x + 28

You can think of factoring as doing the opposite, like in this example where we first find the greatest common factor (GCF) of the terms (9) and then rewrite the polyynomial:

9x^2 + 72 = 9(x^2 + 8)

Let's do some more examples.

2x - 10

You can factor the first term in to (2)(x) and the second in to (-5)(2). The only common factor is 2. Move the common factor out to the beginning of our rewritten polynomial.

2x - 10 = 2(

When you divide 2 out of 2x you're left with x

2x - 10 = 2(x

When you divide 2 out of -10 you're left with -5.

2x - 10 = 2(x - 5)

Common Mistakes

x^6y^5 + xy = xy(x^5y^4 + 1)

When factoring, often times you'll end up with a division that results in 1. Make sure to include it in the parentheses.