Integral involving square root and exp

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 2K views
nicnicman
Messages
132
Reaction score
0

Homework Statement



[itex]\int[/itex][itex]\frac{dx}{\sqrt{e^{x} + 1}}[/itex]

Homework Equations


Using u-substitution


The Attempt at a Solution



Let u = [itex]\sqrt{e^{x} + 1}[/itex] [itex]\Rightarrow[/itex] u[itex]^{2} - 1[/itex] = e[itex]^{x}[/itex]
Then, du = [itex]\frac{e^{x} dx}{2\sqrt{e^{x} + 1}}[/itex] [itex]\Rightarrow[/itex] dx = [itex]\frac{2u du}{u^{2}-1}[/itex]

So, [itex]\int[/itex][itex]\frac{dx}{\sqrt{e^{x} + 1}}[/itex] = [itex]\int[/itex][itex]\frac{2u du}{u(u^{2}-1)}[/itex]

But, I'm stuck at this point. I think I want to break it up into two simpler integrals, but I'm not sure how to do this. Any suggestions would be greatly appreciated!
 
Physics news on Phys.org
nicnicman said:

Homework Statement



[itex]\int[/itex][itex]\frac{dx}{\sqrt{e^{x} + 1}}[/itex]

Homework Equations


Using u-substitution


The Attempt at a Solution



Let u = [itex]\sqrt{e^{x} + 1}[/itex] [itex]\Rightarrow[/itex] u[itex]^{2} - 1[/itex] = e[itex]^{x}[/itex]
Then, du = [itex]\frac{e^{x} dx}{2\sqrt{e^{x} + 1}}[/itex] [itex]\Rightarrow[/itex] dx = [itex]\frac{2u du}{u^{2}-1}[/itex]

So, [itex]\int[/itex][itex]\frac{dx}{\sqrt{e^{x} + 1}}[/itex] = [itex]\int[/itex][itex]\frac{2u du}{u(u^{2}-1)}[/itex]

But, I'm stuck at this point. I think I want to break it up into two simpler integrals, but I'm not sure how to do this. Any suggestions would be greatly appreciated!

Partial fractions is what you want. Factor the denominator.
 
Okay.

So, [itex]\int[/itex][itex]\frac{dx}{\sqrt{e^{x} + 1}}[/itex] = [itex]\int[/itex][itex]\frac{2u du}{u(u^{2}-1)}[/itex] = [itex]\int[/itex][itex]\frac{2du}{(u+1)(u-1)}[/itex]

And now I'm stuck again.
 
nicnicman said:
Okay.

So, [itex]\int[/itex][itex]\frac{dx}{\sqrt{e^{x} + 1}}[/itex] = [itex]\int[/itex][itex]\frac{2u du}{u(u^{2}-1)}[/itex] = [itex]\int[/itex][itex]\frac{2du}{(u+1)(u-1)}[/itex]

And now I'm stuck again.

Partial fractions! ##\frac{1}{(u+1)(u-1)}=\frac{A}{u+1}+\frac{B}{u-1}## for some constants A and B. Find those constants.
 
Okay. I think I've got it.

So, [itex]\int[/itex][itex]\frac{dx}{\sqrt{e^{x} + 1}}[/itex] = [itex]\int[/itex][itex]\frac{2u du}{u(u^{2}-1)}[/itex] = [itex]\int[/itex][itex]\frac{2du}{(u+1)(u-1)}[/itex] = [itex]\int[/itex][itex]\frac{du}{u-1}[/itex] - [itex]\int[/itex][itex]\frac{du}{u-1}[/itex] = ln|u-1| - ln|u+1| = ln[itex]\frac{|u-1|}{|u+1|}[/itex] where u = [itex]\sqrt{e^{x}+1}[/itex]

= ln[itex]\frac{\sqrt{e^{x}+1}-1}{\sqrt{e^{x}+1}+1}[/itex]

Thank you for all your help.