Taylor Series Builder
Add polynomial terms one by one and watch the approximation get closer to the real function. The pink shading shows the error.
Controls
Polynomial
x - x³/6
The Math Behind It
Taylor Series Formula
- f(x) = Σ f⁽ⁿ⁾(a)/n! · (x-a)ⁿ
- Centered at a=0 (Maclaurin series)
- Each term adds one more derivative's worth of information
- More terms = better approximation near the center
Common Series
- sin(x) = x - x³/3! + x⁵/5! - ...
- cos(x) = 1 - x²/2! + x⁴/4! - ...
- eˣ = 1 + x + x²/2! + x³/3! + ...
Try This
- Start with 1 term for sin(x) — it's just a straight line (y=x)
- Add to 3 terms — suddenly it curves like sin!
- At 7 terms, it's nearly perfect from -π to π
- Try eˣ — notice it converges everywhere, not just near 0
- Try ln(1+x) — it only converges for |x| < 1 (radius of convergence)
Key Insight
Taylor series show that smooth functions are secretly polynomials in disguise — you just need infinitely many terms.
You're crushing it!