Taylor Series Expansion of f(x) at 0

In summary, the OP showed us how to compute the sin(x) and cosh(x) series, but when trying to get the anwser for f''(x) and f'''(x), they found that it was too difficult and they wanted an easier way to find the answers.
  • #1
esrever10
1
0
Homework Statement
Expand the function ##f(x)=\sin x / (\cosh x + 2)## in a Taylor series around the origin going up to ##x^3##
Relevant Equations
##f(x)=f(a)+f^{(1)}(a)(x-a)+\frac{1}{2!}f(2)(a)(x-a)^2+...##
First I got ##f(0)=0##,

Then I got ##f'(x)(0)=\frac{\cos x(2+\cosh x)-\sin x\sinh x}{(2+\cosh x)^2}=1/3##

But when I tried to got ##f''(x)## and ##f'''(x)##, I felt that's terrible, If there's some easy way to get the anwser?
 
Last edited:
Physics news on Phys.org
  • #2
Please show your work.
 
  • Like
Likes esrever10
  • #3
Orodruin said:
Please show your work.
I don't get this, they showed us how they computed the first term of the series.

Esrever, a neat trick is you can write out the numerator and denominator as series, then apply ##\frac{1}{1-y}=1+y+y^2...## to the denominator where ##y## needs to be all the stuff that goes to zero. Then a bit of algebra on what's left gets you the solution.

This is not that much easier, but probably feels more fulfilling than computing tedious derivatives.
 
  • Like
Likes esrever10, FactChecker and topsquark
  • #4
Office_Shredder said:
I don't get this, they showed us how they computed the first term of the series.
If you look at the last edit time of the OP you will see that it is later than when I posted. The original OP did not include this.
 
  • Like
Likes malawi_glenn
  • #5
Orodruin said:
If you look at the last edit time of the OP you will see that it is later than when I posted. The original OP did not include this.

Sorry, my mistake for missing that.
 
  • Like
Likes malawi_glenn
  • #6
If you find the series for sin(x) and cosh(x) out to enough terms, then you can do regular multiplication and long division of polynomials.
 
  • Like
Likes esrever10 and topsquark
  • #7
You already have [itex]f(0)[/itex] and [itex]f'(0)[/itex]. You (should) know that [itex]f''(0) = 0[/itex] because [itex]f[/itex] is odd, so all you need is [itex]f'''(0)[/itex]. What you don't need is the general expression for [itex]f'''(x)[/itex] in terms of [itex]x[/itex]; an expression for [itex]f'''(0)[/itex] in terms of [itex]f(0)[/itex], [itex]f'(0)[/itex] and [itex]f''(0)[/itex] will suffice.

Start with [tex]
(2 + \cosh x)f(x) = \sin x[/tex] and differentiate both sides three times using the product rule: [tex]
\sum_{n=0}^3 \binom{3}{n} f^{(n)}(x) \frac{d^{3-n}}{dx^{3-n}}(2 + \cosh x) = -\cos x.[/tex] Now substitute [itex]x = 0[/itex] and solve for [itex]f'''(0)[/itex].
 
  • Like
Likes esrever10
  • #8
I'd probably go with the method of post #3. I do find it simpler than brute forcing by computing the derivatives.
 
Back
Top