Question:medium

\( \displaystyle \int \frac{dx}{e^x+e^{-x}} = \)

Show Hint

Multiply the top and bottom by \(e^x\) to get \(\dfrac{e^x}{e^{2x}+1}\), then put \(t=e^x\).
  • \( \cot^{-1}(e^x)+k \)
  • \( \tan^{-1}(e^x)+k \)
  • \( \log|e^x+1|+k \)
  • \( \sin^{-1}(e^x)+k \)
Show Solution

The Correct Option is B

Solution and Explanation

Step 1: Use the negative exponent instead:
This time multiply the numerator and denominator by $e^{-x}$. This gives $\dfrac{1}{e^x+e^{-x}}=\dfrac{e^{-x}}{1+e^{-2x}}$.

Step 2: Substitute:
Let $t=e^{-x}$, so $dt=-e^{-x}\,dx$ and $e^{-x}dx=-dt$. Then
\[ \int\frac{e^{-x}\,dx}{1+e^{-2x}}=-\int\frac{dt}{1+t^2}=-\tan^{-1}t+k=-\tan^{-1}(e^{-x})+k \]

Step 3: Match with the options:
For positive $y$ we have $\tan^{-1}y+\tan^{-1}(1/y)=\dfrac{\pi}{2}$. So $-\tan^{-1}(e^{-x})=\tan^{-1}(e^{x})-\dfrac{\pi}{2}$. The constant $-\dfrac{\pi}{2}$ is absorbed into $k$, so the result is $\tan^{-1}(e^x)+k$.

Step 4: Check by differentiating:
$\dfrac{d}{dx}\tan^{-1}(e^x)=\dfrac{e^x}{1+e^{2x}}=\dfrac{1}{e^{-x}+e^{x}}$, which is exactly the integrand. Option (A), $\cot^{-1}(e^x)=\dfrac{\pi}{2}-\tan^{-1}(e^x)$, differentiates to the negative of the integrand, so it fails. Options (C) and (D) differentiate to $\dfrac{e^x}{e^x+1}$ and $\dfrac{e^x}{\sqrt{1-e^{2x}}}$, so they fail too.

Final Answer:
The integral equals $\tan^{-1}(e^x)+k$, option (B). \[ \boxed{\tan^{-1}(e^x)+k} \]
Was this answer helpful?
0