final-practice-solutions

final-practice-solutions - MATH 31B/2 PRACTICE FINAL EXAM...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
MATH 31B/2 PRACTICE FINAL EXAM SOLUTIONS. Please note: the aim of this practice final is to give you several problems on the material not covered by the first two midterms and practice midterms. You should therefore treat the first two midterms and practice midterms as a part of the practice final. 1. Let f ( x ) = sin x . Find n so that Taylor’s polynomial of degree n around 0 approximates sin ( 1 ) to within 10 - 2 . Justify your answer. Solution. Using Taylor’s remainder formula, if we keep n terms in Taylor’s polynomial, the error is at most E n M ( x - a ) n + 1 ( n + 1 ) ! , where M is the maximal value of the n + 1-st derivative of sin ( x ) on the interval [ 0 , 1 ] . Hence M = 1 and E n 1 n + 1 ( n + 1 ) ! = 1 ( n + 1 ) ! . Hence we want n so that 1 ( n + 1 ) ! 1 100 , i.e., ( n + 1 ) ! 100. Since 4! = 4 · 3 · 2 · 1 = 24 < 100 and 5! = 5 · 4! = 120 > 100, we get that n = 4 works. 2. Let f ( x ) = 2 x + 4 x 3 - 1 . Express f ( x ) as a sum of terms using partial fractions. Use this to evaluate Z f ( x ) dx . Solution. Since x 3 - 1 = ( x - 1 )( x 2 + x + 1 ) , we will try to find A , B , C so that 2 x + 4 x 3 - 1 = A x - 1 + Bx + C x 2 + x + 1 . We then have 2 x + 4 = A ( x 2 + x + 1 )+( Bx + C )( x - 1 ) = x 2 ( A + B )+ x ( A - B + C )+( A - C ) . Equating coefficients, we get 0 = A + B , 2 = A - B + C and 4 = A - C . From the first equation we get that B = - A and from the last that C = A - 4. Substituting this into the second equation gives 2 = A - ( - A )+ A - 4 = 3 A - 4. Hence 3 A = 6 and A = 2. Thus B = - 2 and C = - 2. We conclude that
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/22/2010 for the course MATH Math 31B taught by Professor Houdayer during the Spring '09 term at UCLA.

Page1 / 4

final-practice-solutions - MATH 31B/2 PRACTICE FINAL EXAM...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online