This requires working knowledge of sigma notation and familiarity with calculus.
Whereas a line segment can approximate a function at a small interval, a Maclaurin series can approximate the same function at a larger interval, by using a high-order polynomial.
In practice, a few number of terms is sufficient, as long as x0 is within the radius of convergence of 0. Factorials grow faster than polynomials; if the series converges for all real numbers, then there will (most likely) be a factorial in the denominator of each simplified term.
A few examples
ex=1+x+2!x2+3!x3+⋯+n!xn+…
sinx=x−3!x3+5!x5+⋯+(2n+1)!(−1)nx2n+1+…
1−x1=1+x+x2+x3+⋯+xn+…,∣x∣<1
The last series has a radius of convergence of ∣x∣<1. Testing radius of convergence is not something you would expect, as it requires convergence tests for sequences, which are beyond scope of this course. However, this last one is a geometric series, which converges for ∣x∣<1
Similar to geometric series, this converges for ∣x∣<1.
Arithmetics
substitution
Example: Find Maclaurin series expansion for 1+x1.
Here x in 1−x1 and its expansion are all replaced with −x.
This means
1+x1=1−x+x2−x3+⋯+(−x)n+…,∣x∣<1■
(−1)n means positive for even n and negative for odd n.
differentiation
Example: Find Maclaurin series expansion for cosx.
cosx=dxdsinx, so
cosx=dxdn=0∑∞(2n+1)!(−1)nx2n+1
Note that same series can be expressed with different starting index. Here the general form above starts with n=0. Just make sure first index evaluates to first term, which is x in this case. n is a constant with respect to x.
Example: Find Maclaurin series expansion for ln(1+x).
We start from the series for 1+x1 above in an example. Because the radius of convergence is ∣x∣<1 for series expansion of 1+x1, there is no need for absolute value when taking the integral.
The last step was a nifty trick using the substitution m=n+1.
Since n does not exist outside the summation, and is a placeholder variable, the summation can be also written as
ln(1+x)=n=1∑∞n(−1)n+1(x)n=−n=1∑∞n(−x)n
Tip:lnx=−lnx1=−ln(1−xx−1), which makes this series expansion way more powerful than it seems.
Use in limits
An alternative way to evaluate limits of the indeterminate form is to calculate the Maclaurin series and find the limit for the first few terms of the resulting series.
Example: Evaluate
x→0limx3ln(1+x3)sin(x2)−x2
This involves
sinx=x−3!x3+5!x5−…
and
ln(1+x)=x−2x2+3x3−…
where we replace each x by x2 and x3 respectively.
After writing out the Maclaurin expansions, we factored out a x6 out of both numerator and denominator. Then we were able to split L into a ratio of two finite limits.
Use in differential equations
For a differential equation
dxdy=f(x,y)
Repeated implicit differentiation of f(x,y) allow one to find the higher derivatives used in the definition of Maclaurin series. Substitute values of (0,y(0)) and lower derivatives to find the next derivative.
This is not exactly a satisfying answer, but the series (with infinite number of terms) is a solution to the differential equation. Typically you will be asked to differentiate once or twice, depending on the complexity of the derivatives.