Problem 80
Evaluate the integral: I = integral dx/(e^x + e^-x)
Evaluate the integral: $$ I = \int \frac{dx}{e^x + e^{-x}}. $$
Explanation of Method
Multiplying numerator and denominator by $e^x$ clears the negative exponent and turns the denominator into $e^{2x}+1$, a perfect setup for the substitution $v=e^x$, which reduces the integral to the standard arctangent form $\int \frac{dv}{v^2+1}$.
- Multiply numerator and denominator by $e^x$ to clear the negative exponent.
- Substitute $v=e^x$.
- Apply the standard arctangent formula.
- Substitute back and add the constant of integration.
Step 1 · Clear the negative exponent
Multiplying numerator and denominator by $e^x$:
$$ I = \int \frac{dx}{e^x+e^{-x}} = \int \frac{e^x\,dx}{e^{2x}+1}. $$
Step 2 · Substitute
Let $v = e^x$. Then $dv = e^x\,dx$, so the integral becomes:
$$ I = \int \frac{dv}{v^2+1}. $$
Step 3 · Apply the standard result
This is a standard integral:
$$ \int \frac{dv}{v^2+1} = \arctan(v) + C. $$
Step 4 · Substitute back
Substituting back $v = e^x$, we obtain:
$$ I = \arctan\left(e^x\right) + C. $$
Summary Table
| Quantity | Value |
|---|---|
| Substitution | $v = e^x$ |
| Reduced integral | $\int dv/(v^2+1)$ |
| Antiderivative | $\arctan(v)$ |
Additional Notes
- The integrand is defined for all real $x$, since $e^x+e^{-x} \geq 2 > 0$ always.
- Using the identity $e^x+e^{-x}=2\cosh x$, the integral can also be written as $\tfrac12\int \operatorname{sech}x\,dx = \tfrac12\arctan(\sinh x)+C$; this differs from $\arctan(e^x)+C$ only by the constant $\arctan(1)=\tfrac\pi4$, so both are valid antiderivatives.
- The result can be checked by differentiating $\arctan(e^x)$ with the chain rule: $\dfrac{e^x}{1+e^{2x}} = \dfrac{1}{e^{-x}+e^x}$, confirming it matches the original integrand.
Result
The solution to the integral is:
$$
I = \arctan\left(e^x\right) + C.
$$