# Lesson Video: Sum and Difference of Two Cubes Mathematics

In this video, we will learn how to factor the sum and the difference of two cubes.

17:31

### Video Transcript

In this video, we will learn how to factor the sum and the difference of two cubes. We will begin by showing the formulas we can use to factor or factorize the sum of two cubes and the difference of two cubes.

A polynomial in the form π cubed plus π cubed is called a sum of two cubes. Any polynomial of this form can be factored such that π cubed plus π cubed is equal to π plus π multiplied by π squared minus ππ plus π squared. We can prove that this is the case by expanding the brackets or distributing the parentheses on the right-hand side. We begin by distributing π. We multiply π squared, negative ππ, and π squared by π. This gives us π cubed minus π squared π plus ππ squared.

We then distribute the π. This gives us π squared π minus ππ squared plus π cubed. We notice that we can cancel an π squared π as negative π squared π plus π squared π is equal to zero. We can also cancel ππ squared. This leaves us with π cubed plus π cubed, which is equal to the left-hand side. This proves that π cubed plus π cubed is equal to π plus π multiplied by π squared minus ππ plus π squared.

Now letβs consider a polynomial in the form π cubed minus π cubed. This is called the difference of two cubes. π cubed minus π cubed can be factored into the following form: π minus π multiplied by π squared plus ππ plus π squared. Once again, we can prove this by distributing the parentheses. Multiplying π by π squared plus ππ plus π squared gives us π cubed plus π squared π plus ππ squared. Multiplying the three terms in the second bracket by negative π gives us negative π squared π minus ππ squared minus π cubed.

Once again, the π squared π and ππ squared terms cancel, leaving us with π cubed minus π cubed. π cubed minus π cubed is equal to π minus π multiplied by π squared plus ππ plus π squared. In all the questions that follow in this video, we will need to use one of these two formulae. In each case, we will rewrite the appropriate formula so that by the end of this lesson, we will hopefully have learned them both.

Given that π₯ cubed minus 512 is equal to π₯ minus eight multiplied by π₯ squared plus π plus 64, find an expression for π.

Any expression in the form π cubed minus π cubed is known as the difference of two cubes. We know that this can be factored into the form π minus π multiplied by π squared plus ππ plus π squared. In this question, our value of π cubed is π₯ cubed and our value of π cubed is 512. If π cubed is equal to π₯ cubed, we know that π is equal to π₯ as we can cube root both sides of the equation. If π cubed equals 512, then π is equal to eight. We know this as eight cubed is equal to 512 which means that the cube root of 512 is eight.

When factoring π cubed minus π cubed, the first set of parentheses contained π minus π. This means that in our example, we will have π₯ minus eight. The first term in the second set of parentheses will be π₯ squared. The second term is π multiplied by π, which is eight π₯. The final term is π squared, which in our case is eight squared, which equals 64. We are asked to find an expression for π. This is equal to eight π₯. It is the value of π multiplied by π.

In our next question, we will need to factorize the sum of two cubes fully.

The expression π₯ cubed plus 27 has two factors. One factor is π₯ plus three. What is the other factor?

We recall that any expression written in the form π cubed plus π cubed is known as the sum of two cubes. This can be factored into two sets of parentheses, π plus π multiplied by π squared minus ππ plus π squared. In this question, π cubed is equal to π₯ cubed and π cubed is equal to 27. We can work out the values of π and π by cube rooting both sides of these equations. This gives us values of π and π of π₯ and three, respectively. We can now use this information to factor π₯ cubed plus 27 into two sets of parentheses.

The first bracket is π plus π. In our question, this is π₯ plus three. We were already told in the question that this was one of the factors. Our second set of parentheses is equal to π squared minus ππ plus π squared. π squared is equal to π₯ squared. π multiplied by π is equal to three π₯, so our second term is negative three π₯. π squared is equal to nine as three multiplied by three is nine. The expression π₯ cubed plus 27 can be factored into the form π₯ plus three multiplied by π₯ squared minus three π₯ plus nine. This means that the correct answer to the question is π₯ squared minus three π₯ plus nine. This is the other factor of π₯ cubed plus 27.

We could check this answer by distributing our parentheses. We could multiply π₯ squared minus three π₯ plus nine by π₯ and then multiply π₯ squared minus three π₯ plus nine by three. When we do this, all the terms would cancel with the exception of π₯ cubed plus 27.

Our next question is a more complicated problem as we need to take out the highest common factor first.

Factorize fully 1,000π₯ cubed minus 125.

At first glance, it appears that this expression is written in the form π cubed minus π cubed, which is the difference of two cubes. We know that any expression of this type can be factored as shown into two sets of parentheses, π minus π multiplied by π squared plus ππ plus π squared. However, when we consider the numbers 1,000 and 125, we notice they have a highest common factor that is greater than one. In fact, 1,000 and 125 are both divisible by 125. This means that we can begin this question by factoring out 125. 1,000 divided by 125 is equal to eight. This means that 125 multiplied by eight π₯ cubed is equal to 1,000π₯ cubed. As 125 divided by 125 is equal to one, 1,000π₯ cubed minus 125 is equal to 125 multiplied by eight π₯ cubed minus one.

The expression eight π₯ cubed minus one is still in the form π cubed minus π cubed, which means that this can be factored further. π cubed is equal to eight π₯ cubed, and π cubed is equal to one. We can then cube root both sides of these equations to calculate the values of π and π. The cube root of eight is equal to two. Therefore, π is equal to two π₯. The cube root of one is one, so π is equal to one. We can now factorize eight π₯ cubed minus one into our two parentheses.

π minus π is equal to two π₯ minus one. π squared is equal to four π₯ squared as two π₯ multiplied by two π₯ is four π₯ squared. Multiplying our values of π and π gives us two π₯. Finally, π squared is equal to one. Eight π₯ cubed minus one is, therefore, equal to two π₯ minus one multiplied by four π₯ squared plus two π₯ plus one. We can, therefore, conclude that the fully-factored form of 1,000 π₯ cubed minus 125 is 125 multiplied by two π₯ minus one multiplied by four π₯ squared plus two π₯ plus one.

In our next question, we need to work out the sum of two cubes by distributing parentheses.

Complete the following: Blank is equal to π¦ plus 15π₯ multiplied by π¦ squared minus 15π¦π₯ plus 225π₯ squared.

Our first thought in this question might be to try and distribute the parentheses, to multiply π¦ squared minus 15π¦π₯ plus 225π₯ squared firstly by π¦ and then by 15π₯. However, we might notice that our expression is written in the form π plus π multiplied by π squared minus ππ plus π squared. This is the factored form of the expression π cubed plus π cubed. This is known as the sum of two cubes. Our value of π is π¦, and our value of π is 15π₯.

We can work out the value of π cubed and π cubed by cubing both sides of each of these equations. Our first equation gives us π cubed is equal to π¦ cubed. Cubing both sides of our second equation gives us π cubed is equal to 3,375π₯ cubed. This is because 15 multiplied by 15 multiplied by 15 is 3,375. The missing term is, therefore, π¦ cubed plus 3,375π₯ cubed as this is equal to π¦ plus 15π₯ multiplied by π¦ squared minus 15π¦π₯ plus 225π₯ squared.

We wouldβve got the same answer had we distributed the two sets of parentheses. All the terms wouldβve canceled with the exception of π¦ multiplied by π¦ squared, which is π¦ cubed, and 15π₯ multiplied by 225π₯ squared, which is 3,375π₯ cubed.

In our final question, we have a more complicated initial expression.

Factorize fully π₯ minus six π¦ all cubed minus 216π¦ cubed.

Whilst it might not be immediately obvious, this expression is written in the form π cubed minus π cubed. It is the difference of two cubes. We know that the factorization of π cubed minus π cubed is equal to π minus π multiplied by π squared plus ππ plus π squared. The first term in our expression is π₯ minus six π¦ all cubed. This means that π cubed is equal to this. As cube rooting is the opposite of cubing, we can cube root both sides of this equation, giving us a value of π equal to π₯ minus six π¦. Our second term is 216π¦ cubed; therefore, π cubed is equal to this. Once again, we can cube root both sides of this equation, giving us π is equal to six π¦ as the cube root of 216 is six.

We can now substitute our values of π and π into the right-hand side of the formula. We begin with π minus π. This is equal to π₯ minus six π¦ minus six π¦. This simplifies to π₯ minus 12π¦. π squared will be equal to π₯ minus six π¦ all squared. This is equal to π₯ minus six π¦ multiplied by π₯ minus six π¦. Distributing our parentheses here gives us π₯ squared minus six π¦π₯ minus six π¦π₯ plus 36π¦ squared. This can be simplified to π₯ squared minus 12π¦π₯ plus 36π¦ squared. ππ is equal to π₯ minus six π¦ multiplied by six π¦. Distributing the parentheses here gives us six π¦π₯ minus 36π¦ squared.

Finally, π squared is equal to six π¦ all squared. This is equal to 36π¦ squared. Substituting in the replacement for these three terms gives us π₯ squared minus 12π¦π₯ plus 36π¦ squared plus six π¦π₯ minus 36π¦ squared plus 36π¦ squared. This can be simplified to π₯ squared minus six π¦π₯ plus 36π¦ squared. Six π¦π₯ is the same as six π₯π¦. Therefore, the fully factorized form is π₯ minus 12π¦ multiplied by π₯ squared minus six π₯π¦ plus 36π¦ squared.

We will now summarize the key points from this video. We can factorize or factor the sum of two cubes and difference of two cubes using the following formulae. π cubed plus π cubed is equal to π plus π multiplied by π squared minus ππ plus π squared. π cubed minus π cubed on the other hand is equal to π minus π multiplied by π squared plus ππ plus π squared. Before using either of the two formulae, it is important that we factor out the highest common factor of the two terms first.