Finding a Taylor series from derivatives can get messy fast. Try taking ten derivatives of e − x 2 e^{-x^2} e − x 2 ! Luckily, there’s a shortcut: start from a series you already know, like 1 1 − x \dfrac{1}{1 - x} 1 − x 1 or e x e^x e x , and change it with algebra and calculus. This is how you get the series for ln ( 1 + x ) \ln(1 + x) ln ( 1 + x ) and arctan x \arctan x arctan x , and how you can approximate integrals that have no elementary antiderivative.
Everything on this page builds on the four Maclaurin series you’ve memorized:
e x = ∑ n = 0 ∞ x n n ! all x sin x = ∑ n = 0 ∞ ( − 1 ) n x 2 n + 1 ( 2 n + 1 ) ! all x cos x = ∑ n = 0 ∞ ( − 1 ) n x 2 n ( 2 n ) ! all x 1 1 − x = ∑ n = 0 ∞ x n − 1 < x < 1 \begin{aligned}
e^x &= \sum_{n=0}^{\infty} \frac{x^n}{n!} &&\text{all } x &\qquad \sin x &= \sum_{n=0}^{\infty} \frac{(-1)^n x^{2n+1}}{(2n+1)!} &&\text{all } x \\
\cos x &= \sum_{n=0}^{\infty} \frac{(-1)^n x^{2n}}{(2n)!} &&\text{all } x &\qquad \frac{1}{1 - x} &= \sum_{n=0}^{\infty} x^n &&-1 \lt x \lt 1
\end{aligned} e x cos x = n = 0 ∑ ∞ n ! x n = n = 0 ∑ ∞ ( 2 n )! ( − 1 ) n x 2 n all x all x sin x 1 − x 1 = n = 0 ∑ ∞ ( 2 n + 1 )! ( − 1 ) n x 2 n + 1 = n = 0 ∑ ∞ x n all x − 1 < x < 1
The graph of y = 1/(1 - x), with a vertical asymptote at x = 1, and the partial sums S3 = 1 + x + x squared + x cubed and S8 = 1 + x + ... + x to the 8th. Between the dashed lines x = -1 and x = 1 the partial sums hug the curve, S8 more closely. Outside that interval they pull away from it.
−1
1
2
3
4
5
−1 < x < 1
−1
1
1/(1 − x)
S3
S8
The geometric series 1 + x + x 2 + ⋯ 1 + x + x^2 + \cdots 1 + x + x 2 + ⋯ converges to 1 1 − x \dfrac{1}{1 - x} 1 − x 1 only for − 1 < x < 1 -1 \lt x \lt 1 − 1 < x < 1 . Any series built from it inherits that radius.
Replace x x x with an expression everywhere in a known series. The interval changes to match. For example, replacing x x x with − x 2 -x^2 − x 2 in the geometric series:
1 1 + x 2 = 1 1 − ( − x 2 ) = 1 − x 2 + x 4 − x 6 + ⋯ = ∑ n = 0 ∞ ( − 1 ) n x 2 n \frac{1}{1 + x^2} = \frac{1}{1 - (-x^2)} = 1 - x^2 + x^4 - x^6 + \cdots = \sum_{n=0}^{\infty} (-1)^n x^{2n} 1 + x 2 1 = 1 − ( − x 2 ) 1 = 1 − x 2 + x 4 − x 6 + ⋯ = n = 0 ∑ ∞ ( − 1 ) n x 2 n
valid when ∣ − x 2 ∣ < 1 |-x^2| \lt 1 ∣ − x 2 ∣ < 1 , that is, − 1 < x < 1 -1 \lt x \lt 1 − 1 < x < 1 .
To use the geometric series, first rewrite the function in the form first term 1 − ratio \dfrac{\text{first term}}{1 - \text{ratio}} 1 − ratio first term . For example, 1 2 − x = 1 / 2 1 − x / 2 \dfrac{1}{2 - x} = \dfrac{1/2}{1 - x/2} 2 − x 1 = 1 − x /2 1/2 .
Multiplying a series by x k x^k x k or a constant multiplies every term. The interval doesn’t change. For example, x cos x = x − x 3 2 ! + x 5 4 ! − ⋯ x\cos x = x - \dfrac{x^3}{2!} + \dfrac{x^5}{4!} - \cdots x cos x = x − 2 ! x 3 + 4 ! x 5 − ⋯ for all x x x .
Inside its interval of convergence, a power series can be differentiated or integrated one term at a time , just like a polynomial:
d d x ∑ c n ( x − a ) n = ∑ n c n ( x − a ) n − 1 , ∫ ∑ c n ( x − a ) n d x = C + ∑ c n ( x − a ) n + 1 n + 1 \frac{d}{dx}\sum c_n (x - a)^n = \sum n\,c_n (x - a)^{n-1}, \qquad \int \sum c_n (x - a)^n\,dx = C + \sum \frac{c_n (x - a)^{n+1}}{n + 1} d x d ∑ c n ( x − a ) n = ∑ n c n ( x − a ) n − 1 , ∫ ∑ c n ( x − a ) n d x = C + ∑ n + 1 c n ( x − a ) n + 1
The new series has the same radius of convergence.
The endpoints may change : integrating can make a divergent endpoint converge, and differentiating can make a convergent endpoint diverge. Always recheck them.
When you integrate, find C C C by plugging in the centre.
Integrating 1 1 + t = 1 − t + t 2 − ⋯ \dfrac{1}{1 + t} = 1 - t + t^2 - \cdots 1 + t 1 = 1 − t + t 2 − ⋯ from 0 0 0 to x x x gives
ln ( 1 + x ) = x − x 2 2 + x 3 3 − x 4 4 + ⋯ = ∑ n = 1 ∞ ( − 1 ) n + 1 x n n , − 1 < x ≤ 1 \ln(1 + x) = x - \frac{x^2}{2} + \frac{x^3}{3} - \frac{x^4}{4} + \cdots = \sum_{n=1}^{\infty} \frac{(-1)^{n+1} x^n}{n}, \qquad -1 \lt x \le 1 ln ( 1 + x ) = x − 2 x 2 + 3 x 3 − 4 x 4 + ⋯ = n = 1 ∑ ∞ n ( − 1 ) n + 1 x n , − 1 < x ≤ 1
Integrating 1 1 + t 2 = 1 − t 2 + t 4 − ⋯ \dfrac{1}{1 + t^2} = 1 - t^2 + t^4 - \cdots 1 + t 2 1 = 1 − t 2 + t 4 − ⋯ from 0 0 0 to x x x gives
arctan x = x − x 3 3 + x 5 5 − x 7 7 + ⋯ = ∑ n = 0 ∞ ( − 1 ) n x 2 n + 1 2 n + 1 , − 1 ≤ x ≤ 1 \arctan x = x - \frac{x^3}{3} + \frac{x^5}{5} - \frac{x^7}{7} + \cdots = \sum_{n=0}^{\infty} \frac{(-1)^n x^{2n+1}}{2n + 1}, \qquad -1 \le x \le 1 arctan x = x − 3 x 3 + 5 x 5 − 7 x 7 + ⋯ = n = 0 ∑ ∞ 2 n + 1 ( − 1 ) n x 2 n + 1 , − 1 ≤ x ≤ 1
Both started from series that diverge at x = ± 1 x = \pm 1 x = ± 1 , and both gained endpoints by integrating (Example 4).
Find the Maclaurin series and interval of convergence for f ( x ) = 1 1 + 3 x f(x) = \dfrac{1}{1 + 3x} f ( x ) = 1 + 3 x 1 , and then for g ( x ) = x 1 + 3 x g(x) = \dfrac{x}{1 + 3x} g ( x ) = 1 + 3 x x .
Solution. Write 1 1 + 3 x = 1 1 − ( − 3 x ) \dfrac{1}{1 + 3x} = \dfrac{1}{1 - (-3x)} 1 + 3 x 1 = 1 − ( − 3 x ) 1 and replace x x x with − 3 x -3x − 3 x in 1 1 − x = ∑ x n \dfrac{1}{1 - x} = \sum x^n 1 − x 1 = ∑ x n :
f ( x ) = ∑ n = 0 ∞ ( − 3 x ) n = 1 − 3 x + 9 x 2 − 27 x 3 + ⋯ f(x) = \sum_{n=0}^{\infty} (-3x)^n = 1 - 3x + 9x^2 - 27x^3 + \cdots f ( x ) = n = 0 ∑ ∞ ( − 3 x ) n = 1 − 3 x + 9 x 2 − 27 x 3 + ⋯
valid when ∣ − 3 x ∣ < 1 |-3x| \lt 1 ∣ − 3 x ∣ < 1 , so − 1 3 < x < 1 3 -\tfrac{1}{3} \lt x \lt \tfrac{1}{3} − 3 1 < x < 3 1 . (At the endpoints the terms are ( ± 1 ) n (\pm 1)^n ( ± 1 ) n , which don’t approach 0 0 0 , so they diverge.)
Multiplying by x x x doesn’t change the interval:
g ( x ) = ∑ n = 0 ∞ ( − 3 ) n x n + 1 = x − 3 x 2 + 9 x 3 − 27 x 4 + ⋯ , − 1 3 < x < 1 3 g(x) = \sum_{n=0}^{\infty} (-3)^n x^{n+1} = x - 3x^2 + 9x^3 - 27x^4 + \cdots, \qquad -\tfrac{1}{3} \lt x \lt \tfrac{1}{3} g ( x ) = n = 0 ∑ ∞ ( − 3 ) n x n + 1 = x − 3 x 2 + 9 x 3 − 27 x 4 + ⋯ , − 3 1 < x < 3 1
Find the Maclaurin series for e − x 2 e^{-x^2} e − x 2 . Then use the first three nonzero terms of a series for ∫ 0 1 / 2 e − x 2 d x \displaystyle\int_0^{1/2} e^{-x^2}\,dx ∫ 0 1/2 e − x 2 d x to approximate the integral, and bound the error.
Solution. Replace x x x with − x 2 -x^2 − x 2 in the e x e^x e x series:
e − x 2 = 1 − x 2 + x 4 2 ! − x 6 3 ! + ⋯ = ∑ n = 0 ∞ ( − 1 ) n x 2 n n ! e^{-x^2} = 1 - x^2 + \frac{x^4}{2!} - \frac{x^6}{3!} + \cdots = \sum_{n=0}^{\infty} \frac{(-1)^n x^{2n}}{n!} e − x 2 = 1 − x 2 + 2 ! x 4 − 3 ! x 6 + ⋯ = n = 0 ∑ ∞ n ! ( − 1 ) n x 2 n
Integrate term by term:
∫ 0 1 / 2 e − x 2 d x = [ x − x 3 3 + x 5 10 − x 7 42 + ⋯ ] 0 1 / 2 = 1 2 − 1 24 + 1 320 − 1 5376 + ⋯ \begin{aligned}
\int_0^{1/2} e^{-x^2}\,dx &= \left[x - \frac{x^3}{3} + \frac{x^5}{10} - \frac{x^7}{42} + \cdots\right]_0^{1/2} \\
&= \frac{1}{2} - \frac{1}{24} + \frac{1}{320} - \frac{1}{5376} + \cdots
\end{aligned} ∫ 0 1/2 e − x 2 d x = [ x − 3 x 3 + 10 x 5 − 42 x 7 + ⋯ ] 0 1/2 = 2 1 − 24 1 + 320 1 − 5376 1 + ⋯
The first three terms give
1 2 − 1 24 + 1 320 ≈ 0.461458 ≈ 0.461 \frac{1}{2} - \frac{1}{24} + \frac{1}{320} \approx 0.461458 \approx 0.461 2 1 − 24 1 + 320 1 ≈ 0.461458 ≈ 0.461
This series alternates, and its terms decrease to 0 0 0 , so by the alternating series error bound , the error is at most 1 5376 ≈ 0.000186 \dfrac{1}{5376} \approx 0.000186 5376 1 ≈ 0.000186 . (Check: a calculator gives 0.461281 0.461281 0.461281 .)
Find a power series for 1 ( 1 − x ) 2 \dfrac{1}{(1 - x)^2} ( 1 − x ) 2 1 and its interval of convergence.
Solution. Notice that d d x ( 1 1 − x ) = 1 ( 1 − x ) 2 \dfrac{d}{dx}\left(\dfrac{1}{1 - x}\right) = \dfrac{1}{(1 - x)^2} d x d ( 1 − x 1 ) = ( 1 − x ) 2 1 . Differentiate 1 + x + x 2 + x 3 + ⋯ 1 + x + x^2 + x^3 + \cdots 1 + x + x 2 + x 3 + ⋯ term by term:
1 ( 1 − x ) 2 = 1 + 2 x + 3 x 2 + 4 x 3 + ⋯ = ∑ n = 1 ∞ n x n − 1 \frac{1}{(1 - x)^2} = 1 + 2x + 3x^2 + 4x^3 + \cdots = \sum_{n=1}^{\infty} n x^{n-1} ( 1 − x ) 2 1 = 1 + 2 x + 3 x 2 + 4 x 3 + ⋯ = n = 1 ∑ ∞ n x n − 1
The radius stays 1 1 1 . At x = ± 1 x = \pm 1 x = ± 1 , the terms n ( ± 1 ) n − 1 n(\pm 1)^{n-1} n ( ± 1 ) n − 1 don’t approach 0 0 0 , so both endpoints diverge. The interval of convergence is − 1 < x < 1 -1 \lt x \lt 1 − 1 < x < 1 .
Find the Maclaurin series for ln ( 1 + x ) \ln(1 + x) ln ( 1 + x ) and its interval of convergence.
Solution. Start from 1 1 + t = 1 − t + t 2 − t 3 + ⋯ \dfrac{1}{1 + t} = 1 - t + t^2 - t^3 + \cdots 1 + t 1 = 1 − t + t 2 − t 3 + ⋯ for − 1 < t < 1 -1 \lt t \lt 1 − 1 < t < 1 , and integrate term by term:
ln ( 1 + x ) = ∫ 0 x 1 1 + t d t = x − x 2 2 + x 3 3 − x 4 4 + ⋯ \ln(1 + x) = \int_0^x \frac{1}{1 + t}\,dt = x - \frac{x^2}{2} + \frac{x^3}{3} - \frac{x^4}{4} + \cdots ln ( 1 + x ) = ∫ 0 x 1 + t 1 d t = x − 2 x 2 + 3 x 3 − 4 x 4 + ⋯
(Integrating from 0 0 0 handles the constant: ln ( 1 + 0 ) = 0 \ln(1 + 0) = 0 ln ( 1 + 0 ) = 0 , and the series is also 0 0 0 at x = 0 x = 0 x = 0 .)
The radius is still 1 1 1 . Now check the endpoints of the new series:
At x = 1 x = 1 x = 1 : 1 − 1 2 + 1 3 − ⋯ 1 - \dfrac{1}{2} + \dfrac{1}{3} - \cdots 1 − 2 1 + 3 1 − ⋯ , the alternating harmonic series, converges (to ln 2 \ln 2 ln 2 ).
At x = − 1 x = -1 x = − 1 : − 1 − 1 2 − 1 3 − ⋯ = − ∑ 1 n -1 - \dfrac{1}{2} - \dfrac{1}{3} - \cdots = -\sum \dfrac{1}{n} − 1 − 2 1 − 3 1 − ⋯ = − ∑ n 1 , which diverges .
The interval of convergence is − 1 < x ≤ 1 -1 \lt x \le 1 − 1 < x ≤ 1 . The original series for 1 1 + x \dfrac{1}{1 + x} 1 + x 1 diverged at x = 1 x = 1 x = 1 ; integrating gained that endpoint.
Forgetting to change the interval after substituting. For 1 1 − x 2 / 4 \dfrac{1}{1 - x^2/4} 1 − x 2 /4 1 , the condition is ∣ x 2 4 ∣ < 1 \left|\dfrac{x^2}{4}\right| \lt 1 4 x 2 < 1 , so ∣ x ∣ < 2 |x| \lt 2 ∣ x ∣ < 2 , not ∣ x ∣ < 1 |x| \lt 1 ∣ x ∣ < 1 .
Not rewriting into geometric form first. 1 2 − x \dfrac{1}{2 - x} 2 − x 1 is not ∑ ( x − 1 ) n \sum (x - 1)^n ∑ ( x − 1 ) n or ∑ ( 2 − x ) n \sum (2 - x)^n ∑ ( 2 − x ) n . Factor out the constant: 1 2 − x = 1 2 ⋅ 1 1 − x / 2 = ∑ x n 2 n + 1 \dfrac{1}{2 - x} = \dfrac{1}{2} \cdot \dfrac{1}{1 - x/2} = \sum \dfrac{x^n}{2^{n+1}} 2 − x 1 = 2 1 ⋅ 1 − x /2 1 = ∑ 2 n + 1 x n .
Forgetting the constant when integrating. Integrating term by term gives C C C plus a series. Find C C C by plugging in the centre, or write the integral from 0 0 0 to x x x as in Example 4.
Assuming the endpoints stay the same. Differentiation and integration keep the radius but can change what happens at the endpoints. Check them again in the new series.
Substituting in only some places. When you replace x x x with − x 2 -x^2 − x 2 , every x x x becomes − x 2 -x^2 − x 2 , including inside the powers: ( − x 2 ) n = ( − 1 ) n x 2 n (-x^2)^n = (-1)^n x^{2n} ( − x 2 ) n = ( − 1 ) n x 2 n .
1. (Warm-up) Find the Maclaurin series for 1 1 + x \dfrac{1}{1 + x} 1 + x 1 and its interval of convergence.
Solution Replace x x x with − x -x − x in the geometric series:
1 1 + x = 1 − x + x 2 − x 3 + ⋯ = ∑ n = 0 ∞ ( − 1 ) n x n , − 1 < x < 1 \frac{1}{1 + x} = 1 - x + x^2 - x^3 + \cdots = \sum_{n=0}^{\infty} (-1)^n x^n, \qquad -1 \lt x \lt 1 1 + x 1 = 1 − x + x 2 − x 3 + ⋯ = n = 0 ∑ ∞ ( − 1 ) n x n , − 1 < x < 1 (At x = ± 1 x = \pm 1 x = ± 1 , the terms don’t approach 0 0 0 .)
2. (Warm-up) Find the first three nonzero terms and the general term of the Maclaurin series for sin ( x 2 ) \sin(x^2) sin ( x 2 ) .
Solution Replace x x x with x 2 x^2 x 2 in the sine series:
sin ( x 2 ) = x 2 − x 6 3 ! + x 10 5 ! − ⋯ = ∑ n = 0 ∞ ( − 1 ) n x 4 n + 2 ( 2 n + 1 ) ! \sin(x^2) = x^2 - \frac{x^6}{3!} + \frac{x^{10}}{5!} - \cdots = \sum_{n=0}^{\infty} \frac{(-1)^n x^{4n+2}}{(2n+1)!} sin ( x 2 ) = x 2 − 3 ! x 6 + 5 ! x 10 − ⋯ = n = 0 ∑ ∞ ( 2 n + 1 )! ( − 1 ) n x 4 n + 2 valid for all x x x .
3. (Warm-up) Find the first four nonzero terms and the general term of the Maclaurin series for x e x x e^x x e x .
Solution Multiply the e x e^x e x series by x x x :
x e x = x + x 2 + x 3 2 ! + x 4 3 ! + ⋯ = ∑ n = 0 ∞ x n + 1 n ! x e^x = x + x^2 + \frac{x^3}{2!} + \frac{x^4}{3!} + \cdots = \sum_{n=0}^{\infty} \frac{x^{n+1}}{n!} x e x = x + x 2 + 2 ! x 3 + 3 ! x 4 + ⋯ = n = 0 ∑ ∞ n ! x n + 1
4. (Core) Find a power series for 1 2 − x \dfrac{1}{2 - x} 2 − x 1 and its interval of convergence.
Solution 1 2 − x = 1 2 ⋅ 1 1 − x / 2 = 1 2 ∑ n = 0 ∞ ( x 2 ) n = ∑ n = 0 ∞ x n 2 n + 1 = 1 2 + x 4 + x 2 8 + ⋯ \frac{1}{2 - x} = \frac{1}{2} \cdot \frac{1}{1 - x/2} = \frac{1}{2}\sum_{n=0}^{\infty} \left(\frac{x}{2}\right)^n = \sum_{n=0}^{\infty} \frac{x^n}{2^{n+1}} = \frac{1}{2} + \frac{x}{4} + \frac{x^2}{8} + \cdots 2 − x 1 = 2 1 ⋅ 1 − x /2 1 = 2 1 n = 0 ∑ ∞ ( 2 x ) n = n = 0 ∑ ∞ 2 n + 1 x n = 2 1 + 4 x + 8 x 2 + ⋯ Valid when ∣ x 2 ∣ < 1 \left|\dfrac{x}{2}\right| \lt 1 2 x < 1 : − 2 < x < 2 -2 \lt x \lt 2 − 2 < x < 2 (the endpoints give terms of constant size 1 2 \tfrac{1}{2} 2 1 , so they diverge).
5. (Core) Integrate a geometric series to find the Maclaurin series for ln ( 1 − x ) \ln(1 - x) ln ( 1 − x ) , and find its interval of convergence.
Solution d d x ln ( 1 − x ) = − 1 1 − x \dfrac{d}{dx}\ln(1 - x) = -\dfrac{1}{1 - x} d x d ln ( 1 − x ) = − 1 − x 1 , so
ln ( 1 − x ) = − ∫ 0 x 1 1 − t d t = − ∫ 0 x ( 1 + t + t 2 + ⋯ ) d t = − x − x 2 2 − x 3 3 − ⋯ = − ∑ n = 1 ∞ x n n \ln(1 - x) = -\int_0^x \frac{1}{1 - t}\,dt = -\int_0^x \left(1 + t + t^2 + \cdots\right)dt = -x - \frac{x^2}{2} - \frac{x^3}{3} - \cdots = -\sum_{n=1}^{\infty} \frac{x^n}{n} ln ( 1 − x ) = − ∫ 0 x 1 − t 1 d t = − ∫ 0 x ( 1 + t + t 2 + ⋯ ) d t = − x − 2 x 2 − 3 x 3 − ⋯ = − n = 1 ∑ ∞ n x n The radius is 1 1 1 . At x = 1 x = 1 x = 1 : − ∑ 1 n -\sum \dfrac{1}{n} − ∑ n 1 diverges. At x = − 1 x = -1 x = − 1 : − ∑ ( − 1 ) n n -\sum \dfrac{(-1)^n}{n} − ∑ n ( − 1 ) n converges by the alternating series test. The interval is − 1 ≤ x < 1 -1 \le x \lt 1 − 1 ≤ x < 1 .
6. (Core) Let f ( x ) = ∑ n = 1 ∞ x n n 2 f(x) = \displaystyle\sum_{n=1}^{\infty} \frac{x^n}{n^2} f ( x ) = n = 1 ∑ ∞ n 2 x n , which converges for − 1 ≤ x ≤ 1 -1 \le x \le 1 − 1 ≤ x ≤ 1 . Find a power series for f ′ ( x ) f'(x) f ′ ( x ) and its interval of convergence.
Solution Differentiate term by term:
f ′ ( x ) = ∑ n = 1 ∞ n x n − 1 n 2 = ∑ n = 1 ∞ x n − 1 n = 1 + x 2 + x 2 3 + ⋯ f'(x) = \sum_{n=1}^{\infty} \frac{n x^{n-1}}{n^2} = \sum_{n=1}^{\infty} \frac{x^{n-1}}{n} = 1 + \frac{x}{2} + \frac{x^2}{3} + \cdots f ′ ( x ) = n = 1 ∑ ∞ n 2 n x n − 1 = n = 1 ∑ ∞ n x n − 1 = 1 + 2 x + 3 x 2 + ⋯ The radius is still 1 1 1 . At x = 1 x = 1 x = 1 : ∑ 1 n \sum \dfrac{1}{n} ∑ n 1 diverges. At x = − 1 x = -1 x = − 1 : ∑ ( − 1 ) n − 1 n \sum \dfrac{(-1)^{n-1}}{n} ∑ n ( − 1 ) n − 1 converges by the alternating series test. The interval is − 1 ≤ x < 1 -1 \le x \lt 1 − 1 ≤ x < 1 : differentiating lost the endpoint x = 1 x = 1 x = 1 .
7. (Core) Use the first two nonzero terms of a series to approximate ∫ 0 1 sin ( x 2 ) d x \displaystyle\int_0^1 \sin(x^2)\,dx ∫ 0 1 sin ( x 2 ) d x , and bound the error.
Solution From Question 2, sin ( x 2 ) = x 2 − x 6 6 + x 10 120 − ⋯ \sin(x^2) = x^2 - \dfrac{x^6}{6} + \dfrac{x^{10}}{120} - \cdots sin ( x 2 ) = x 2 − 6 x 6 + 120 x 10 − ⋯ , so
∫ 0 1 sin ( x 2 ) d x = [ x 3 3 − x 7 42 + x 11 1320 − ⋯ ] 0 1 = 1 3 − 1 42 + 1 1320 − ⋯ \int_0^1 \sin(x^2)\,dx = \left[\frac{x^3}{3} - \frac{x^7}{42} + \frac{x^{11}}{1320} - \cdots\right]_0^1 = \frac{1}{3} - \frac{1}{42} + \frac{1}{1320} - \cdots ∫ 0 1 sin ( x 2 ) d x = [ 3 x 3 − 42 x 7 + 1320 x 11 − ⋯ ] 0 1 = 3 1 − 42 1 + 1320 1 − ⋯ Two terms: 1 3 − 1 42 = 13 42 ≈ 0.310 \dfrac{1}{3} - \dfrac{1}{42} = \dfrac{13}{42} \approx 0.310 3 1 − 42 1 = 42 13 ≈ 0.310 .
The series alternates with terms decreasing to 0 0 0 , so the error is at most 1 1320 ≈ 0.00076 \dfrac{1}{1320} \approx 0.00076 1320 1 ≈ 0.00076 . (Since that first omitted term is positive, 13 42 \dfrac{13}{42} 42 13 is an underestimate; a calculator gives 0.310268 0.310268 0.310268 .)
8. (Challenge) Use the series from Example 3 to find the exact sum of ∑ n = 1 ∞ n 2 n = 1 2 + 2 4 + 3 8 + ⋯ \displaystyle\sum_{n=1}^{\infty} \frac{n}{2^n} = \frac{1}{2} + \frac{2}{4} + \frac{3}{8} + \cdots n = 1 ∑ ∞ 2 n n = 2 1 + 4 2 + 8 3 + ⋯
Solution Multiply 1 ( 1 − x ) 2 = ∑ n = 1 ∞ n x n − 1 \dfrac{1}{(1 - x)^2} = \displaystyle\sum_{n=1}^{\infty} n x^{n-1} ( 1 − x ) 2 1 = n = 1 ∑ ∞ n x n − 1 by x x x :
x ( 1 − x ) 2 = ∑ n = 1 ∞ n x n , − 1 < x < 1 \frac{x}{(1 - x)^2} = \sum_{n=1}^{\infty} n x^n, \qquad -1 \lt x \lt 1 ( 1 − x ) 2 x = n = 1 ∑ ∞ n x n , − 1 < x < 1 At x = 1 2 x = \tfrac{1}{2} x = 2 1 , which is inside the interval:
∑ n = 1 ∞ n 2 n = 1 / 2 ( 1 / 2 ) 2 = 2 \sum_{n=1}^{\infty} \frac{n}{2^n} = \frac{1/2}{(1/2)^2} = 2 n = 1 ∑ ∞ 2 n n = ( 1/2 ) 2 1/2 = 2
9. (Challenge) Let f ( x ) = arctan ( x 2 ) f(x) = \arctan\left(\dfrac{x}{2}\right) f ( x ) = arctan ( 2 x ) .
(a) Find the first three nonzero terms and the general term of the Maclaurin series for f f f .
(b) Find the interval of convergence.
(c) Find f ( 5 ) ( 0 ) f^{(5)}(0) f ( 5 ) ( 0 ) .
Solution (a) Replace x x x with x 2 \dfrac{x}{2} 2 x in the arctan series:
f ( x ) = x 2 − ( x / 2 ) 3 3 + ( x / 2 ) 5 5 − ⋯ = x 2 − x 3 24 + x 5 160 − ⋯ f(x) = \frac{x}{2} - \frac{(x/2)^3}{3} + \frac{(x/2)^5}{5} - \cdots = \frac{x}{2} - \frac{x^3}{24} + \frac{x^5}{160} - \cdots f ( x ) = 2 x − 3 ( x /2 ) 3 + 5 ( x /2 ) 5 − ⋯ = 2 x − 24 x 3 + 160 x 5 − ⋯ The general term is ( − 1 ) n x 2 n + 1 ( 2 n + 1 ) 2 2 n + 1 \dfrac{(-1)^n x^{2n+1}}{(2n + 1)\,2^{2n+1}} ( 2 n + 1 ) 2 2 n + 1 ( − 1 ) n x 2 n + 1 .
(b) The arctan series converges for − 1 ≤ x ≤ 1 -1 \le x \le 1 − 1 ≤ x ≤ 1 , so this converges for − 1 ≤ x 2 ≤ 1 -1 \le \dfrac{x}{2} \le 1 − 1 ≤ 2 x ≤ 1 , that is, − 2 ≤ x ≤ 2 -2 \le x \le 2 − 2 ≤ x ≤ 2 .
(c) The coefficient of x 5 x^5 x 5 is 1 160 = f ( 5 ) ( 0 ) 5 ! \dfrac{1}{160} = \dfrac{f^{(5)}(0)}{5!} 160 1 = 5 ! f ( 5 ) ( 0 ) , so
f ( 5 ) ( 0 ) = 120 160 = 3 4 f^{(5)}(0) = \frac{120}{160} = \frac{3}{4} f ( 5 ) ( 0 ) = 160 120 = 4 3