ArticleslgStudy

computer science

FEE method

FEE method is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand FEE method rather than just read about it. In short: 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 E-functions possible, in particular of ex.

Key takeaways

  • FEE method belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect FEE method to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of FEE method from memory before moving on to harder problems.

Reference excerpt

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 E-functions possible, in particular of ex. 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 sf(n)=O(M(n)log2n). Here sf(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, π, the Euler constant γ, 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 sf(n)=O(M(n)log2n). 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.

FEE computation of classical constants For fast evaluation of the constant π, one can use the Machin-like formula π4=arctan⁡12+arctan⁡13, and apply the FEE to sum the Taylor series for

arctan⁡12=11⋅2−13⋅23+⋯+(−1)r−1(2r−1)22r−1+R1, arctan⁡13=11⋅3−13⋅33+⋯+(−1)r−1(2r−1)32r−1+R2, with the remainder terms R1, R2, which satisfy the bounds

|R1|≤4512r+1122r+1; |R2|≤91012r+1132r+1; and for

r=n, 4(|R1|+|R2|) < 2−n. To calculate π by the FEE it is possible to use also other approximations In all cases the complexity is

sπ=O(M(n)log2n). 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,k=n,k≥1, γ=−log⁡n∑r=012n(−1)rnr+1(r+1)!+∑r=012n(−1)rnr+1(r+1)!(r+1)+O(2−n). The complexity is

sγ=O(M(n)log2n). To evaluate fast the constant γ it is possible to apply the FEE to other approximations.

FEE computation of certain power series By the FEE the two following series are calculated fast:

f1=f1(z)=∑j=0∞a(j)b(j)zj, f2=f2(z)=∑j=0∞a(j)b(j)zjj!, under the assumption that a(j),b(j) are integers,

|a(j)|+|b(j)|≤(Cj)K;|z| < 1;K and C are constants, and z is an algebraic number. The complexity of the evaluation of the series is

sf1(n)=O(M(n)log2n), sf2(n)=O(M(n)log⁡n).

FEE calculation of the classical constant e For the evaluation of the constant e take m=2k,k≥1, terms of the Taylor series for e,

e=1+11!+12!+⋯+1(m−1)!+Rm. Here we choose m, requiring that for the remainder Rm the inequality Rm≤2−n−1 is fulfilled. This is the case, for example, when m≥4nlog⁡n. Thus, we take m=2k such that the natural number k is determined by the inequalities:

2k≥4nlog⁡n>2k−1. We calculate the sum

S=1+11!+12!+⋯+1(m−1)!=∑j=0m−11(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

S=(1(m−1)!+1(m−2)!)+(1(m−3)!+1(m−4)!)+⋯=1(m−1)!(1+m−1)+1(m−3)!(1+m−3)+⋯. We shall compute only integer values of the expressions in the parentheses, that is the values

m,m−2,m−4,…. Thus, at the first step the sum S is into

S=S(1)=∑j=0m1−11(m−1−2j)!αm1−j(1), m1=m2,m=2k,k≥1. At the first step m2 integers of the form

αm1−j(1)=m−2j,j=0,1,…,m1−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≤k).

S=S(i+1)=∑j=0mi+1−11(m−1−2i+1j)!αmi+1−j(i+1), mi+1=mi2=m2i+1, we compute only m2i+1 integers of the form

αmi+1−j(i+1)=αmi−2j(i)+αmi−(2j+1)(i)(m−1−2i+1j)!(m−1−2i−2i+1j)!, j=0,1,…,mi+1−1,m=2k,k≥i+1. Here

(m−1−2i+1j)!(m−1−2i−2i+1j)! is the product of 2i integers. Etc. Step k, the last one. We compute one integer value α1(k), we compute, using the fast algorithm described above the value (m−1)!, and make one division of the integer α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(M(m)log2m)=O(M(n)log⁡n).

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

Worked examples

Example 1 — a first encounter with FEE method

Start with the simplest possible case. Write down what FEE method claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to FEE method before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about FEE method ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of FEE method

In research
FEE method appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses FEE method in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
FEE method is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer arithmetic algorithms, Numerical analysis, Pi algorithms, so understanding it makes those chapters shorter.
In everyday life
Look for FEE method outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “FEE method” →

How to study FEE method in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what FEE method means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain FEE method out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is FEE method in simple terms?

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 E-functions possible, in particular of ex.

Why does FEE method matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study FEE method?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on FEE method.

Tags

  • Computer arithmetic algorithms
  • Numerical analysis
  • Pi algorithms

Keep exploring