Problem 80
Medium Rational and Quadratic

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}$.

  1. Multiply numerator and denominator by $e^x$ to clear the negative exponent.
  2. Substitute $v=e^x$.
  3. Apply the standard arctangent formula.
  4. 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

Result

The solution to the integral is:

$$ I = \arctan\left(e^x\right) + C. $$