Question
Question: How do you find the nth Taylor polynomials for \[f(x) = \sin x\] centred about \[a = 0\] ?...
How do you find the nth Taylor polynomials for f(x)=sinx centred about a=0 ?
Solution
Here in this question we have to find the nth polynomials of the trigonometric function. By using the formula of Taylor's series f(x)=f(a)+f′(a)(x−a)+2!f′′(a)(x−a)2+3!f′′′(a)(x−a)3+... Substituting the value of a to the formula hence we can determine the solution for the given question.
Complete step by step solution:
We have to determine the nth Taylor’s polynomial by using the Taylor’s series expansion.Here the function is f(x)=sinx. The formula for the Taylor’s series expansion is given by f(x)=f(a)+f′(a)(x−a)+2!f′′(a)(x−a)2+3!f′′′(a)(x−a)3+... the value of a is 0. The general form of Taylor’s series expansion is written as f(x)=n=0∑∞n!f(n)(a)(x−a)n
Now consider the function f(x)=sinx, the value of f at a=0 is f(0)=0.Let we find the derivatives of the function and determine the value at a = 0. The first derivative of the function is f′(x)=cosx. The value of the first derivative at a = 0 is f′(0)=cos(0)=1.
The second derivative of the function is f′′(x)=−sinx, the value of second derivative at a = 0 is f′′(0)=−sin(0)=0
The third derivative of the function is f′′′(x)=−cosx, the value of third derivative at a = 0 is f′′′(0)=−cos(0)=−1
The fourth derivative of the function is f′′′′(x)=sinx, the value of third derivative at a = 0 is f′′′′(0)=sin(0)=0
The fifth derivative of the function is fv(x)=cosx, the value of third derivative at a = 0 is fv(0)=cos(0)=1
Therefore the function is written as,
sinx=0+1(x−0)+2!0(x−0)2+3!−1(x−0)3+4!0(x−0)4+5!1(x−0)5
On simplifying we get
sinx=x−3!x3+5!x5±...
In generally it is written as
∴sinx=n=0∑∞(2n+1)!(−1)nx2n+1
Hence we have determined the nth Taylor polynomials for the given function.
Note: In Taylor’s series expansion we have the derivatives, so we have to apply the differentiation to the function. If the function is a trigonometric function then we use the table of trigonometry ratios for the standard angles. While solving the above function we use simple arithmetic operations.