How to Find the Sum And Difference of Cubes

••• lisaaMC/iStock/GettyImages

Sometimes, the only way to get through mathematical calculations is by brute force. But every so often, you can save a lot of work by recognizing special problems that you can use a standardized formula to solve. Finding the sum of cubes and finding the difference of cubes are two examples of exactly that: Once you know the formulas for factoring a3 + b3 or a3 - b3, finding the answer is as easy as substituting the values for a and b into the correct formula.

Putting It Into Context

First, a quick look at why you might want to find – or more appropriately "factor" – the sums or difference of cubes. When the concept is first introduced, it's a simple math problem in and of itself. But if you keep studying math, later on this will become an intermediate step in more complex calculations. So if you get a3 + b3 or a3 - b3 as an answer during other calculations, you can use the skills you're about to learn to break those cubed numbers apart into simpler components, which often makes it easier to continue solving the original problem.

Factoring the Sum of Cubes

Imagine that you've arrived at the binomial x3 + 27 and are asked to simplify it. The first term, x3, is obviously a cubed number. After a little examination, you can see that the second number is actually a cubed number too: 27 is the same as 33. Now that you know both numbers are cubes, you can apply the formula for the sum of cubes.

  1. Write Both Numbers as Cubes

  2. Write out both numbers in their cubed form, if that isn't already the case. To continue this example, you'd have:

    x3 + 27 = x3 + 33

  3. Write Out the Formula for the Sum of Cubes

  4. Once you're used to the process, you might skip this step and go straight to filling the values from Step 1 into the formula. But especially when you're learning, it's best to go step by step and remind yourself of the formula:

    a3 + b3 = (a + b) (a2 - ab + b2)

    Compare the left side of this equation to the result from Step 1. Note that you can substitute x in place of a, and 3 in place of b.

  5. Substitute the Values From Step 1 Into the Formula

  6. Substitute the values from Step 1 into the formula in Step 2. So you have:

    x3 + 33 = (x + 3) (x2 - 3_x_ + 32)

    For now, arriving at the right side of the equation represents your answer. This is the result of factoring the sum of two cubed numbers.

Factoring the Difference of Cubes

Factoring the difference of two cubed numbers works the same way. In fact, the formula is almost identical to the formula for the sum of cubes. But there is one critical difference: Pay special attention to where the minus sign goes.

  1. Identify Your Cubes

  2. Imagine that you get the problem y3 - 125 and have to factor it. As before, y3 is an obvious cube, and with a little thought you should be able to recognize that 125 is actually 53. So you have:

    y3 - 125 = y3 - 53

  3. Write Out the Formula for Difference of Cubes

  4. As before, write out the formula for the difference of cubes. Notice that you can substitute y for a and 5 for b, and take special note of where the minus sign goes in this formula. The location of the minus sign is the only difference between this formula and the formula for the sum of cubes.

    a3 - b3 = (a - b)(a2 + ab + b2)

  5. Substitute the Values From Step 1 Into the Formula

  6. Write the formula out again, this time substituting the values from Step 1. This yields:

    y3 - 53 = (y - 5)(y2 + 5_y_ + 52)

    Again, if all you have to do is factor the difference of the cubes, this is your answer.

References

About the Author

Lisa studied mathematics at the University of Alaska, Anchorage, and spent several years tutoring high school and university students through scary -- but fun! -- math subjects like algebra and calculus.

Dont Go!

We Have More Great Sciencing Articles!