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
This problem deals with expansion of Taylor series of a given function. In mathematics, the Taylor series of a function is an infinite sum of terms that are expressed in terms of the function’s derivatives at a single point. For most common functions, the function and the sum of its Taylor series are equal near this point.
The Taylor series of a function is defined as:
⇒n=0∑∞n!fn(x0)(x−x0)n
Complete step-by-step answer:
we know that the Taylor series of a function is defined, as given below:
⇒n=0∑∞n!fn(x0)(x−x0)n
Here the n in fn(x0) denotes the nth derivative of f(x), and the n in (x−x0)n is the exponent or the power.
Here f(x)=coshx.
We are going to find the Taylor series of coshx, but around x=0, then we set x0=0, and use the above definition.
Now finding the derivatives as shown below:
⇒f(x)=coshx, here when x=0, f(0)=cosh(0)=1
∴f(0)=1
Now the first derivative is:
⇒f′(x)=sinhx, here when x=0, f′(0)=sinh(0)=0
∴f′(0)=0
Now the second derivative is :
⇒f′′(x)=coshx, here when x=0, f′′(0)=cosh(0)=1
∴f′′(0)=1
Now the third derivative is:
⇒f′′′(x)sinhx, here when x=0, f′′′(0)=sinh(0)=0
∴f′′′(0)=0
Now the fourth derivative is :
⇒fIV(x)=coshx, here when x=0, fIV(0)=cosh(0)=1
∴fIV(0)=1
Now the fifth derivative is:
⇒fV(x)sinhx, here when x=0, fV(0)=sinh(0)=0
∴fV(0)=0
Now the sixth derivative is :
⇒fVI(x)=coshx, here when x=0, fVI(0)=cosh(0)=1
∴fVI(0)=1
And so on.
Now substituting these in the Taylor expansion formula, as shown:
⇒n=0∑∞n!fn(0)(x−0)n
⇒0!f(0)(x−0)1+1!f′(0)(x−0)+2!f′′(0)(x−0)2+3!f′′′(0)(x−0)3+4!fIV(0)(x−0)4+5!fV(0)(x−0)5+6!fVI(0)(x−0)6+.....
Substituting the values of the derivatives, as shown:
⇒11(x−0)0+1!0(x−0)1+2!1(x−0)2+3!0(x−0)3+4!1(x−0)4+5!0(x−0)5+6!1(x−0)6+......
⇒1+0+2x2+0+24x4+0+720x6+........
The terms multiplied with zero, will be zero.
⇒1+2x2+24x4+720x6+........
∴coshx=1+2x2+24x4+720x6+........
For more accuracy we can find more derivatives and continue building up the series.
Final Answer: The Taylor series expansion of coshx=1+2x2+24x4+720x6+........
Note:
Please note that a Taylor series is a series expansion of a function about a point. A one-dimensional Taylor series is an expansion of a real function about a point. This is also known as a Maclaurin series.