Q. 47

Question

In Exercises 41–48 find the fourth Taylor polynomial P4(x) for the specified function and the given value of x0.

47. cos2x,π4

Step-by-Step Solution

Verified
Answer

The fourth Taylor polynomial of the function f(x)=cos2x at x=π4 is P4(x)=2(xπ4)+43(xπ4)3

1Step 1. Given data

We have the given function f(x)=cos2x with a derivative of order 4 at x=π4

2Step 2. The fourth taylor polynomial

The fourth taylor polynomial for x=π4 is given by,

P4(x)=f(π4)+f(π4)(xπ4)+f′′(π4)2!(xπ4)2+f′′(π4)3!(xπ4)3+f′′′′(π4)4!(xπ4)4

Therefore, we have to find the value of the function along with f'(x),f''(x),f'''(x)andf''''(x) at x=π4.

The value of the function at x=π4 is,

f(π4)=cos(2π4)=cos(π2)=0

3Step 3. Find f ' ( x )

The derivatives of the function, f(x)=cos2x

f(x)=ddx[cos2x]=2sin2xf(x)=ddx[cos2x]=2sin2x

So, at x=π4

f(0)=2sin(2π4)=2sin(π2)=21=2

4Step 4. Find f ' ' ( x )

f′′(x)=ddx[2sin2x]=2ddx[sin2x]=4cos2x

So, at x=π4

f′′(0)=4cos(2π4)=4cos(π2)=40=0

5Step 5. Find f ' ' ' ( x )

f′′(x)=4ddx[cos2x]=4(2sin2x)=8sin2x

So, at x=π4

f′′(0)=8sin(2π4)=8sin(π2)=81=8

6Step 6. Find f ' ' ' ' ( x )

f′′′′(x)=ddx[8sin2x]=8ddx[sin2x]=16cos2x

So, at x=π4

f′′′′(0)=16cos(2π4)=16cos(π2)=160=0

7Step 7. The fourth Taylor polynomial of the function

Hence, the fourth Taylor polynomial of the function f(x)=cos2x atx=π4

P4(x)=0+2(xπ4)+02!(xπ4)2+83!(xπ4)3+04!(xπ4)4=2(xπ4)+83!(xπ4)3=2(xπ4)+43(xπ4)3