The Lagrange Error Bound
A Taylor polynomial gives an estimate. The Lagrange error bound says how far off that estimate can be, using only a bound on one more derivative.
The bound
The right side looks like the next term of the Taylor polynomial, with replaced by . The error itself equals that next-term form evaluated at some unknown between and . Since is unknown, has to cover every possible , so take the largest value of on the interval, or any number above it.
Here the bound is close to the actual error. It can be much larger for other functions, and that's expected, since it has to hold whichever the error comes from.
When the alternating series bound applies
Sometimes the terms of a Taylor polynomial, evaluated at a particular , are the first terms of a convergent alternating series whose sum is . If that series passes the alternating series test, the error is at most the first term left out. This is often easier than finding .
A Maclaurin series continues a Maclaurin polynomial forever. Its coefficients are , so its first terms are . In the next example the series and where it converges are given.