# Area under Integral.

1. Oct 10, 2007

### azatkgz

This question is quite hard for me.
1. The problem statement, all variables and given/known data
Find the area between the curve $$y=e^{-x}\left|sinx\right|$$ and the straight line y=0 for $$x\geq 0$$

3. The attempt at a solution

$$\int_{0}^{\infty}e^{-x}\left|sinx\right|dx=-e^{-x}\left|sinx\right|+\int_{0}^{\infty}e^{-x}\left|cosx\right|dx$$
$$=-e^{-x}\left|sinx\right|-e^{-x}\left|cosx\right|-\int_{0}^{\infty}e^{-x}\left|sinx\right|dx$$
$$\int_{0}^{\infty}e^{-x}\left|sinx\right|dx=\frac{-e^{-x}\left|sinx\right|-e^{-x}\left|cosx\right|}{2}$$

2. Oct 10, 2007

### NateTG

Because sine and cosine cross the x-axis, you can't just take the absolute value thorough the integral like that.

3. Oct 10, 2007

### azatkgz

Than ,actually, i should divide it to pieces.
$$\int_{0}^{\infty}e^{-x}\left|sinx\right|dx=\int_{0}^{\pi}e^{-x}sinxdx+\int_{\pi}^{2\pi}e^{-x}(-sinx)dx+\cdots$$
$$=\sum_{k=0}^{\infty}(-1)^k\int_{k\pi}^{(k+1)\pi}e^{-x}sinxdx$$

Last edited: Oct 10, 2007
4. Oct 10, 2007

### azatkgz

Is it equals to
$$(-1)^k\sum_{k=1}^{\infty}\frac{e^{-k\pi}}{2}$$ ?

5. Oct 10, 2007

### azatkgz

Oh,sorry
$$\frac{1}{2}+\sum_{k=1}^{\infty}(-1)^ke^{-k\pi}$$

6. Oct 10, 2007

### azatkgz

from this one I've found $$\frac{(1-e^{-\pi})}{2(1+e^{-\pi})}$$

7. Oct 10, 2007

### Gib Z

Posts 3 and 5 are definitely correct, though either you or I have made a sign error on the sum of the geometric series, check that again just to be safe.

8. Oct 11, 2007

### azatkgz

I did it in this way
$$\frac{1}{2}-\frac{e^{-\pi}}{1-e^{-2\pi}}+\frac{e^{-2\pi}}{1-e^{-2\pi}}$$

9. Oct 11, 2007

### Gib Z

Your last post makes no sense to me :( Maybe I'm doing the mistake, so heres how I'm getting it

$$\frac{1}{2}+\sum_{k=1}^{\infty}(-1)^ke^{-k\pi} = \frac{1}{2} + \frac{-e^{-\pi}}{1+e^{-\pi}} = \frac{1-3e^{-\pi}}{2(1-e^{-\pi})}$$

10. Oct 11, 2007

Hey,Gib Z