topic badge

6.05 Factor by grouping

Factor by grouping

Exploration

Consider the polynomial expression x^4+7x^3+6x+42.

Factor out the greatest common factor for each of the following:

  • x^4+7x^3
  • 6x+42
  1. Based on your answers above, what do you think the factored form of x^4+7x^3+6x+42 could be?

When a polynomial with four terms does not have a GCF, sometimes we can group pairs of terms and factor their GCFs to factor the polynomial.

Recall the expansion of the following expression:(a+b)(x+y)=a(x+y)+b(x+y)= ax + ay + bx + byWe can reverse these steps with expressions that contain four terms by factoring in pairs. This is called factoring by grouping.

Factoring by grouping

A method for factoring an expression containing at least four terms, by grouping the terms in pairs and taking out common factors

Follow the steps shown with the example to factor by grouping:

A figure showing the steps in factoring the expression 6 x cubed minus 16 plus 4 x minus 24 x squared. Speak to your teacher for more information.

Examples

Example 1

Factor the expression 10 x^2 + 4x + 15x + 6.

Worked Solution
Create a strategy

We arrange the terms first, grouping those with common factors. We factor out the GCF on each pair and the common binomial factor afterward.

Apply the idea
\displaystyle 10 x^2 + 4x + 15x + 6\displaystyle =\displaystyle \left(10 x^2 + 4x\right)+ \left(15x + 6\right)Group based on common factors
\displaystyle =\displaystyle 2x\left(5x + 2\right)+ 3\left(5x + 2\right)Factor out each GCF \left(2x \text{ and } 3 \right)
\displaystyle =\displaystyle \left(5x + 2\right)\left(2x + 3\right)Factor out the common binomial factor

Since \left(5x + 2\right)\left(2x + 3\right) cannot be factored further, it is the final answer.

Reflect and check

We can perform a midway check that we are factoring by grouping appropriately when we factor out the GCF from each set of binomials in the step 2x\left(5x + 2\right)+ 3\left(5x + 2\right).

If we factor out the GCF at this step and the binomial factors are not equivalent, then we will want to check that we factored out the GCF correctly. If the factoring is correct, we may need to try a different approach. There may be a better way to arrange the terms from the polynomial.

Not every polynomial expression will be factorable, but we can try a few different approaches, checking our work along the way.

Example 2

Show at least two different ways we can arrange and group the polynomial 4a^2-10b+5ab-8a and factor it.

Worked Solution
Create a strategy

Determine if the polynomial has common factors between the first and second pair of terms, then factor it and rearrange the polynomial so that the first or second set of terms has a common factor, then factor it again.

Apply the idea

Write the expression as 4a^2+5ab-8a-10b and factor it.

\displaystyle 4a^2-10b+5ab-8a\displaystyle =\displaystyle 4a^{2} + 5ab - 8a - 10b Rearrange the terms
\displaystyle 4a^{2} + 5ab - 8a - 10b\displaystyle =\displaystyle \left(4a^{2} + 5ab \right)+ \left(- 8a - 10b\right)Group based on common factors
\displaystyle =\displaystyle a\left(4a+5b\right) - 2\left(4a+5b\right)Factor out the GCF \left(a \text{ and } -2 \right)
\displaystyle =\displaystyle \left(4a + 5b\right)\left(a - 2\right)Factor out the common binomial factor

Since \left(4a + 5b\right)\left(a - 2\right) cannot be factored further, it is the final answer.

Write the expression as 4a^2-8a-10b+5ab and factor it.

\displaystyle 4a^2-10b+5ab-8a\displaystyle =\displaystyle 4a^2-8a-10b+5ab Rearrange the terms
\displaystyle 4a^2-8a-10b+5ab\displaystyle =\displaystyle (4a^2-8a)+(-10b+5ab)Group based on common factors
\displaystyle =\displaystyle 4a(a-2)+5b(-2+a)Factor out the GCF \left(4a \text{ and } 5b \right)
\displaystyle =\displaystyle (a-2)(4a+5b)Factor out the common binomial factor

Since (a-2)(4a+5b) cannot be factored further, it is the final answer.

Reflect and check

Alternatively, we can group 4a^{2} \text{ and } - 8a and 5ab \text{ and } - 10b together and get the same answer.

\displaystyle 4a^{2} + 5ab - 8a - 10b\displaystyle =\displaystyle \left(4a^{2} - 8a \right)+ \left(5ab - 10b\right)Group based on common factors
\displaystyle =\displaystyle 4a\left(a- 2\right) + 5b\left(a-2\right)Factor out the GCF \left(4a \text{ and } 5b \right)
\displaystyle =\displaystyle \left(a - 2\right)\left(4a + 5b\right)Factor out the common binomial factor

We can check the answer by multiplying the factored form \left(4a + 5b\right)\left(a - 2\right).

\displaystyle \left(4a + 5b\right)\left(a - 2\right)\displaystyle =\displaystyle a\left(4a + 5b\right) -2\left(4a + 5b\right)Distributive property
\displaystyle =\displaystyle 4a^{2} + 5ab - 8a- 10bDistributive property
Idea summary

Follow these steps when factoring by grouping:

  1. Factor out the GCF from the expression, if possible
  2. Arrange the terms so that the first two have a common factor and the last two have a common factor, if possible
  3. Factor out the GCF for each pair of terms
  4. Factor out the common binomial expression
  5. Confirm that the binomial factors cannot be factored further, otherwise continue factoring

Outcomes

A.EO.2

The student will perform operations on and factor polynomial expressions in one variable.

A.EO.2c

Factor completely first- and second-degree polynomials in one variable with integral coefficients. After factoring out the greatest common factor (GCF), leading coefficients should have no more than four factors.

What is Mathspace

About Mathspace