# Homework Help: Improper Integral (comparison test q)

1. Jun 21, 2010

### coals

1. The problem statement, all variables and given/known data

Use the Comparison Theorem to determine whether the integral is convergent or divergent.
$$\int \frac{2+ e^{-x} dx}{x}$$
from 1 to infinity

Wolframalpha tells me this integral diverges, now i just need to know what to compare it to.

3. The attempt at a solution

So far i've said over the interval [1,infinity) $$\frac{2+ e^{-x}}{x} <= \frac{e^{-x}}{x}$$

When i try to take the limit (t->inf) integral (1,t) of $$\frac{e^{-x}}{x}$$ i can't integrate this (tried IBP, don't see any obvious trig subs).

Am i just doing it wrong?

That's suposed to be e^(-x) btw i fail at this.

2. Jun 21, 2010

### gabbagabbahey

You might want to recheck the direction of that $\leq$ sign ... Is $e^{-x}[$ ever greater than one on your interval? If not, then surely you can say [itex]\frac{2+ e^{-x}}{x} \leq \frac{3}{x} [/tex]

3. Jun 21, 2010

### Office_Shredder

Staff Emeritus
To expand on gabba's post:
We know that $$e^{-x}$$ is integrable, so dividing it by isn't likely to change anything. Since we know (from Wolfram) that the integral diverges, we should look at the other half of the function (the constant divided by x)

4. Jun 21, 2010

### Bohrok

Why not start with the comparison 2 + e-x > 1, then divide by x and compare the integrals?

5. Jun 22, 2010

### System

(2+e^(-x))/x > 2/x

6. Jun 22, 2010

### coals

Thank you all for your help. Very appreciated , i got the answer and i understand what to do now in similar situations. Doing function comparisons seems to be my weak spot i'm alright with everything else but i suck at these.