If \(y=\displaystyle\frac{e^x+e^{-x}}{e^x-e^{-x}}\), then \(\displaystyle\frac{dy}{dx}=\)
Answer & explanation
Correct answer: option 3
The correct answer is Option (3) → \(1-y^2\)
By the quotient rule, using \(\frac{d}{dx}(e^x + e^{-x}) = e^x - e^{-x}\) and \(\frac{d}{dx}(e^x - e^{-x}) = e^x + e^{-x}\):
\( \displaystyle \frac{dy}{dx} = \frac{(e^x - e^{-x})(e^x - e^{-x}) - (e^x + e^{-x})(e^x + e^{-x})}{(e^x - e^{-x})^2} \)
\( \displaystyle = \frac{(e^x - e^{-x})^2 - (e^x + e^{-x})^2}{(e^x - e^{-x})^2} \)
Splitting the fraction:
\( \displaystyle = 1 - \left(\frac{e^x + e^{-x}}{e^x - e^{-x}}\right)^2 \)
\(= 1 - y^2\)