
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Solutions for quiz 6 in math 106b,c - calculus ii for the fall semester of 2011. It includes the calculation of the third-order taylor polynomial for the function g(x) = sin(2x) based at x0 = π and the estimation of the error committed by the maclaurin polynomial m2 of degree 2 for the function f(x) = x^(ex) over the interval [−1, 1].
Typology: Exercises
1 / 1
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) = sin(2x) based at x 0 = π 2.
Since g(x) = sin(2x), we have g′(x) = 2 cos(2x), g′′(x) = −4 sin(2x) and g′′′(x) − 8 cos(2x). It follows that g( π 2 ) = sin π = 0, g′( π 2 ) = 2 cos π = − 2 , g′′( π 2 ) = −4 sin π = 0, and g′′′( π 2 ) = −8 cos π = 8. Thus, the third-order Taylor polynomial for g(x) based at x 0 is given by
P 3 (x) = 0 + (−2)
x −
π 2
x −
π 2
x −
π 2
x −
π 2
x −
π 2
(b) Let f (x) = xex. Using Taylor’s theorem, what is the error committed by M 2 , the Maclaurin polynomial of degree 2 for f (x) over the interval [− 1 , 1]?
To estimate the error using M 2 , we need to first find the third derivative of f (x). Since f (x) = xex, we have f ′(x) = ex^ + xex^ = ex(1 + x), f ′′(x) = ex(1 + x) + ex(1) = ex(2 + x), and f ′′′(x) = ex(2 + x) + ex(1) = ex(3 + x). Over the interval [− 1 , 1], |f ′′′(x)| = ex|3 + x| ≤ 4 e. We now let K 3 = 4e. Then Taylor’s theorem asserts that error committed by M 2 over the interval [− 1 , 1] is less than or equal to K 3 3! · |x^ −^0 |
(^3) =^4 e 3! |x|
(^3) ≤ 4 e 3! =
2 e
Date: October 28, 2011. 1