FEE method

Uses your system voice; voice and rate in settings.

Snapshot

≈ 8 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

In mathematics, the FEE method, or fast E-function evaluation method, is the method of fast summation of series of a special form. It was constructed in 1990 by Ekaterina Karatsuba and is so-named because it makes fast computations of the Siegel -functions possible, in particular of e^x . A class of functions, which are "similar to the exponential function," was given the name "E-functions" by Carl Ludwig Siegel. Among these functions are such special functions as the hypergeometric function, cylinder, spherical functions and so on. Using the FEE, it is possible to prove the following theorem: Theorem: Let y=f(x) be an elementary transcendental function, that is the exponential function, or a trigonometric function, or an elementary algebraic function, or their superposition, or their inverse, or a superposition of the inverses. Then s_f(n) = O(M(n)\log^2n). \, Here s_f(n) is the complexity of computation (bit) of the function f(x) with accuracy up to n digits, M(n) is the complexity of multiplication of two n -digit integers.…

In mathematics, the FEE method, or fast E-function evaluation method, is the method of fast summation of series of a special form. It was constructed in 1990 by Ekaterina Karatsuba and is so-named because it makes fast computations of the Siegel -functions possible, in particular of e^x . A class of functions, which are "similar to the exponential function," was given the name "E-functions" by Carl Ludwig Siegel. Among these functions are such special functions as the hypergeometric function, cylinder, spherical functions and so on. Using the FEE, it is possible to prove the following theorem: Theorem: Let y=f(x) be an elementary transcendental function, that is the exponential function, or a trigonometric function, or an elementary algebraic function, or their superposition, or their inverse, or a superposition of the inverses. Then s_f(n) = O(M(n)\log^2n). \, Here s_f(n) is the complexity of computation (bit) of the function f(x) with accuracy up to n digits, M(n) is the complexity of multiplication of two n -digit integers. The algorithms based on the method FEE include the algorithms for fast calculation of any elementary transcendental function for any value of the argument, the classical constants e, \pi, the Euler constant \gamma, the Catalan and the Apéry constants, such higher transcendental functions as the Euler gamma function and its derivatives, the hypergeometric, spherical, cylinder (including the Bessel) functions and some other functions for algebraic values of the argument and parameters, the Riemann zeta function for integer values of the argument and the Hurwitz zeta function for integer argument and algebraic values of the parameter, and also such special integrals as the integral of probability, the Fresnel integrals, the integral exponential function, the trigonometric integrals, and some other integrals for algebraic values of the argument with the complexity bound which is close to the optimal one, namely s_{f}(n)= O(M(n)\log^2 n). \, The FEE makes it possible to calculate fast the values of the functions from the class of higher transcendental functions, certain special integrals of mathematical physics and such classical constants as Euler's, Catalan's and Apéry's constants. An additional advantage of the method FEE is the possibility of parallelizing the algorithms based on the FEE. \frac{\pi}{4} = \arctan \frac12 + \arctan \frac13, and apply the FEE to sum the Taylor series for \arctan \frac12 = \frac{1}{1\cdot 2} - \frac{1}{3\cdot 2^3}+ \cdots + \frac{(-1)^{r-1}}{(2r-1)2^{2r-1}} + R_1 , \arctan \frac13 = \frac{1}{1\cdot 3} - \frac{1}{3\cdot 3^3}+ \cdots + \frac{(-1)^{r-1}}{(2r-1)3^{2r-1}} + R_2 , with the remainder terms R_1, R_2, which satisfy the bounds |R_1| \leq \frac45\frac{1}{2r+1}\frac{1}{2^{2r+1}}; |R_2| \leq \frac{9}{10}\frac{1}{2r+1}\frac{1}{3^{2r+1}}; and for r = n,\, 4(|R_1|+|R_2|) \ To calculate \pi by the FEE it is possible to use also other approximations In all cases the complexity is s_\pi = O(M(n)\log^2 n). \, To compute the Euler constant gamma with accuracy up to n digits, it is necessary to sum by the FEE two series. Namely, for m=6n, \quad k = n, \quad k \geq 1, \, \gamma = - \log n \sum_{r=0}^{12n} \frac{(-1)^rn^{r+1}}{(r+1)!} + \sum_{r=0}^{12n} \frac{(-1)^rn^{r+1}}{(r+1)!(r+1)} + O(2^{-n}) . The complexity is s_\gamma = O(M(n)\log^2 n). \, To evaluate fast the constant \gamma it is possible to apply the FEE to other approximations. f_1 = f_1(z) = \sum_{j=0}^{\infty}\frac{a(j)}{b(j)}z^j , f_2 = f_2(z) = \sum_{j=0}^{\infty}\frac{a(j)}{b(j)}\frac{z^j}{j!} , under the assumption that a(j) , \quad b(j) are integers, |a(j)|+|b(j)| \leq (Cj)^K; \quad |z| \ and C are constants, and z is an algebraic number. The complexity of the evaluation of the series is s_{f_1}(n) = O\left(M(n)\log^2n \right), \, s_{f_2}(n)= O\left(M(n)\log n \right). For the evaluation of the constant e take m = 2^k, \quad k \geq 1 , terms of the Taylor series for e, e = 1 + \frac{1}{1!} + \frac{1}{2!} + \cdots + \frac{1}{(m-1)!} + R_m. Here we choose m , requiring that for the remainder R_m the inequality R_m \leq 2^{-n-1} is fulfilled. This is the case, for example, when m\geq \frac{4n}{\log n}. Thus, we take m=2^k such that the natural number k is determined by the inequalities: 2^k \geq \frac{4n}{\log n} > 2^{k-1}. We calculate the sum S = 1 + \frac{1}{1!} + \frac{1}{2!} + \cdots + \frac{1}{(m-1)!} = \sum_{j=0}^{m-1}\frac{1}{(m-1-j)!} , in k steps of the following process. Step 1. Combining in S the summands sequentially in pairs we carry out of the brackets the "obvious" common factor and obtain \begin{align} S & = \left(\frac{1}{(m-1)!} + \frac{1}{(m-2)!}\right) + \left(\frac{1}{(m-3)!} + \frac{1}{(m-4)!}\right) + \cdots \\ & = \frac{1}{(m-1)!}(1+m-1) + \frac{1}{(m-3)!}(1+m-3) + \cdots . \end{align} We shall compute only integer values of the expressions in the parentheses, that is the values m , m-2 , m-4 , \dots . \, Thus, at the first step the sum S is into S = S(1) = \sum_{j=0}^{m_1-1}\frac{1}{(m-1-2j)!}\alpha_{m_1-j}(1) , m_1 = \frac m2 , m = 2^k , k \geq 1 . At the first step \frac m2 integers of the form \alpha_{m_1-j}(1) = m-2j , \quad j = 0 , 1 , \dots , m_1 - 1 , are calculated. After that we act in a similar way: combining on each step the summands of the sum S sequentially in pairs, we take out of the brackets the 'obvious' common factor and compute only the integer values of the expressions in the brackets. Assume that the first i steps of this process are completed. Step i+1 ( i+1 \leq k ). S = S(i+1) = \sum_{j=0}^{m_{i+1}-1}\frac{1}{(m-1-2^{i+1}j)!} \alpha_{m_{i+1}-j}(i+1) , m_{i+1} = \frac{m_i}{2} = \frac{m}{2^{i+1}} , we compute only \frac{m}{2^{i+1}} integers of the form \alpha_{m_{i+1}-j}(i+1) = \alpha_{m_i-2j}(i) + \alpha_{m_i-(2j+1)}(i)\frac{(m-1-2^{i+1}j)!}{(m-1-2^i-2^{i+1}j)!} , j = 0 , 1 , \dots , \quad m_{i+1} - 1 , \quad m = 2^k , \quad k \geq i+1 . Here \frac{(m-1-2^{i+1}j)!}{(m-1-2^i-2^{i+1}j)!} is the product of 2^i integers. Etc. Step k , the last one. We compute one integer value \alpha_1(k), we compute, using the fast algorithm described above the value (m-1)!, and make one division of the integer \alpha_1(k) by the integer (m-1)!, with accuracy up to n digits. The obtained result is the sum S, or the constant e up to n digits. The complexity of all computations is O\left(M(m)\log^2 m\right) = O\left(M(n)\log n\right). \, ==See also== Fast algorithms AGM method Computational complexity ==References== ==External links== http://www.ccas.ru/personal/karatsuba/divcen.htm http://www.ccas.ru/personal/karatsuba/algen.htm

Text derived from https://en.wikipedia.org/w/index.php?oldid=1325466638 under CC BY-SA 4.0; modifications have been made.