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

• DryRun
In summary, the homework statement is to find the integral \int e^{-2x}\tanh x\,dx. The attempt at a solution is to integrate by parts, but gets stuck. The answer is to integrate by parts then let u = e-x or maybe let u = 1+e-2x. The final answer is \frac{e^{-2x}}{2}-\ln (1+e^{-2x}) but the answer in my copybook is \frac{e^{-2x}}{2}-\ln (1+e^{-2x})
DryRun
Gold Member
Homework Statement

Find $$\int e^{-2x}\tanh x\,dx$$

The attempt at a solution

$$\int e^{-2x}\tanh x\,dx \\=\int e^{-2x}\times \frac{e^x-e^{-x}}{e^x+e^{-x}}\,dx \\=\int \frac{e^{-x}-e^{-3x}}{e^x+e^{-x}}\,dx$$

Then i have no idea how to proceed.

Hint: can you do anything with partial fractions?

I've already tried to split it:
$$\int \frac{e^{-x}}{e^x+e^{-x}}-\int \frac{e^{-3x}}{e^x+e^{-x}}$$But got stuck again.

The answer is: $$\frac{e^{-2x}}{2}-\ln (1+e^{2x})$$

I'm thinking maybe integration by parts?

sharks said:
I've already tried to split it:
$$\int \frac{e^{-x}}{e^x+e^{-x}}-\int \frac{e^{-3x}}{e^x+e^{-x}}$$But got stuck again.

The answer is: $$\frac{e^{-2x}}{2}-\ln (1+e^{2x})$$

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

$\displaystyle \frac{e^{-3x}}{e^x+e^{-x}}=\frac{e^{-4x}}{1+e^{-2x}}\ .$ Then let u = e-x or maybe let u = 1+e-2x .

$$\int \frac{e^{-2x}}{1+e^{-2x}}\,.dx-\int \frac{e^{-4x}}{1+e^{-2x}}\,.dx$$
Let $u =e^{-x} \\Then \, \frac{du}{dx}=-e^{-x}=-u$
$$=\int \frac{-u}{1+u^2}\,.du-\int \frac{-u^3}{1+u^2}\,.du$$
$$=-\frac{1}{2}\ln (1+u^2) + \int u\,.du - \int \frac{u}{(1+u^2)}\,.du$$
$$=-\frac{1}{2}\ln (1+u^2) + \frac{u^2}{2} - \frac{1}{2}\ln (1+u^2)$$
$$=\frac{u^2}{2}-\ln (1+u^2)$$
Substituting for u, we have the final answer:
$$=\frac{e^{-2x}}{2}-\ln (1+e^{-2x})$$
But the answer in my copybook is:
$$=\frac{e^{-2x}}{2}-\ln (1+e^{2x})$$
By the way, isn't there a need to add the arbitrary constant of integration?

Last edited:
Your result is correct, and add a constant.

ehild

Hi ehild!

Thank you for your confirmation.

## What is the function e^{-2x}.tanh(x)?

The function e^{-2x}.tanh(x) is a combination of two mathematical functions: the exponential function e^{-2x} and the hyperbolic tangent function tanh(x). This function is frequently used in physics and engineering to model various phenomena.

## What is the domain and range of e^{-2x}.tanh(x)?

The domain of e^{-2x}.tanh(x) is all real numbers, as both the exponential and hyperbolic tangent functions are defined for all values of x. The range of this function is from -1 to 1, as the hyperbolic tangent function has a maximum value of 1 and a minimum value of -1.

## How do you integrate e^{-2x}.tanh(x)?

The integral of e^{-2x}.tanh(x) can be found using the substitution method. Let u = tanh(x), then du = sech^2(x) dx. Substituting into the integral gives the new integral of e^{-2x} u du. This can then be solved using integration by parts or the tabular method.

## What is the significance of e^{-2x}.tanh(x) in science?

E^{-2x}.tanh(x) has various applications in physics and engineering. It can be used to model the behavior of damped harmonic oscillators, heat transfer in materials, and the dynamics of electrical circuits. It also has applications in statistics and probability, such as in the study of Brownian motion and random walks.

## How does the graph of e^{-2x}.tanh(x) look like?

The graph of e^{-2x}.tanh(x) has an S-shaped curve, similar to the hyperbolic tangent function. It approaches 0 as x tends to negative infinity and approaches 1 as x tends to positive infinity. It also has an inflection point at (0,0) where the slope changes from positive to negative.

### Similar threads

• Calculus and Beyond Homework Help
Replies
4
Views
784
• Calculus and Beyond Homework Help
Replies
7
Views
749
• Calculus and Beyond Homework Help
Replies
4
Views
841
• Calculus and Beyond Homework Help
Replies
8
Views
798
• Calculus and Beyond Homework Help
Replies
15
Views
807
• Calculus and Beyond Homework Help
Replies
2
Views
417
• Calculus and Beyond Homework Help
Replies
2
Views
859
• Calculus and Beyond Homework Help
Replies
14
Views
2K
• Calculus and Beyond Homework Help
Replies
2
Views
255
• Calculus and Beyond Homework Help
Replies
4
Views
963