AP Calculus BC
Taylor Series Builder: Coefficients from Derivatives
A Taylor series is an infinite polynomial (a power series) reverse-engineered so its derivatives match f at a center a: the coefficient of the (x-a)^n term is the nth derivative of f at a divided by n factorial. A Maclaurin series is just this centered at 0. Grind the derivatives, or reuse a known series.
Converges to f(x) = e^x on (-\infty, \infty).
Every coefficient is c_k = \dfrac{f^{(k)}(0)}{k!}. That is why raising the degree adds one more term and pulls P_{3} closer to the curve.
| k | f^{(k)}(0) | k! | c_k = f^{(k)}(0)/k! |
|---|---|---|---|
| 0 | 1 | 1 | 1 |
| 1 | 1 | 1 | 1 |
| 2 | 1 | 2 | \frac{1}{2} |
| 3 | 1 | 6 | \frac{1}{6} |
| 4 | 1 | 24 | \frac{1}{24} |
This tool builds a Taylor polynomial one derivative at a time. Pick a function , a center , and a degree ; the builder fills a table of derivatives , evaluates each one at the center, divides by a factorial, and drops the results in as coefficients. Then it graphs the polynomial on top of so you can watch it hug the curve near . Finding these approximations is CED Topic 10.11, and the one fact doing all the work is that the coefficient of the degree- term is (LIM-8.A.1).
The reason that formula works is worth seeing, because it is the whole idea of the tool. A Taylor polynomial is reverse-engineered to agree with at the center as closely as a polynomial of its degree can: it matches the value , the slope , the concavity , and every higher derivative up to order , all at . Each term you add pins down exactly one more derivative. That is why more terms mean a tighter fit near the center, and why the fit is sharpest right at and loosens as you move away.
Where do the factorial and the power come from? Differentiate a single term a total of times: every term below it has already vanished, every term above it still carries a factor of that dies at , and the term itself becomes . Setting that equal to forces . The tool's derivative table is exactly this calculation laid out column by column: one row per derivative order, its value at the center, and the factorial you divide by to get the coefficient.
A Maclaurin series is not a different object; it is a Taylor series with the center fixed at . Set the center to in the builder and two things simplify: every collapses to a clean power , and you evaluate each derivative at , usually the easiest input to plug in. That is why the three series worth memorizing, , , and , are always quoted as Maclaurin series (LIM-8.F.2). Centering anywhere else, say for , gives a genuine Taylor series, and that is where the from-derivatives method earns its keep.
Two ways to get a series: pick the shorter one
Grinding out derivatives is the definition, not always the fast route, and knowing when to skip it is the real skill (Topic 10.15). Before you build a table, check whether is a known Maclaurin series in disguise. If is , , , or after a substitution, a constant multiple, a derivative, or an integral, start from the known series instead: to get the series for , substitute into the series for rather than differentiating four times. Build from derivatives when the center is not , or when does not reduce to one of the four standard series.
| Function | Maclaurin series | Reach for it when |
|---|---|---|
| any exponential, or a substitution like | ||
| odd-powered, sign-alternating targets | ||
| even-powered, sign-alternating targets | ||
| for | rational functions, via algebra or substitution |
Worked example
Degree-3 Taylor polynomial for ln x centered at a = 1
Build the third-degree Taylor polynomial for centered at , taking each coefficient straight from a derivative.
- Set up the coefficient formula at this center. With , the polynomial is , so you need and its first three derivatives, each evaluated at .
- Differentiate three times, rewriting as powers so the pattern is visible: , then , , and .
- Evaluate every one at the center : , , , and . These are the raw derivative values, before any factorials.
- Divide each by its factorial to get the coefficients: , , , and .
- Attach each coefficient to its matching and add: .
- Drop the zero term to read off the answer: . Sanity-check at the center: and , so the polynomial matches in value and slope at , exactly as designed.
Frequently asked questions
What is the difference between a Taylor series and a Maclaurin series?
A Maclaurin series is a Taylor series centered at , nothing more. Every Maclaurin series is a Taylor series; the name just signals that the center is , so the terms are powers of and you evaluate the derivatives at . When a problem centers the expansion anywhere else, , , and so on, it is called a Taylor series, and you plug that center into and use .
Why do you divide by in a Taylor series?
The factorial cancels the one that appears when you differentiate the term exactly times: that term becomes at the center while every other term vanishes. To make the polynomial's th derivative match , you need , which forces . Without the factorial the higher derivatives would not line up.
What is the difference between a Taylor polynomial and a Taylor series?
A Taylor polynomial stops at a chosen degree ; a Taylor series keeps going forever. Formally, a Taylor polynomial is a partial sum of the Taylor series (LIM-8.E.1). The builder shows a polynomial because you pick a finite degree, and as you raise that degree you are switching on more terms of the full series, tightening the fit around the center.
Do I have to compute every derivative to find a Taylor series?
Often no, and recognizing when to skip it is the point. If is , , , or after a substitution, constant multiple, derivative, or integral, start from that known Maclaurin series instead of differentiating repeatedly (Topic 10.15). Reserve the from-derivatives method for a nonzero center or a function that does not reduce to one of the standard series, like centered at .