The tangent line approximation is a first order approximation to a function. To get a higher order approximation by a polynomial we use Taylor's theorem. The approximation to f near the point (x0,f(x0)) is
The nth order term is easily seen to be (f(n)(x0)/n!) (x-x0)n.