What is the Maclaurin Series?
The Maclaurin series is a power series expansion of a function f(x) centered at x=0.
It is a special case of the Taylor series with a=0.
If f(x) is infinitely differentiable at x=0:
f(x)=n=0∑∞n!f(n)(0)xn=f(0)+f′(0)x+2!f′′(0)x2+3!f′′′(0)x3+⋯
Common Expansions
ex
Since f(n)(x)=ex, we have f(n)(0)=1 for all n:
ex=n=0∑∞n!xn=1+x+2!x2+3!x3+⋯
sinx
Only odd-degree terms survive:
sinx=n=0∑∞(2n+1)!(−1)nx2n+1=x−3!x3+5!x5−⋯
cosx
Only even-degree terms survive:
cosx=n=0∑∞(2n)!(−1)nx2n=1−2!x2+4!x4−⋯
1−x1 (Geometric series)
1−x1=n=0∑∞xn=1+x+x2+x3+⋯(∣x∣<1)
Substituting x=iθ into the expansions of ex, sinx, and cosx yields:
eiθ=cosθ+isinθ
This is Euler’s formula.