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 23 = 8 or (x + 1)3.
The cube is also the number multiplied by its square:
The cube function is the function x ↦ x3 (often denoted y = x3) 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 603 are (sequence A000578 in the OEIS ):
03 = | 0 | ||||||||||
13 = | 1 | 113 = | 1331 | 213 = | 9261 | 313 = | 29,791 | 413 = | 68,921 | 513 = | 132,651 |
23 = | 8 | 123 = | 1728 | 223 = | 10,648 | 323 = | 32,768 | 423 = | 74,088 | 523 = | 140,608 |
33 = | 27 | 133 = | 2197 | 233 = | 12,167 | 333 = | 35,937 | 433 = | 79,507 | 533 = | 148,877 |
43 = | 64 | 143 = | 2744 | 243 = | 13,824 | 343 = | 39,304 | 443 = | 85,184 | 543 = | 157,464 |
53 = | 125 | 153 = | 3375 | 253 = | 15,625 | 353 = | 42,875 | 453 = | 91,125 | 553 = | 166,375 |
63 = | 216 | 163 = | 4096 | 263 = | 17,576 | 363 = | 46,656 | 463 = | 97,336 | 563 = | 175,616 |
73 = | 343 | 173 = | 4913 | 273 = | 19,683 | 373 = | 50,653 | 473 = | 103,823 | 573 = | 185,193 |
83 = | 512 | 183 = | 5832 | 283 = | 21,952 | 383 = | 54,872 | 483 = | 110,592 | 583 = | 195,112 |
93 = | 729 | 193 = | 6859 | 293 = | 24,389 | 393 = | 59,319 | 493 = | 117,649 | 593 = | 205,379 |
103 = | 1000 | 203 = | 8000 | 303 = | 27,000 | 403 = | 64,000 | 503 = | 125,000 | 603 = | 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:
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 26).
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:
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, . 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]
One solution to 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 or (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 results from the solution by multiplying everything by 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.
Primitive solutions for n from 1 to 78 | ||||||||
n | x | y | z | n | x | y | z | |
---|---|---|---|---|---|---|---|---|
1 | 9 | 10 | −12 | 39 | 117367 | 134476 | −159380 | |
2 | 1214928 | 3480205 | −3528875 | 42 | 12602123297335631 | 80435758145817515 | −80538738812075974 | |
3 | 1 | 1 | 1 | 43 | 2 | 2 | 3 | |
6 | −1 | −1 | 2 | 44 | −5 | −7 | 8 | |
7 | 0 | −1 | 2 | 45 | 2 | −3 | 4 | |
8 | 9 | 15 | −16 | 46 | −2 | 3 | 3 | |
9 | 0 | 1 | 2 | 47 | 6 | 7 | −8 | |
10 | 1 | 1 | 2 | 48 | −23 | −26 | 31 | |
11 | −2 | −2 | 3 | 51 | 602 | 659 | −796 | |
12 | 7 | 10 | −11 | 52 | 23961292454 | 60702901317 | −61922712865 | |
15 | −1 | 2 | 2 | 53 | −1 | 3 | 3 | |
16 | −511 | −1609 | 1626 | 54 | −7 | −11 | 12 | |
17 | 1 | 2 | 2 | 55 | 1 | 3 | 3 | |
18 | −1 | −2 | 3 | 56 | −11 | −21 | 22 | |
19 | 0 | −2 | 3 | 57 | 1 | −2 | 4 | |
20 | 1 | −2 | 3 | 60 | −1 | −4 | 5 | |
21 | −11 | −14 | 16 | 61 | 0 | −4 | 5 | |
24 | −2901096694 | −15550555555 | 15584139827 | 62 | 2 | 3 | 3 | |
25 | −1 | −1 | 3 | 63 | 0 | −1 | 4 | |
26 | 0 | −1 | 3 | 64 | −3 | −5 | 6 | |
27 | −4 | −5 | 6 | 65 | 0 | 1 | 4 | |
28 | 0 | 1 | 3 | 66 | 1 | 1 | 4 | |
29 | 1 | 1 | 3 | 69 | 2 | −4 | 5 | |
30 | −283059965 | −2218888517 | 2220422932 | 70 | 11 | 20 | −21 | |
33 | −2736111468807040 | −8778405442862239 | 8866128975287528 | 71 | −1 | 2 | 4 | |
34 | −1 | 2 | 3 | 72 | 7 | 9 | −10 | |
35 | 0 | 2 | 3 | 73 | 1 | 2 | 4 | |
36 | 1 | 2 | 3 | 74 | 66229832190556 | 283450105697727 | −284650292555885 | |
37 | 0 | −3 | 4 | 75 | 4381159 | 435203083 | −435203231 | |
38 | 1 | −3 | 4 | 78 | 26 | 53 | −55 |
The equation x3 + y3 = z3 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] x3 + y3 = 3z3.
The sum of the first n cubes is the nth triangle number squared:
Proofs. CharlesWheatstone ( 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 in the following way:
and thus the summands forming start off just after those forming all previous values up to . 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 x2 − 2y2 = −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 2p−1/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 a3,
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. [8]
In the sequence of odd integers 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, ..., the first one is a cube (1 = 13); the sum of the next two is the next cube (3 + 5 = 23); the sum of the next three is the next cube (7 + 9 + 11 = 33); 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, [9] and there are rationals that are not the sum of two rational cubes. [10]
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 ↦ x3 : 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 x3 > x. If x < −1 or 0 < x < 1, then x3 < x. All aforementioned properties pertain also to any higher odd power (x5, x7, ...) 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 x3 equals 3x2.
Cubes occasionally have the surjective property in other fields, such as in Fp for such prime p that p ≠ 1 (mod 3), [11] 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: x3 − 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). [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]
In elementary algebra, the binomial theorem (or binomial expansion) describes the algebraic expansion of powers of a binomial. According to the theorem, it is possible to expand the polynomial (x + y)n into a sum involving terms of the form axbyc, where the exponents b and c are nonnegative integers with b + c = n, and the coefficient a of each term is a specific positive integer depending on n and b. For example, for n = 4,
In mathematics, the Chinese remainder theorem states that if one knows the remainders of the Euclidean division of an integer n by several integers, then one can determine uniquely the remainder of the division of n by the product of these integers, under the condition that the divisors are pairwise coprime.
In number theory, a Carmichael number is a composite number which in modular arithmetic satisfies the congruence relation:
In number theory, a perfect number is a positive integer that is equal to the sum of its positive proper divisors, that is, divisors excluding the number itself. For instance, 6 has proper divisors 1, 2 and 3, and 1 + 2 + 3 = 6, so 6 is a perfect number. The next perfect number is 28, since 1 + 2 + 4 + 7 + 14 = 28.
In mathematics, Pascal's triangle is an infinite triangular array of the binomial coefficients which play a crucial role in probability theory, combinatorics, and algebra. In much of the Western world, it is named after the French mathematician Blaise Pascal, although other mathematicians studied it centuries before him in Persia, India, China, Germany, and Italy.
In mathematics, factorization (or factorisation, see English spelling differences) or factoring consists of writing a number or another mathematical object as a product of several factors, usually smaller or simpler objects of the same kind. For example, 3 × 5 is an integer factorization of 15, and (x – 2)(x + 2) is a polynomial factorization of x2 – 4.
In mathematics, a square number or perfect square is an integer that is the square of an integer; in other words, it is the product of some integer with itself. For example, 9 is a square number, since it equals 32 and can be written as 3 × 3.
In mathematics, an nth root of a number x is a number r which, when raised to the power of the positive integer n, yields x:
A powerful number is a positive integer m such that for every prime number p dividing m, p2 also divides m. Equivalently, a powerful number is the product of a square and a cube, that is, a number m of the form m = a2b3, where a and b are positive integers. Powerful numbers are also known as squareful, square-full, or 2-full. Paul Erdős and George Szekeres studied such numbers and Solomon W. Golomb named such numbers powerful.
Mental calculation consists of arithmetical calculations using only the human brain, with no help from any supplies or devices such as a calculator. People may use mental calculation when computing tools are not available, when it is faster than other means of calculation, or even in a competitive context. Mental calculation often involves the use of specific techniques devised for specific types of problems. People with unusually high ability to perform mental calculations are called mental calculators or lightning calculators.
The quadratic sieve algorithm (QS) is an integer factorization algorithm and, in practice, the second-fastest method known. It is still the fastest for integers under 100 decimal digits or so, and is considerably simpler than the number field sieve. It is a general-purpose factorization algorithm, meaning that its running time depends solely on the size of the integer to be factored, and not on special structure or properties. It was invented by Carl Pomerance in 1981 as an improvement to Schroeppel's linear sieve.
A divisibility rule is a shorthand and useful way of determining whether a given integer is divisible by a fixed divisor without performing the division, usually by examining its digits. Although there are divisibility tests for numbers in any radix, or base, and they are all different, this article presents rules and examples only for decimal, or base 10, numbers. Martin Gardner explained and popularized these rules in his September 1962 "Mathematical Games" column in Scientific American.
In number theory, Dixon's factorization method is a general-purpose integer factorization algorithm; it is the prototypical factor base method. Unlike for other factor base methods, its run-time bound comes with a rigorous proof that does not rely on conjectures about the smoothness properties of the values taken by a polynomial.
In mathematics, Hensel's lemma, also known as Hensel's lifting lemma, named after Kurt Hensel, is a result in modular arithmetic, stating that if a univariate polynomial has a simple root modulo a prime number p, then this root can be lifted to a unique root modulo any higher power of p. More generally, if a polynomial factors modulo p into two coprime polynomials, this factorization can be lifted to a factorization modulo any higher power of p.
In additive number theory, Fermat's theorem on sums of two squares states that an odd prime p can be expressed as:
In mathematics, poly-Bernoulli numbers, denoted as , were defined by M. Kaneko as
In number theory, the sum of the first n cubes is the square of the nth triangular number. That is,
In mathematics, particularly in the area of arithmetic, a modular multiplicative inverse of an integer a is an integer x such that the product ax is congruent to 1 with respect to the modulus m. In the standard notation of modular arithmetic this congruence is written as
Pocklington's algorithm is a technique for solving a congruence of the form
In number theory, the Erdős–Moser equation is