Cube (algebra)

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 n is denoted n, using a superscript 3, for example 2 = 8. The cube operation can also be defined for any other mathematical expression, for example (x + 1).
The cube is also the number multiplied by its square:
The cube function is the function x ↦ x (often denoted y = x) that maps a number to its cube. It is an odd function, as
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.
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 are (sequence A000578 in the OEIS):
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:
or
There is no minimum perfect cube, since the cube of a negative integer is negative. For example, (−4) × (−4) × (−4) = −64.
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, o2, e4, o6 and e8 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).
The last digits of each 3rd power are:
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:
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. For example, 6 = 2 3 + ( − 1 ) 3 + ( − 1 ) 3 {\displaystyle 6=2^{3}+(-1)^{3}+(-1)^{3}} . 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:
One solution to x 3 + y 3 + z 3 = n {\displaystyle x^{3}+y^{3}+z^{3}=n} 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 c 3 + ( − c ) 3 + n 3 = n 3 {\displaystyle c^{3}+(-c)^{3}+n^{3}=n^{3}} or ( n + 6 n c 3 ) 3 + ( n − 6 n c 3 ) 3 + ( − 6 n c 2 ) 3 = 2 n 3 {\displaystyle (n+6nc^{3})^{3}+(n-6nc^{3})^{3}+(-6nc^{2})^{3}=2n^{3}} (since they are infinite families of solutions), satisfies 0 ≤ |x| ≤ |y| ≤ |z|, and has minimal values for |z| and |y| (tested in this order).
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 2 3 + 2 3 + 2 3 = 24 {\displaystyle 2^{3}+2^{3}+2^{3}=24} results from the solution 1 3 + 1 3 + 1 3 = 3 {\displaystyle 1^{3}+1^{3}+1^{3}=3} by multiplying everything by 8 = 2 3 . {\displaystyle 8=2^{3}.} 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.
The equation x + y = z has no non-trivial (i.e. xyz ≠ 0) solutions in integers. In fact, it has none in Eisenstein integers.
Both of these statements are also true for the equation x + y = 3z.
The sum of the first n cubes is the nth triangle number squared:
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
That identity is related to triangular numbers T n {\displaystyle T_{n}} in the following way:
and thus the summands forming n 3 {\displaystyle n^{3}} start off just after those forming all previous values 1 3 {\displaystyle 1^{3}} up to ( n − 1 ) 3 {\displaystyle (n-1)^{3}} . Applying this property, along with another well-known identity:
we obtain the following derivation:
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 (2002) 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,
A similar result can be given for the sum of the first y odd cubes,
but x, y must satisfy the negative Pell equation x − 2y = −1. For example, for y = 5 and 29, then,
and so on. Also, every even perfect number, except the lowest, is the sum of the first 2 odd cubes (p = 3, 5, 7, ...):
There are examples of cubes of numbers in arithmetic progression whose sum is a cube:
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,
is given by
A parametric solution to
is known for the special case of d = 1, or consecutive cubes, as found by Pagliani in 1829.
In the sequence of odd integers 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, ..., the first one is a cube (1 = 1); the sum of the next two is the next cube (3 + 5 = 2); the sum of the next three is the next cube (7 + 9 + 11 = 3); and so forth.
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:
Every positive rational number is the sum of three positive rational cubes, and there are rationals that are not the sum of two rational cubes.
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 : 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 > x. If x < −1 or 0 < x < 1, then x < x. All aforementioned properties pertain also to any higher odd power (x, x, ...) 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 = −i.
The derivative of x equals 3x.
Cubes occasionally have the surjective property in other fields, such as in Fp for such prime p that p ≠ 1 (mod 3), but not necessarily: see the counterexample with rationals above. Also in F7 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 their own cubes: x − x = x(x − 1)(x + 1).
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). Cubic equations were known to the ancient Greek mathematician Diophantus. Hero of Alexandria devised a method for calculating cube roots in the 1st century CE. 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.