Docsity

Calculus 2 - Assignment 10 with Solution | MATH 211, Assignments of Calculus

Toggle sidebar
bg1
Millersville University Name Answer Key
Department of Mathematics
MATH 211, Homework 10
April 7, 2006
Page 694, Exercise 34
(a) Use a Taylor polynomial of degree 4 to approximate ln(0.9).
Suppose f0(x) = 1
x, then we can express this function as a Taylor series centered at c= 1.
f0(x) = 1
x
=1
1 + x−1
=1
1−(1 −x)
=
∞
X
k=0
(1 −x)k
=
∞
X
k=0
(−1)k(x−1)k
which converges absolutely if |x−1|<1. Since d
dx (ln x) = f0(x), then
f(x) = ln x=
∞
X
k=0
(−1)k
k+ 1 (x−1)k+1 .
The Taylor polynomial of degree 4 will be denoted P4(x) with
P4(x) = (x−1) −1
2(x−1)2+1
3(x−1)3−1
4(x−1)4.
Thus ln(0.9) ≈P4(0.9) ≈ −0.105358.
(b) Estimate the error in the approximation.
The maximum error in the approximation is described by the maximum magnitude of the Taylor
remainder when n= 4.
R4(0.9) = f(5)(z)
5! (0.9−1)5
=24
z5·1
120(−0.1)5
=1
5z5(−0.1)5
where 0.9<z<1. The magnitude of the error is maximized when z= 0.9 and thus the error is no
more than
|R4(0.9)| ≤
1
5(0.9)5(−0.1)5
≈3.38702 ×10−6.
(c) Estimate the number of terms needed in a Taylor polynomial to guarantee an accuracy of 10−10.
pf2

Partial preview of the text

Download Calculus 2 - Assignment 10 with Solution | MATH 211 and more Assignments Calculus in PDF only on Docsity!

Millersville University Name Answer Key

Department of Mathematics

MATH 211, Homework 10

April 7, 2006

Page 694, Exercise 34

(a) Use a Taylor polynomial of degree 4 to approximate ln(0.9).

Suppose f

′ (x) =

1 x , then we can express this function as a Taylor series centered at c = 1.

f

′ (x) =

x

1 + x − 1

1 − (1 − x)

∞ ∑

k=

(1 − x)

k

∞ ∑

k=

k (x − 1)

k

which converges absolutely if |x − 1 | < 1. Since

d dx (ln x) = f

′ (x), then

f (x) = ln x =

∞ ∑

k=

k

k + 1

(x − 1)

k+ .

The Taylor polynomial of degree 4 will be denoted P 4 (x) with

P 4 (x) = (x − 1) −

(x − 1)

2

(x − 1)

3 −

(x − 1)

4 .

Thus ln(0.9) ≈ P 4 (0.9) ≈ − 0 .105358.

(b) Estimate the error in the approximation.

The maximum error in the approximation is described by the maximum magnitude of the Taylor

remainder when n = 4.

R 4 (0.9) =

f

(5) (z)

5

z 5

5

5 z 5

5

where 0. 9 < z < 1. The magnitude of the error is maximized when z = 0.9 and thus the error is no

more than

|R 4 (0.9)| ≤

5

5

≈ 3. 38702 × 10

− 6 .

(c) Estimate the number of terms needed in a Taylor polynomial to guarantee an accuracy of 10

− 10 .

In general the Taylor remainder has the form

Rn(0.9) =

f

(n+1) (z)

(n + 1)!

n+

n+

(n + 1)z n+

n+

with 0. 9 < z < 1. The magnitude of the error is maximized when z = 0.9 and thus the error is no

more than

|Rn(0.9)| ≤

(n + 1)(0.9) n+

n+

By trial and error we can see that when n ≥ 9 then |Rn(0.9)| < 10

− 10 .

Page 702, Exercise 20

Use a Taylor polynomial with n = 5 nonzero terms to approximate the value of the integral

1

0

tan

− 1 x dx.

We know that the Maclaurin series for tan

− 1 x can be expressed as

tan

− 1 x =

∞ ∑

k=

k

2 k + 1

x

2 k+ .

Thus the Maclaurin polynomial of degree 5 is

P 5(x) = x −

x 3

x 5

x 7

x 9

Thus

0

tan

− 1 x dx ≈

0

x −

x

3

x

5

x

7

x

9

dx

x

2

x

4

x

6

x

8

x

10

1

0

Note that the exact value of the original integral is

1

0

tan

− 1 x dx =

(π − ln 4) ≈ 0. 438825.