Elysian
- 33
- 0
Homework Statement
Find the integral of
\int\frac{cos(x)}{1+e^{x}}
Homework Equations
Given that
\frac{1}{1+e^{x}}-\frac{1}{2} is an odd function
The Attempt at a Solution
I tried integration by parts, with both u = cos(x) and u = 1+e^x, and both only complicated it even more. I've not learned infinite series and sequences so I'm not sure that's the way.
I did try writing cos(x) as \frac{e^{ix}+e^{-ix}}{2}, but I'm not sure what to do after that. I can see that there'd be some hyperbolic stuff in here but again, I'm not sure where exactly to start.