Question
Question: How do you write the Taylor series for \(f\left( x \right)=\cosh x\)?...
How do you write the Taylor series for f(x)=coshx?
Solution
The Taylor series expansion of a function is given by n=0∑∞n!fn(x0)(x−x0)n. For obtaining the Taylor series of the given function, we can choose x0=0 and calculate f(x),f′(x),f′′(x),....... at x=0 from the given function f(x)=coshx. On putting these into the expanded form of n=0∑∞n!fn(x0)(x−x0)n, we will obtain the required Taylor series.
Complete step by step solution:
We know that the Taylor series expansion for a function f(x) is given by n=0∑∞n!fn(x0)(x−x0)n. On expanding it we can write it as 0!f(x0)(x−x0)0+1!f′(x0)(x−x0)1+2!f′′(x0)(x−x0)2+3!f′′′(x0)(x−x0)3+......... According to the above question, the function is given as
⇒f(x)=coshx........(i)
Differentiating the above equation with respect to x, we get
⇒f′(x)=sinhx.......(ii)
Again on differentiating, we get
⇒f′′(x)=coshx.......(iii)
Let us choose x0=0. Then from (i) we can write
⇒f(x0)=f(0)⇒f(x0)=cosh0⇒f(x0)=1
From (ii) we can write
⇒f′(x0)=f′(0)⇒f′(x0)=sinh0⇒f′(x0)=0
From (iii) we can write
⇒f′′(x0)=f′′′(0)⇒f′′(x0)=cosh0⇒f′′(x0)=1
Similarly, we will get
⇒f′′′(x0)=0⇒f′′′′(x0)=1
Therefore, the Taylor series expansion for the given function about x0=0 becomes