# logarithm question need a slight help

• Dec 15th 2012, 12:41 AM
abdulrehmanshah
logarithm question need a slight help
Attachment 26244this i tried to integrate by u substitution U=e^x+1 and then U-1/U after this i get U-lnU i dont know what do can anyone hint or help me solving it
• Dec 15th 2012, 03:06 AM
MarkFL
Re: logarithm question need a slight help

$u=e^x+1\,\therefore\,du=e^x\,dx$ giving us:

$\int_2^{e+1} \frac{1}{u}\,du$

Can you proceed from here?

Incidentally, the given answer is not quite correct.

By the way, I would post integration problems in the calculus forum.
• Dec 15th 2012, 04:10 AM
abdulrehmanshah
Re: logarithm question need a slight help
not really u changed the question while i took it from a very reliable source
• Dec 15th 2012, 04:19 AM
Plato
Re: logarithm question need a slight help
Quote:

Originally Posted by abdulrehmanshah
not really u changed the question while i took it from a very reliable source

This is what you posted: $\int_0^1 {\frac{{e^x }}{{1 + e^x }}dx} = \mathop {\left. {\ln \left( {1 + e^x } \right)} \right|}\nolimits_{x = 0}^{x = 1}$

And the give answer is wrong.
• Dec 15th 2012, 04:26 AM
skeeter
Re: logarithm question need a slight help
Quote:

Originally Posted by abdulrehmanshah
not really u changed the question while i took it from a very reliable source

$\int_0^1 \frac{e^x}{e^x+1} \, dx = \left[\ln(e^x+1)\right]_0^1 = \ln(e+1) - \ln(2) = \ln\left(\frac{e+1}{2}\right)$

I agree with MarkFL2. I'd check that "source" again if I were you ...
• Dec 15th 2012, 05:46 AM
abdulrehmanshah
Re: logarithm question need a slight help
ok the answer can be wrong but how can u change the limits provided by question can anyone help solving
• Dec 15th 2012, 05:56 AM
skeeter
Re: logarithm question need a slight help
Quote:

Originally Posted by abdulrehmanshah
ok the answer can be wrong but how can u change the limits provided by question can anyone help solving

when a substitution is done, one may "reset" the limits of integration from x-values to u-values ...

$u = 1 + e^x$

for $x = 0$ , $u = 1 + e^0 = 2$

for $x = 1$ , $u = e^1 + 1 = e + 1$

therefore ...

$\int_0^1 \frac{e^x}{1+e^x} \, dx = \int_2^{e+1} \frac{1}{u} \, du = \left[\ln{u}\right]_2^{e+1} = \ln(e+1) - \ln(2) = \ln\left(\frac{e+1}{2}\right)$
• Dec 15th 2012, 06:03 AM
abdulrehmanshah
Re: logarithm question need a slight help
• Dec 15th 2012, 06:07 AM
skeeter
Re: logarithm question need a slight help
Quote:

Originally Posted by abdulrehmanshah

http://mathhelpforum.com/attachments...lp-1111111.jpg
• Dec 15th 2012, 06:08 AM
abdulrehmanshah
Re: logarithm question need a slight help
where did the e^x in the numerator go i know that lnu= 1/u but where did e^x go?
• Dec 15th 2012, 06:10 AM
HallsofIvy
Re: logarithm question need a slight help
Quote:

Originally Posted by abdulrehmanshah

I don't know what your book gave but you posted the answer as $ln\left(\frac{1+ e^x}{2}\right)$. Since this is a definite integral there should be no "x" in the answer. The correct answer is, as skeeter said, $ln\left(\frac{1+ e}{2}\right)$
• Dec 15th 2012, 06:10 AM
abdulrehmanshah
Re: logarithm question need a slight help
ya i wrote it wrongly my bad the answer u got is the answer i have in the back of my note book can u please explain e^x part
• Dec 15th 2012, 06:13 AM
skeeter
Re: logarithm question need a slight help
$\int_0^1 \frac{{\color{red}e^x}}{1+e^x} \, {\color{red}dx} = \int_2^{1+e} \frac{{\color{red}du}}{u}$

$u = 1 + e^x$

${\color{red}du = e^x \, dx}$