Add the odd numbers in order. The totals are , then , then , then , and every one of them is a square number. Does this go on forever, and why? This page answers with a picture of dots in which each odd number is exactly the L-shaped border that one square needs to become the next, explains why that picture proves the pattern for every , and then reads it backward to reach the difference of squares, with the conditions under which each picture applies.
Key terms
Sum of odd numbers
Definition For every whole number , the sum of the first odd numbers is ,
The th odd number is , so the last term of the sum is . To see why the sum is , arrange dots in a square of rows and columns and split it into layers that grow out of the bottom left corner. For each from to , layer is the top row together with the right column of the by square of dots in the bottom left corner. That row and that column each have dots and share their corner dot, so layer has dots. Each dot of the big square lies in exactly one layer, so adding the layers counts every dot once, and the total is . An L-shaped border of this kind is called a gnomon.
In plain words Each odd number is exactly the L-shaped border that turns one square of dots into the next larger square.
Example In the by square below, each dot is replaced by the number of its layer.
The digit appears once, three times, five times and seven times, and together they fill all places, so . The fourth layer is a row of four across the top and a column of four down the right side, sharing the top right place, so it has dots. A fifth layer would have dots and give .
Square numbers
Definition A square number, or perfect square, is a number for a whole number . The square numbers are , and counts the dots in a square array of rows and columns. A positive whole number is a square number exactly when that many dots can be arranged in a full square with none left over. For a length that need not be a whole number, is the area of a square with side . The gaps between consecutive square numbers are , the odd numbers in order.
In plain words A square number is a whole number multiplied by itself, the number of dots in a complete square arrangement.
Example The number is a square number. The number is not, because , so dots make a by square with one dot left over and are too few for an by square. Between the square numbers the gaps are , which are the four layers of the by square above.
Proof without words
Definition A proof without words is a picture arranged so that a reader can see why a statement is true and could write out the complete argument from it. A picture counts as a proof only when its construction works in every case the statement covers, not just in the cases drawn, and when every piece has a precise job, with each dot counted exactly once, or with areas cut and moved without gaps, overlaps or stretching. A dot picture proves a statement about whole numbers. An area picture proves a statement about lengths and areas, and only for the lengths it can draw, which are never negative.
In plain words The picture is the argument, as long as each part is accounted for exactly and the same construction works at every size.
Example The layered square is a proof without words of the sum of odd numbers, because the layer that turns a by square into a by square always has dots, for every , not only for the layers drawn. A picture that only looks right is not enough. In the missing square puzzle the same four pieces seem to fill the same triangle twice, once with an empty square. The long edge of the figure is not straight. It is made of two slopes, and , and the two figures differ in area by exactly one square unit.
Difference of squares
Definition For all real numbers and ,
Algebra proves it in every case, since
When there is also an area proof. From a square of side remove a square of side at one corner, which leaves an L-shaped region of area . Cut that region into a rectangle wide and tall and a rectangle wide and tall. Turn the second piece a quarter turn, so that it is wide and tall, and set it on top of the first. The two pieces now form one rectangle wide and tall, and cutting and moving did not change the area. With and the identity gives , which is the newest layer of the dot picture.
In plain words Taking a small square out of the corner of a big square leaves an L-shape, and the L-shape can be cut and rearranged into a rectangle whose sides are the difference and the sum of the two side lengths.
Example Take and . Removing the by square from the by square leaves square units, in a by piece of area and a by piece of area . Turned and stacked, they form a by rectangle, and . With and the identity gives , the newest layer of a by square of dots. With and it helps with mental arithmetic,
With and the area picture cannot be drawn, because the square of side does not fit inside the square of side , but the algebra still holds, since and .
Check yourself
- Find . How many terms does the sum have?
Show the answer
The th odd number is , and gives . So the sum has terms and equals . A common slip is to use the last term, , as , which would give . A quick check pairs the first and last terms, , and the terms make such pairs, so the sum is .
- Change the rule and add the even numbers instead, . Are the totals still square numbers? What shape do the dots make?
Show the answer
The totals are , and none of them is a square number. They equal , the number of dots in a rectangle of rows and columns. To grow a rectangle of rows and columns into one of rows and columns, add a row of dots across the top and a column of dots down the right side. They share the top right dot, so the new border has dots, which is the th even number. The rectangle is never a square, because
for every , so lies strictly between two neighboring square numbers. Halving the totals also gives .
- Use both identities on this page to find without adding term by term.
Show the answer
Since and , the sum runs from the th to the th odd number. It is the sum of the first odd numbers minus the sum of the first , so it equals
In the dot picture these ten odd numbers are the outer ten layers of a by square, the L-shaped region left after removing the by square in the bottom left corner. Since , the area picture applies and rearranges that region into a by rectangle. A check by averages agrees, since the ten terms average and .