Calculus3Power Series4 of 4
Power Series · 4

Applications of Taylor Series

1

Finding limits with series

A Maclaurin series writes a function as a sum of powers of xx. That lets us cancel, divide, differentiate or integrate term by term. Let's start with two limits that give 00\frac00 when we plug in 00, and see what the series say is really happening near 00.

The second limit needs the series for ex2e^{x^2}. We don't need a new series for that. The series for e□e^{\bx{\square}} works for any expression in the box, as long as we put the same expression in every term.

The series for e□e^{\bx{\square}}
e□\displaystyle {e^{\bx{\square}}} =1+□+□22!+□33!+⋯\displaystyle = {1 + \bx{\square} + \frac{\bx{\square}^2}{2!} + \frac{\bx{\square}^3}{3!} + \cdots}
Find lim⁡x→0sin⁡x−xx3\lim_{x\to 0}\frac{\sin x \off{{}- x}}{x^3} and lim⁡x→0ex2−11−cos⁡x\lim_{x\to 0}\frac{e^{x^2} \off{{}- 1}}{\off{1} - \cos x} using series
lim⁡x→0sin⁡x−xx3\displaystyle {\lim_{x\to 0}\frac{\sin x \off{{}- x}}{x^3}} =  ?\displaystyle = \;?
lim⁡x→0ex2−11−cos⁡x\displaystyle {\lim_{x\to 0}\frac{e^{x^2} \off{{}- 1}}{\off{1} - \cos x}} =  ?\displaystyle = \;?
Text solution
Subtract x\off{x} from the series for sin⁡x\sin xThe x\off{x} cancels, so the top starts at x3x^3. Stopping at sin⁡x≈x\sin x \approx \off{x} would give a top of 00 that tells us nothing.
sin⁡x−x\displaystyle \sin x \off{{}- x} =−x36+x5120−⋯\displaystyle = -\frac{x^3}{6} + \frac{x^5}{120} - \cdots
Divide by x3x^3Every term after −16-\frac16 still has a power of xx, so it goes to 00.
sin⁡x−xx3\displaystyle \frac{\sin x \off{{}- x}}{x^3} =−16+x2120−⋯  →  −16\displaystyle = -\frac16 \gone{{}+ \frac{x^2}{120} - \cdots} \;\to\; -\frac16
Write the top and the bottomPut x2\bx{x^2} in the box, and subtract the 1\off{1}s. Both start with an x2x^2 term.
ex2−1\displaystyle e^{\bx{x^2}} \off{{}- 1} =x2+x42+⋯\displaystyle = x^2 + \frac{x^4}{2} + \cdots
1−cos⁡x\displaystyle \off{1} - \cos x =x22−x424+⋯\displaystyle = \frac{x^2}{2} - \frac{x^4}{24} + \cdots
Divide the top and the bottom by x2x^2
1+x22+⋯12−x224+⋯  →  112\displaystyle \frac{1 \gone{{}+ \frac{x^2}{2} + \cdots}}{\frac12 \gone{{}- \frac{x^2}{24} + \cdots}} \;\to\; \frac{1}{\frac12} =2\displaystyle = 2

How many terms do we need to find the limit?

2

Finding derivatives from a series

Series also give us derivatives at 00. Let's find the sixth derivative of f(x)=e−x2f(x) = e^{-x^2} at 00. When we differentiate by hand, each derivative comes out longer than the one before, so six of them would be a lot of work. The series gets there much faster.

If you differentiate x6x^6 six times, you get 6!6!. Any smaller power becomes 00, and any larger power still has a factor of xx, which is 00 at x=0x = 0. So the x6x^6 term is the only one that contributes to f(6)(0)f^{(6)}(0).

coefficient of x6\displaystyle {\text{coefficient of } x^6} =f(6)(0)6!\displaystyle = {\frac{f^{(6)}(0)}{6!}}
For f(x)=e−x2f(x) = e^{-x^2}, find f(6)(0)f^{(6)}(0) and decide whether ff has a relative maximum or minimum at 00
f(x)\displaystyle f(x) =e−x2\displaystyle = e^{-x^2}
f(6)(0)\displaystyle f^{(6)}(0) =  ?\displaystyle = \;?
relative max or min at 0 ?\displaystyle \text{relative max or min at } 0\,?
Text solution
Put −x2\bx{-x^2} in each boxThe x6x^6 comes from the cubed term. Its 3!3! belongs to the third power of the box, so it stays 3!3! even though the power of xx is 66.
(−x2)33!\displaystyle \frac{(\bx{-x^2})^3}{3!} =−x63!\displaystyle = -\frac{x^6}{3!}
e−x2\displaystyle e^{\bx{-x^2}} =1−x2+x42!−x63!+⋯\displaystyle = 1 - x^2 + \frac{x^4}{2!} - \frac{x^6}{3!} + \cdots
Match the coefficient of x6x^6Set −13!-\frac{1}{3!} equal to f(6)(0)6!\frac{f^{(6)}(0)}{6!} and multiply by 6!6!.
f(6)(0)\displaystyle f^{(6)}(0) =−6!3!\displaystyle = -\frac{6!}{3!} =−7206\displaystyle = -\frac{720}{6} =−120\displaystyle = -120
Read off f′(0)f'(0) and f′′(0)f''(0)Only even powers appear, so every odd derivative at 00 is 00, f′(0)f'(0) and f(5)(0)f^{(5)}(0) included. The coefficient of x2x^2 is −1-1.
f′(0)\displaystyle f'(0) =0\displaystyle = 0
f′′(0)\displaystyle f''(0) =2!⋅(−1)\displaystyle = 2! \cdot (-1) =−2<0\displaystyle = -2 < 0

Since f′(0)=0f'(0) = 0 and f′′(0)<0f''(0) < 0, the tangent at 00 is horizontal and the curve is concave down there. So by the second derivative test, ff has a relative maximum at 00. On the graph, that's the highest point, (0,1)(0, 1).

−2-2
−1-1
11
22
xx
yy
(0,1)(0, 1)
y=e−x2y = e^{-x^2}
f′(0)\displaystyle {f'(0)} =0\displaystyle = {0}
f′′(0)\displaystyle {f''(0)} =−2<0\displaystyle = {-2 < 0}
→  relative maximum\displaystyle {\to\; \text{relative maximum}}

The same idea works for a Taylor series centered at any other value x=ax = a.

coefficient of (x−a)n\displaystyle {\text{coefficient of } (x-a)^n} =f(n)(a)n!\displaystyle = {\frac{f^{(n)}(a)}{n!}}
3

Adding up a series of numbers

So far we've used Maclaurin series to find limits and derivatives at 00. Now let's use them to add up an infinite series of numbers. The sum 1+2+222!+233!+⋯1 + \bx{2} + \frac{\bx{2}^2}{2!} + \frac{\bx{2}^3}{3!} + \cdots has no xx in it, but its factorials look like the series for exe^x. Write the numbers under that series, term under term, and 2\bx{2} sits wherever xx does.

1+x+x22!+x33!+x44!+⋯=ex1+2+222!+233!+244!+⋯=e2\displaystyle {\begin{array}{ccccccccccl} 1 &+& x &+& \dfrac{x^2}{2!} &+& \dfrac{x^3}{3!} &+& \dfrac{x^4}{4!} &+& \cdots = e^x\\[14pt] 1 &+& \bx{2} &+& \dfrac{\bx{2}^2}{2!} &+& \dfrac{\bx{2}^3}{3!} &+& \dfrac{\bx{2}^4}{4!} &+& \cdots = e^{\bx{2}}\end{array}}
1+x+x22!+⋯=ex1+2+222!+⋯=e2\displaystyle {\begin{array}{ccccccl} 1 &+& x &+& \dfrac{x^2}{2!} &+& \cdots = e^x\\[14pt] 1 &+& \bx{2} &+& \dfrac{\bx{2}^2}{2!} &+& \cdots = e^{\bx{2}}\end{array}}

So the sum is e2e^{\bx{2}}. Let's use the same matching on a sum that starts one term late, and on one with alternating signs.

Find the sum of each series by matching it to a Maclaurin series
1+2+222!+233!+⋯\displaystyle {1 + \bx{2} + \frac{\bx{2}^2}{2!} + \frac{\bx{2}^3}{3!} + \cdots} =  ?\displaystyle = \;?
∑n=1∞2nn!\displaystyle \sum_{n=1}^{\infty}\frac{\bx{2}^n}{n!} =  ?\displaystyle = \;?
∑n=0∞(−1)n π2n+132n+1 (2n+1)!\displaystyle \sum_{n=0}^{\infty}\frac{(-1)^n\,\bx{\pi}^{2n+1}}{\bx{3}^{2n+1}\,(2n+1)!} =  ?\displaystyle = \;?
Text solution
A sum that starts at n=1n = 1Starting at n=1n = 1 leaves out the first term of the series for e2e^{\bx{2}}, the 1\off{1}, so we subtract it from the total.
∑n=1∞2nn!\displaystyle \sum_{n=1}^{\infty}\frac{\bx{2}^n}{n!} =2+222!+233!+⋯\displaystyle = \bx{2} + \frac{\bx{2}^2}{2!} + \frac{\bx{2}^3}{3!} + \cdots =e2−1\displaystyle = e^{\bx{2}} \off{{}- 1}
Combine π\bx{\pi} and 3\bx{3}Both are raised to 2n+12n + 1, so they make one number raised to that power.
π2n+132n+1\displaystyle \frac{\bx{\pi}^{2n+1}}{\bx{3}^{2n+1}} =(π3)2n+1\displaystyle = \Big(\bx{\frac{\pi}{3}}\Big)^{2n+1}
Match it to sin⁡x\sin xOdd powers, odd factorials and alternating signs make the series for sin⁡x\sin x, with x=π3x = \bx{\frac{\pi}{3}}.
π3−(π3)33!+(π3)55!−⋯\displaystyle \bx{\frac{\pi}{3}} - \frac{\big(\bx{\frac{\pi}{3}}\big)^3}{3!} + \frac{\big(\bx{\frac{\pi}{3}}\big)^5}{5!} - \cdots =sin⁡π3\displaystyle = \sin\bx{\frac{\pi}{3}} =32\displaystyle = \frac{\sqrt3}{2}

To find which function a series comes from, look at its denominators and signs.

Common Maclaurin series
Every power, factorials, all signs positive
ex\displaystyle {e^x} =1+x+x22!+x33!+⋯\displaystyle = {1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \cdots}
Odd powers, odd factorials, alternating signs
sin⁡x\displaystyle {\sin x} =x−x33!+x55!−⋯\displaystyle = {x - \frac{x^3}{3!} + \frac{x^5}{5!} - \cdots}
Even powers, even factorials, alternating signs
cos⁡x\displaystyle {\cos x} =1−x22!+x44!−⋯\displaystyle = {1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \cdots}
Every power from x, denominators equal to the power, alternating signs
ln⁡(1+x)\displaystyle {\ln(1+x)} =x−x22+x33−⋯\displaystyle = {x - \frac{x^2}{2} + \frac{x^3}{3} - \cdots}
Odd powers, denominators equal to the power, alternating signs
arctan⁡x\displaystyle {\arctan x} =x−x33+x55−⋯\displaystyle = {x - \frac{x^3}{3} + \frac{x^5}{5} - \cdots}
Every power, no denominators, all signs positive
11−x\displaystyle {\frac{1}{1-x}} =1+x+x2+x3+⋯\displaystyle = {1 + x + x^2 + x^3 + \cdots}

Check the denominators before the signs. A series can have alternating signs just because xx is negative.

e−3\displaystyle {e^{\bx{-3}}} =1−3+322!−333!+⋯\displaystyle = {1 \bx{{}- 3} + \frac{\bx{3}^2}{2!} - \frac{\bx{3}^3}{3!} + \cdots}

The series for e−3e^{\bx{-3}} has alternating signs because each odd power of −3\bx{-3} is negative, but the denominators are still factorials.

Which known series matches these terms?

4

Integrating functions with no known antiderivative

Let's find the area under y=e−x2y = e^{-x^2} from x=0x = 0 to x=1x = 1.

0.50.5
11
1.51.5
00
0.50.5
11
xx
yy
y=e−x2y = e^{-x^2}
∫01e−x2 dx\displaystyle {\int_0^1 e^{-x^2}\,dx} =  ?\displaystyle = {\;?}

With an extra xx beside dxdx, u-substitution would do it. Without one, it doesn't.

∫x e−x2 dx\displaystyle {\int x\,e^{-x^2}\,dx}
u=−x2,du=−2x dx\displaystyle {{u = -x^2}, \quad {du = -2x\,dx}}
→  −12∫eu du\displaystyle {\to\; -\frac12\int e^u\,du}
∫e−x2 dx\displaystyle {\int e^{-x^2}\,dx}
u=−x2,du=−2x dx\displaystyle {{u = -x^2}, \quad {du = -2x\,dx}}

In fact, e−x2e^{-x^2} has no antiderivative made of functions we know. But we found its series in section 2, and every term of it is a power of xx, so we can integrate term by term with the power rule.

Find ∫01e−x2 dx\int_0^1 e^{-x^2}\,dx by integrating its Taylor series term by term
∫01e−x2 dx\displaystyle \int_0^1 e^{-x^2}\,dx =  ?\displaystyle = \;?
Text solution
Integrate one power at a timeRaise each power by 11 and divide by the new power. For x42\anti{\frac{x^4}{2}}, that's 5⋅2=105 \cdot 2 = 10 in the denominator.
∫x42 dx\displaystyle \int \anti{\frac{x^4}{2}}\,dx =x55⋅2\displaystyle = \anti{\frac{x^5}{5\cdot 2}} =x510\displaystyle = \anti{\frac{x^5}{10}}
Plug in 11 and 00At x=1x = 1 each power is 11, and at x=0x = 0 every term is 00, so the integral becomes a series of numbers.
∫01e−x2 dx\displaystyle \int_0^1 e^{-x^2}\,dx =[x−x33+x510−x742+⋯]01\displaystyle = \Big[x - \frac{x^3}{3} + \anti{\frac{x^5}{10}} - \frac{x^7}{42} + \cdots\Big]_0^1
=1−13+110−142+1216−⋯\displaystyle = 1 - \frac13 + \frac{1}{10} - \frac{1}{42} + \frac{1}{216} - \cdots
The antiderivative as a seriesIntegrating from 00 to xx instead, with tt inside the integral, gives a power series for the antiderivative.
∫0xe−t2 dt\displaystyle \int_0^x e^{-t^2}\,dt =x−x33+x510−x742+⋯\displaystyle = x - \frac{x^3}{3} + \frac{x^5}{10} - \frac{x^7}{42} + \cdots

The denominators 1,3,10,42,2161, 3, 10, 42, 216 are 1⋅0!,3⋅1!,5⋅2!,7⋅3!,9⋅4!1\cdot 0!, 3\cdot 1!, 5\cdot 2!, 7\cdot 3!, 9\cdot 4!, and none of our known series has those, so we can't name the exact sum. But the terms alternate and get small quickly, so the first few of them give a close estimate. That's the next section.

5

Estimating the integral with an alternating series

Let's estimate ∫01e−x2 dx=1−13+110−142+⋯\int_0^1 e^{-x^2}\,dx = 1 - \frac13 + \frac{1}{10} - \frac{1}{42} + \cdots with an error under 0.010.01. How many terms do we need to keep? Look at the running totals as we add the terms one by one.

1\htmlClass{lc-violet}{1}
23\htmlClass{lc-violet}{\dfrac{2}{3}}
2330\htmlClass{lc-violet}{\dfrac{23}{30}}
13\htmlClass{lc-orange}{\dfrac{1}{3}}
110\htmlClass{lc-orange}{\dfrac{1}{10}}
142\htmlClass{lc-orange}{\dfrac{1}{42}}
∫01e−x2 dx\int_0^1 e^{-x^2}\,dx
0.740.74
0.7450.745
0.750.75
2635\htmlClass{lc-violet}{\dfrac{26}{35}}
1216\htmlClass{lc-orange}{\dfrac{1}{216}}
∫01e−x2 dx\int_0^1 e^{-x^2}\,dx
0+1=11−13=23≈0.66723+110=2330≈0.7672330−142=2635≈0.743\displaystyle {\begin{aligned} 0 + 1 &= \tot{1}\\[6pt] \tot{1} - \frac13 &= \tot{\frac23} \approx \tot{0.667}\\[6pt] \tot{\frac23} + \frac{1}{10} &= \tot{\frac{23}{30}} \approx \tot{0.767}\\[6pt] \tot{\frac{23}{30}} - \frac{1}{42} &= \tot{\frac{26}{35}} \approx \tot{0.743}\end{aligned}}

The signs alternate and the terms decrease toward 00, so each running total lands on the other side of the true value, a little closer each time. The true value is always between two running totals in a row. So the error is less than the size of the first term left out. That's the alternating series error bound.

Estimate ∫01e−x2 dx\int_0^1 e^{-x^2}\,dx to within 0.010.01, and decide whether the estimate is too big or too small
∫01e−x2 dx\displaystyle \int_0^1 e^{-x^2}\,dx =1−13+110−142+⋯\displaystyle = 1 - \frac{1}{3} + \frac{1}{10} - \frac{1}{42} + \cdots
error<0.01\displaystyle \text{error} < 0.01
too big or too small?\displaystyle \text{too big or too small?}
Text solution
Find the first term left out that's under 0.010.01Check the first term left out, not the last term kept. Stopping after three terms leaves out 142\nxt{\frac{1}{42}}, which is too big, so we keep −142-\frac{1}{42} as well.
142≈0.024>0.01\displaystyle \nxt{\frac{1}{42}} \approx \nxt{0.024} > 0.01
1216≈0.0046<0.01\displaystyle \nxt{\frac{1}{216}} \approx \nxt{0.0046} < 0.01
∫01e−x2 dx≈1−13+110−142\displaystyle \int_0^1 e^{-x^2}\,dx \approx \tot{1 - \frac13 + \frac{1}{10} - \frac{1}{42}} =2635≈0.743\displaystyle = \tot{\frac{26}{35}} \approx \tot{0.743}
Too big or too small?The first term left out is positive, so the next running total is above 2635\tot{\frac{26}{35}}, and the true value lies between them. The estimate is too small.
+1216>0  →  ∫01e−x2 dx>2635\displaystyle \nxt{+\frac{1}{216}} > 0 \;\to\; \int_0^1 e^{-x^2}\,dx > \tot{\frac{26}{35}}
CheckA calculator gives about 0.74680.7468, just above our estimate.
0.7468−2635≈0.004<1216\displaystyle 0.7468 - \tot{\frac{26}{35}} \approx 0.004 < \nxt{\frac{1}{216}}

How does the first term left out give us an error bound?

Summary

Limits at 0 from series
sin⁡x−xx3\displaystyle {\frac{\sin x \off{{}- x}}{x^3}} =−x36+x5120−⋯x3\displaystyle = {\frac{-\frac{x^3}{6} + \frac{x^5}{120} - \cdots}{x^3}} =−16+x2120−⋯  →  −16\displaystyle = {-\frac16 \gone{{}+ \frac{x^2}{120} - \cdots} \;\to\; -\frac16}

To find a limit as x→0x \to 0, write out each series until a term doesn't cancel. Then divide the top and bottom by the lowest power of xx. As xx approaches 00, every term with an xx goes to 00, and the constant terms give the limit. If you stop too early and replace sin⁡x\sin x with only x\off{x}, the top becomes 00, but only because you've left out every term that doesn't cancel.

Derivatives from coefficients
f(n)(0)\displaystyle {f^{(n)}(0)} =n!⋅(coefficient of xn)\displaystyle = {n! \cdot (\text{coefficient of } x^n)}
e−x2\displaystyle {e^{-x^2}} =1−x2+x42!−x63!+⋯\displaystyle = {1 - x^2 + \frac{x^4}{2!} - \frac{x^6}{3!} + \cdots}
f(6)(0)\displaystyle {f^{(6)}(0)} =6!⋅(−13!)\displaystyle = {6!\cdot\Big(-\frac{1}{3!}\Big)} =−120\displaystyle = {-120}

In a Taylor series about 00, the nn-th derivative at 00 is n!n! times the coefficient of xnx^n. If a power of xx doesn't appear in the series, its coefficient is 00, so that derivative is 00.

For e−x2e^{-x^2}, substituting −x2\bx{-x^2} into e□e^{\bx{\square}} gives the x6x^6 term (−x2)33!=−x63!\frac{(\bx{-x^2})^3}{3!} = -\frac{x^6}{3!}. The 3!3! belongs to the third power of the box, so it stays 3!3! even though the power of xx is 66.

Testing for a relative maximum or minimum
f′(0)\displaystyle {f'(0)} =0\displaystyle = {0}
f′′(0)\displaystyle {f''(0)} =2!⋅(−1)\displaystyle = {2!\cdot(-1)} =−2<0\displaystyle = {-2 < 0}
→  relative maximum at 0\displaystyle {\to\; \text{relative maximum at } 0}

If a series has no xx term, f′(0)=0f'(0) = 0, so the tangent line at 00 is horizontal. Then f′′(0)=2!⋅(coefficient of x2)f''(0) = 2! \cdot (\text{coefficient of } x^2). If f′′(0)<0f''(0) < 0, the curve is concave down and has a relative maximum at 00. If f′′(0)>0f''(0) > 0, it has a relative minimum.

For a Taylor series centered at x=ax = a, the coefficient of (x−a)n(x - a)^n is f(n)(a)n!\frac{f^{(n)}(a)}{n!}.

Sums of number series
ex\displaystyle {e^x} =1+x+x22!+⋯\displaystyle = {1 + x + \frac{x^2}{2!} + \cdots}
sin⁡x\displaystyle {\sin x} =x−x33!+x55!−⋯\displaystyle = {x - \frac{x^3}{3!} + \frac{x^5}{5!} - \cdots}
cos⁡x\displaystyle {\cos x} =1−x22!+x44!−⋯\displaystyle = {1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \cdots}
ln⁡(1+x)\displaystyle {\ln(1+x)} =x−x22+x33−⋯\displaystyle = {x - \frac{x^2}{2} + \frac{x^3}{3} - \cdots}
arctan⁡x\displaystyle {\arctan x} =x−x33+x55−⋯\displaystyle = {x - \frac{x^3}{3} + \frac{x^5}{5} - \cdots}
11−x\displaystyle {\frac{1}{1-x}} =1+x+x2+⋯\displaystyle = {1 + x + x^2 + \cdots}
∑n=1∞2nn!\displaystyle {\sum_{n=1}^{\infty}\frac{\bx{2}^n}{n!}} =e2−1\displaystyle = {e^{\bx{2}} \off{{}- 1}}

Look at the denominators and signs to find which known Maclaurin series matches. The number raised to each power is xx. Check denominators before signs, because a negative xx can also make signs alternate.

If the sum starts at n=1n = 1 instead of n=0n = 0, subtract the missing first term from the function's value.

Integrating term by term
∫x42 dx\displaystyle {\int \anti{\frac{x^4}{2}}\,dx} =x510\displaystyle = {\anti{\frac{x^5}{10}}}
∫0xe−t2 dt\displaystyle {\int_0^x e^{-t^2}\,dt} =x−x33+x510−x742+⋯\displaystyle = {x - \frac{x^3}{3} + \frac{x^5}{10} - \frac{x^7}{42} + \cdots}

When a function has no antiderivative we can write, replace it with its Taylor series and integrate term by term. Each power xn\anti{x^n} integrates to xn+1n+1\anti{\frac{x^{n+1}}{n+1}}.

Estimating alternating series
1−13+110−142\displaystyle {1 - \frac13 + \frac{1}{10} - \frac{1}{42}} =2635\displaystyle = {\tot{\frac{26}{35}}}
error<1216\displaystyle {\text{error} < \nxt{\frac{1}{216}}}
+1216  →  too small\displaystyle {\nxt{+\frac{1}{216}} \;\to\; \text{too small}}

When the terms alternate signs and decrease to 00, the error is less than the size of the first term left out. If that term is positive, adding it would make the running total larger, so the estimate is too small. If it's negative, the estimate is too big.

6

Practice

Enter exact values as fractions or simplified expressions unless a decimal is asked for.

1
Use a Maclaurin series to find lim⁡x→0ex2−1−x2x4\displaystyle\lim_{x\to 0}\frac{e^{x^2} - 1 - x^2}{x^4}.

Replace uu with x2x^2 in eu=1+u+u22!+u33!+⋯e^u = 1 + u + \frac{u^2}{2!} + \frac{u^3}{3!} + \cdots. What are the first three terms?

After subtracting 11 and x2x^2, which power of xx is the first one left on top?

Plugging in 00 gives 00\frac00, so let's replace ex2e^{x^2} with its series.
ex2\displaystyle e^{\bx{x^2}} =1+x2+x42!+x63!+⋯\displaystyle = \off{1} + \off{x^2} + \frac{x^4}{2!} + \frac{x^6}{3!} + \cdots
Subtract 1\off{1} and x2\off{x^2}, and the first two terms cancel.
ex2−1−x2\displaystyle e^{\bx{x^2}} \off{{}- 1 - x^2} =x42+x66+⋯\displaystyle = \frac{x^4}{2} + \frac{x^6}{6} + \cdots
Now divide each term by x4x^4, and let xx go to 00.
ex2−1−x2x4\displaystyle \frac{e^{\bx{x^2}} \off{{}- 1 - x^2}}{x^4} =12+x26+⋯  →  12\displaystyle = \frac12 \gone{{}+ \frac{x^2}{6} + \cdots} \;\to\; \frac12
2
Let f(x)=x2cos⁡xf(x) = x^2\cos x. Find f(6)(0)f^{(6)}(0).

Which power of xx in the series for cos⁡x\cos x becomes x6x^6 when multiplied by x2x^2?

What factorial divides f(6)(0)f^{(6)}(0) to give the coefficient of x6x^6?

Multiplying the series for cos⁡x\cos x by x2x^2 adds 22 to each power, so the x6x^6 term comes from the x4x^4 term of cos⁡x\cos x.
x2cos⁡x\displaystyle x^2\cos x =x2(1−x22!+x44!−⋯)\displaystyle = x^2\Big(1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \cdots\Big) =x2−x42+x624−⋯\displaystyle = x^2 - \frac{x^4}{2} + \frac{x^6}{24} - \cdots
The coefficient of x6x^6 is f(6)(0)6!\frac{f^{(6)}(0)}{6!}, so set it equal to 124\frac{1}{24} and solve for f(6)(0)f^{(6)}(0).
f(6)(0)6!\displaystyle \frac{f^{(6)}(0)}{6!} =124  →  f(6)(0)\displaystyle = \frac{1}{24} \;\to\; f^{(6)}(0) =72024\displaystyle = \frac{720}{24} =30\displaystyle = 30
3
Find the sum of ∑n=0∞(−1)n π2n9n (2n)!\displaystyle\sum_{n=0}^{\infty}\frac{(-1)^n\,\pi^{2n}}{9^n\,(2n)!}.

Rewrite 9n9^n as a power of 33.

Which known series has alternating signs, even powers, and even factorials?

Rewrite 9n\bx{9}^n as 32n\bx{3}^{2n} so both π\bx{\pi} and 3\bx{3} are raised to the power 2n2n.
9n\displaystyle \bx{9}^n =32n  →  π2n9n\displaystyle = \bx{3}^{2n} \;\to\; \frac{\bx{\pi}^{2n}}{\bx{9}^n} =(π3)2n\displaystyle = \Big(\bx{\frac{\pi}{3}}\Big)^{2n}
This is the series for cos⁡x\cos x with x=π3x = \bx{\frac{\pi}{3}}.
∑n=0∞(−1)n(π3)2n(2n)!\displaystyle \sum_{n=0}^{\infty}\frac{(-1)^n\big(\bx{\frac{\pi}{3}}\big)^{2n}}{(2n)!} =1−(π3)22!+(π3)44!−⋯\displaystyle = 1 - \frac{\big(\bx{\frac{\pi}{3}}\big)^2}{2!} + \frac{\big(\bx{\frac{\pi}{3}}\big)^4}{4!} - \cdots =cos⁡π3\displaystyle = \cos\bx{\frac{\pi}{3}} =12\displaystyle = \frac12
4
(a) Use a series to estimate ∫01sin⁡xx dx\displaystyle\int_0^1 \frac{\sin x}{x}\,dx to within 0.0010.001. (b) Is your estimate too big or too small? Explain.

Divide each term of the series for sin⁡x\sin x by xx before integrating.

Integrate term by term, then compare 1600\frac{1}{600} and 135280\frac{1}{35280} with 0.0010.001. Which is the first term smaller than 0.0010.001?

Look at the sign of the first term you left out.

If you got 101120≈0.842\dfrac{101}{120} \approx 0.842 When integrating x23!\frac{x^2}{3!}, divide by the new power 33 to get x318\frac{x^3}{18}, not x36\frac{x^3}{6}.

Find the series for sin⁡xx\frac{\sin x}{x}Divide each term of the series for sin⁡x\sin x by xx.
sin⁡xx\displaystyle \frac{\sin x}{x} =1−x23!+x45!−x67!+⋯\displaystyle = 1 - \anti{\frac{x^2}{3!}} + \frac{x^4}{5!} - \frac{x^6}{7!} + \cdots
Integrate term by termIntegrate each term from 00 to 11.
∫01sin⁡xx dx\displaystyle \int_0^1 \frac{\sin x}{x}\,dx =[x−x33⋅3!+x55⋅5!−x77⋅7!+⋯]01\displaystyle = \Big[x - \anti{\frac{x^3}{3\cdot 3!}} + \frac{x^5}{5\cdot 5!} - \frac{x^7}{7\cdot 7!} + \cdots\Big]_0^1 =1−118+1600−135280+⋯\displaystyle = 1 - \frac{1}{18} + \frac{1}{600} - \frac{1}{35280} + \cdots
Estimate to within 0.001The series alternates with terms decreasing in size to 00, and 135280\nxt{\frac{1}{35280}} is the first term under 0.0010.001, so we keep the terms before it.
1600≈0.0017>0.001,135280≈0.00003<0.001\displaystyle \nxt{\frac{1}{600}} \approx \nxt{0.0017} > 0.001, \qquad \nxt{\frac{1}{35280}} \approx \nxt{0.00003} < 0.001
1−118+1600\displaystyle 1 - \frac{1}{18} + \frac{1}{600} =17031800≈0.946\displaystyle = \tot{\frac{1703}{1800}} \approx \tot{0.946}
Check whether it's too big or too smallThe first term left out is negative, so the true value of the integral is less than the estimate.
−135280<0  →  ∫01sin⁡xx dx<17031800  →  too big\displaystyle \nxt{-\frac{1}{35280}} < 0 \;\to\; \int_0^1 \frac{\sin x}{x}\,dx < \tot{\frac{1703}{1800}} \;\to\; \text{too big}