If \(y=\sin x+e^x\), then \(\displaystyle\frac{d^2x}{dy^2}\) is equal to:
Answer & explanation
Correct answer: option 2
The correct answer is Option (2) → \(\displaystyle\frac{\sin x-e^x}{(\cos x+e^x)^3}\)
First,
\( \displaystyle \frac{dy}{dx} = \cos x+e^x, \quad \frac{dx}{dy} = \frac{1}{\cos x+e^x} \)
\(\frac{dx}{dy}\) is a function of x, so its derivative with respect to y needs the chain rule, with an extra factor \(\frac{dx}{dy}\):
\( \displaystyle \frac{d^2x}{dy^2} = \frac{d}{dx}\left(\frac{1}{\cos x+e^x}\right)\cdot\frac{dx}{dy} \)
\( \displaystyle = -\frac{-\sin x+e^x}{(\cos x+e^x)^2}\cdot\frac{1}{\cos x+e^x} \)
\( \displaystyle = \frac{\sin x-e^x}{(\cos x+e^x)^3} \)
Why the other options are incorrect
Option (1) \(\displaystyle\frac{\sin x-e^x}{(\cos x+e^x)^2}\) — Incorrect. This is only the x-derivative of \(\frac{dx}{dy}\); the extra factor \(\frac{dx}{dy}\) raises the power in the denominator to 3.
Option (3) \(\displaystyle\frac{\sin x+e^x}{(\cos x-e^x)^2}\) — Incorrect. The signs are wrong: \(\frac{dy}{dx} = \cos x+e^x\), not \(\cos x-e^x\).
Option (4) \((-\sin x+e^x)^{-1}\) — Incorrect. \(\frac{d^2x}{dy^2}\) is not the reciprocal of \(\frac{d^2y}{dx^2} = -\sin x+e^x\).