Question
Question: What is the Taylor series for \(\sin \left( 2x \right)\) ?...
What is the Taylor series for sin(2x) ?
Solution
To calculate the Taylor series of any function, we will first understand what does a Taylor series mean and what is its representation. Taylor series gives the value of any function as an infinite sum of terms. That is, it gives us the value of a function f(x) in the neighborhood of a point ‘a’ in the form of derivative of the function at point ‘a’.
Complete step by step answer:
The general formula for writing the Taylor series of a function in the neighborhood of a point ‘a’ is given by:
⇒f(x)=n=0∑∞n!fn(a)(x−a)n
Where,
‘n!’ is the factorial of ‘n’.
‘a’ is any real or complex number. And,
fn(a) is the nth derivative of the function at ‘a’.
In our problem, we have been given the function (say, f(x)) for which Taylor series is to be calculated as:
⇒f(x)=sin2x
Now, we will first calculate the Taylor series around a general point ‘a’ and then find the standard Taylor series for, a=0.
In the first case, our function will be written as:
⇒sin2x=0![sin2x]0(a)(2x−a)0+1![sin2x]1(a)(2x−a)1+2![sin2x]2(a)(2x−a)2+.....
Where, the terms: [sin2x]0(a),[sin2x]1(a),[sin2x]2(a)...........are not powers but zeroth, first, second and so on differential of the sine function evaluated at the point ‘a’.
Thus, our expression reduces to:
⇒sin2x=sin2a+1!21cos2a(2x−a)−2!22sin2a(2x−a)2−3!23cos2a(2x−a)3+.....
Here, we get the Taylor series of sin2xin the neighborhood of point ‘a’. For, a=0, we can see that all our sine terms are equal to zero and all of our cosine terms are equal to one. And, the new series has an alternating sign for each successive term. This new series could be written as:
⇒sin2x=1!21cos2a(2x)−3!23cos2a(2x)3+5!25cos2a(2x)5.....⇒sin2x=1!21(2x)−3!23(2x)3+5!25(2x)5.....
Thus, we can write the generalized form of this Taylor series, for a=0 as:
⇒sin2x=k=0∑∞(2k+1)!(−1)k(2x)k+1
Hence, the standard Taylor series for sin(2x) at, a=0, comes out to be k=0∑∞(2k+1)!(−1)k(2x)k+1.
Note: In numerical, when we use the Taylor series to evaluate the value of a function at a certain point, we get an approximate value of the function and not the absolute value. To verify our solution, we should calculate the absolute value with the help of a scientific calculator and check if our answer is close to the absolute value or not. If it is close to the absolute value, then our answer is correct.