# Math Help - Integration question

1. ## Integration question

Hi
Can someone tell me how would i anti-differentiate the following:
1) $\frac{x}{x+1}$
2) In this question you have to evaluate the following definite integrals:
This is what i done:
$\int_1^5e+\frac{1}{x}dx$
$=e^x+ln(x)$
$=e^5+ln^5-e^1+ln(1)$
$=ln(5)+e^4$

answer was ln(5) +4e but i don't understand how they got it.

P.S

2. Originally Posted by Paymemoney
Hi
Can someone tell me how would i anti-differentiate the following:
1) $\frac{x}{x+1}$
Hint: $\frac{x}{x+1}=1-\frac{1}{x+1}$

2) In this question you have to evaluate the following definite integrals:
This is what i done:
$\int_1^5e+\frac{1}{x}dx$
$=e^x+ln(x)$
$=e^5+ln^5-e^1+ln(1)$
$=ln(5)+e^4$

answer was ln(5) +4e but i don't understand how they got it.

P.S
$\int e\,dx\neq e^x$. Here, $e$ is a constant; this means we apply the rule $\int a\,dx=ax+C$.

Also, $e^5-e^1\neq e^4$. You can't subtract the exponents like that.

3. ok i understand why it is 4e now thanks.

4. Just be make sure i am right, for 1) do you divide x by x+1? or divide x+1 by x?

5. Originally Posted by Paymemoney
Just be make sure i am right, for 1) do you divide x by x+1? or divide x+1 by x?
you divide x by x+1. use polynomial long division. or since these are simple and easy polynomials, you can use a little trick. what i do is add and subtract a 1 from the top so you have (x + 1 - 1) / (x + 1), then i rearrange: (x+1)/(x+1) - (1/(x+1)) so now the integrand becomes 1 - (1/(x+1))