Question
Question: What is the taylor series expansion for the tangent function \(\left( \tan x \right)\)?...
What is the taylor series expansion for the tangent function (tanx)?
Solution
Assume the given tangent function as f(x)=tanx. Consider the formula for the taylor expansion of a function f (x) given as: - f(x)=f(a)+1!(x−a)f′(a)+2!(x−a)2f′′(a)+3!(x−a)3f′′′(a)+...... where ‘a’ denotes the point around which the expansion is to be found. Here, f’, f’’, f’’’……… represents the first derivative, second derivative, third derivative……… respectively of the function f (x).
Complete step by step answer:
Here we have been provided with the tangent function (tanx) and we are asked to write its taylor series expansion expression. Let us assume the given function as f(x), so we have,
⇒f(x)=tanx
Now, we know that taylor series expansion of any function f (x) is given by the formula: - f(x)=f(a)+1!(x−a)f′(a)+2!(x−a)2f′′(a)+3!(x−a)3f′′′(a)+.......
Here, ‘a’ denotes the value of x at which the expansion of the function is to be found. In the above question it is not given that at which point we have to find the expansion, so we will consider a = 0.
Now, we need to find the derivatives of tanx at x = 0. So, let us find them one – by – one.