Integral of $$$\frac{e^{x}}{e^{x} + e^{- x}}$$$

The calculator will find the integral/antiderivative of $$$\frac{e^{x}}{e^{x} + e^{- x}}$$$, with steps shown.

Related calculator: Definite and Improper Integral Calculator

Please write without any differentials such as $$$dx$$$, $$$dy$$$ etc.
Leave empty for autodetection.

If the calculator did not compute something or you have identified an error, or you have a suggestion/feedback, please contact us.

Your Input

Find $$$\int \frac{e^{x}}{e^{x} + e^{- x}}\, dx$$$.

Solution

Simplify:

$${\color{red}{\int{\frac{e^{x}}{e^{x} + e^{- x}} d x}}} = {\color{red}{\int{\frac{e^{2 x}}{e^{2 x} + 1} d x}}}$$

Let $$$u=e^{2 x} + 1$$$.

Then $$$du=\left(e^{2 x} + 1\right)^{\prime }dx = 2 e^{2 x} dx$$$ (steps can be seen »), and we have that $$$e^{2 x} dx = \frac{du}{2}$$$.

The integral can be rewritten as

$${\color{red}{\int{\frac{e^{2 x}}{e^{2 x} + 1} d x}}} = {\color{red}{\int{\frac{1}{2 u} d u}}}$$

Apply the constant multiple rule $$$\int c f{\left(u \right)}\, du = c \int f{\left(u \right)}\, du$$$ with $$$c=\frac{1}{2}$$$ and $$$f{\left(u \right)} = \frac{1}{u}$$$:

$${\color{red}{\int{\frac{1}{2 u} d u}}} = {\color{red}{\left(\frac{\int{\frac{1}{u} d u}}{2}\right)}}$$

The integral of $$$\frac{1}{u}$$$ is $$$\int{\frac{1}{u} d u} = \ln{\left(\left|{u}\right| \right)}$$$:

$$\frac{{\color{red}{\int{\frac{1}{u} d u}}}}{2} = \frac{{\color{red}{\ln{\left(\left|{u}\right| \right)}}}}{2}$$

Recall that $$$u=e^{2 x} + 1$$$:

$$\frac{\ln{\left(\left|{{\color{red}{u}}}\right| \right)}}{2} = \frac{\ln{\left(\left|{{\color{red}{\left(e^{2 x} + 1\right)}}}\right| \right)}}{2}$$

Therefore,

$$\int{\frac{e^{x}}{e^{x} + e^{- x}} d x} = \frac{\ln{\left(e^{2 x} + 1 \right)}}{2}$$

Add the constant of integration:

$$\int{\frac{e^{x}}{e^{x} + e^{- x}} d x} = \frac{\ln{\left(e^{2 x} + 1 \right)}}{2}+C$$

Answer

$$$\int \frac{e^{x}}{e^{x} + e^{- x}}\, dx = \frac{\ln\left(e^{2 x} + 1\right)}{2} + C$$$A