Approximation method for super square root Ztolk Junior Fellow Posts: 21 Threads: 4 Joined: Mar 2010 03/23/2010, 01:09 AM (This post was last modified: 03/23/2010, 01:10 AM by Ztolk.) I came up with this method for calculating x where x^x=y. It's similar to a method for calculating square roots. The procedure is as follows: 1. Pick the number y that you would like to find the super root of. 2. Find the self-power that is closest to and less than y. We call this t^t. For example, if y=4000 then t=5 and t^t=3125. 3. Calculate the difference between y and t^t. So for y=4000, t=5, we get 875. 4. Divide that difference by the interval between the self-power below y and the one above it. So for y=4000, this would be (6^6-5^5)=46656-3125=43531. 5. Add this to t. So with our example the result is 5+875/43531 which is about 5.0201. The actual value is 5.094, so the approximation is 1.5% off the actual value. The approximation generally gets more accurate as y and t get higher. Within the regime of a specific t, the most inaccurate value will occur when y is about 27.4% through the interval (example, for t=5, the approximation is most inaccurate at y=11927+3125=15092). I haven't figured out why this is. The accuracy at this point decreases with increasing t. The integer for which this yields the least accurate value is 2, at about 85%. This method is much more accurate than a first order Taylor approximation of the actual solution. I haven't yet been able to apply this to higher order tetrations. bo198214 Administrator Posts: 1,616 Threads: 102 Joined: Aug 2007 03/23/2010, 10:54 AM To compute the inverse function of a strictly increasing function $f$ a method that always works is bisection. perhaps you start with an integer number $t_0$ as you described. Then you know the real value $t$ such that $f(t)=y$ must lie in the interval $(t_0,t_0+1)$, set $u_0=t+1$. Next you divide the interval $(t_0,u_0)$ into two halfes by $w_0=\frac{t_0+u_0}{2}$, and you know that $t$ must either be in the left half $(t_0,w_0)$ or in the right half $(w_0,u_0)$; in the first case must $f(t_0) and in the second case $f(w_0). You choose the new interval $(t_1,u_1)$ accordingly. And do again bisection on it. By repetition of bisection you can compute the $t$ to arbitrary precision (in the above argumentation I assumed that the solution is never on the boundary of the interval, in which case one can abort the bisection, having found the solution). For a more concise description see wikipedia. There are also other root-finding algortithms, like Newton method, etc. Ztolk Junior Fellow Posts: 21 Threads: 4 Joined: Mar 2010 03/23/2010, 02:33 PM (03/23/2010, 10:54 AM)bo198214 Wrote: To compute the inverse function of a strictly increasing function $f$ a method that always works is bisection. perhaps you start with an integer number $t_0$ as you described. Then you know the real value $t$ such that $f(t)=y$ must lie in the interval $(t_0,t_0+1)$, set $u_0=t+1$. Next you divide the interval $(t_0,u_0)$ into two halfes by $w_0=\frac{t_0+u_0}{2}$, and you know that $t$ must either be in the left half $(t_0,w_0)$ or in the right half $(w_0,u_0)$; in the first case must $f(t_0) and in the second case $f(w_0). You choose the new interval $(t_1,u_1)$ accordingly. And do again bisection on it. By repetition of bisection you can compute the $t$ to arbitrary precision (in the above argumentation I assumed that the solution is never on the boundary of the interval, in which case one can abort the bisection, having found the solution). For a more concise description see wikipedia. There are also other root-finding algortithms, like Newton method, etc. Yeah it's not the most accurate method, but it's done in one step without repetition or recursion, so it would be good more mental math enthusiasts. « Next Oldest | Next Newest »

 Possibly Related Threads… Thread Author Replies Views Last Post tommy's "linear" summability method tommy1729 2 88 01/24/2023, 11:26 AM Last Post: jacob another infinite composition gaussian method clone tommy1729 2 46 01/24/2023, 12:53 AM Last Post: tommy1729 Semi-group iso , tommy's limit fix method and alternative limit for 2sinh method tommy1729 1 155 12/30/2022, 11:27 PM Last Post: tommy1729 [MSE] short review/implem. of Andy's method and a next step Gottfried 4 470 11/03/2022, 11:51 AM Last Post: Gottfried [NT] primitive root conjecture tommy1729 0 264 09/02/2022, 12:32 PM Last Post: tommy1729 Is this the beta method? bo198214 3 539 08/18/2022, 04:18 AM Last Post: JmsNxn Describing the beta method using fractional linear transformations JmsNxn 5 697 08/07/2022, 12:15 PM Last Post: JmsNxn The Etas and Euler Numbers of the 2Sinh Method Catullus 2 488 07/18/2022, 10:01 AM Last Post: Catullus Functional Square Root Catullus 24 2,422 07/01/2022, 09:17 PM Last Post: tommy1729 Tommy's Gaussian method. tommy1729 34 11,528 06/28/2022, 02:23 PM Last Post: tommy1729

Users browsing this thread: 1 Guest(s)