Taylor step by step

See how the Taylor polynomial hugs a function as it gains degrees, measure the error point by point and find the interval where it works and how far a power series reaches. It is Roque, the site’s graphing tool, in guided mode: each step asks what you think will happen before showing you. It works in the browser, on your phone too.

How to use it

  1. Start in «Guided»: the sine and its tangent line, and a question before going up to degree 3.
  2. Open the polynomial’s step by step: each coefficient is a derivative at 0 divided by its factorial, in the order you write it in the exam.
  3. In the error step, the curve is the difference between the sine and its degree-3 polynomial, and the line is the 0.001 limit: think about how far it works before seeing the answer.
  4. Raise the degree with the slider and see how much longer the polynomial holds; then the series of 1/(1 − x) and its radius of convergence.
  5. Switch to «Free» and try other functions and degrees, or press «Export to MATLAB» to repeat it in the MATLAB playground.

What it calculates

The degree-n Taylor polynomial of the function around the center, Pn(x) = Σ f(k)(a)/k! · (x − a)k, with each derivative, its value at the center and its coefficient exact (fractions, not decimals), and the error |f(x) − Pn(x)| drawn against the limit. The interval where it works comes from the Lagrange remainder, |Rn(x)| ≤ M · |x − a|n+1/(n + 1)!, and the series of 1/(1 − x) shows what happens outside the radius of convergence. The Taylor and power series topic explains it step by step; the working of every polynomial is checked with SymPy.