- #1
- 2,076
- 140
Homework Statement
Calculate the Taylor series expansion about x=0 as far as the term in ##x^2## for the function :
##f(x) = \frac{x-sinx}{e^{-x} - 1 + ln(x+1)}## when ##x≠0##
##f(x) = 1## when ##x=0##
Homework Equations
Some common Taylor expansions.
The Attempt at a Solution
So I'm getting a bit confused with this one, things don't seem to be happening like they usually do.
First off ill note that :
##x - sinx = \frac{x^3}{3!} - \frac{x^5}{5!} + \frac{x^7}{7!} - ...##
Also :
##e^{-x} - 1 + ln(x+1) = \frac{x^3}{3!} - \frac{5x^4}{4!} + \frac{23x^5}{5!} - ...##
So I after factoring ##\frac{x^3}{3!}## out of the numerator and denominator of f(x), I get :
##\frac{1 - \frac{x^2}{20} + \frac{x^4}{840} - ...}{1 - \frac{5x}{4} + \frac{23x^2}{20} - ...}##
Now here's my problem. When I start doing the long division needed to find the Taylor series up to ##x^2##, the long division doesn't work like it should. Perhaps I made a small mistake somewhere, but I can't seem to see it.
If anyone has some insight it would be appreciated.