How the polynomial is built
Each term makes the polynomial agree with f in one more way at the point a: the constant term matches the value, the linear term matches the slope (that’s the tangent line), the quadratic term matches the curvature, and so on. The coefficient of (x−a)n is n!f(n)(a); dividing by n! undoes the factor that differentiating xn n times would produce.
Series worth knowing
- ex=1+x+2!x2+3!x3+⋯ (all x)
- sinx=x−3!x3+5!x5−⋯ (all x)
- cosx=1−2!x2+4!x4−⋯ (all x)
- ln(1+x)=x−2x2+3x3−⋯ (−1 < x ≤ 1)
- 1−x1=1+x+x2+x3+⋯ (|x| < 1)
Try ln(1+x) with a high order: past x=1 the polynomial peels away no matter how many terms you add. That is the radius of convergence, made visible.
Questions students ask
What is a Taylor series?
A way to write a function as an infinite polynomial built from its derivatives at one point a: f(x)=∑n=0∞n!f(n)(a)(x−a)n. Cutting it off after degree n gives the Taylor polynomial Pn.
What is a Maclaurin series?
A Taylor series centred at a=0. For example ex=1+x+2!x2+3!x3+⋯.
Why does the approximation get worse far from a?
Each term is built from information at a only. Near a the polynomial matches the function’s value, slope, curvature and more; far away those local facts stop being enough. Some series, like ln(1+x), only converge within a certain radius.
How big is the error?
Taylor’s theorem bounds it by the next term: ∣Rn(x)∣≤(n+1)!M∣x−a∣n+1, where M bounds ∣f(n+1)∣ between a and x. The error readout below shows the actual error at a point.