CALVIZ
Profile picture
Introduction to Series
Introduction to
Series
Infinite series
When you ask a computer or a calculator for the sine of an angle, or e to some power, it is using an algorithm to make this approximation. Many such algorithms are based on infinite series. An infinite series is a sum of infinitely many terms.
The infinite series converges for the following rules :
convegence
Geometric Series
Geometric Series is a series of the form : Sn = a + ar + ar² +... + arn-1 = a(1-rn)/(1-r) where a is the first term, r is the common ratio, and n is the number of terms. The sum can also be represented by the formula in the figure below:
partgeo
If |r| < 1, lim x->inf of rn = 0, thus:
sumgeo
Reconstructing Trancedentals
By integrating the geometric series, we got -ln(1 - x) = x + x2/2 + x3/3 + x4/4 + ...
By substituting -x for x, we got ln(1 + x) = x - x2/2 + x3/3 - x4/4 +...
Taylor Series
The major question still dangling is this: Given a function, can we represent it as a power series in x, or more generally, in x- a? More precisely, can we find numbers C0,C1,C2,C3,... such that:
f(x) = c0 + c1(x - a) + c2(x - a)² + c3(x - a)³ +....
If such representation exists, by substituting x = a, we get :
c0 = f(a)
c1 = f'(a)
c2 = f''(a)/(2!)
thus: cn = f[n](a)/(n!)
To make it easier to evaluate, use MacLaurin series, which is a Taylor series at a = 0:
Maclaurin Series Visualisation
Select the functions:
 
left margin:
right margin:
x: 0
Number of terms: 4
y approx = -, y exact = -, err = -
Legend : Red is the Maclaurin approximation, Blue is the real function.
Taylor Approximation
Using that properties we can now approximate many trancedental functions. With error function :  
error
Module Status: Taylor Series