
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

QUIZ 6
Show ALL your work CAREFULLY.
(a) Find the third-order Taylor polynomial P 3 (x) for the function g(x) =
x centered at x 0 = 4.
Since g(x) =
x = x^1 /^2 , we have g′(x) = 12 x−^1 /^2 , g′′(x) = − 14 x−^3 /^2 and g′′′(x) = 38 x−^5 /^2. It follows
that g(4) = 2, g′(4) = 14 , g′′(4) = − 321 , and g′′′(4) = 2563. Since P 3 (x) =
i=
g(i)(4) i! (x^ −^ 4)
i, we have
P 3 (x) = 2 +
(x − 4) −
(x − 4)^2 +
(x − 4)^3.
(b) Let f (x) = ex^ sin x. Using Taylor’s theorem, what is the error committed by M 2 , the Maclaurin polyno- mial of degree 2 for f (x) over the interval [− 1 , 1]?
Since f (x) = ex^ sin x, f ′(x) = ex(sin x + cos x), f ′′(x) = 2ex^ cos x and f ′′′(x) = 2ex(cos x − sin x). Moreover, sin x or cos x cannot exceed 1 in absolute value. Thus, |f ′′′(x)| ≤ 2 ex(1 + 1) = 4ex. The function ex^ is increasing so that for any interval [a, b], ex^ is maximal at the right endpoint x = b. Thus, if we use the interval [− 1 , 1], we can choose K 3 = 4eb^ = 4e. It follows from Taylor’s theorem that the error bound is given by:
|f (x) − M 2 (x)| ≤ 4 e 3!
|x − 0 |^3 ≤ 2 e 3
since max |x|^3 = 1 over the interval [− 1 , 1].
Date: March 6, 2009. 1