Welcome to the World of Taylor and Maclaurin Series!
Ever wish you could turn a complicated function like \(\sin(x)\) or \(e^x\) into a simple polynomial? That is exactly what Taylor and Maclaurin Series do! They allow us to represent almost any smooth function as an "infinite polynomial." Think of these series as the mathematical DNA of a function—by looking at the derivatives at a single point, we can reconstruct the entire function. These series are essential for calculators to compute values and for scientists to simplify complex models.
In this chapter, we are moving from approximating with a few terms (Taylor Polynomials) to representing the function exactly using an infinite number of terms.
1. Defining the Taylor and Maclaurin Series
A Taylor Series is a power series representation of a function \(f(x)\) centered at a specific value \(x = c\). If the series is centered at \(x = 0\), we give it a special name: the Maclaurin Series.
The General Formula
The Taylor Series for \(f(x)\) centered at \(c\) is defined as:
\(f(x) = \sum_{n=0}^{\infty} \frac{f^{(n)}(c)}{n!}(x-c)^n\)
\(f(x) = f(c) + \frac{f'(c)}{1!}(x-c) + \frac{f''(c)}{2!}(x-c)^2 + \frac{f'''(c)}{3!}(x-c)^3 + \dots\)
Wait, what does \(f^{(n)}(c)\) mean?
Don't worry, that is just notation for the nth derivative of the function evaluated at the center \(c\). For example, \(f^{(2)}(c)\) is just the second derivative, \(f''(c)\).
The Maclaurin Series (The Simplified Case)
When the center is \(c = 0\), the formula becomes much cleaner:
\(f(x) = \sum_{n=0}^{\infty} \frac{f^{(n)}(0)}{n!}x^n = f(0) + f'(0)x + \frac{f''(0)}{2!}x^2 + \frac{f'''(0)}{3!}x^3 + \dots\)
Key Takeaway: To build a series from scratch, you just need to find a pattern in the derivatives of the function at the center.
2. The "Big Four" Series You MUST Memorize
Since the AP Calculus BC exam does not provide a formula sheet, you need to know these four series by heart. They are the building blocks for almost every problem in this unit.
1. The Geometric Series:
\(\frac{1}{1-x} = 1 + x + x^2 + x^3 + \dots = \sum_{n=0}^{\infty} x^n\) for \(|x| < 1\)
2. The Exponential Series:
\(e^x = 1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \dots = \sum_{n=0}^{\infty} \frac{x^n}{n!}\)
3. The Sine Series:
\(\sin(x) = x - \frac{x^3}{3!} + \frac{x^5}{5!} - \frac{x^7}{7!} + \dots = \sum_{n=0}^{\infty} \frac{(-1)^n x^{2n+1}}{(2n+1)!}\)
4. The Cosine Series:
\(\cos(x) = 1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \frac{x^6}{6!} + \dots = \sum_{n=0}^{\infty} \frac{(-1)^n x^{2n}}{(2n)!}\)
Memory Trick:
Sine is an odd function, so its series only has odd powers and odd factorials (\(3, 5, 7...\)).
Cosine is an even function, so its series only has even powers and even factorials (\(2, 4, 6...\)).
3. Representing Functions as Power Series
You don't always have to use the big derivative formula to find a series. If a function looks "kind of like" one of the Big Four, you can manipulate the known series to find the new one. This is often much faster!
Method A: Substitution
If you know the series for \(f(x)\), you can find the series for \(f(u)\) by replacing every \(x\) with \(u\).
Example: Find the Maclaurin series for \(e^{x^2}\).
Since \(e^x = 1 + x + \frac{x^2}{2!} + \dots\), replace \(x\) with \(x^2\):
\(e^{x^2} = 1 + (x^2) + \frac{(x^2)^2}{2!} + \dots = 1 + x^2 + \frac{x^4}{2!} + \dots\)
Method B: Differentiation and Integration
You can take the derivative or integral of a power series term-by-term.
Example: We know \(\frac{1}{1-x} = 1 + x + x^2 + x^3 + \dots\).
To find the series for \(\frac{1}{(1-x)^2}\), just take the derivative of both sides!
\(\frac{d}{dx}(\frac{1}{1-x}) = 0 + 1 + 2x + 3x^2 + \dots\)
Method C: Multiplication by \(x^n\)
Example: Find the series for \(x \cdot \sin(x)\).
Just multiply every term of the \(\sin(x)\) series by \(x\):
\(x \cdot (x - \frac{x^3}{3!} + \frac{x^5}{5!} - \dots) = x^2 - \frac{x^4}{3!} + \frac{x^6}{5!} - \dots\)
Key Takeaway: Treat power series like infinite polynomials. You can add, subtract, multiply by constants, and even substitute into them just like you did in Algebra I.
4. Step-by-Step: Finding a Taylor Series from Scratch
If you are asked to find a Taylor series for a function that isn't one of the Big Four (like \(f(x) = \ln(x)\) centered at \(c=1\)), follow these steps:
- List the derivatives: Find \(f(x)\), \(f'(x)\), \(f''(x)\), and \(f'''(x)\).
- Evaluate at the center: Plug \(c\) into each derivative to find \(f(c)\), \(f'(c)\), \(f''(c)\), etc.
- Plug into the formula: Put those values into the \(\frac{f^{(n)}(c)}{n!}(x-c)^n\) format.
- Look for a pattern: Try to write the general term using summation notation \(\sum\).
Did you know? Taylor series are used in physics to simplify equations. For very small angles, physicists often replace \(\sin(x)\) with just \(x\) because the higher-order terms in the series (\(x^3, x^5...\)) become so tiny they are negligible!
5. Common Pitfalls to Avoid
- Forgetting the Factorial: This is the #1 mistake! In the Taylor formula, the \(n\)-th term is always divided by \(n!\).
- Center Confusion: If the series is centered at \(c=3\), make sure you write \((x-3)^n\), not \(x^n\).
- Power Matching: In the series for \(\cos(x)\), the power is \(2n\). In \(\sin(x)\), it is \(2n+1\). Make sure your index \(n\) matches the first term of your series.
- Missing the Alternating Sign: Functions like \(\sin(x)\) and \(\cos(x)\) have terms that flip-flop between positive and negative. Don't forget the \((-1)^n\) in your general term.
Quick Review
Taylor Series: Centered at \(x=c\). Uses the formula \(\frac{f^{(n)}(c)}{n!}(x-c)^n\).
Maclaurin Series: Just a Taylor series centered at \(x=0\).
New Series from Old: Use substitution, derivation, or integration to save time.
Convergence: While this chapter focuses on the representation, remember from Topic 10.13 that these series are only valid within their Interval of Convergence.
Don't worry if this feels overwhelming at first! Practice building the "Big Four" from scratch once or twice, and the patterns will start to stick. You've got this!