# Cube (algebra)

__: Number raised to the third power__

**Short description**In arithmetic and algebra, the **cube** of a number n is its third power, that is, the result of multiplying three instances of n together.
The cube of a number or any other mathematical expression is denoted by a superscript 3, for example 2^{3} = 8 or (*x* + 1)^{3}.

The cube is also the number multiplied by its square:

*n*^{3}=*n*×*n*^{2}=*n*×*n*×*n*.

The *cube function* is the function *x* ↦ *x*^{3} (often denoted *y* = *x*^{3}) that maps a number to its cube. It is an odd function, as

- (−
*n*)^{3}= −(*n*^{3}).

The volume of a geometric cube is the cube of its side length, giving rise to the name. The inverse operation that consists of finding a number whose cube is n is called extracting the cube root of n. It determines the side of the cube of a given volume. It is also n raised to the one-third power.

The graph of the cube function is known as the **cubic parabola**. Because the cube function is an odd function, this curve has a center of symmetry at the origin, but no axis of symmetry.

## In integers

A **cube number**, or a **perfect cube**, or sometimes just a **cube**, is a number which is the cube of an integer.
The non-negative perfect cubes up to 60^{3} are (sequence A000578 in the OEIS):

0^{3} = |
0 | ||||||||||

1^{3} = |
1 | 11^{3} = |
1331 | 21^{3} = |
9261 | 31^{3} = |
29,791 | 41^{3} = |
68,921 | 51^{3} = |
132,651 |

2^{3} = |
8 | 12^{3} = |
1728 | 22^{3} = |
10,648 | 32^{3} = |
32,768 | 42^{3} = |
74,088 | 52^{3} = |
140,608 |

3^{3} = |
27 | 13^{3} = |
2197 | 23^{3} = |
12,167 | 33^{3} = |
35,937 | 43^{3} = |
79,507 | 53^{3} = |
148,877 |

4^{3} = |
64 | 14^{3} = |
2744 | 24^{3} = |
13,824 | 34^{3} = |
39,304 | 44^{3} = |
85,184 | 54^{3} = |
157,464 |

5^{3} = |
125 | 15^{3} = |
3375 | 25^{3} = |
15,625 | 35^{3} = |
42,875 | 45^{3} = |
91,125 | 55^{3} = |
166,375 |

6^{3} = |
216 | 16^{3} = |
4096 | 26^{3} = |
17,576 | 36^{3} = |
46,656 | 46^{3} = |
97,336 | 56^{3} = |
175,616 |

7^{3} = |
343 | 17^{3} = |
4913 | 27^{3} = |
19,683 | 37^{3} = |
50,653 | 47^{3} = |
103,823 | 57^{3} = |
185,193 |

8^{3} = |
512 | 18^{3} = |
5832 | 28^{3} = |
21,952 | 38^{3} = |
54,872 | 48^{3} = |
110,592 | 58^{3} = |
195,112 |

9^{3} = |
729 | 19^{3} = |
6859 | 29^{3} = |
24,389 | 39^{3} = |
59,319 | 49^{3} = |
117,649 | 59^{3} = |
205,379 |

10^{3} = |
1000 | 20^{3} = |
8000 | 30^{3} = |
27,000 | 40^{3} = |
64,000 | 50^{3} = |
125,000 | 60^{3} = |
216,000 |

Geometrically speaking, a positive integer m is a perfect cube if and only if one can arrange m solid unit cubes into a larger, solid cube. For example, 27 small cubes can be arranged into one larger one with the appearance of a Rubik's Cube, since 3 × 3 × 3 = 27.

The difference between the cubes of consecutive integers can be expressed as follows:

*n*^{3}− (*n*− 1)^{3}= 3(*n*− 1)*n*+ 1.

or

- (
*n*+ 1)^{3}−*n*^{3}= 3(*n*+ 1)*n*+ 1.

There is no minimum perfect cube, since the cube of a negative integer is negative. For example, (−4) × (−4) × (−4) = −64.

### Base ten

Unlike perfect squares, perfect cubes do not have a small number of possibilities for the last two digits. Except for cubes divisible by 5, where only **25**, **75** and **00** can be the last two digits, *any* pair of digits with the last digit odd can occur as the last digits of a perfect cube. With even cubes, there is considerable restriction, for only **00**, *o***2**, *e***4**, *o***6** and *e***8** can be the last two digits of a perfect cube (where *o* stands for any odd digit and *e* for any even digit). Some cube numbers are also square numbers; for example, 64 is a square number (8 × 8) and a cube number (4 × 4 × 4). This happens if and only if the number is a perfect sixth power (in this case 2^{6}).

The last digits of each 3rd power are:

0 | 1 | 8 | 7 | 4 | 5 | 6 | 3 | 2 | 9 |

It is, however, easy to show that most numbers are not perfect cubes because *all* perfect cubes must have digital root **1**, **8** or **9**. That is their values modulo 9 may be only 0, 1, and 8. Moreover, the digital root of any number's cube can be determined by the remainder the number gives when divided by 3:

- If the number
*x*is divisible by 3, its cube has digital root 9; that is,- [math]\displaystyle{ \text{if}\quad x \equiv 0 \pmod 3 \quad \text{then} \quad x^3\equiv 0 \pmod 9 \text{ (actually} \quad 0 \pmod {27}\text{)}; }[/math]

- If it has a remainder of 1 when divided by 3, its cube has digital root 1; that is,
- [math]\displaystyle{ \text{if}\quad x \equiv 1 \pmod 3 \quad \text{then} \quad x^3\equiv 1 \pmod 9; }[/math]

- If it has a remainder of 2 when divided by 3, its cube has digital root 8; that is,
- [math]\displaystyle{ \text{if}\quad x \equiv 2 \pmod 3 \quad \text{then} \quad x^3\equiv 8 \pmod 9. }[/math]

### Sums of two cubes

### Sums of three cubes

It is conjectured that every integer (positive or negative) not congruent to ±4 modulo 9 can be written as a sum of three (positive or negative) cubes with infinitely many ways.^{[1]} For example, [math]\displaystyle{ 6 = 2^3+(-1)^3+(-1)^3 }[/math]. Integers congruent to ±4 modulo 9 are excluded because they cannot be written as the sum of three cubes.

The smallest such integer for which such a sum is not known is 114. In September 2019, the previous smallest such integer with no known 3-cube sum, 42, was found to satisfy this equation:^{[2]}^{[better source needed]}

- [math]\displaystyle{ 42 = (-80538738812075974)^3 + 80435758145817515^3 + 12602123297335631^3. }[/math]

One solution to [math]\displaystyle{ x^3 + y^3 + z^3 = n }[/math] is given in the table below for *n* ≤ 78, and *n* not congruent to 4 or 5 modulo 9. The selected solution is the one that is primitive (gcd(*x*, *y*, *z*) = 1), is not of the form [math]\displaystyle{ c^3+(-c)^3+n^3=n^3 }[/math] or [math]\displaystyle{ (n+6nc^3)^3+(n-6nc^3)^3+(-6nc^2)^3=2n^3 }[/math] (since they are infinite families of solutions), satisfies 0 ≤ |*x*| ≤ |*y*| ≤ |*z*|, and has minimal values for |*z*| and |*y*| (tested in this order).^{[3]}^{[4]}^{[5]}

Only primitive solutions are selected since the non-primitive ones can be trivially deduced from solutions for a smaller value of n. For example, for n = 24, the solution [math]\displaystyle{ 2^3+2^3+2^3 =24 }[/math] results from the solution [math]\displaystyle{ 1^3+1^3+1^3=3 }[/math] by multiplying everything by [math]\displaystyle{ 8=2^3. }[/math] Therefore, this is another solution that is selected. Similarly, for *n* = 48, the solution (*x*, *y*, *z*) = (-2, -2, 4) is excluded, and this is the solution (*x*, *y*, *z*) = (-23, -26, 31) that is selected.

### Fermat's Last Theorem for cubes

The equation *x*^{3} + *y*^{3} = *z*^{3} has no non-trivial (i.e. *xyz* ≠ 0) solutions in integers. In fact, it has none in Eisenstein integers.^{[6]}

Both of these statements are also true for the equation^{[7]} *x*^{3} + *y*^{3} = 3*z*^{3}.

### Sum of first *n* cubes

The sum of the first n cubes is the nth triangle number squared:

- [math]\displaystyle{ 1^3+2^3+\dots+n^3 = (1+2+\dots+n)^2=\left(\frac{n(n+1)}{2}\right)^2. }[/math]

**Proofs.**
Charles Wheatstone (1854) gives a particularly simple derivation, by expanding each cube in the sum into a set of consecutive odd numbers. He begins by giving the identity

- [math]\displaystyle{ n^3 = \underbrace{\left(n^2-n+1\right) + \left(n^2-n+1+2\right) + \left(n^2-n+1+4\right)+ \cdots + \left(n^2+n-1\right)}_{n \text{ consecutive odd numbers}}. }[/math]

That identity is related to triangular numbers [math]\displaystyle{ T_n }[/math] in the following way:

- [math]\displaystyle{ n^3 =\sum _{k=T_{n-1}+1}^{T_{n}} (2 k-1), }[/math]

and thus the summands forming [math]\displaystyle{ n^3 }[/math] start off just after those forming all previous values [math]\displaystyle{ 1^3 }[/math] up to [math]\displaystyle{ (n-1)^3 }[/math]. Applying this property, along with another well-known identity:

- [math]\displaystyle{ n^2 = \sum_{k=1}^n (2k-1), }[/math]

we obtain the following derivation:

- [math]\displaystyle{ \begin{align} \sum_{k=1}^n k^3 &= 1 + 8 + 27 + 64 + \cdots + n^3 \\ &= \underbrace{1}_{1^3} + \underbrace{3+5}_{2^3} + \underbrace{7 + 9 + 11}_{3^3} + \underbrace{13 + 15 + 17 + 19}_{4^3} + \cdots + \underbrace{\left(n^2-n+1\right) + \cdots + \left(n^2+n-1\right)}_{n^3} \\ &= \underbrace{\underbrace{\underbrace{\underbrace{1}_{1^2} + 3}_{2^2} + 5}_{3^2} + \cdots + \left(n^2 + n - 1\right)}_{\left( \frac{n^{2}+n}{2} \right)^{2}} \\ &= (1 + 2 + \cdots + n)^2 \\ &= \bigg(\sum_{k=1}^n k\bigg)^2. \end{align} }[/math]

In the more recent mathematical literature, (Stein 1971) uses the rectangle-counting interpretation of these numbers to form a geometric proof of the identity (see also Benjamin, Quinn & Wurtz 2006); he observes that it may also be proved easily (but uninformatively) by induction, and states that (Toeplitz 1963) provides "an interesting old Arabic proof". (Kanim 2004) provides a purely visual proof, (Benjamin Orrison) provide two additional proofs, and (Nelsen 1993) gives seven geometric proofs.

For example, the sum of the first 5 cubes is the square of the 5th triangular number,

- [math]\displaystyle{ 1^3+2^3+3^3+4^3+5^3 = 15^2 }[/math]

A similar result can be given for the sum of the first y odd cubes,

- [math]\displaystyle{ 1^3+3^3+\dots+(2y-1)^3 = (xy)^2 }[/math]

but x, y must satisfy the negative Pell equation *x*^{2} − 2*y*^{2} = −1. For example, for *y* = 5 and 29, then,

- [math]\displaystyle{ 1^3+3^3+\dots+9^3 = (7\cdot 5)^2 }[/math]

- [math]\displaystyle{ 1^3+3^3+\dots+57^3 = (41\cdot 29)^2 }[/math]

and so on. Also, every even perfect number, except the lowest, is the sum of the first 2^{p−1/2} odd cubes (*p* = 3, 5, 7, ...):

- [math]\displaystyle{ 28 = 2^2(2^3-1) = 1^3+3^3 }[/math]
- [math]\displaystyle{ 496 = 2^4(2^5-1) = 1^3+3^3+5^3+7^3 }[/math]
- [math]\displaystyle{ 8128 = 2^6(2^7-1) = 1^3+3^3+5^3+7^3+9^3+11^3+13^3+15^3 }[/math]

### Sum of cubes of numbers in arithmetic progression

There are examples of cubes of numbers in arithmetic progression whose sum is a cube:

- [math]\displaystyle{ 3^3+4^3+5^3 = 6^3 }[/math]
- [math]\displaystyle{ 11^3+12^3+13^3+14^3 = 20^3 }[/math]
- [math]\displaystyle{ 31^3+33^3+35^3+37^3+39^3+41^3 = 66^3 }[/math]

with the first one sometimes identified as the mysterious Plato's number. The formula F for finding the sum of n
cubes of numbers in arithmetic progression with common difference d and initial cube *a*^{3},

- [math]\displaystyle{ F(d,a,n) = a^3+(a+d)^3+(a+2d)^3+\cdots+(a+dn-d)^3 }[/math]

is given by

- [math]\displaystyle{ F(d,a,n) = (n/4)(2a-d+dn)(2a^2-2ad+2adn-d^2n+d^2n^2) }[/math]

A parametric solution to

- [math]\displaystyle{ F(d,a,n) = y^3 }[/math]

is known for the special case of *d* = 1, or consecutive cubes, but only sporadic solutions are known for integer *d* > 1, such as d = 2, 3, 5, 7, 11, 13, 37, 39, etc.^{[8]}

### Cubes as sums of successive odd integers

In the sequence of odd integers 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, ..., the first *one* is a cube (1 = 1^{3}); the sum of the next *two* is the next cube (3 + 5 = 2^{3}); the sum of the next *three* is the next cube (7 + 9 + 11 = 3^{3}); and so forth.

### Waring's problem for cubes

Every positive integer can be written as the sum of nine (or fewer) positive cubes. This upper limit of nine cubes cannot be reduced because, for example, 23 cannot be written as the sum of fewer than nine positive cubes:

- 23 = 2
^{3}+ 2^{3}+ 1^{3}+ 1^{3}+ 1^{3}+ 1^{3}+ 1^{3}+ 1^{3}+ 1^{3}.

## In rational numbers

Every positive rational number is the sum of three positive rational cubes,^{[9]} and there are rationals that are not the sum of two rational cubes.^{[10]}

## In real numbers, other fields, and rings

In real numbers, the cube function preserves the order: larger numbers have larger cubes. In other words, cubes (strictly) monotonically increase. Also, its codomain is the entire real line: the function *x* ↦ *x*^{3} : **R** → **R** is a surjection (takes all possible values). Only three numbers are equal to their own cubes: −1, 0, and 1. If −1 < *x* < 0 or 1 < *x*, then *x*^{3} > *x*. If *x* < −1 or 0 < *x* < 1, then *x*^{3} < *x*. All aforementioned properties pertain also to any higher odd power (*x*^{5}, *x*^{7}, ...) of real numbers. Equalities and inequalities are also true in any ordered ring.

Volumes of similar Euclidean solids are related as cubes of their linear sizes.

In complex numbers, the cube of a purely imaginary number is also purely imaginary. For example, *i*^{3} = −*i*.

The derivative of *x*^{3} equals 3*x*^{2}.

Cubes *occasionally* have the surjective property in other fields, such as in **F**_{p} for such prime p that *p* ≠ 1 (mod 3),^{[11]} but not necessarily: see the counterexample with rationals above. Also in **F**_{7} only three elements 0, ±1 are perfect cubes, of seven total. −1, 0, and 1 are perfect cubes *anywhere* and the only elements of a field equal to the own cubes: *x*^{3} − *x* = *x*(*x* − 1)(*x* + 1).

## History

Determination of the cubes of large numbers was very common in many ancient civilizations. Mesopotamian mathematicians created cuneiform tablets with tables for calculating cubes and cube roots by the Old Babylonian period (20th to 16th centuries BC).^{[12]}^{[13]} Cubic equations were known to the ancient Greek mathematician Diophantus.^{[14]} Hero of Alexandria devised a method for calculating cube roots in the 1st century CE.^{[15]} Methods for solving cubic equations and extracting cube roots appear in *The Nine Chapters on the Mathematical Art*, a Chinese mathematical text compiled around the 2nd century BCE and commented on by Liu Hui in the 3rd century CE.^{[16]}

## See also

- Cabtaxi number
- Cubic equation
- Doubling the cube
- Eighth power
- Euler's sum of powers conjecture
- Fifth power
- Fourth power
- Kepler's laws of planetary motion
- Monkey saddle
- Perfect power
- Seventh power
- Sixth power
- Square
- Taxicab number

## References

- ↑ Huisman, Sander G. (27 Apr 2016). "Newer sums of three cubes". arXiv:1604.07746 [math.NT].
- ↑ "NEWS: The Mystery of 42 is Solved - Numberphile" https://www.youtube.com/watch?v=zyG8Vlw5aAw
- ↑ Sequences A060465, A060466 and A060467 in OEIS
- ↑ Threecubes
- ↑ n=x^3+y^3+z^3
- ↑ Hardy & Wright, Thm. 227
- ↑ Hardy & Wright, Thm. 232
- ↑ "A Collection of Algebraic Identities". http://sites.google.com/site/tpiezas/update06.
^{[yes|permanent dead link|dead link}}]} - ↑ Hardy & Wright, Thm. 234
- ↑ Hardy & Wright, Thm. 233
- ↑ The multiplicative group of
**F**_{p}is cyclic of order*p*− 1, and if it is not divisible by 3, then cubes define a group automorphism. - ↑ Cooke, Roger (8 November 2012).
*The History of Mathematics*. John Wiley & Sons. p. 63. ISBN 978-1-118-46029-0. https://books.google.com/books?id=CFDaj0WUvM8C&pg=PT63. - ↑ Nemet-Nejat, Karen Rhea (1998).
*Daily Life in Ancient Mesopotamia*. Greenwood Publishing Group. p. 306. ISBN 978-0-313-29497-6. https://archive.org/details/dailylifeinancie00neme. - ↑ Van der Waerden, Geometry and Algebra of Ancient Civilizations, chapter 4, Zurich 1983 ISBN:0-387-12159-5
- ↑ Smyly, J. Gilbart (1920). "Heron's Formula for Cube Root".
*Hermathena*(Trinity College Dublin)**19**(42): 64–67. - ↑ Crossley, John; W.-C. Lun, Anthony (1999).
*The Nine Chapters on the Mathematical Art: Companion and Commentary*. Oxford University Press. pp. 176, 213. ISBN 978-0-19-853936-0. https://books.google.com/books?id=eiTJHRGTG6YC&pg=PA213.

### Sources

- Benjamin, Arthur T.; Orrison, Michael E. (November 2002). "Two Quick Combinatorial Proofs of Σ k = 1 n k 3 = ( \smallmatrix n+1 2 \endsmallmatrix ) 2".
*The College Mathematics Journal***33**(5): 406. doi:10.2307/1559017. http://www.math.hmc.edu/~orrison/research/papers/two_quick.pdf. - Benjamin, Arthur T.; Quinn, Jennifer J.; Wurtz, Calyssa (1 November 2006). "Summing Cubes by Counting Rectangles".
*The College Mathematics Journal***37**(5): 387–389. doi:10.2307/27646391. https://scholarship.claremont.edu/hmc_fac_pub/567. - Hardy, G. H.; Wright, E. M. (1980).
*An Introduction to the Theory of Numbers*(Fifth ed.). Oxford: Oxford University Press. ISBN 978-0-19-853171-5. https://archive.org/details/introductiontoth00hard. - Kanim, Katherine (1 October 2004). "Proof without Words: The Sum of Cubes: An Extension of Archimedes' Sum of Squares".
*Mathematics Magazine***77**(4): 298–299. doi:10.2307/3219288. - Nelsen, Roger B. (1993).
*Proofs without words : exercises in visual thinking*. Cambridge University Press. ISBN 978-0-88385-700-7. - Stein, Robert G. (1 May 1971). "A Combinatorial Proof That Σ k3 = (Σ k)2".
*Mathematics Magazine***44**(3): 161–162. doi:10.2307/2688231. - Toeplitz, Otto (1963).
*The calculus: a genetic approach*. Chicago: University of Chicago Press. ISBN 978-0-226-80667-9. - Wheatstone, C. (1854). "On the formation of powers from arithmetical progressions".
*Proceedings of the Royal Society of London***7**: 145–151. doi:10.1098/rspl.1854.0036. Bibcode: 1854RSPS....7..145W.

Original source: https://en.wikipedia.org/wiki/Cube (algebra).
Read more |