If \(y=\log_e\left(\sin\left(\displaystyle\frac{x^2}{3}-1\right)\right)\) then \(\displaystyle\frac{d^2y}{dx^2}\) is equal to:
Answer & explanation
Correct answer: option 2
The correct answer is Option (2) → \(\frac{2}{3}\cot\left(\frac{x^2}{3}-1\right)-\frac{4x^2}{9}\mathrm{cosec}^2\left(\frac{x^2}{3}-1\right)\)
Let \(u = \frac{x^2}{3} - 1\), so \(\frac{du}{dx} = \frac{2x}{3}\) and \(y = \log_e(\sin u)\). By the chain rule:
\( \displaystyle \frac{dy}{dx} = \frac{1}{\sin u}\cdot\cos u\cdot\frac{2x}{3} \)
\( \displaystyle = \frac{2x}{3}\cot u \)
Differentiating again by the product rule, with \(\frac{d}{dx}(\cot u) = -\mathrm{cosec}^2 u\cdot\frac{2x}{3}\):
\( \displaystyle \frac{d^2y}{dx^2} = \frac{2}{3}\cot u + \frac{2x}{3}\left(-\mathrm{cosec}^2 u\cdot\frac{2x}{3}\right) \)
\( \displaystyle = \frac{2}{3}\cot u - \frac{4x^2}{9}\mathrm{cosec}^2 u \)
\( \displaystyle = \frac{2}{3}\cot\left(\frac{x^2}{3}-1\right) - \frac{4x^2}{9}\mathrm{cosec}^2\left(\frac{x^2}{3}-1\right) \)
Why the other options are incorrect
Option (1) \(\frac{2}{3}\left(-\cot\left(\frac{x^2}{3}-1\right)+x\,\mathrm{cosec}^2\left(\frac{x^2}{3}-1\right)\right)\) — Incorrect. Both signs are reversed, and the cosec2 term carries \(\frac{2x}{3}\) instead of \(\frac{4x^2}{9}\).
Option (3) \(-\frac{2}{3}\cot\left(\frac{x^2}{3}-1\right)+\frac{4x^2}{9}\mathrm{cosec}^2\left(\frac{x^2}{3}-1\right)\) — Incorrect. It is the negative of the correct result: both signs are reversed.
Option (4) \(\frac{2}{3}\left(\cot\left(\frac{x^2}{3}-1\right)-x\,\mathrm{cosec}^2\left(\frac{x^2}{3}-1\right)\right)\) — Incorrect. The signs are right, but the cosec2 term is \(\frac{2x}{3}\mathrm{cosec}^2 u\): the factor \(\frac{2x}{3}\) from differentiating \(\cot u\) is missing.