Working with visuals instead of symbols can often make the difference between blindly memorizing an algebraic technique and understanding how and why that technique works.
For example, here's a visualization that shows why the sum of the first odd numbers is equal to
In the animation below, the specific cases are only shown up to the square number, Using the trick shown in the animation, what is the sum of
Now let's look at the difference of two specific square numbers:
What's left after the subtraction is just a unit-layer shell from the original square that can be broken into two, rectangular pieces.
Both rectangles have one side that is length One of the rectangles is the full length of the larger square, and the other is the length of the smaller square,
So,
This geometry problem can be solved with logic that extends from the algebra that you've just seen.
You have two squares, one larger than the other. If the larger square has integer side lengths and if the small square is one unit shorter on each side, the difference between the two areas will always be
What is the value of
You can drag the slider below the figure to change the size of the figure. Notice the size can't go up to so you'll need to think about how the pattern applies to larger squares.
In a later chapter of this course, you'll see how this pattern extends when both of the squares can be any size.
Algebraically, if we refer to the side length of the larger square with the variable and the side length of the smaller square with the variable the difference between the two square values is
The identity that you're going to be able to derive and understand is known as the "difference of squares" identity.
See if you can use visual logic to solve this faster than you'd be able to do the arithmetic out by hand.
What is the value of
Hint: The difference between the area of a square and a square can be split into two rectangles that each have one side of length
Here's the full identity. Also, below it, you can see what the visual derivation will look like. Even if you've already seen a purely algebraic derivation of the identity, this one might be easier to understand if you enjoy doing math that feels real and tactile!
The Difference of Squares Identity:
You can go either from a difference of two squares to a product of difference and a sum, or just as easily, you can go the other way around, cutting a rectangle into two pieces that can reassemble into a square with a square "bite" taken out of it.
Bonus Challenge
We can use the difference of squares identity to turn exponential calculations into quick multiplication, but it can also be used to turn a multiplication problem that might take you a full minute to do by hand into a more quickly calculable exponential form.
For example, without using a calculator, evaluate
This might help:
Hint: