If \(y=\displaystyle\frac{e^{-x}+e^x}{e^{-x}-e^x}\), then \(\displaystyle\frac{dy}{dx}\) is equal to
Answer & explanation
Correct answer: option 1
The correct answer is Option (1) → \(\displaystyle\frac{4}{(e^{-x}-e^x)^2}\)
Let \(u = e^{-x}+e^x\) and \(v = e^{-x}-e^x\). Then
\( \displaystyle \frac{du}{dx} = -e^{-x}+e^x = -v \)
\( \displaystyle \frac{dv}{dx} = -e^{-x}-e^x = -u \)
By the quotient rule:
\( \displaystyle \frac{dy}{dx} = \frac{v\,\frac{du}{dx}-u\,\frac{dv}{dx}}{v^2} = \frac{-v^2+u^2}{v^2} \)
The numerator is a difference of squares:
\(u^2-v^2 = (u+v)(u-v)\)
\(= \left(2e^{-x}\right)\left(2e^{x}\right) = 4\)
So
\( \displaystyle \frac{dy}{dx} = \frac{4}{(e^{-x}-e^x)^2} \)