Lesson Video: Factoring Algebraic Expressions Mathematics

In this video, we will learn how to write algebraic expressions as a product of irreducible factors.

20:43

Video Transcript

In this video, we will learn how to write algebraic expressions as a product of irreducible factors.

We’ll begin with the understanding that factoring an algebraic expression is the reverse process of expanding a product of algebraic factors. So we can use the process of expanding in reverse to factor many algebraic expressions. For example, we can expand π‘₯ times π‘₯ plus two by distributing the factor of π‘₯ as follows. First, we take the product of π‘₯ and π‘₯ to get the first term. Then, we take the product of π‘₯ and two to get the second term.

By simplifying this expression, we obtain π‘₯ squared plus two π‘₯. If we write this process in reverse, we have π‘₯ squared plus two π‘₯ equals π‘₯ times π‘₯ plus π‘₯ times two equals π‘₯ times π‘₯ plus two. Starting with π‘₯ squared plus two π‘₯, we note that both terms share a factor of π‘₯. Then, we take this shared factor out from each term to get π‘₯ times π‘₯ plus two. These are the irreducible factors of π‘₯ squared plus two π‘₯. We can follow this same process to factor any algebraic expression in which every term shares a common factor.

Let’s clear some space to factor a multivariable expression, four π‘₯𝑦 plus two π‘₯ squared 𝑦 minus six π‘₯. We want to check for common factors of all three terms, which we can start doing by checking for a common constant factor. We see that four, two, and negative six all share a common factor of two. In fact, this is the greatest common factor of the three coefficients.

Next, we want to also check for common factors of variables. We are looking for nonzero powers of π‘₯ and 𝑦 in each term. We note that all three terms contain a nonzero power of π‘₯. But only the first two terms contain a nonzero power of 𝑦. We cannot take out more than the lowest power as a factor. So the greatest shared factor of a power of π‘₯ is just π‘₯. There is no nonzero power of 𝑦 that is common to all three terms.

Altogether, we find that the common factors are two and π‘₯, which we multiply to give two π‘₯. This is the greatest common factor of the three terms. We know that we’ve found the GCF when we cannot take out any further common factors.

We want to take the factor of two π‘₯ out of the expression. This is done separately for each term. Four π‘₯𝑦 factors as two π‘₯ times two 𝑦. Two π‘₯ squared 𝑦 factors as two π‘₯ times π‘₯𝑦. And negative six π‘₯ factors as two π‘₯ times negative three. What remains of each term after dividing by two π‘₯ is placed in parentheses. Thus, we factor the original expression to get two π‘₯ times two 𝑦 plus π‘₯𝑦 minus three. Since factoring is the reverse of expanding a product, we may check our factorization by distributing the GCF into the parentheses. In our next example, we’ll follow this process to factor an algebraic expression by identifying the greatest common factor of its terms.

Factorize 12π‘₯ cubed 𝑦 squared minus eight π‘₯𝑦 cubed fully.

To factor this expression, we need to find the greatest common factor of the constant coefficients and each variable separately. Let’s start with the coefficients. In this case, we want to find the greatest common factor of 12 and negative eight. We can see that 12 equals four times three and negative eight equals four times negative two. And since three and negative two share no common factors other than one, we can say that four is the greatest common factor of the coefficients.

Let’s now check each term for factors of powers of π‘₯ and 𝑦. We know that we cannot take out more than the lowest power of each variable in common to both terms. We see that both terms have a power of π‘₯. Since the lowest power of π‘₯ is one, we know that the greatest common factor of a power of π‘₯ is just π‘₯. As for 𝑦, we see that both terms have a power of 𝑦 and that the lowest power of 𝑦 is 𝑦 squared. Therefore, the greatest shared factor of a power of 𝑦 is 𝑦 squared.

Finally, we can multiply the four, π‘₯, and 𝑦 squared together to find the greatest common factor of the terms. Now we’ll factor four π‘₯𝑦 squared from each term separately. For the first term, we have four π‘₯𝑦 squared times three π‘₯ squared. For the second term, we have four π‘₯𝑦 squared times negative two 𝑦. This allows us to take out the factor of four π‘₯𝑦 squared as follows, which means the full factorization of 12π‘₯ cubed 𝑦 squared minus eight π‘₯𝑦 cubed is four π‘₯𝑦 squared times three π‘₯ squared minus two 𝑦.

Next, we’ll examine the process of expanding the product of two linear factors to help us understand the reverse process of factoring a quadratic expression.

Let’s begin with an example of expanding two linear factors. Then, we’ll reverse the process. For example, if we expand the product of two π‘₯ plus three and π‘₯ plus two, we get π‘₯ times two π‘₯ plus three plus two times two π‘₯ plus three equals two π‘₯ squared plus three π‘₯ plus four π‘₯ plus six, which simplifies to two π‘₯ squared plus seven π‘₯ plus six.

To reverse this process, we would start with the quadratic expression and work backwards to write it as two linear factors. However, we might wonder how we’d know to split the coefficients of π‘₯ into negative three π‘₯ and four π‘₯. We can do this by noticing special qualities of three and four. Not only do they add to equal the coefficient of π‘₯, they also multiply to equal the product of the leading coefficient and the constant. That is, we see that the product of two and six equals 12, just as three times four equals 12.

To put this in general terms, for a quadratic expression in the form π‘Žπ‘₯ squared plus 𝑏π‘₯ plus 𝑐, we have identified a pair of real numbers π‘š and 𝑛 such that the product of π‘Ž and 𝑐 equals π‘š times 𝑛 and 𝑏 equals π‘š plus 𝑛. In our example, π‘š equals three and 𝑛 equals four. So we can write two π‘₯ squared plus seven π‘₯ plus six as two π‘₯ squared plus three π‘₯ plus four π‘₯ plus six.

Next, we’ll factor the first two terms and the last two terms separately. Taking out the GCF of π‘₯ from the first two terms gives us π‘₯ times two π‘₯ plus three. Taking out a GCF of two from the second pair of terms gives two times two π‘₯ plus three. So we have the equivalent expression π‘₯ times two π‘₯ plus three plus two times two π‘₯ plus three.

Now, we see the common factor of two π‘₯ plus three, which we take out from both terms, resulting in the two linear factors of the quadratic expression, two π‘₯ plus three and π‘₯ plus two. With this property in mind, let’s examine a general method that will allow us to factor any quadratic expression that is factorable.

We can factor a quadratic polynomial of the form π‘Žπ‘₯ squared plus 𝑏π‘₯ plus 𝑐 using the following steps. First of all, we calculate the product of π‘Ž and 𝑐, then list its factor pairs. We want to find all the pairs of numbers π‘š and 𝑛 such that π‘š times 𝑛 equals the product of π‘Ž and 𝑐. We note that if the product π‘Žπ‘ is positive, its factors π‘š and 𝑛 are either both positive or both negative. However, if π‘Žπ‘ is negative, π‘š and 𝑛 must have alternating signs.

In the second step, we’ll need to identify the pair of factors of π‘Žπ‘ that also add to give 𝑏, the coefficient of π‘₯. That is, π‘š plus 𝑛 equals 𝑏. Then, we are ready to rewrite the π‘₯-term using these factors. This means the π‘₯-term is split into π‘šπ‘₯ and 𝑛π‘₯.

In the next step, we will factor the first two terms and the final two terms separately. After step four, we should have a common factor in the parentheses. The last step is to take out the common factor. This process is much simpler when π‘Ž equals one, as we will see in our next example.

Factor π‘₯ squared plus eight π‘₯ plus 12.

We’re asked to factor a quadratic expression with a leading coefficient one. We can do this by finding two numbers π‘š and 𝑛 whose sum is the coefficient of π‘₯, eight, and whose product is the constant, 12. One way of finding π‘š and 𝑛 is to list the factor pairs of 12 like this. Since the product of π‘š and 𝑛 is positive and the sum is positive, the factors must both be positive. We see that two plus six equals eight. So π‘š equals two and 𝑛 equals six.

We use π‘š and 𝑛 to rewrite the π‘₯-term in the quadratic expression. So we have π‘₯ squared plus two π‘₯ plus six π‘₯ plus 12. We note that the first two terms share a factor of π‘₯ and the last two terms share a factor of six. Taking out these factors yields π‘₯ times π‘₯ plus two plus six times π‘₯ plus two. We note that both terms share a factor of π‘₯ plus two.

Just as we took out the greatest common factor of π‘₯ or six, here we take out the greatest common factor of π‘₯ plus two from both terms, which gives the linear factors π‘₯ plus two and π‘₯ plus six. We have shown that the factorization of the quadratic expression π‘₯ squared plus eight π‘₯ plus 12 is π‘₯ plus two times π‘₯ plus six. For comparison, we see that this process returns the same factors, even if we swap the order of the π‘₯-terms. Because multiplication is commutative, the factors can be written as π‘₯ plus two times π‘₯ plus six or π‘₯ plus six times π‘₯ plus two.

In our next example, we’ll apply this method to fully factor a nonmonic cubic expression. β€œNonmonic” means the leading coefficient is not one.

Factorize fully six π‘₯ cubed minus 17π‘₯ squared plus 12π‘₯.

We note that this expression is a cubic, since the highest power of π‘₯ is π‘₯ cubed. When factoring cubics, we should first try to identify whether there is a common factor of π‘₯ we can take out. Although there is no coefficient factor shared by all three terms, we see that the lowest nonzero shared power of π‘₯ is π‘₯. Thus, the greatest common factor is just π‘₯. We can take out this factor to yield π‘₯ times six π‘₯ squared minus 17π‘₯ plus 12.

Now, we recall that to factor a quadratic of the form π‘Žπ‘₯ squared plus 𝑏π‘₯ plus 𝑐, we’ll need to find two real numbers π‘š and 𝑛 whose product is π‘Žπ‘ and whose sum is 𝑏. In our case, we have π‘Ž equals six, 𝑏 equals negative 17, and 𝑐 equals 12. So we want two numbers that sum to give negative 17 and multiply to give six times 12, which is 72.

Since the product is positive and the sum is negative, π‘š and 𝑛 must both be negative. So we will check all the negative factor pairs of 72. We find the only pair that adds to negative 17 is negative eight and negative nine. So we use these two numbers to rewrite the π‘₯-term, negative 17π‘₯, as negative eight π‘₯ minus nine π‘₯. Actually, the order in which we write these does not matter, as the method still works, even if we decide to write negative nine π‘₯ minus eight π‘₯. Then, we can factor the first two terms and the last two terms separately. Specifically, we can take out the shared factor of two π‘₯ from the first pair and three from the second pair. This looks like π‘₯ times two π‘₯ times three π‘₯ minus four plus three times negative three π‘₯ plus four.

To make the two terms share a factor, we need to take a factor of negative one out of the second term to obtain π‘₯ times two π‘₯ times three π‘₯ minus four minus three times three π‘₯ minus four. Finally, we take out the shared factor of three π‘₯ minus four. So, including the first common factor of π‘₯, the full factorization of six π‘₯ cubed minus 17π‘₯ squared plus 12π‘₯ is π‘₯ times three π‘₯ minus four times two π‘₯ minus three.

There are many other methods we can use to factor quadratics. Let’s looks at another example where we’ll apply this process using substitution.

Factorize fully 𝑦 to the fourth power minus five 𝑦 squared minus 14.

We want to fully factor the given expression. However, we can see that this is not a quadratic, because the highest power of 𝑦 is four. Usually, we would search for a factor shared by all three terms, but there is none. However, we can treat this expression as a quadratic if we substitute π‘₯ for 𝑦 squared.

First, we note that 𝑦 to the fourth power is 𝑦 squared to the power of two. Then, we can temporarily rewrite the expression as π‘₯ squared minus five π‘₯ minus 14, as shown. We can now factor this expression by identifying two numbers whose product is the constant, negative 14, and whose sum is the coefficient of the π‘₯-term, negative five. We can find these by considering the factors of negative 14. We see that two plus negative seven equals negative five. So we’ll use those values to split the π‘₯-term. That looks like π‘₯ squared minus seven π‘₯ plus two π‘₯ minus 14. Or we may write two π‘₯ before negative seven π‘₯.

Next, we take the shared factor of π‘₯ in the first two terms and the shared factor of two in the final two terms to obtain the equivalent expression π‘₯ times π‘₯ minus seven plus two times π‘₯ minus seven. Then, we can take out the shared factor of π‘₯ minus seven from the two terms to get π‘₯ minus seven times π‘₯ plus two, or equivalently π‘₯ plus two times π‘₯ minus seven.

Since the original expression was given in terms of 𝑦, let’s substitute 𝑦 squared back in for π‘₯ in our factored expression. Therefore, the full factorization of 𝑦 to the fourth power minus five 𝑦 squared minus 14 in terms of 𝑦 is 𝑦 squared plus two times 𝑦 squared minus seven.

Before our last example, let’s look at a special case called the difference of squares. To understand the difference of two squares’ factoring property, let’s consider the product of two binomials: π‘₯ plus 𝑦 and π‘₯ minus 𝑦. After fully expanding the product using distribution, we note that the terms π‘₯𝑦 and negative π‘₯𝑦 sum to give zero, which leads to an expression with only two terms: π‘₯ squared minus 𝑦 squared. This result is called the difference of two squares.

By applying the above steps in reverse, we arrive at a way to factor any such expression. Any algebraic expression of the form π‘₯ squared minus 𝑦 squared can be factored as π‘₯ plus 𝑦 times π‘₯ minus 𝑦. In our next example, we’ll use this property to factor a given quadratic expression.

Factor the expression π‘₯ squared minus 49.

We first note that the expression we’re asked to factor is the difference of two squares, specifically π‘₯ squared minus seven squared. We recall that any expression of the form π‘₯ squared minus 𝑦 squared has factors π‘₯ plus 𝑦 and π‘₯ minus 𝑦. We take 𝑦 equal to seven. A common mistake would be to use 𝑦 equals 49, but this would not be correct. We must identify the number whose square is 49, and that is seven.

Therefore, we have π‘₯ squared minus 49 equal to π‘₯ squared minus seven squared, which equals π‘₯ plus seven times π‘₯ minus seven. This is the full factorization of the quadratic expression π‘₯ squared minus 49.

Let’s finish by recapping some of the important points from this video. The greatest common factor of an algebraic expression is the greatest common factor of the coefficients multiplied by each variable raised to the lowest exponent in which it appears in any term. We can factor an algebraic expression by checking for the greatest common factor of all its terms and taking this factor out. We can factor a quadratic in the form π‘Žπ‘₯ squared plus 𝑏π‘₯ plus 𝑐 by finding two numbers whose product is π‘Žπ‘ and whose sum is 𝑏. We use these two numbers to rewrite the π‘₯-term and then factor the first pair and final pair of terms. Finally, we factor the whole expression.

If we’re asked to factor a cubic or higher-degree polynomial, we should first check if each term shares any common factors of the variable to simplify the expression. Or we may be able to use substitution to rewrite the expression as a quadratic. And finally an expression of the form π‘₯ squared minus 𝑦 squared is called a difference of two squares. We can factor this as π‘₯ plus 𝑦 times π‘₯ minus 𝑦.

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