Cube root: Difference between revisions
m Reverted 2 edits by OldManNIck (talk) identified as vandalism to last revision by Lukep913. (TW) |
Zero is an exception to the statement that all real numbers have exactly one real root and a pair of complex conjugate roots |
||
Line 1: | Line 1: | ||
[[Image:Cube root.svg|right|thumb|288px|Plot of ''y'' = <math>\sqrt[3]{x}</math> for <math>x \ge 0</math>. Complete plot is symmetric with respect to origin, as it is an [[odd function]]. At ''x'' = 0 this graph has a [[vertical tangent]].]] |
[[Image:Cube root.svg|right|thumb|288px|Plot of ''y'' = <math>\sqrt[3]{x}</math> for <math>x \ge 0</math>. Complete plot is symmetric with respect to origin, as it is an [[odd function]]. At ''x'' = 0 this graph has a [[vertical tangent]].]] |
||
In [[mathematics]], a '''cube root''' of a number, denoted <math>\sqrt[3]{x} </math> or x<sup>1/3</sup>, is a number ''a'' such that ''a''<sup>3</sup> = ''x''. All [[real number]]s 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 2<sup>3</sup> = 8. All the cube roots of −27''i'' are |
In [[mathematics]], a '''cube root''' of a number, denoted <math>\sqrt[3]{x} </math> or x<sup>1/3</sup>, is a number ''a'' such that ''a''<sup>3</sup> = ''x''. All [[real number]]s (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 2<sup>3</sup> = 8. All the cube roots of −27''i'' are |
||
:<math>\sqrt[3]{-27i} = \begin{cases} \ \ \ \ \ \ \ \ \ \ \ 3i \\ \ \ \frac{3}{2}\sqrt3-\frac{3}{2}i \\ -\frac{3}{2}\sqrt3-\frac{3}{2}i. \end{cases} </math> |
:<math>\sqrt[3]{-27i} = \begin{cases} \ \ \ \ \ \ \ \ \ \ \ 3i \\ \ \ \frac{3}{2}\sqrt3-\frac{3}{2}i \\ -\frac{3}{2}\sqrt3-\frac{3}{2}i. \end{cases} </math> |
Revision as of 14:08, 5 October 2011
![](http://upload.wikimedia.org/wikipedia/commons/thumb/0/02/Cube_root.svg/288px-Cube_root.svg.png)
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 root operation is not associative or distributive with addition or subtraction.
The cube root operation is associative with exponentiation and distributive with multiplication and division if considering only real numbers, but not always if considering complex numbers, for example:
but
Formal definition
The cube roots of a number x are the numbers y which satisfy the equation
Real numbers
![](http://upload.wikimedia.org/wikipedia/commons/thumb/3/39/3rd_roots_of_unity.svg/220px-3rd_roots_of_unity.svg.png)
If x and y are real, then there is a unique solution and so the cube root of a real number is sometimes defined by this equation. If this definition is used, the cube root of a negative number is a negative number. The principal cube root of x is also represented by
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:
These two roots lead to a relationship between all roots. 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 the two complex cube roots of one.
Complex numbers
![](http://upload.wikimedia.org/wikipedia/commons/thumb/6/62/Complex_cube_root.jpg/350px-Complex_cube_root.jpg)
![](http://upload.wikimedia.org/wikipedia/commons/thumb/8/85/Riemann_surface_cube_root.jpg/200px-Riemann_surface_cube_root.jpg)
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 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 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 three complex cube roots are then
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.
Cube root on standard calculator
From the identity:
There is a simple method to compute cube roots using a non-scientific calculator, using only the multiplication and square root buttons, after the number is on the display. No memory is required.
- Press the square root button once. (Note that the last step will take care of this strange start.)
- Press the multiplication button.
- Press the square root button twice.
- Press the multiplication button.
- Press the square root button four times.
- Press the multiplication button.
- Press the square root button eight times.
- Press the multiplication button...
This process continues until the number does not change after pressing the multiplication button because the repeated square root gives 1 (this means that the solution has been figured to as many significant digits as the calculator can handle). Then:
- Press the square root button one last time.
At this point an approximation of the cube root of the original number will be shown in the display.
If the first multiplication is replaced by division, instead of the cube root, the fifth root will be shown on the display.
Why this method works
After raising x to the power in both sides of the above identity, one obtains:
- (*)
The left hand side is the cube root of x.
The steps shown in the method give:
After 2nd step:
After 4th step:
After 6th step:
After 8th step:
etc.
After computing the necessary terms according to the calculator precision, the last square root finds the right hand of (*).
Alternative method
The above method requires the calculator to have a square root button. Having a simple method of calculating the square root the following function converges fast to the result:
Where with each iteration the result comes closer to the cube root of a.
The method requires less iterations than Halley's method but needs more calculations, hidden in determining the square roots. Because of the fast converging an initial approximation of 1 suffices.
Numerical methods
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.
Also useful is this generalized continued fraction, based on the nth root method:
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.
History
In 499 CE Aryabhata, a great 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).[1]
See also
- Methods of computing square roots
- List of polynomial topics
- Nth root
- Square root
- Nested radical
- Root of unity
- Shifting nth-root algorithm
References
- ^ Aryabhatiya Marathi: आर्यभटीय, Mohan Apte, Pune, India, Rajhans Publications, 2009, p.62, ISBN 978-81-7434-480-9
External links
- Cube root calculator reduces any number to simplest radical form
- Computing the Cube Root, K. Turkowski, Apple Technical Report #KT-32, 1998. Includes C source code.
- "Cube root". PlanetMath.
- Weisstein, Eric W. "Cube Root". MathWorld.