How do you find the cubic root of n without using log keys?

  • Context: High School 
  • Thread starter Thread starter logics
  • Start date Start date
  • Tags Tags
    Cubic Log Root
Click For Summary

Discussion Overview

The discussion revolves around methods for calculating the cubic root of a number \( n \) without using logarithmic or square root functions on a pocket calculator. Participants explore various algorithms, particularly Newton's method and adaptations of Babylonian methods, while considering the efficiency and speed of these calculations.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants suggest using Newton's algorithm to find the cube root, defining it as \( x_{n+1} = \frac{2x_n^3 - a}{3x_n^2} \) and discussing the choice of starting value \( x_0 \).
  • Others question the efficiency of Newton's method for large numbers, particularly a 30-digit number, and ask if there are simpler methods.
  • One participant proposes using Hall's formula in conjunction with the "ANS" button on calculators, suggesting it can yield results in a few seconds.
  • Another participant recalls a method learned in junior school for finding cube roots without tools, raising the question of whether such tricks are widely known.
  • Some participants discuss the number of operations required by different methods, with one noting that Newton's method requires 7 operations per round, while an adapted Babylonian method requires only 5.
  • There is a mention of a potential typo in the formula provided, with a participant noting that despite the error, the method still converges, leading to a discussion about the robustness of the algorithms.
  • A question is raised about modifying Newton's formula and whether the modified version would have the same convergence properties.

Areas of Agreement / Disagreement

Participants express differing opinions on the best method for calculating cube roots, with no consensus on a single approach. There are multiple competing views regarding the efficiency and practicality of the proposed algorithms.

Contextual Notes

Participants highlight the dependence on the choice of starting value and the specific algorithm used, which affects the number of operations and the speed of convergence. There are also unresolved questions about the convergence properties of modified formulas.

logics
Messages
137
Reaction score
0
what is the quickest way to find \sqrt[3]{n} [on a pocket calculator] whitout using any \sqrt{} or log key?
 
Mathematics news on Phys.org
If x is the cube root of a, then x^3= a or x^3- a= 0.

Now use 'Newton's algorithm" to solve that equation- it is of the form f(x)= 0 so Newton's algorithm requires starting with some x_0 and the iterating x_{n+1}= x_n- f(x_n)/f'(x_n).

In particular, with f(x)= x^3- a f'(x)= 3x^2 so the algorithm becomes
x_{n+1}= x_n- \frac{x_n^3- a}{3x_n^2}= \frac{2x_n^3- a}{3x_n^2}

The starting value, x_0 doesn't matter a great deal but probably something like a/3 would be good.
 
HallsofIvy said:
Now use 'Newton's algorithm" to solve that equation-...

how long does that take to find the cube root of a 30-digit number, [on a 10-digit-display calculator] ?
isn't there any better and simpler way?
 
logics said:
how long does that take to find the cube root of a 30-digit number, [on a 10-digit-display calculator] ?
isn't there any better and simpler way?


How long on a calculator? Using the "ANS" button in your algorithm to continuously loop the algorithm and depending on how fast you can press the Enter button, 3-5 seconds seems like a good range.

Edit: Here is the formula you should use on your calculator. Type in your starting number and press the Enter button. Now type in (using Hall's formula):

\displaystyle\frac{2ANS^3-a}{3ANS^2} and continuously press the Enter key and you will have your answer shortly.
 
Last edited:
scurty said:
Here is the formula you should use on your calculator. Type in your starting number and press the Enter button. Now type in (using Hall's formula):...

Is it possible to get a result without using the n³ key?

In junior school we used to find the cube root of a 6- or even 9-digit number such as [635³] without using a pencil. Is that trick generally known?
For example, can you find x = \sqrt[3]{377933067} using only logics, knowing that n = x³ ?
 
Last edited:
logics said:
....without using a pencil. Is that trick generally known?
can you find x = \sqrt[3]{377933067} using only logics, knowing that n = x³ ?
TheDestroyer said:

Can you find 723 using no tool whatsoever? Only logics and your mind [knowing 2³...9³, of course]?
 
Last edited:
logics said:
what is the quickest way to find \sqrt[3]{n}
HallsofIvy said:
x_{n+1}= x_n- \frac{x_n^3- a}{3x_n^2}= \frac{2x_n^3- a}{3x_n^2}
Newton's method requires 7 operations per round : [(2 * x * x * x) - a] : (3 * x * x)
Babylon [adapted] only 4 [x + (a : x * x)] : 2.
Can you find a method that requires only 3?
The starting value, x_0 doesn't matter a great deal but probably something like a/3 would be good.
Why start with such a huge number?, if a is 377933067 a/3 is 125,977,689. Starting with this x0, it takes 38 rounds to get x, which means 266 operations!
 
Last edited:
Elsie93 said:
http://www.infoocean.info/avatar2.jpg how long does that take to find the cube root of a 30-digit number, [on a 10-digit-display calculator] ?
It depends on the algorithm you choose and on the staring value (x0)

As sar as I know, the best known algorithm would still be 'Babylon', if you adapt it to the cube: \frac{1}{3}\, \left(2x+\frac{a}{x²}\right) as it requires 5 operations per round, but I started this thread to learn, one may find quicker methods that require less (3 or even 2) operations...
..as to (x0) If a = 7123456789³ [3.6147...^29] and if you are able, as you certainly are, to guess the first digit [7], you have to press 3 times Enter, which makes 15 operations, in about one second. If you make an error (x0 in the order 10^9 it will take 5 rounds, 2 seconds, and so on.

Being able to find directly the cube root of a 9-digit number is useful to solve [reduced] cubic funtions such as x³+x = 378,005.367: x = 72.3, or x³+8x = 377,354.667...
With pencil and paper one can solve in a few seconds cubic functions with 4/5-digit solution
 
Last edited by a moderator:
  • #10
scurty said:
\frac{2ANS^3 -a }{3ANS^2} and ... press the Enter key.
(Just for future readers)
There is a typo there, the right formula is 2* ans³ + a.

I am remarking this only because it is interesting to note that the formula works all the same, in spite of the mistake, and with same convergence, and gives a negative result.
The point is that if you start, as you should, with a positive x0 you need more iterations, and you get the impression that the method is less powerful.
In reality it is as powerful as Babylon-adapted but requires more ops.

I have a question:
if we modify Newton's formula in a different way :
( ans³ +a) : 2 ans²
would you say this has the same quadratic convergence as Newton's?
 
Last edited:

Similar threads

  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
Replies
9
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K