Processing math: 100%

EXAMPLE 7Finding the Taylor Expansion for f(x)=cosx about π2

Find the Taylor expansion for f(x)=cosx about π2.

Solution To express f(x)=cosx as a Taylor expansion about π2, we evaluate f and its derivatives at π2. f(x)=cosxf(π2)=0f(x)=sinxf(π2)=1f(x)=cosxf(π2)=0f(x)=sinxf(π2)=1

For derivatives of odd order, f(2n+1)(π2)=(1)n+1. For derivatives of even order, f(2n)(π2)=0. The Taylor expansion for f(x)=cosx about π2 is

619

f(x)=cosx=f(π2)+f(π2)(xπ2)+f(π2)2!(xπ2)2+f(π2)3!(xπ2)3+=(xπ2)+13!(xπ2)315!(xπ2)5+ =k=0(1)k+1(2k+1)!(xπ2)2k+1

The radius of convergence is ; the interval of convergence is (,).