Q. 49

Question

In Exercises 49–56 find the Taylor series for the specified function and the given value of x0. Note: These are the same functions and values as in Exercises 41–48.

49. cosx,π2

Step-by-Step Solution

Verified
Answer

The Taylor series for the function f(x)=cosx at x=π2 isPn(x)=k=0(1)k+1(2k+1)!(xπ2)2k+1

1Step 1. Given data

We have the function f(x)=cosx

2Step 2. Table of the taylor series

Any function f with a derivative of order n, the taylor series at x=π2is given by,

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

we can write the general of the Taylor series of the function f is,

Pn(x)=k=0fk(x0)k!(xx0)n

So, let us first construct the table of the Taylor series for the function f(x)=cosx at x=π2

nfn(x)
fnπ2
fnπ2n!
0cosx
00
1-sinx
-1-1
2-cosx
00
3sinx
113!
.
.
.
.
.
.
.
.
.
.
.
.
2k(-1)kcosx
00
2k+1(-1)k+1sinx
(-1)k+1
(1)k+11(2k+1)!
.
.
.
.
.
.
.
.
.
.
.
.
3Step 3. Taylor series for the f ( x ) = cos x

The Taylor series for the function f(x)=cosx at x=π2 isPn(x)=0+1(xπ2)+02!(xπ2)2+13!(xπ2)3+04!(xπ2)4++0(2k)!(xπ2)2k+(1)k+1(2k+1)!(xπ2)2k+1+

Or we can write this as Pn(x)=k=0(1)k+1(2k+1)!(xπ2)2k+1