Question
Question: In the Taylor series expansion of \( \exp \left( x \right)+\sin \left( x \right) \) about the point ...
In the Taylor series expansion of exp(x)+sin(x) about the point x=π , the coefficient of (x=π)2 is
A. exp(π)
B. 0.5exp(π)
C. exp(π)+1
D. exp(π)−1
Solution
Hint: Our function f(x)=exp(x)+sin(x) , so we will directly use the Taylor series expansion, which is given as, f(x)=f(a)+(x−a)f′(a)+2!(x−a)2f′′(a) . We will put a=π in the series and solve accordingly to get the desired answer.
Complete step-by-step answer:
It is given in the question that we have to find the coefficient of (x=π)2 in the Taylor series expansion of exp(x)+sin(x) about the point x=π . To start solving this question, let us assume that f(x)=ex+sin(x) . Now, we know that the expansion of the Taylor series is given as, f(x)=f(a)+(x−a)f′(a)+2!(x−a)2f′′(a) . In the question that has been given to us, we have a=π . So, we will put the value of a=π in the Taylor series expansion. So, we will get as,
f(x)=f(π)+(x−π)f′(π)+2!(x−π)2f′′(π)
Now, from the Taylor expansion, we get the coefficient of (x=π)2 is 2f′′(π) . We know that f′′(π)=exp(x)−sinx , where x=π . So, we get,
f′′(π)=[exp(x)−sinx]x=π⇒f′′(π)=expπ−sinπ
Now, we also know that sinπ=0 , therefore, we will get,
f′′(π)=expπ−0⇒f′′(π)=expπ
Now, we can substitute it in the coefficient of (x=π)2 , which we have as 2f′′(π) . So, we get the coefficient as,
(x=π)2=2expπ
Thus, we will get the coefficient of (x=π)2=0.5exp(π) .
Therefore, we get the correct answer as option B.
Note: Majority of the students make a mistake in the last step. They may take the coefficient of (x=π)2 as 0.5exp(π)+sin(π) , but as we know that sinπ=0 , so it does not need to be included in the final answer, thus the correct answer is 0.5exp(π) .