Lesson Video: Factoring by Grouping | Nagwa Lesson Video: Factoring by Grouping | Nagwa

Lesson Video: Factoring by Grouping Mathematics • Second Year of Preparatory School

In this video, we will learn how to factor expressions by grouping.

13:56

Video Transcript

In this video, we will learn how to factor expressions by grouping.

Let’s begin by revisiting the idea of factoring an expression by identifying its highest common factor. Looking at the expression three 𝑥 plus nine 𝑦 minus six, we see that each term is divisible by three. This means that three is a common factor of the expression, and we can take this outside of our parentheses. Three 𝑥 plus nine 𝑦 minus six can be rewritten as three multiplied by 𝑥 plus three 𝑦 minus two. Since the terms inside the parentheses have no common factors apart from one, we can conclude that three is the highest common factor and the expression is now in its most simplified form.

Let’s now consider a second example where the entire expression does not have a common factor apart from one. We can therefore begin by grouping pairs of terms. The terms two and two 𝑥 have a common factor of two. So we can rewrite this as two multiplied by one plus 𝑥. The terms 𝑦 and 𝑥𝑦 have a common factor of 𝑦. Therefore, this can be rewritten as 𝑦 multiplied by one plus 𝑥. We can therefore rewrite the original expression as shown.

At this stage, we notice that our two terms have a common factor of one plus 𝑥. Factoring this out, we can rewrite the expression as one plus 𝑥 multiplied by two plus 𝑦. The expression two plus two 𝑥 plus 𝑦 plus 𝑥𝑦 is therefore equal to one plus 𝑥 multiplied by two plus 𝑦. We could check this answer by distributing our parentheses using the FOIL method. We will now generalize the method used in this example to help us factor by grouping.

If we have an expression with an even number of terms that did not all share a common factor, then in certain situations we can apply the following approach to fully factor the expression. Firstly, we group the terms into pairs that each share a common factor. Secondly, we factor out the common factor from each pair. Finally, we completely factor the expression by identifying a common factor in the factored terms.

Let’s now consider another example where we can apply this method.

Factorize fully 𝑧𝑏 minus 𝑧𝑥 plus 𝑏 minus 𝑥.

The expression in this question does not have a common factor greater than one, so we cannot directly factor all of it. However, we can factor it by grouping pairs of terms with common factors. For example, the first and third terms have a common factor of 𝑏, and the second and fourth terms have a common factor of negative 𝑥. Rewriting the expression as shown, we begin by taking out these common factors. 𝑧𝑏 plus 𝑏 can be rewritten as 𝑏 multiplied by 𝑧 plus one, and negative 𝑧𝑥 minus 𝑥 can be rewritten as negative 𝑥 multiplied by 𝑧 plus one.

We now have an expression where the term in the parentheses, 𝑧 plus one, is common. Factoring this out gives us 𝑧 plus one multiplied by 𝑏 minus 𝑥. And as this expression cannot be factored further, it is in its fully simplified form. The expression 𝑧𝑏 minus 𝑧𝑥 plus 𝑏 minus 𝑥 factorized fully is 𝑧 plus one multiplied by 𝑏 minus 𝑥.

It is worth noting that we could have grouped different pairs of terms in the original expression. For example, the first two terms in the initial expression have a common factor of 𝑧. So we can rewrite these as 𝑧 multiplied by 𝑏 minus 𝑥. The third and fourth terms have a common factor of one. So we can rewrite 𝑏 minus 𝑥 as one multiplied by 𝑏 minus 𝑥. At this stage, since 𝑏 minus 𝑥 is common, we can factor this out, giving us 𝑏 minus 𝑥 multiplied by 𝑧 plus one. And since multiplication is commutative, this is the same expression as we found using the first method.

We will now consider a more complicated example of this type.

Factorize fully nine 𝑥𝑚 minus four 𝑙𝑧 plus four 𝑙𝑥 minus nine 𝑚𝑧.

In the expression given, there is no common factor among all four terms apart from one. And we will therefore factorize the expression by grouping pairs of terms. If we consider the first and last terms, we note that they have a common factor of nine 𝑚. So we can factor this out. Nine 𝑥𝑚 minus nine 𝑚𝑧 can be rewritten as nine 𝑚 multiplied by 𝑥 minus 𝑧. We can use the same method when grouping the second and third terms. These have a common factor of four 𝑙. Negative four 𝑙𝑧 plus four 𝑙𝑥 can be rewritten as four 𝑙 multiplied by negative 𝑧 plus 𝑥. Altering the order of the terms in the parentheses, we have four 𝑙 multiplied by 𝑥 minus 𝑧.

We now have an equivalent form to the original expression. At this stage, our two terms have a common factor of 𝑥 minus 𝑧. Factoring this out, we have 𝑥 minus 𝑧 multiplied by nine 𝑚 plus four 𝑙. This is the fully factored form of nine 𝑥𝑚 minus four 𝑙𝑧 plus four 𝑙𝑥 minus nine 𝑚𝑧.

Whilst it is not required in this question, we could check our answer by distributing the parentheses using the FOIL method. Multiplying the first terms gives us nine 𝑥𝑚. Multiplying the outer terms gives us four 𝑙𝑥. The inner terms have a product of negative nine 𝑚𝑧. And the last terms multiply to give us negative four 𝑙𝑧. This is the same expression as in the question.

So far, in this video, we have considered expressions where no variable has been raised to a power. Sometimes, we may also be able to factor quadratic or cubic expressions by grouping terms that we can factor. Let’s now consider some specific situations where this is the case.

Factorize fully 𝑥 cubed minus two 𝑥 squared plus five 𝑥 minus 10.

The first thing we notice is that the expression is cubic since the largest exponent of a variable is three. Normally, there would be no easy way to factor this expression fully. But we notice there is a common ratio between the coefficients of the first two terms and last two terms. In the first two terms, this ratio is one to negative two. And in the last two terms, the ratio is five to negative 10, which simplifies to one to negative two. This suggests that we might be able to factor the expression by grouping the first two and last two terms together.

The highest common factor of 𝑥 cubed and negative two 𝑥 squared is 𝑥 squared. And as such, factoring 𝑥 cubed minus two 𝑥 squared gives us 𝑥 squared multiplied by 𝑥 minus two. The highest common factor of five 𝑥 and negative 10 is five. And we can rewrite five 𝑥 minus 10 as five multiplied by 𝑥 minus two. This means that we can rewrite the original expression as shown.

We now have two terms with a common factor of 𝑥 minus two. Factoring this out gives us 𝑥 minus two multiplied by 𝑥 squared plus five. As multiplication is commutative, we can rewrite this as 𝑥 squared plus five multiplied by 𝑥 minus two, which is the fully factorized form of 𝑥 cubed minus two 𝑥 squared plus five 𝑥 minus 10. It is worth noting that we can check this answer by distributing our parentheses using the FOIL method, and doing so would give us the expression in the question.

Before looking at one final example, let’s recall two special types of cubic expressions. Firstly, we recall the factored form of the sum of two cubes 𝑎 cubed plus 𝑏 cubed. This is equal to 𝑎 plus 𝑏 multiplied by 𝑎 squared minus 𝑎𝑏 plus 𝑏 squared. We also recall the factored form of the difference of two cubes. 𝑎 cubed minus 𝑏 cubed is equal to 𝑎 minus 𝑏 multiplied by 𝑎 squared plus 𝑎𝑏 plus 𝑏 squared. In our final example, part of our expression can be factored using one of these formulae.

Factorize fully 𝑎 cubed plus 𝑏 cubed plus 𝑎 plus 𝑏.

In order to factorize this expression, we begin by noticing that the first two terms are the sum of two cubes. We recall that 𝑎 cubed plus 𝑏 cubed is equal to 𝑎 plus 𝑏 multiplied by 𝑎 squared minus 𝑎𝑏 plus 𝑏 squared. This means that we can rewrite the expression 𝑎 cubed plus 𝑏 cubed plus 𝑎 plus 𝑏 as shown. Noting that 𝑎 plus 𝑏 can be rewritten as one multiplied by 𝑎 plus 𝑏, it is clear that our two terms have a common factor of 𝑎 plus 𝑏. Factoring this out gives us 𝑎 plus 𝑏 multiplied by 𝑎 squared minus 𝑎𝑏 plus 𝑏 squared plus one.

And as the expression in the second parentheses cannot be factored further, we have the fully factorized form of 𝑎 cubed plus 𝑏 cubed plus 𝑎 plus 𝑏. This is equal to 𝑎 plus 𝑏 multiplied by 𝑎 squared minus 𝑎𝑏 plus 𝑏 squared plus one. And we could check this answer by redistributing the parentheses.

We will now finish this video by summarizing the key points. We saw in this video that we can factor expressions that lack a common factor by grouping them into pairs that share common factors. We also saw that we can factor cubic expressions that have a shared ratio between the coefficients of terms using factoring by grouping. Finally, we saw that if we can apply a factoring formula to part of an expression — such as the sum or difference of cubes, the difference of squares, or perfect square trinomials — then we can group that expression and factor it separately.

Join Nagwa Classes

Attend live sessions on Nagwa Classes to boost your learning with guidance and advice from an expert teacher!

  • Interactive Sessions
  • Chat & Messaging
  • Realistic Exam Questions

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy