See How Things Work

Squares and cubes

Unit
Powers & Square Roots
Part
1. Powers
Lesson
1.2

The second and third powers have names of their own: a² is “a squared” and a³ is “a cubed”. This lesson shows where the names come from, the area of a square and the volume of a cube, counts the unit squares and unit cubes that make them, and proves how a square grows from one side length to the next.

Squares

Lesson 1.1 defined the power aⁿ as the product of n factors, each equal to the base a. With the exponent 2 there are two factors: a² = a × a. A number taken to the power 2 is said to be squared, and a² is read “a squared”.⁠[1]

The name comes from geometry. The area of a shape is the number of unit squares that cover it,⁠[2] and Multiplication lesson 1.2 proved that a rectangle a units high and b units wide is covered by a × b unit squares. A square with sides of a units is a rectangle a units high and a units wide, so it is covered by a × a = a² unit squares. A square with three tiles on each side has nine tiles in all, and that is why the square of three is nine.⁠[3] Taking the side length of a square to its area is called squaring.⁠[4]

1² = 12² = 43² = 94² = 165² = 25
Figure. A square with sides of 1, 2, 3, 4 and 5 units is covered by 1, 4, 9, 16 and 25 unit squares. The square of a number is the number of unit squares that cover a square with that side: this is where the name comes from.⁠[3]
Definition (Square).

For every whole number a, the square of a is a² = a × a, the number of unit squares that cover a square with sides of a units.⁠[5]

The squares of 1 to 12 are on the diagonal of the multiplication table of Multiplication lesson 1.3, where the row and the column are the same number. They are worth knowing by heart.

nn²
00
11
24
39
416
525
636
749
864
981
10100
11121
12144
Table. The squares of the whole numbers from 0 to 12, each computed as n × n.
Example (The square of 7).

Find 7² and say what it counts.

  1. 7² = 7 × 7 = 49.
  2. A square with sides of 7 units is covered by 7 rows of 7 unit squares, 49 in all.

Answer: 7² = 49. Check by rows: 7, 14, 21, 28, 35, 42, 49.

Example (A larger square).

Find 15² and 20².

  1. 15² = 15 × 15. Split the first factor as 10 + 5 (“The distributive property”): 15 × 15 = 10 × 15 + 5 × 15 = 150 + 75 = 225.
  2. 20² = 20 × 20 = (2 × 10) × (2 × 10) = (2 × 2) × (10 × 10) = 4 × 100 = 400, rearranging the factors as in “Multiplying by 10, 100 and 1000”.

Answer: 15² = 225 and 20² = 400.

Example (The edge cases: 0² and 1²).

Find 0² and 1².

  1. 0² = 0 × 0 = 0: zero rows of zero tiles hold no tiles.
  2. 1² = 1 × 1 = 1: a square with sides of 1 unit is one unit square.

Answer: 0² = 0 and 1² = 1. These are the only whole numbers equal to their own squares (Section 4).

Example (A common mistake: doubling instead of squaring).

Someone writes 6² = 12. Find the mistake.

  1. 12 is 2 × 6 = 6 + 6: the base was doubled. The exponent 2 counts factors; it is not a factor.
  2. 6² = 6 × 6 = 36. A square with sides of 6 units holds 36 unit squares, while 12 is the number of unit lengths along two of its sides.

Answer: 6² = 36, not 12.

From one square to the next

How many more tiles does a square need when its side grows by one? The figure shows the answer for a side of 4: a new column, a new row, and one corner tile.

old square: 4² = 16new column: 4new row: 4corner: 15² = 16 + 4 + 4 + 1 = 25
Figure. Growing a 4 × 4 square (blue) into a 5 × 5 square takes a new column of 4, a new row of 4 and one corner tile (red): 4 + 4 + 1 = 9 tiles, an L-shaped border.
Proposition (the next square).

For every whole number n, (n + 1)² = n² + n + n + 1. In words: the next square is the old square plus twice its side plus one.

Proof.

(n + 1)² = (n + 1) × (n + 1). By the corollary “both factors split” of Multiplication lesson 1.7, (a + b) × (c + d) = a × c + a × d + b × c + b × d. With a = c = n and b = d = 1:

(n + 1) × (n + 1) = n × n + n × 1 + 1 × n + 1 × 1 = n² + n + n + 1.

The four terms are the four pieces of the figure: the old square, the new column, the new row and the corner.

The ancient Greeks called the piece that is added to a figure to make a larger figure of the same shape a gnomon, after the shape of the gnomon of a sundial.⁠[6] For squares, the gnomon of the Proposition holds n + n + 1 tiles, and adding it is the identity n² + (2n + 1) = (n + 1)².⁠[7]

Example (One square from another).

Given that 30² = 900, find 31².

  1. By the Proposition with n = 30: 31² = 30² + 30 + 30 + 1.
  2. 900 + 30 + 30 + 1 = 961.

Answer: 31² = 961. Check: 31 × 31 = 30 × 31 + 1 × 31 = 930 + 31 = 961.

Example (A common mistake: forgetting the corner).

Someone grows a 9 × 9 square by adding 9 tiles down the side and 9 along the bottom, and says 10² = 81 + 18 = 99. Find the mistake.

  1. The new column beside the old square needs 9 tiles, but the new row needs 10: 9 under the old square and 1 in the corner, where the new column and the new row meet.
  2. The gnomon holds 9 + 9 + 1 = 19 tiles, so 10² = 81 + 19 = 100.

Answer: 10² = 100. Check: 10 × 10 = 100.

Looking ahead.

The gnomons 1, 3, 5, 7, … are the odd numbers, and they fit together to show that the sum of the first n odd numbers is the nth square.⁠[7] Square numbers drawn as patterns of dots are studied in the unit Special Whole Numbers, lesson Square numbers.

Game

Grow the square

Round
1
Score
0
Streak
0

This is a 5 × 5 square of tiles. How many tiles must be added to make it a 6 × 6 square? Tap the dashed places to lay the new tiles, then choose the number.

Tiles laid: 0

Cubes

With the exponent 3 there are three factors: a³ = a × a × a. A number taken to the power 3 is said to be cubed, and a³ is read “a cubed”.⁠[8] This name comes from geometry too.

A cube is a rectangular solid whose length, width and height are equal.⁠[9] The volume of a rectangular solid is measured by how many unit cubes fill it,⁠[10] and breaking the solid into layers makes those cubes easy to count.⁠[11]

Proposition (volume of a cube).

For every whole number a ≥ 1, a cube with edges of a units is filled by a³ unit cubes.

Proof.

Cut the cube into layers 1 unit high. There are a layers, because the cube is a units high. Each layer is a square a units long and a units wide, one unit cube thick, so it holds a × a unit cubes, as a square of a × a unit squares does. The cube therefore holds a groups of a × a unit cubes: a × (a × a) unit cubes. By the associative property (Multiplication lesson 1.6) this is a × a × a = a³.

For example, a cube that measures 3 inches on each side is made up of 27 one-inch cubes.⁠[12] Taking the edge length of a cube to its volume is called cubing.⁠[13]

1³ = 12³ = 83³ = 274³ = 64
Figure. Cubes with edges of 1, 2, 3 and 4 units are built from 1, 8, 27 and 64 unit cubes. A cube 3 units on each side, for example, is made of 27 unit cubes.⁠[12]
=3 × 3 = 93 × 3 = 93 × 3 = 9
Figure. A cube of edge 3 split into its layers: 3 layers of 3 × 3 = 9 unit cubes each, so 3 × 9 = 27 = 3³ unit cubes in all. Counting layer by layer is the easy way to count the cubes in a solid.⁠[11]
Definition (Cube).

For every whole number a, the cube of a is a³ = a × a × a, the number of unit cubes that fill a cube with edges of a units.⁠[5]

nn²n³
000
111
248
3927
41664
525125
636216
749343
864512
981729
101001,000
Table. The squares and cubes of the whole numbers from 0 to 10.
Example (The cube of 4, layer by layer).

Find 4³.

  1. A cube with edges of 4 units has 4 layers, and each layer is 4 × 4 = 16 unit cubes.
  2. 4 layers of 16: 4 × 16 = 16 + 16 + 16 + 16 = 64.

Answer: 4³ = 64. The same steps in symbols: 4³ = 4² × 4 = 16 × 4 = 64, by the rule “one more factor” of lesson 1.1.

Example (A thousand small cubes).

How many cubes with edges of 1 centimeter fill a cube with edges of 10 centimeters?

  1. Each layer is 10 × 10 = 100 small cubes, and there are 10 layers.
  2. 10 × 100 = 1,000.

Answer: 10³ = 1,000 small cubes.

Example (A common mistake: 3³ = 9).

Someone writes 3³ = 9. Find the mistake.

  1. 9 is 3 × 3 = 3²: only two factors were used, or the base was multiplied by the exponent.
  2. 3³ = 3 × 3 × 3 = 9 × 3 = 27. A cube of edge 3 has 3 layers of 9 cubes.

Answer: 3³ = 27. The 9 is one layer of the cube.

Example (Counting only what can be seen).

A cube is built from 5 × 5 × 5 small cubes. Seen from one corner, 61 small cubes are visible. Why is the answer not 61?

  1. The cube holds 5³ = 5 × 5 × 5 = 125 small cubes.
  2. The cubes that cannot be seen from that corner form a block of 4 × 4 × 4 = 64 cubes behind the three visible faces. Indeed 125 − 64 = 61.

Answer: 125. A volume counts every cube, the hidden ones too.

Game

Count the cubes

Round
1
Score
0
Streak
0

How many unit cubes make this cube, 2 cubes long, 2 wide and 2 high? Pull the layers apart to look inside, then choose.

Squares and cubes compared

Squares and cubes are easy to confuse with doubling and tripling, but they grow in a different way. When a grows by 1, the double 2 × a grows by 2 every time, while the square a² grows by a + a + 1 (Section 2), more at every step.

Proposition .

For a whole number a, a² = a exactly when a = 0 or a = 1. In the same way, a³ = a exactly when a = 0 or a = 1.

Proof.

0² = 0 and 1² = 1. Now let a ≥ 2. Multiplication lesson 1.4 proved that a × b > b for every a ≥ 2 and b ≥ 1. With b = a this gives a² = a × a > a. So no a ≥ 2 equals its square.

For cubes: 0³ = 0 and 1³ = 1, and for a ≥ 2, a³ = a × a² > a² > a by the same fact, used twice.

Example (Doubling the side).

A square and a cube have side 3. What happens to the area and the volume when the side is doubled to 6?

  1. Area: 3² = 9 and 6² = 36, which is 4 × 9. In general (2a)² = (2 × a) × (2 × a) = (2 × 2) × (a × a) = 4 × a².
  2. Volume: 3³ = 27 and 6³ = 216, which is 8 × 27. In general (2a)³ = (2 × 2 × 2) × (a × a × a) = 8 × a³.

Answer: the area becomes 4 times as large and the volume 8 times as large. The factors can be rearranged and regrouped like this because the order and grouping of factors do not matter.⁠[14]

Historical note.

In the Greek tradition the second and third powers of a magnitude were interpreted as an area and a volume. Descartes, in La Géométrie, broke with this tradition and treated a² and a³ simply as lengths.⁠[15]

Looking ahead.

Going backward, from an area to the side of its square or from a volume to the edge of its cube, is the subject of the lessons Perfect squares and square roots and Perfect cubes and cube roots later in this unit. Powers of negative numbers, such as (−3)², come in lesson 1.4, Powers of negative numbers.

Exercises

Exercise .

Find 9², 11², 2³ and 5³.

▸ Show solution

9² = 9 × 9 = 81 and 11² = 11 × 11 = 121; 2³ = 8, 5³ = 125.

Exercise .

How many square tiles cover a square floor with 8 tiles along each side? How many blocks fill a cube with 6 blocks along each edge?

▸ Show solution

A square floor 8 tiles long on each side holds 8² = 64 tiles. A cube 6 blocks long on each edge holds 6³ = 6 × 6 × 6 = 36 × 6 = 216 blocks.

Exercise .

A student notices that 2² = 2 × 2 = 4 and concludes that squaring a number is the same as doubling it. Explain the error.

▸ Show solution

2² = 4 and 2 × 2 = 4 agree only by coincidence: here the exponent and the base are both 2. For 3: 3² = 9 but 3 × 2 = 6; for 5: 5² = 25 but 5 × 2 = 10. Squaring multiplies a number by itself, not by 2.

Exercise .

Using 12² = 144 and the Proposition “the next square”, find 13² and 14².

▸ Show solution

By the Proposition “the next square” with n = 12: 13² = 12² + 12 + 12 + 1 = 144 + 25 = 169. With n = 13: 14² = 169 + 13 + 13 + 1 = 196.

Exercise .

List the differences 1² − 0², 2² − 1², 3² − 2², 4² − 3², 5² − 4². What pattern do they follow, and why?

▸ Show solution

The difference between consecutive squares is (n + 1)² − n² = n + n + 1, by the Proposition. For n = 0, 1, 2, 3, 4 this is 1, 3, 5, 7, 9: 1 − 0, 4 − 1, 9 − 4, 16 − 9, 25 − 16.

Each difference is 2 more than the one before, because n + n + 1 grows by 2 when n grows by 1.

Exercise .

A cube of edge 2, built from unit cubes, is enlarged to a cube of edge 3. How many unit cubes must be added? (Hard: find the number for an edge n growing to n + 1.)

▸ Show solution

Split the cube of edge 3 into a cube of edge 2 and the rest. The cube of edge 2 holds 2³ = 8 unit cubes; the whole cube holds 3³ = 27. So the rest holds 27 − 8 = 19 unit cubes.

In general (n + 1)³ − n³ = 3 × n² + 3 × n + 1: three slabs of n × n, three rods of n and one corner cube. For n = 2: 3 × 4 + 3 × 2 + 1 = 12 + 6 + 1 = 19.

Exercise .

By how much do the area of a square and the volume of a cube grow when the side is tripled? Check with a side of 2.

▸ Show solution

Tripling the side multiplies the area by 3 × 3 = 9 and the volume by 3 × 3 × 3 = 27: (3a)² = 9 × a² and (3a)³ = 27 × a³. For a = 2: 6² = 36 = 9 × 4 and 6³ = 216 = 27 × 8.

Summary

  1. a² = a × a is read “a squared”: it is the number of unit squares that cover a square with side a.
  2. a³ = a × a × a is read “a cubed”: it is the number of unit cubes that fill a cube with edge a, a layers of a × a.
  3. The next square: (n + 1)² = n² + n + n + 1. The added L-shaped piece, the gnomon, holds an odd number of tiles.
  4. 0 and 1 are the only whole numbers equal to their squares or their cubes; for a ≥ 2, a < a² < a³.
  5. Doubling a side makes an area 4 times and a volume 8 times as large. A square is not a double and a cube is not a triple.

Sources

  1. 1.
    Eric W. Weisstein, “Squared”, MathWorld—A Wolfram Resource.
    “A number taken to the power 2 is said to be squared”
    Used for: a number taken to the power 2 is said to be squared; a² is read “a squared”.
  2. 2.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 9, “Math Models and Geometry”, section 9.4, “Use Properties of Rectangles, Triangles, and Trapezoids” (“Understand Linear, Square, and Cubic Measure”), p. 700 (the whole topic: pp. 699–701).
    “The area of a shape is measured by determining how many square units cover the shape.”
    Used for: the area of a shape is the number of unit squares that cover it.
  3. 3.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 5, “Decimals”, section 5.7, “Simplify and Use Square Roots” (“Simplify Expressions with Square Roots”), p. 445 (the whole topic: pp. 445).
    “Do you know why we use the word square? If we construct a square with three tiles on each side, the total number of tiles would be nine. This is why we say that the square of three is nine.”
    Used for: a square with three tiles on each side has nine tiles, which is why the square of three is nine: the name comes from the square (text and figure).
  4. 4.
    Eric W. Weisstein, “Squared”, MathWorld—A Wolfram Resource.
    “hence the operation taking a square's edge length to its area is known as "squaring"”
    Used for: taking the side length of a square to its area is called squaring (second source for the origin of the name).
  5. 5.
    Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).
    Chapter 8, “Advanced Counting Techniques”, section 8.5, “Inclusion–Exclusion”, Exercises, exercise 14, p. 584 (the whole topic: pp. 584).
    “14. Find the number of positive integers not exceeding 1000 that are either the square or the cube of an integer.”
    Used for: the terms “the square of” and “the cube of” a number, for a² and a³.
  6. 6.
    John H. Conway and Richard K. Guy, The Book of Numbers (Copernicus (Springer), 1996).
    Chapter 2, “Figures from Figures: Doing Arithmetic and Algebra by Geometry”, section “Square Numbers”, p. 33 (the whole topic: pp. 30–33).
    “The ancient Greeks called the piece that you can add to a figure to produce a larger figure of the same shape a gnomon (knower) after the shape of the gnomon of a sundial (time-knower).”
    Used for: the Greeks called the piece added to a figure to make a larger figure of the same shape a gnomon, after the gnomon of a sundial.
  7. 7.
    John H. Conway and Richard K. Guy, The Book of Numbers (Copernicus (Springer), 1996).
    Chapter 2, “Figures from Figures: Doing Arithmetic and Algebra by Geometry”, section “Square Numbers”, p. 33 (the whole topic: pp. 30–33).
    “The gnomons of Figure 2.12 fit together to show that the sum of the first n odd numbers is the nth square, n². The addition of one more gnomon would illustrate the identity n² + (2n + 1) = (n + 1)².”
    Used for: adding one gnomon to a square is the identity n² + (2n + 1) = (n + 1)²; the gnomons, the odd numbers, show that the sum of the first n odd numbers is the nth square.
  8. 8.
    Eric W. Weisstein, “Cubed”, MathWorld—A Wolfram Resource.
    “A number taken to the power 3 is said to be cubed”
    Used for: a number taken to the power 3 is said to be cubed; a³ is read “a cubed”.
  9. 9.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 9, “Math Models and Geometry”, section 9.6, “Solve Geometry Applications: Volume and Surface Area” (“Find Volume and Surface Area of Rectangular Solids”), p. 741 (the whole topic: pp. 741–742).
    “A cube is a rectangular solid whose length, width, and height are equal.”
    Used for: a cube is a rectangular solid whose length, width and height are equal.
  10. 10.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 9, “Math Models and Geometry”, section 9.4, “Use Properties of Rectangles, Triangles, and Trapezoids” (“Understand Linear, Square, and Cubic Measure”), p. 699 (the whole topic: pp. 699–700).
    “When measuring the volume of a rectangular solid, you measure how many cubes fill the container.”
    Used for: the volume of a rectangular solid is measured by how many unit cubes fill it.
  11. 11.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 9, “Math Models and Geometry”, section 9.6, “Solve Geometry Applications: Volume and Surface Area” (“Find Volume and Surface Area of Rectangular Solids”), p. 737 (the whole topic: pp. 736–738).
    “Breaking a rectangular solid into layers makes it easier to visualize the number of cubic units it contains.”
    Used for: breaking a solid into layers makes its unit cubes easy to count (text and figure).
  12. 12.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 9, “Math Models and Geometry”, section 9.4, “Use Properties of Rectangles, Triangles, and Trapezoids” (“Understand Linear, Square, and Cubic Measure”), p. 699 (the whole topic: pp. 699–700).
    “Figure 9.17 A cube that measures 3 inches on each side is made up of 27 one-inch cubes, or 27 cubic inches.”
    Used for: a cube that measures 3 inches on each side is made up of 27 one-inch cubes (text and figure).
  13. 13.
    Eric W. Weisstein, “Cubed”, MathWorld—A Wolfram Resource.
    “hence the operation taking a cube's edge length to its volume is known as "cubing"”
    Used for: taking the edge length of a cube to its volume is called cubing.
  14. 14.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 7, “The Properties of Real Numbers”, section 7.2, “Commutative and Associative Properties” (“Evaluate Expressions using the Commutative and Associative Properties”), p. 549 (the whole topic: pp. 549–551).
    “Since order does not matter when adding or multiplying three or more terms, we can rearrange and re-group terms to make our work easier”
    Used for: the factors of a product can be rearranged and regrouped, since order and grouping do not matter.
  15. 15.
    David M. Burton, The History of Mathematics: An Introduction (7th ed., McGraw-Hill, 2011).
    Chapter 8, “The Mechanical World: Descartes and Newton”, section 8.2, “Descartes: The Discours de la Méthode” (“Inventing Cartesian Geometry”), p. 367 (the whole topic: pp. 367–368).
    “In a more radical step, Descartes broke with Greek tradition by divorcing numbers from reference to physical quantity. Instead of interpreting a² (or aa as he wrote it) and a³, for example, as an area and a volume, he considered them nothing more than lines.”
    Used for: in the Greek tradition the second and third powers were interpreted as an area and a volume; Descartes treated a² and a³ as lengths instead.