Taylor and MacLaurin and Polynomials

Taylor Polynomials
While linear approximations (Linearization) can give us great approximation, we can get even better approximations by using more derivatives!
The nth Degree Taylor Polynomial
The polynomial of degree n which approximates f(x) aroundx=x0 is the nth degree Taylor Polynomial for f(x) at x0, and is given by
The Taylor Polynomial about x0=0 is called the Maclaurin Polynomial.
Note: Sometimes the letter a will be used instead of x0.

Example: Taylor Polynomials
Find the third degree Taylor polynomial of f(x)=ln(1−2x) at x=0.
f(0)=ln(1−2(0))=0f′(x)=1−2x1(−2)=−2(1−2x)−1⟹f′(0)=−2(1−2(0))−1=−2f′′(x)=2(1−2x)−2(−2)⟹f′′(0)=−4(1−2(0))−2=−4f′′′(x)=8(1−2x)−3(−2)⟹f′′′(0)=−16((1−2(0)))−3=−16⟹T3=0+1!−2(x−0)1+2!−4(x−0)2+3!−16(x−0)3=−2x−2x2−38x3

Example: Maclaurin Polynomials
Find the 4th degree Maclaurin Polynomial for f(x)=cos3x.
Remember a Maclaurin Polynomial is a Taylor Polynomial with x0=0.
f(0)=cos(0)=1f′(x)=−3sin(3x)⟹f′(0)=−3sin(0)=0f′′(x)=−9cos(3x)⟹f′′(0)=−9cos(0)=−9f′′′(x)=27sin(3x)⟹f′′′(0)=27sin(0)=0f(4)(x)=81cos(3x)⟹f(4)(0)=81cos(0)=81⟹M4(x)=1+1!0(x−0)1+2!−9(x−0)2+3!0(x−3)3+4!81(x−0)4=1−2!9x2+4!81x4