In mathematics, a cube root of a number, denoted or x1/3, is a number a such that a3 = x. All real numbers (except zero) have exactly one real cube root and a pair of complex conjugate roots, and all nonzero complex numbers have three distinct complex cube roots. For example, the real cube root of 8 is 2, because 23 = 8. All the cube roots of −27i are
The cube roots of a number x are the numbers y which satisfy the equation
For any real number y, there is one real number x such that x3 = y. The cube function is increasing, so does not give the same result for two different inputs, plus it covers all real numbers. In other words, it is a bijection, or one-to-one. Then we can define an inverse function that is also one-to-one. For real numbers, we can define a unique cube root of all real numbers. If this definition is used, the cube root of a negative number is a negative number.
If x and y are allowed to be complex, then there are three solutions (if x is non-zero) and so x has three cube roots. A real number has one real cube root and two further cube roots which form a complex conjugate pair. This can lead to some interesting results.
For instance, the cube roots of the number one are:
The last two of these roots lead to a relationship between all roots of any real or complex number. If a number is one cube root of any real or complex number, the other two cube roots can be found by multiplying that number by one or the other of the two complex cube roots of one.
For complex numbers, the principal cube root is usually defined by
where ln(x) is the principal branch of the natural logarithm. If we write x as
where r is a non-negative real number and θ lies in the range
then the principal complex cube root is
This means that in polar coordinates, we are taking the cube root of the radius and dividing the polar angle by three in order to define a cube root. With this definition, the principal cube root of a negative number is a complex number, and for instance will not be , but rather
This limitation can easily be avoided if we write the original complex number x in three equivalent forms, namely
The principal complex cube roots of these three forms are then respectively
In general, these three complex numbers are distinct, even though the three representations of x were the same. For example, ∛-8 may then be calculated to be −2, 1 + i√3, or 1 − i√3.
In programs that are aware of the imaginary plane, the graph of the cube root of x on the real plane will not display any output for negative values of x. To also include negative roots, these programs must be explicitly instructed to only use real numbers.
Newton's method is an iterative method that can be used to calculate the cube root. For real floating point numbers this method reduces to the following iterative algorithm to produce successively better approximations of the cube root of :
The method is simply averaging three factors chosen such that at each iteration.
Halley's method improves upon this with an algorithm that converges more quickly with each step, albeit consuming more multiplication operations:
With either method a poor initial approximation of can give very poor algorithm performance, and coming up with a good initial approximation is somewhat of a black art. Some implementations manipulate the exponent bits of the floating point number; i.e. they arrive at an initial approximation by dividing the exponent by 3. This has the disadvantage of requiring knowledge of the internal representation of the floating point number, and therefore a single implementation is not guaranteed to work across all computing platforms.
If x is a good first approximation to the cube root of z and y = z − x3, then:
The second equation combines each pair of fractions from the first into a single fraction, thus doubling the speed of convergence. The advantage is that x and y are only computed once.
The calculation of cube roots can be to traced back to Babylonian mathematicians from as early as 1800 BCE. A method for extracting cube roots appears 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. The Greek mathematician Hero of Alexandria devised a method for calculating cube roots in the 1st century CE. His formula is again mentioned by Eutokios in a commentary on Archimedes. In 499 CE Aryabhata, a mathematician-astronomer from the classical age of Indian mathematics and Indian astronomy, gave a method for finding the cube root of numbers having many digits in the Aryabhatiya (section 2.5).
- Methods of computing square roots
- List of polynomial topics
- Nth root
- Square root
- Nested radical
- Root of unity
- Shifting nth-root algorithm
- Saggs, H. W. F. (1989). Civilization Before Greece and Rome. Yale University Press. p. 227. ISBN 978-0-300-05031-8.
- Crossley, John; W.-C. Lun, Anthony (1999). The Nine Chapters on the Mathematical Art: Companion and Commentary. Oxford University Press. p. 213. ISBN 978-0-19-853936-0.
- Smyly, J. Gilbart (1920). "Heron's Formula for Cube Root". Hermathena (Trinity College Dublin) 19 (42): 64–67.
- Aryabhatiya Marathi: आर्यभटीय, Mohan Apte, Pune, India, Rajhans Publications, 2009, p.62, ISBN 978-81-7434-480-9