Q 11.

Question

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

x sin x, x0 = 0

Step-by-Step Solution

Verified
Answer

P3(x)=x2

1Step 1: Given information

x0=0

2Step 2: Concept

The formula used: P3(x)=f(0)+f'(0)x+f''(0)2!x2+f'''(0)3!x3

3Step 3: Calculation

Consider the function f(x)=xsinx

Since the third Maclaurin polynomial is given by for every function f with a derivative of order 3 at x=0

P3(x)=f(0)+f'(0)x+f''(0)2!x2+f'''(0)3!x3

As a result, first, determine the function's value as well asf'(x),f''(x) and f''(x) at x=0

Thus, the value of the function  x=0 is

f(0)=0·sin0=0

4Step 4: Calculation

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

 f'(x)=ddx[xsinx]=xddx[sinx]+sinxddx[x]=xcosx+sinx·1=xcosx+sinx So, at x=0f'(0)=0·cos0+sin0=0·1+0=0

Also,

f''(x)=ddx[xcosx+sinx]=xddx[cosx]+cosxddx[x]+ddx[sinx]=-x(-sinx)+cosx·1+cosx=xsinx+2cosx
So, at x=0

f''(0)=0·sin0+2cos0=0·0+2·1=2

Again

f''(x)=ddx[xsinx+2cosx]=xddx[sinx]+sinxddx[x]+2ddx[cosx]=x·cosx+sinx·1+2(-sinx)=xcosx-sinx So, at x=0f''(0)=0·cos0-sin0=0·1-0=0

As a result, the third-order Maclaurin series for the function f(x)=xsinx is

P3(x)=0+0·x+22!x2+03!x3

Implies that

P3(x)=x2