Taylor polynomials get better as their degree grows, so it is natural to let the degree run forever. The result is a power series built entirely from the derivatives of at one point. For , and that series reproduces the function everywhere. For other functions it works only nearby, and for a few strange ones it fails everywhere except the center.
Key terms
Taylor and Maclaurin series
Definition Let have derivatives of all orders at . The Taylor series of at is the power series
The Taylor series at is called the Maclaurin series. Its partial sums are the Taylor polynomials . Writing down the series says nothing yet about where it converges, or whether its sum equals .
In plain words It is the Taylor polynomial with no last term. Each coefficient comes from one derivative of at the center.
Example Take at . Its derivatives are , so
and the Taylor series is
It is geometric with ratio , so it converges for , and there its sum is
Analytic function
Definition A function defined on an open interval is analytic at a point if there are a number with and real coefficients such that
It is analytic on if it is analytic at every point of . When this happens has derivatives of all orders at and the coefficients are forced to be
so the series is the Taylor series of at . For the exponential and trigonometric expansions below, equality with the function is proved with the remainder estimates of Taylor’s theorem. The geometric expansion follows from the geometric series, and the logarithmic one by integrating it.
In plain words A function is analytic at when its Taylor series at actually adds up to the function on some interval around .
Example Polynomials, , and are analytic on all of . The function is analytic at with , as shown above, and in fact at every .
Smooth does not imply analytic
Definition A function is smooth, or of class , on an interval if it has derivatives of all orders there. Every analytic function is smooth, but not every smooth function is analytic. The standard example is
This is smooth on and for every . Its Maclaurin series is therefore the zero series, which converges for every but equals only at , since for .
In plain words A function can be so flat at a point that every derivative there is zero, and still not be the zero function. Its Taylor series then sees nothing.
Example The values near are tiny, which is why all derivatives vanish there.
Yet , while the Maclaurin series gives at .
Exponential expansion
Definition For every real ,
and the radius of convergence is .
In plain words All derivatives of at equal , so the coefficients are , and the factorials shrink the terms fast enough to converge for any .
Example At the partial sums , , , , , approach .
Trigonometric expansions
Definition For every real , with in radians,
Both have .
In plain words The derivatives of at cycle through . So keeps only the odd powers with alternating signs, and keeps only the even ones.
Example Two terms already give
and the true value is .
Logarithmic expansion
Definition For ,
The radius is . The series converges at and diverges at . There is no Maclaurin series of itself, since is not defined at .
In plain words Shift the logarithm so the center sits at a point where it is defined. The series only reaches as far as .
Example Four terms give
compared with . The Taylor polynomial explorer shows the same comparison for with degree and . At , outside the interval of convergence, the polynomials pull away from the curve as the degree grows.
Geometric expansion
Definition For ,
and the series diverges for . This is the Maclaurin series of , since its th derivative at is .
In plain words The geometric series is a Taylor series too, and many other expansions come from it by substitution, differentiation or integration.
Example At the series gives . At the function equals , but the series diverges. The function exists where the series does not converge.
Check yourself
- Write the Taylor series of at .
Show the answer
Every derivative at is , so the series is
It converges to for every real .
- Use three terms of the logarithmic series to estimate .
Show the answer
Three terms give
while .
- Why is the Maclaurin series of (with value at ) not useful for computing the function?
Show the answer
All its coefficients are , so it sums to for every , while the function is positive for every . The function is smooth but not analytic at .