Q. 21

Question

Find the fourth Maclaurin polynomial P4(x) for the specified function:

cosx.

Step-by-Step Solution

Verified
Answer

The fourth Maclaurin polynomial is,

P4(x)=1-12x2+124x4.

1Step 1. Given Information.

The function is,

cosx.

2Step 2. Finding the fourth Maclaurin polynomial.

Let f(x)=cosx.

Since for any function f with a derivative of order 4 at x=0, the fourth Maclaurin polynomial is,

P4(x)=f(0)+f'(0)x+f''(0)2!x2+f'''(0)3!x3+f''''(0)4!x4.

3Step 3. Finding the derivatives.

The value of the function at x=0 is,

f(0)=cos0       =1

Finding the derivatives of the function f(x)=cosx,

f'(x)=d(cosx)dx        =-sinxf'(0)=-sin0        =0

Also,

f''(x)=d(-sinx)dx         =-d(sinx)dx           =-cosxf''(0)=-cos0         =-1

Also,

f'''(x)=d(-cosx)dx           =-d(cosx)dx            =-(-sinx)            =sinxf'''(0)=sin0           =0

Also,

f''''(x)=d(sinx)dx             =cosxf''''(0)=cos0            =1

Thus, the fourth Maclaurin polynomial is,

P4(x)=1+0.x+(-1)2!x2+03!x3+14!x4          =1-12x2+124x4