06.09.2021 Views

Calculus- Early Transcendentals, 2021a

Calculus- Early Transcendentals, 2021a

Calculus- Early Transcendentals, 2021a

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

374 Sequences and Series<br />

since f (n) (x)=e x for all n. We are interested in x near 2, and we need to keep |(x − 2) N+1 | in check, so<br />

we may as well specify that |x − 2|≤1, so x ∈ [1,3]. Also<br />

e z<br />

∣(N + 1)! ∣ ≤ e 3<br />

(N + 1)! ,<br />

so we need to find an N that makes e 3 /(N + 1)! ≤ 0.005. This time N = 5 makes e 3 /(N + 1)! < 0.0015,<br />

so the approximating polynomial is<br />

e x = e 2 + e 2 (x − 2)+ e2<br />

2 (x − 2)2 + e2<br />

6 (x − 2)3 + e2<br />

24 (x − 2)4 + e2<br />

120 (x − 2)5 ± 0.0015.<br />

Note that our approximation requires that we already have a very accurate approximation of the value<br />

e 2 , which we shouldn’t assume we have in the context of trying to approximate e x . For this reason we<br />

typically try to center our series on values for which the derivative of the function is easy to evaluate (e.g.<br />

a = 0).<br />

♣<br />

Note well that in these examples we found polynomials of a certain accuracy only on a small interval,<br />

even though the series for sinx and e x converge for all x; this is typical. To get the same accuracy on a<br />

larger interval would require more terms.<br />

Exercises for 9.11<br />

Exercise 9.11.1 Find a polynomial approximation for cosx on[0,π], accurate to ±10 −3<br />

Exercise 9.11.2 How many terms of the series for lnx centered at 1 are required so that the guaranteed<br />

error on [1/2,3/2] is at most 10 −3 ? What if the interval is instead [1,3/2]?<br />

Exercise 9.11.3 Find the first three nonzero terms in the Taylor series for tanx on[−π/4,π/4], and<br />

compute the guaranteed error term as given by Taylor’s theorem. (You may want to use Sage or a similar<br />

aid.)<br />

Exercise 9.11.4 Show that cosx is equal to its Taylor series for all x by showing that the limit of the error<br />

term is zero as N approaches infinity.<br />

Exercise 9.11.5 Show that e x is equal to its Taylor series for all x by showing that the limit of the error<br />

term is zero as N approaches infinity.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!