Integrating e^-2x.tanh(x) - Solving for the Antiderivative

  • Thread starter Thread starter DryRun
  • Start date Start date
  • Tags Tags
    Integrate
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
6 replies · 4K views
DryRun
Gold Member
Messages
837
Reaction score
4
Homework Statement

Find [tex]\int e^{-2x}\tanh x\,dx[/tex]

The attempt at a solution

[tex]\int e^{-2x}\tanh x\,dx<br /> \\=\int e^{-2x}\times \frac{e^x-e^{-x}}{e^x+e^{-x}}\,dx<br /> \\=\int \frac{e^{-x}-e^{-3x}}{e^x+e^{-x}}\,dx[/tex]

Then i have no idea how to proceed.
 
Physics news on Phys.org
Hint: can you do anything with partial fractions?
 
I've already tried to split it:
[tex]\int \frac{e^{-x}}{e^x+e^{-x}}-\int \frac{e^{-3x}}{e^x+e^{-x}}[/tex]But got stuck again.

The answer is: [tex]\frac{e^{-2x}}{2}-\ln (1+e^{2x})[/tex]

I'm thinking maybe integration by parts?
 
sharks said:
I've already tried to split it:
[tex]\int \frac{e^{-x}}{e^x+e^{-x}}-\int \frac{e^{-3x}}{e^x+e^{-x}}[/tex]But got stuck again.

The answer is: [tex]\frac{e^{-2x}}{2}-\ln (1+e^{2x})[/tex]

I'm thinking maybe integration by parts?
[itex]\displaystyle \frac{e^{-x}}{e^x+e^{-x}}=\frac{e^{-2x}}{1+e^{-2x}}[/itex]

[itex]\displaystyle \frac{e^{-3x}}{e^x+e^{-x}}=\frac{e^{-4x}}{1+e^{-2x}}\ .[/itex] Then let u = e-x or maybe let u = 1+e-2x .
 
[tex]\int \frac{e^{-2x}}{1+e^{-2x}}\,.dx-\int \frac{e^{-4x}}{1+e^{-2x}}\,.dx[/tex]
Let [itex]u =e^{-x}<br /> \\Then \, \frac{du}{dx}=-e^{-x}=-u[/itex]
[tex]=\int \frac{-u}{1+u^2}\,.du-\int \frac{-u^3}{1+u^2}\,.du[/tex]
[tex]=-\frac{1}{2}\ln (1+u^2) + \int u\,.du - \int \frac{u}{(1+u^2)}\,.du[/tex]
[tex]=-\frac{1}{2}\ln (1+u^2) + \frac{u^2}{2} - \frac{1}{2}\ln (1+u^2)[/tex]
[tex]=\frac{u^2}{2}-\ln (1+u^2)[/tex]
Substituting for u, we have the final answer:
[tex]=\frac{e^{-2x}}{2}-\ln (1+e^{-2x})[/tex]
But the answer in my copybook is:
[tex]=\frac{e^{-2x}}{2}-\ln (1+e^{2x})[/tex]
By the way, isn't there a need to add the arbitrary constant of integration?
 
Last edited:
Hi ehild!

Thank you for your confirmation. :smile: