Jump to content

Science:Math Exam Resources/Courses/MATH100 B/December 2024/Question 09 (a)/Solution 1

From UBC Wiki

The second order Taylor polynomial for cos(x) is given by cos(x)1x22. Similarly, the second order Taylor polynomial for ey is given by ey1+y+y22, and setting y=3x gives e5x1+3x+9x22. Multiplying these polynomials together and truncating at the second order gives e3xcos(x)(1+3x+9x22)(1x22)1+3x+(9212)x2=1+3x+4x2.

Alternatively, we could obtain the second Taylor polynomial directly from the definition. Letting f(x)=e3xcos(x) we compute f(x)=e3x(3cos(x)sin(x)) and f(x)=3e5x(3cos(x)sin(x))e3x(3sin(x)+cos(x)). Evaluating at x=0 gives f(0)=1, f(0)=3, and f(0)=28. Plugging these values into the formula T2(x)=f(0)+f(0)+f(0)2 gives e3xcos(x)1+3x+4x2.