![]() |
|
computing the iterated exp(x)-1 - Printable Version +- Tetration Forum (https://tetrationforum.org) +-- Forum: Tetration and Related Topics (https://tetrationforum.org/forumdisplay.php?fid=1) +--- Forum: Mathematical and General Discussion (https://tetrationforum.org/forumdisplay.php?fid=3) +--- Thread: computing the iterated exp(x)-1 (/showthread.php?tid=18) Pages:
1
2
|
computing the iterated exp(x)-1 - Daniel - 08/13/2007 \( f^n(z)=z+\frac{1}{2} n z^2 + \frac{1}{12} (3n^2-n) z^3 + \frac{1}{48} (6n^3-5n^2+n) z^4 + \cdots \) is the general solution where \( f^0(z) = z \) \( f^1(z) = e^z-1 \) and \( f^m(f^n(z)) = f^{m+n}(z) \). RE: Iterability of exp(x)-1 - bo198214 - 08/13/2007 Daniel Wrote:\( f^n(z)=z+\frac{1}{2} n z^2 + \frac{1}{12} (3n^2-n) z^3 + \frac{1}{48} (6n^3-5n^2+n) z^4 + \cdots \) is the general solution Which formula for the coefficients is this exactly? RE: Iterability of exp(x)-1 - jaydfox - 08/14/2007 bo198214 Wrote:Daniel Wrote:\( f^n(z)=z+\frac{1}{2} n z^2 + \frac{1}{12} (3n^2-n) z^3 + \frac{1}{48} (6n^3-5n^2+n) z^4 + \cdots \) is the general solution I get a similar formula. \( \begin{eqnarray} f(z) & = & e^z-1 \\ \\[10pt] \\ f^{\circ n}(z) & = & \left(\frac{1}{2^0}\right)\left(n^0\right)z^1\ +\\ & & \left(\frac{1}{2^1}\right)\left(n^1\right)z^2\ +\\ & & \left(\frac{1}{2^2}\right)\left(n^2-\frac{n}{3}\right){z^3}\ +\\ & & \left(\frac{1}{2^3}\right)\left(n^3-\frac{5n^2}{6}+\frac{n}{6}\right)z^4\ +\\ & & \left(\frac{1}{2^4}\right)\left(n^4-\frac{13n^3}{9}+\frac{2n^2}{3}-\frac{4n}{45}\right)z^5\ +\\ & & \left(\frac{1}{2^5}\right)\left(n^5-\frac{77n^4}{36}+\frac{89n^3}{54}-\frac{91n^2}{180}+\frac{11n}{270}\right)z^6\ +\\ & & \left(\frac{1}{2^6}\right)\left(n^6-\frac{29n^5}{10}+\frac{175n^4}{54}-\frac{149n^3}{90}+\frac{91n^2}{270}-\frac{n}{105}\right)z^7\ + \\ & & \left(\frac{1}{2^7}\right)\left(n^7-\frac{223n^6}{60}+\frac{1501n^5}{270}-\frac{37n^4}{9}+\frac{391n^3}{270}-\frac{43n^2}{252}-\frac{11n}{1890}\right)z^8\ + \\ & & \left(\frac{1}{2^8}\right)\left(n^8-\frac{481n^7}{105}+\frac{2821n^6}{324}-\frac{13943n^5}{1620}+\frac{725n^4}{162}-\frac{2357n^3}{2268}+\frac{17n^2}{420}+\frac{29n}{5670}\right)z^9\ +\ \cdots \end{eqnarray} \) It's hard to pick out any particular pattern, but I gave it an initial try... Edit: Removed an extra factorial that I had added to make finding the fractions easier. I forgot to pull the factorial back out. Edit #2: I removed the second set of factorials because they cancel out. They were useful for seeing the growth rate, but they made the formula look more complicated than it really is. RE: Iterability of exp(x)-1 - jaydfox - 08/14/2007 It seems clear to me that these polynomials should be stored in a matrix. You have two sets of variables: n^0, n^1, n^2, ..., and z^0, z^1, z^2, ..., and a you have one coefficient for each combination, so long as the degree of n is less than the degree of z. Depending on whether you make the z's a row vector or a column vector, you'll either have an upper triangular matrix or a lower triangular matrix. Once in that format, it should be much easier to pick out the patterns, and it should provide an effective viewpoint to assess convergence. At any rate, I'm not terribly concerned if the radius of convergence is goes to 0 as the number of terms goes to infinity. There should still be a limit that is well-behaved, even if it means taking the limit as z goes to 0, with an integer iteration count that goes to infinity to get us back up the vicinity of z=1. This is essentially what I did with my cheta function, but with linear interpolation. With a higher degree interpolation function based on the power series derived here (e.g., the first 20 terms should converge very nicely for z <0.01), convergence should be even more well-behaved, and by extension, the limit that much more defensible. Assuming the limit is defensible, then less accuracy could be acceptable by using a non-limited approximation. And this is assuming the radius of convergence indeed goes to 0. I don't have access to Baker's proof, so I don't have a lot to go on at the moment. RE: Iterability of exp(x)-1 - Gottfried - 08/14/2007 jaydfox Wrote:It seems clear to me that these polynomials should be stored in a matrix. You have two sets of variables: n^0, n^1, n^2, ..., and z^0, z^1, z^2, ..., and a you have one coefficient for each combination, so long as the degree of n is less than the degree of z.Jay, I'd like to check around with this matrix. I was starting to manually extract the coefficients... but this is tedious and I'm not sure about some signs, where the regularity breaks. Could you provide this matrix, possibly some more rows, in a comma-separated format? Also, I reorder this coefficients for increasing powers of n, including zeros for nonoccurence of the specific coefficient, so for instance I can write M * V(n) where M is the matrix of coefficients and V(n) is the vector of powers of n V(n) = colvec(1,n,n^2,n^3,n^4,...). I can then try with M, similarity scalings, inverse, powers, logs, etc. What I have now is Code: 1,Gottfried RE: Iterability of exp(x)-1 - jaydfox - 08/14/2007 I'm working on an Excel program to generate the first 50 polynomials or more, as many as I can get with the precision I'm limited to. It'll probably be tomorrow before I can get it done, because I have some other work to do in the meantime. RE: Iterability of exp(x)-1 - Gottfried - 08/14/2007 Here I show some matrices, which allow to compute real iterates for x -> exp(x)-1 The matrix, which performs the iterate is \( \hspace{24} C = F^{-1} * St2 * F \) Code: C= (only 8 rows/columns shown)This matrix allows to compute \( \hspace{24} V(x)\sim * C = V(e^x - 1)\sim \) Example 1: normal iterates \( \hspace{24} V(1)\sim * C = V(e - 1)\sim \) \( \hspace{24} V(1)\sim * C^2 = V(e^{e - 1}-1)\sim \) Code: results----------------------------------------------------------------------- To obtain real or complex iterates real or complex powers of C are needed. The eigensystem of C is degenerate, so this cannot be used. But there is the possibility of computing the matrix- logarithm of C. \( \hspace{24} LC = \log{\left(C\right)} \) Code: LC =Of this we can compute arbitrary complex multiples, say for a start, to realize the half-iterate means the square-root of C, and this means 1/2*LC (not documented here, trivial) Example 2: Square-root - 1/2-iterates From this, the top left of C^0.5 is then \( \hspace{24} C^{0.5} = \exp(0.5*LC) \) Code: C^0.5=(note, that the second column is just the sequence, Henryk provided us with in the first post of this thread) and we get the first four half-iterates (the interesting result is in 2'nd column) Code: 1/2-iteratesExample 3: Cube-root - 1/3-iterates The top-left of the cube-root of C, C^(1/3) is Code: C^(1/3)=We get the first six 1/3-iterates Code: 1/3-iterates------------------------------------------------------------------------ The convergence of the series for fractional iterates was worse than that of integral iterates. It looks also suspicious, that with dim=32, in the matrix-logarithm the entries first decrease to higher indexed rows, (which suggests good approximability) but increase again from, say, row 24, so I don't know about the general behaviour (see table below) This may have the same consequences for the fractional powers of C. (see table below) I arrived at the above values using 32 coefficients "by default" by Euler- summation. May be this procedure is required in general, in case the entries of the fractional powers of C diverge but alternate in sign. (That is then the field of analytic continuation, I assume?) Gottfried ------------------------------------------------------------------------- Top left from the matrix-logarithm of C Code: 1.0*LC=Top left from C^(1/2) = Exp(1/2*log©) Code: 1.0*C^(1/2)=RE: Iterability of exp(x)-1 - Gottfried - 08/14/2007 jaydfox Wrote:bo198214 Wrote:Daniel Wrote:\( f^n(z)=z+\frac{1}{2} n z^2 + \frac{1}{12} (3n^2-n) z^3 + \frac{1}{48} (6n^3-5n^2+n) z^4 + \cdots \) is the general solution The coefficients occur also by explicitely computing the matrix-exponential via the exponential-series. Let CL = log( C ) , where C is the iterable operator for exp(z)-1 as defined in my other post, then Code: .with as many terms as a given finite dimension requires (CL is nilpotent to the order of its dimension) Then we have (selecting dimension 5 for an example) Code: exponential-series and tmpe is Code: tmpeThe value for the half-iterate h(z) occurs then from the matrix-product Code: V(z)~ * tmpe [,1]where as usual the second column of tmpe is the interesting one. Code: second column of tmpe:and with h(z) for the value of the half-iterate resp to parameter z in Code: .we have Code: formula for half-iterate, using matrix dimension 5which agrees with your formula. Gottfried RE: Iterability of exp(x)-1 - bo198214 - 08/14/2007 I come to the same formula, however computing indexes above 15 is nearly impossible. So it seems that your methods somehow are faster than the direct double binomial expansion executed in Maple. Whats your biggest index (say it takes below 5min) that you can compute and by which method on which system? RE: Iterability of exp(x)-1 - Gottfried - 08/14/2007 bo198214 Wrote:I come to the same formula, however computing indexes above 15 is nearly impossible. So it seems that your methods somehow are faster than the direct double binomial expansion executed in Maple. Hmm, with dimension = 64 , let it come to 1 minute for the computations of that matrix-exponential with the variable n. [update:] Just tried with dim=32, it was, let's say 2 seconds. (So the above guess was a bit rough... ;-) ) [/update] Usually I calculate with dim=32 and can be in a reasonable dialog with the system, so less a second to some seconds. If I compute eigensystems I had longer computation times, assumably because of required higher precision (my default is 80 or 200 digits float, with eigensystem analysis I needed sometimes 800 digits with dim=32) and for such analyses I wait possibly some minutes. My application is Pari/GP, btw. In the german math-newsgroup some readers provided me with results for crosscheck and mentioned, they were able to do such eigenanalyses with mathematica or maple up to dimension =128 in some seconds or few minutes - don't know how this difference is possible (I even didn't try the eigenanalysis with dim=64 in my Pari/GP-setting). Gottfried Ah, well, the system: 1 GHz CPU, 1 GByte Ram, Win Xp Pari/Gp interfaced by my Pari-TTY-Gui [edit 2] Actually, with nilpontent matrices I use the simpler formula, given M F=matid(dim);S=F; for(k=1,dim, F = F*M/k ; S = S + F ) [/edit 2] |