Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cauchy integral also for b< e^(1/e)?
#1
Hi Dmitrii,

why not apply a similar Cauchy-integral technique for bases ?
Instead of letting the parameter go to infinity, we just choose to be the period of the tetration, i.e.
where .

In the version you compute the values of along the vertical line and compute the values to the left via and to the right on via .

But similarly we can compute the values on the horizontal line and conclude the values on the top line and on the bottom line equal to the values on via periodicity.

So summarized we had the recursion formula:


Though the question is whether this is faster than the direct limit formula.
Reply
#2
bo198214 Wrote:why not apply a similar Cauchy-integral technique for bases ?
...
Because, in the case , the Cauchi integral seems to be the only robust way to evaluate the superexponential; but for , the direct expansion is much faster, giving the same 14 decimal digits.
If you mention, even for b=e, in the final implementation, I use the truncated series instead of the numerical approximation of the integrals. It is at least 2 orders of magnitude faster. There is difference, to get the figure within few seconds or tomorrow, ah?

Now I feel that I can evaluate any tetration with 14 digits, and I work making the evaluation fast; and the algorithm - simple and portable (the same pieces of code run with C++, Mathematica and Maple).
If you implement the integral formulas, we may compare the results with my expansion. I expect, of order of 14 digits will coincide.

In the recursion formula, I would specify the base, to avoid confusions:

If you want your implementation to converge, in the last integral, should be replaced to at the left hand tip of the interval of integration, and to the at the right hand tip, in order to avoid the evaluation of the function in a point close to the contour of integration.
Be careful with the order of updates of the estimates of the values of the function:
the speed of convergence (if at all) may depend on this order.
Reply
#3
bo198214 Wrote:why not apply a similar Cauchy-integral technique for bases ?
..

Yes. Please, apply it, reproduce the fugure
http://en.citizendium.org/wiki/Image%3AH...rt2v01.jpg

and compare the values to those by the algorithm (updated version) posted at
http://en.citizendium.org/wiki/Tetration...seSqrt2v01

I expect we can get the agreement with 14 decimal digits..
Who wants to write a paper about it?
Reply
#4
Ansus Wrote:How did you evaluate Taylor series coefficients with Cauchy integral?
I have algorithm that returns at least 14 decimal digits of function .
I express .
I differentiate this expression with respect to so many times I need.

Usually, I use the circular contour of integration, centered at the point of expansion,
with radius slightly smaller than distance to the closest singularity.
This allows to work with good precision, close to the limit due to the rounding errors of the complex double variables.
Reply
#5
See also Wikipedia about Cauchy's formula.

There is the explicit formula for the -th derivative given.
Reply
#6
Ansus Wrote:What about this equation?



Can it be useful?

Looks damn good. Simpler than Dmitrii's default formula.
Reply
#7
Ansus Wrote:Yes, but that formula is recursive.

But that does not matter as long we have once computed f (on the imaginary axis).
Reply
#8
Ansus Wrote:But how to compute it on the imaginary axis?
for b< e^(1/e), the algorithm of the evaluation on the imaginary axis through the integral Cauchi equation is not yet ready.
While, you may recover the function from the asymptotic behavior.
I believe, it is even better than Cauchi.

For b=sqrt(2), the expansion is
F(z)=2- u - v_2 u^2 -v_3 u^3...
where
u=u(z)=exp((z-t)Q)
Substitute the expansion into equation F(z+1)=exp_b(F(z)).
Calculate the Taylor expansion of F(z+1)-exp_b(F(z)) with respect to u,
Taking into account that u(z+1)=Qu(z).
Set to zero the coefficients in this expansion.
These equations determine Q, v_2, v_3, ...
Recover t from the condition F(0)=1.
Then, using F(z-1)=log_b(F(z)) ,
you can evaluate F everywhere, not only along the imaginary axis.

You may use the representation through the asymptotic for evaluation of few first derivatives. If you want a preise evaluation of many coefficients of the Taylor expansion, better, use the Cauchi; you may evaluate a hundred coefficients within a second.
Reply
#9
Ansus Wrote:
Quote:r b< e^(1/e), the algorithm of the evaluation on the imaginary axis through the integral Cauchi equation is not yet ready.
While, you may recover the function from the asymptotic behavior.
There is a plenty of formulas for tetration on this forum. Why not to use them?
Because they did not allow to plot the map of tetration.
Because they do not give 14 decimal digits.
Because they are slow in the evaluation.

Ansus Wrote:
Quote:better, use the Cauchi; you may evaluate a hundred coefficients within a second.
How?
Use formulas for the derivatives through the Cauchi integrals from Wiki.
Chose the circular contour of integration.
Distribute some thoudand points uniformly at this contour.
Spend halfsecond of CPU time to evaluate function in these points.
Spend another halfsecond to approximate the Cauchi integrals with the finite sums
and get the coefficients in the Taylor expansion.
Compare the truncated Taylor expansion to the values by some of algorithms you have mentioned.
Reply
#10
Ansus Wrote:Which Wiki?

I think he means Citizendium.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Where is the proof of a generalized integral for integer heights? Chenjesu 2 817 03/03/2019, 08:55 AM
Last Post: Chenjesu
  Kouznetsov-Tommy-Cauchy method tommy1729 0 1,946 02/18/2015, 07:05 PM
Last Post: tommy1729
  Problem with cauchy method ? tommy1729 0 1,796 02/16/2015, 01:51 AM
Last Post: tommy1729
  Could be tetration if this integral converges JmsNxn 41 39,818 05/13/2014, 01:58 PM
Last Post: JmsNxn
  [integral] How to integrate a fourier series ? tommy1729 1 2,435 05/04/2014, 03:19 PM
Last Post: tommy1729
  Some integral transforms related to tetration JmsNxn 0 1,818 05/02/2013, 07:54 PM
Last Post: JmsNxn
  (draft) integral idea tommy1729 0 2,156 06/25/2011, 10:17 PM
Last Post: tommy1729



Users browsing this thread: 1 Guest(s)