## Factoring Basics

### Learning Outcomes

• Identify and factor the greatest common factor of a polynomial.
• Factor a trinomial with leading coefficient 1.
• Factor by grouping.

When we studied fractions, we learned that the greatest common factor (GCF) of two numbers is the largest number that divides evenly into both numbers. For instance, $4$ is the GCF of $16$ and $20$ because it is the largest number that divides evenly into both $16$ and $20$. The GCF of polynomials works the same way: $4x$ is the GCF of $16x$ and $20{x}^{2}$ because it is the largest polynomial that divides evenly into both $16x$ and $20{x}^{2}$.

When factoring a polynomial expression, our first step is to check for a GCF. Look for the GCF of the coefficients, and then look for the GCF of the variables.

### A General Note: Greatest Common Factor

The greatest common factor (GCF) of polynomials is the largest polynomial that divides evenly into the polynomials.

### How To: Given a polynomial expression, factor out the greatest common factor

1. Identify the GCF of the coefficients.
2. Identify the GCF of the variables.
3. Combine to find the GCF of the expression.
4. Determine what the GCF needs to be multiplied by to obtain each term in the expression.
5. Write the factored expression as the product of the GCF and the sum of the terms we need to multiply by.

### Example: Factoring the Greatest Common Factor

Factor $6{x}^{3}{y}^{3}+45{x}^{2}{y}^{2}+21xy$.

### Try It

Factor $x\left({b}^{2}-a\right)+6\left({b}^{2}-a\right)$ by pulling out the GCF.

Watch this video to see more examples of how to factor the GCF from a trinomial.

## Factoring a Trinomial with Leading Coefficient 1

Although we should always begin by looking for a GCF, pulling out the GCF is not the only way that polynomial expressions can be factored. The polynomial ${x}^{2}+5x+6$ has a GCF of 1, but it can be written as the product of the factors $\left(x+2\right)$ and $\left(x+3\right)$.

Trinomials of the form ${x}^{2}+bx+c$ can be factored by finding two numbers with a product of $c$ and a sum of $b$. The trinomial ${x}^{2}+10x+16$, for example, can be factored using the numbers $2$ and $8$ because the product of these numbers is $16$ and their sum is $10$. The trinomial can be rewritten as the product of $\left(x+2\right)$ and $\left(x+8\right)$.

### A General Note: Factoring a Trinomial with Leading Coefficient 1

A trinomial of the form ${x}^{2}+bx+c$ can be written in factored form as $\left(x+p\right)\left(x+q\right)$ where $pq=c$ and $p+q=b$.

### Q & A

Can every trinomial be factored as a product of binomials?

No. Some polynomials cannot be factored. These polynomials are said to be prime.

### How To: Given a trinomial in the form ${x}^{2}+bx+c$, factor it

1. List factors of $c$.
2. Find $p$ and $q$, a pair of factors of $c$ with a sum of $b$.
3. Write the factored expression $\left(x+p\right)\left(x+q\right)$.

### Example: Factoring a Trinomial with Leading Coefficient 1

Factor ${x}^{2}+2x - 15$.

### Q & A

Does the order of the factors matter?

No. Multiplication is commutative, so the order of the factors does not matter.

### Try It

Factor ${x}^{2}-7x+6$.

## Factoring by Grouping

Trinomials with leading coefficients other than 1 are slightly more complicated to factor. For these trinomials, we can factor by grouping by dividing the x term into the sum of two terms, factoring each portion of the expression separately, and then factoring out the GCF of the entire expression. The trinomial $2{x}^{2}+5x+3$ can be rewritten as $\left(2x+3\right)\left(x+1\right)$ using this process. We begin by rewriting the original expression as $2{x}^{2}+2x+3x+3$ and then factor each portion of the expression to obtain $2x\left(x+1\right)+3\left(x+1\right)$. We then pull out the GCF of $\left(x+1\right)$ to find the factored expression.

### A General Note: Factoring by Grouping

To factor a trinomial of the form $a{x}^{2}+bx+c$ by grouping, we find two numbers with a product of $ac$ and a sum of $b$. We use these numbers to divide the $x$ term into the sum of two terms and factor each portion of the expression separately then factor out the GCF of the entire expression.

### How To: Given a trinomial in the form $a{x}^{2}+bx+c$, factor by grouping

1. List factors of $ac$.
2. Find $p$ and $q$, a pair of factors of $ac$ with a sum of $b$.
3. Rewrite the original expression as $a{x}^{2}+px+qx+c$.
4. Pull out the GCF of $a{x}^{2}+px$.
5. Pull out the GCF of $qx+c$.
6. Factor out the GCF of the expression.

### Example: Factoring a Trinomial by Grouping

Factor $5{x}^{2}+7x - 6$ by grouping.

### Try It

Factor the following.

1. $2{x}^{2}+9x+9$
2. $6{x}^{2}+x - 1$

In the next video we show another example of how to factor a trinomial by grouping.

## Contribute!

Did you have an idea for improving this content? We’d love your input.