Taylor series, the mastery sheet

October 8, 2026 · mathllms

Everything about Taylor series on one page: the one idea, the five series that matter, why the factorial is there, when to use them, where they break, and flashcards to prove you know it.

1. The one idea

A Taylor series is derivatives repackaged. Tell me a function's value, slope, curvature, and every higher wiggle at one point, and the series rebuilds the function near that point. The coefficient of each term is exactly the derivative at that point, divided by n factorial.

The general formula

$$f(x) = \sum_{n=0}^{\infty} \frac{f^{(n)}(a)}{n!}(x-a)^n$$

Expand around the point $a$. When $a = 0$ it gets a special name: the Maclaurin series. Same formula, lazier center. Almost every series on this page is a Maclaurin series.

2. The big five

Five series do most of the work in science and engineering. Tap each card for the series, its range, and a sparkline showing a few terms hugging the true curve.

3. Why n factorial

The factorial is not decoration. It undoes what differentiating does to powers. Tap through differentiating $x^4$ and watch the factorial accumulate:

Differentiate $x^4$, step by step

$$x^4$$
no multipliers yet

Differentiating $x^4$ four times spits out $4 \cdot 3 \cdot 2 \cdot 1 = 24 = 4!$. So the series divides by $4!$ up front to make the answer come out right. Every power works the same way: differentiating $x^n$ n times always produces $n!$, so the formula always divides by $n!$.

4. The odd/even shortcut

Sine flips twice: $\sin(-x) = -\sin(x)$. Only odd powers keep that behavior, so every even term in sine's series is exactly zero. Cosine is the mirror: $\cos(-x) = \cos(x)$, so only even powers survive. Symmetry decides the terms before you compute a single derivative.

See the symmetry break

The waves post has a toy where you drag an $x^2$ term into sine and watch the mirror snap, then drag an $x^3$ term and watch the mirror hold. That is this whole section, visible.

Open the symmetry breaker

5. When to use it

Three jobs. Chips still evaluate polynomials under the hood, physicists keep one or two terms, and optimizers follow the quadratic approximation downhill.

Computing

Your phone cannot do "sine" directly. It does plus and times, very fast. Taylor series translate hard functions into plus-and-times. Real chips use tuned-up cousins that need fewer terms, but the idea is identical.

Approximating: the small-x trio

For small $x$, the first term alone is plenty. Drag $x$ and watch each approximation break as $x$ grows.

Understanding: Newton's method

Want the minimum of a bumpy function? At your current spot, take the quadratic Taylor approximation (value, slope, curvature) and jump to its bottom. Repeat. That is Newton's method: follow the second-order approximation downhill. This is the same instinct behind second-order optimizers in ML.

6. Radius of convergence

Some series work everywhere ($\sin x$, $\cos x$, $e^x$). Some die young. The series for $\ln(1+x)$ tracks the truth until $x = 1$, then explodes. Why? The function itself blows up at $x = -1$ (log of zero), and a power series centered at 0 cannot reach past the nearest singularity. Drag $x$ and watch it happen:

$\ln(1+x)$ vs its 25-term series

true $\ln(1+x)$25-term series
true value0.405
series value0.405

7. Self-test flashcards

Six cards. Tap to flip, then be honest: knew it, or still learning. The score is yours alone.

0/6known

Keep exploring

Derivatives are the ingredients. The series is the recipe. Master the recipe and every hard function becomes plus and times.