# Sum and Difference of Cubes

Teaching the factoring of the sum of cubes and difference of cubes was not a priority for me in my teaching, and the topic does not seem to be part of the Common Core Standards. However, some people do have to include it in their classes, and as a result the subject occasionally comes up in online discussions among math teachers. About four years ago, I came up with a puzzle-like approach to the topic, using the area model of multiplication. Check out the resulting worksheet. If I had to teach this topic, I would start with that.

A few days ago, I saw videos by Jeffrey Smith: sum of cubes, difference of cubes. Those were the inspiration for this blog post.

When I designed the Lab Gear, I made sure it allowed for the representation of (x+y)3:

But seeing Smith’s video made me realize the Lab Gear also allows for a hands-on representation of the sum and difference of cubes — albeit in a non-obvious way.

## Sum of Cubes

Let’s build on top of those blocks, in order to get two towers of height x + y:

And now, let’s write the total volume of the towers two ways. Block by block, we see that the volume is

x3 + y3 + x2y + xy2 = x3 + y3 + xy(x + y)

As two prisms, we see that the volume is

x2 (x + y) + y2 (x + y)

Write an equation to show these expressions are equal, and solve for x3 + y3:

x3 + y3 = x2 (x + y) + y2 (x + y) – xy(x + y)

x3 + y3 = (x + y)(x2 – xy + y2)

Admittedly, following this argument requires some facility with algebraic manipulation, and I do not recommend it for students before Algebra 2 or precalculus. Still, as a teacher, I appreciate seeing a geometric interpretation of the formula. It is also interesting that the standard “Make a Box” Lab Gear activity is applied here in a slightly different version: “Make Two Boxes”. The key idea that makes this work is that the boxes have the same height. As always with the Lab Gear, a common dimension represents a common factor.

## Difference of Cubes

On to the difference of cubes! This one will require us to make three boxes, all with the same height. However, we must start by choosing new variables. We will use a instead of x+y, and b instead of x. Given that, this building represents a3 – b3:

Take the blocks on the top layer, and rearrange them so we have three towers, all of them with height (a – b):

The volumes of the prisms are ab(a – b), b2(a – b), and a2(a – b) respectively. So:

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

QED!

— Henri