Let f have derivatives up to order n at x=c. The n-th degree Taylor polynomial of f centered at c is the partial sum
Tn(x)=k=0∑nk!f(k)(c)(x−c)k=f(c)+f′(c)(x−c)+⋯+n!f(n)(c)(x−c)n.
The remainder (or error) after n terms is defined as
Rn(x)=f(x)−Tn(x).
The remainder measures how well Tn(x) approximates f(x): the Taylor series of f converges to f(x) at a point x precisely when Rn(x)→0 as n→∞.