Q 12.

Question

Maclaurin and Taylor polynomials: Find third-order Maclaurin or Taylor polynomial for the given function about the indicated point.

sin x, x0= π2

Step-by-Step Solution

Verified
Answer

P3(x)=1-12x-π22

1Step 1: Given information

x0= π2

2Step 2: Concept

The formula used: P3(x)=fπ2+f'π2x-π2+f''π22!x-π22+f''π23!x-π23

3Step 3: Calculation

Consider the function f(x)=sinx

Since for any function f with a derivative of order 3 at x=0 the third-order Taylor polynomial at x0=π2 is given by

P3(x)=fπ2+f'π2x-π2+f''π22!x-π22+f''π23!x-π23

Therefore, first find the value of the function along with f'(x),f''(x) and f''(x) at x0=π2

4Step 4: Calculation

Thus, the value of the functionx=π2 is

fπ2=sinπ2=1

The derivatives of the function f(x)=sinx are

f'(x)=ddx[sinx]=cosx

So, at x=π2

f'π2=cosπ2=0

Also,

f''(x)=ddx(cosx)=-sinx

So, at x=π2

fnπ2=-sinπ2=-1

Again

f''(x)=ddx[-sinx]=-ddx[sinx]=-cosx

So, at x=π2

f''π2=-cosπ2=0

As a result, the third-order Taylor polynomial for the function f(x)=sinx at x=π2 is

P3(x)=1+0·x-π2+(-1)2!x-π22+03!x-π23

Implies that

P3(x)=1-12x-π22

P3(x)=1-12x-π22