Sequences and Series

Arithmetic sequence

un=u1+(n1)kSnSn1=unSn=n=iju1+(n1)k=ji+12(ui+uj)

Geometric sequence

un=u1rn1Sn=u1(1rn)1rS=u11r

Binomial Expansion

(nr)=n!r!(nr)!Tr+1=nCrarbnr(ax+b)n=bnr=0(nr)(axb)r|x|<|ba|

Maclaurin Series

The Weierstrass Approximation Theorem

The Weierstrass Approximation Theorem shows that any continuous function on a compact interval can be uniformly approximated by polynomials.
Let f:[a,b]R be a continuous function. Then,ε>0,there exists a polynomial P(x)
such that

supx[a,b]|f(x)P(x)|<ε.

Refer to Definitions of Supremum if unclear.
As such, we can define ϵ to be infinitely close to 0 and have a polynomial closely fit f(x).

Thus suppose any function can be expressed in terms of a polynomial

f(x)a0+a1x+a2x2+a3x3

or

f(x)n=0anxn

To find a0, we can sub x=0 into f(x).
To find a1, we can differentiate f(x) to obtain f(x). Substitute x as 0, to obtain a1. Thus

f(x)=a1+2a2x+3a3x2+4a4x3f(0)=a0f(0)=a1f(0)=2a2f(0)=32a3f(0)=4321a4f(n)(0)=n!an

Thus

an=f(n)(0)n!

Substituting it into the approximation equation above

f(x)n=0f(n)(0)n!xn
Question

What is the Maclaurin Series expansion for ex?

Solution: Since differentiating ex is always ex and e0 is 1. Then

ex=n=0xnn!

Maclaurin Series expansion for sin and cos

sinx=n=0(1)n(2n+1)!x2n+1cosx=n=0(1)n(2n)!x2n

Refer to Complex Numbers to see the link between trigonometry and exponential functions.

Fourier Series

Why does sin and cos form the orthonormal basis of functions?

The inner product of sin and cos is 0. This means the two functions are orthogonal to one another in a vector space. Thus, they can be the basis vectors of any coordinate system.

02πsinxcosxdx=0

Thus any functions can be expressed as a sum of sin and cos waves.

sinx,cosx=0

Full explanation here