Loading [MathJax]/jax/element/mml/optable/BasicLatin.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

2.4E: Exercises for Section 2.4

( \newcommand{\kernel}{\mathrm{null}\,}\)

Taylor Polynomials

In exercises 1 - 8, find the Taylor polynomials of degree two approximating the given function centered at the given point.

1) f(x)=1+x+x2 at a=1

2) f(x)=1+x+x2 at a=1

Answer
f(1)=1;f(1)=1;f(1)=2;p2(x)=1(x+1)+(x+1)2

3) f(x)=cos(2x) at a=π

4) f(x)=sin(2x) at a=π2

Answer
f(x)=2cos(2x);f(x)=4sin(2x);p2(x)=2(xπ2)

5) f(x)=x at a=4

6) f(x)=lnx at a=1

Answer
f(x)=1x;f(x)=1x2;p2(x)=0+(x1)12(x1)2

7) f(x)=1x at a=1

8) f(x)=ex at a=1

Answer
p2(x)=e+e(x1)+e2(x1)2

Taylor Remainder Theorem

In exercises 9 - 14, verify that the given choice of n in the remainder estimate |Rn|M(n+1)!(xa)n+1, where M is the maximum value of f(n+1)(z) on the interval between a and the indicated point, yields |Rn|11000. Find the value of the Taylor polynomial pn of f at the indicated point.

9) [T] 10;a=9,n=3

10) [T] (28)1/3;a=27,n=1

Answer
d2dx2x1/3=29x5/30.00092 when x28 so the remainder estimate applies to the linear approximation x1/3p1(27)=3+x2727, which gives (28)1/33+127=3.¯037, while (28)1/33.03658.

11) [T] sin(6);a=2π,n=5

12) [T] e2;a=0,n=9

Answer
Using the estimate 21010!<0.000283 we can use the Taylor expansion of order 9 to estimate ex at x=2. as e2p9(2)=1+2+222+236++299!=7.3887… whereas e27.3891.

13) [T] cos(π5);a=0,n=4

14) [T] ln(2);a=1,n=1000

Answer
Since dndxn(lnx)=(1)n1(n1)!xn,R100011001. One has p1000(1)=1000n=1(1)n1n0.6936 whereas ln(2)0.6931.

Approximating Definite Integrals Using Taylor Series

15) Integrate the approximation sinttt36+t5120t75040 evaluated at πt to approximate 10sinπtπtdt.

16) Integrate the approximation ex1+x+x22++x6720 evaluated at x2 to approximate 10ex2dx.

Answer
10(1x2+x42x66+x824x10120+x12720)dx=1133+15101742+1992411112011+113720130.74683 whereas 10ex2dx0.74682.

More Taylor Remainder Theorem Problems

In exercises 17 - 20, find the smallest value of n such that the remainder estimate |Rn|M(n+1)!(xa)n+1, where M is the maximum value of f(n+1)(z) on the interval between a and the indicated point, yields |Rn|11000 on the indicated interval.

17) f(x)=sinx on [π,π],a=0

18) f(x)=cosx on [π2,π2],a=0

Answer
Since f(n+1)(z) is sinz or cosz, we have M=1. Since |x0|π2, we seek the smallest n such that πn+12n+1(n+1)!0.001. The smallest such value is n=7. The remainder estimate is R70.00092.

19) f(x)=e2x on [1,1],a=0

20) f(x)=ex on [3,3],a=0

Answer
Since f(n+1)(z)=±ez one has M=e3. Since |x0|3, one seeks the smallest n such that 3n+1e3(n+1)!0.001. The smallest such value is n=14. The remainder estimate is R140.000220.

In exercises 21 - 24, the maximum of the right-hand side of the remainder estimate |R1|max|f(z)|2R2 on [aR,a+R] occurs at a or a±R. Estimate the maximum value of R such that max|f(z)|2R20.1 on [aR,a+R] by plotting this maximum as a function of R.

21) [T] ex approximated by 1+x,a=0

22) [T] sinx approximated by x,a=0

Answer

Since sinx is increasing for small x and since d2dx2(sinx)=sinx, the estimate applies whenever R2sin(R)0.2, which applies up to R=0.596.

CNX_Calc_Figure_10_03_202.jpeg

23) [T] lnx approximated by x1,a=1

24) [T] cosx approximated by 1,a=0

Answer

Since the second derivative of cosx is cosx and since cosx is decreasing away from x=0, the estimate applies when R2cosR0.2 or R0.447.

CNX_Calc_Figure_10_03_204.jpeg

Taylor Series

In exercises 25 - 35, find the Taylor series of the given function centered at the indicated point.

25) f(x)=x4 at a=1

26) f(x)=1+x+x2+x3 at a=1

Answer
(x+1)32(x+1)2+2(x+1)

27) f(x)=sinx at a=π

28) f(x)=cosx at a=2π

Answer
Values of derivatives are the same as for x=0 so cosx=n=0(1)n(x2π)2n(2n)!

29) f(x)=sinx at x=π2

30) f(x)=cosx at x=π2

Answer
cos(π2)=0,sin(π2)=1 so cosx=n=0(1)n+1(xπ2)2n+1(2n+1)!, which is also cos(xπ2).

31) f(x)=ex at a=1

32) f(x)=ex at a=1

Answer
The derivatives are f(n)(1)=e, so ex=en=0(x1)nn!.

33) f(x)=1(x1)2 at a=0 (Hint: Differentiate the Taylor Series for11x.)

34) f(x)=1(x1)3 at a=0

Answer
1(x1)3=12d2dx2(11x)=n=0((n+2)(n+1)xn2)

35) F(x)=x0cos(t)dt;wheref(t)=n=0(1)ntn(2n)! at a=0 (Note: f is the Taylor series of cos(t).)

In exercises 36 - 44, compute the Taylor series of each function around x=1.

36) f(x)=2x

Answer
2x=1(x1)

37) f(x)=x3

38) f(x)=(x2)2

Answer
((x1)1)2=(x1)22(x1)+1

39) f(x)=lnx

40) f(x)=1x

Answer
11(1x)=n=0(1)n(x1)n

41) f(x)=12xx2

42) f(x)=x4x2x21

Answer
xn=02n(1x)2n=n=02n(x1)2n+1+n=02n(x1)2n

43) f(x)=ex

44) f(x)=e2x

Answer
e2x=e2(x1)+2=e2n=02n(x1)nn!

Maclaurin Series

[T] In exercises 45 - 48, identify the value of x such that the given series n=0an is the value of the Maclaurin series of f(x) at x. Approximate the value of f(x) using S10=10n=0an.

45) n=01n!

46) n=02nn!

Answer
x=e2;S10=34,91347257.3889947

47) n=0(1)n(2π)2n(2n)!

48) n=0(1)n(2π)2n+1(2n+1)!

Answer
sin(2π)=0;S10=8.27×105

In exercises 49 - 52 use the functions S5(x)=xx36+x5120 and C4(x)=1x22+x424 on [π,π].

49) [T] Plot sin2x(S5(x))2 on [π,π]. Compare the maximum difference with the square of the Taylor remainder estimate for sinx.

50) [T] Plot cos2x(C4(x))2 on [π,π]. Compare the maximum difference with the square of the Taylor remainder estimate for cosx.

Answer

The difference is small on the interior of the interval but approaches 1 near the endpoints. The remainder estimate is |R4|=π51202.552.

CNX_Calc_Figure_10_03_206.jpeg

51) [T] Plot |2S5(x)C4(x)sin(2x)| on [π,π].

52) [T] Compare S5(x)C4(x) on [1,1] to tanx. Compare this with the Taylor remainder estimate for the approximation of tanx by x+x33+2x515.

Answer

The difference is on the order of 104 on [1,1] while the Taylor approximation error is around 0.1 near ±1. The top curve is a plot of tan2x(S5(x)C4(x))2 and the lower dashed plot shows t2(S5C4)2.

CNX_Calc_Figure_10_03_208.jpeg

53) [T] Plot exe4(x) where e4(x)=1+x+x22+x36+x424 on [0,2]. Compare the maximum error with the Taylor remainder estimate.

54) (Taylor approximations and root finding.) Recall that Newton’s method xn+1=xnf(xn)f(xn) approximates solutions of f(x)=0 near the input x0.

a. If f and g are inverse functions, explain why a solution of g(x)=a is the value f(a) of f.

b. Let pN(x) be the Nth degree Maclaurin polynomial of ex. Use Newton’s method to approximate solutions of pN(x)2=0 for N=4,5,6.

c. Explain why the approximate roots of pN(x)2=0 are approximate values of ln(2).

Answer
a. Answers will vary.
b. The following are the xn values after 10 iterations of Newton’s method to approximation a root of pN(x)2=0: for N=4,x=0.6939...; for N=5,x=0.6932...; for N=6,x=0.69315...;. (Note: ln(2)=0.69314...)
c. Answers will vary.

Evaluating Limits using Taylor Series

In exercises 55 - 58, use the fact that if q(x)=n=1an(xc)n converges in an interval containing c, then lim to evaluate each limit using Taylor series.

55) \displaystyle \lim_{x→0}\frac{\cos x−1}{x^2}

56) \displaystyle \lim_{x→0}\frac{\ln(1−x^2)}{x^2}

Answer
\dfrac{\ln(1−x^2)}{x^2}→−1

57) \displaystyle \lim_{x→0}\frac{e^{x^2}−x^2−1}{x^4}

58) \displaystyle \lim_{x→0^+}\frac{\cos(\sqrt{x})−1}{2x}

Answer
\displaystyle \frac{\cos(\sqrt{x})−1}{2x}≈\frac{(1−\frac{x}{2}+\frac{x^2}{4!}−⋯)−1}{2x}→−\frac{1}{4}

This page titled 2.4E: Exercises for Section 2.4 is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by OpenStax via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?