Before learning what the integral form of the error of a Taylor series is, we will first learn, through a true anecdote, why it is important for young mathematicians to learn this concept.
In the early 1920's, Igor Tamm was a professor at the Odessa Polytechnic University in what is now Ukraine. This was during the Russian Civil War, when getting food was difficult, so Igor one day went to a nearby village to trade silver spoons for chickens. There, he was captured by an invading anti-communist army, accused of being a communist agent, and sent to the army commander to be killed. Igor confessed to the commander that he was just a mathematics professor trying to get food in the village. The commander, being skeptical, wanted Igor to prove he was a mathematician, so he ordered him to correctly derive the error of the n-term Taylor approximation or be shot. Igor worked out the solution at gunpoint and finally was set free for having the correct solution. Afterwards, he became a prominent physicist and a Nobel Laureate.
Therefore, a thorough understanding of the error, or remainder, term in the Taylor series approximation is crucial not only in mathematics but also in everyday life.
We will prove here that the error of an n-term Taylor approximation around a is equal to ∫axn!f(n+1)(z)(x−z)ndz, or f(x)=∑j=0nj!f(j)(a)(x−a)j+∫axn!f(n+1)(z)(x−z)ndz.
Base case: n=0.
Then it is clear that f(x)=∑j=0nj!f(j)(a)(x−a)j+∫axn!f(n+1)(z)(x−z)ndz=f(a)+∫ax1f(1)(z)dz.
Inductive step:
Assume that f(x)=∑j=0n−1j!f(j)(a)(x−a)j+∫ax(n−1)!f(n)(z)(x−z)(n−1)dz.
We will prove that then f(x)=∑j=0nj!f(j)(a)(x−a)j+∫axn!f(n+1)(z)(x−z)ndz.
Try proving this on your own and then click "Continue" for the solution. (Hint: integration by parts is good)
Integrating by parts, we can replace the indefinite integral ∫(n−1)!f(n)(z)(x−z)(n−1)dz=−∫(n−1)!f(n)(z)dn(x−z)n with −(n−1)!f(n)(z)n(x−z)n+∫n(x−z)nd(n−1)!f(n)(z), which simplifies to −n!f(n)(z)(x−z)n+∫n!f(n+1)(z)(x−z)ndz.
Now, we set the limits of integration as a and x to get ∫ax(n−1)!f(n)(z)(x−z)(n−1)dz=(−n!f(n)(x)(x−x)n+n!f(n)(a)(x−a)n)+∫axn!f(n+1)(z)(x−z)ndz=n!f(n)(a)(x−a)n+∫axn!f(n+1)(z)(x−z)ndz.
Replacing the error integral for the n−1 term approximation with this new expression, we see that f(x)=∑j=0nj!f(j)(a)(x−a)j+∫axn!f(n+1)(z)(x−z)ndz, so the induction is complete.