Question:medium

If \(y = \sqrt{\log \left\{ \sin \left( \dfrac{x^2}{3} + 1 \right) \right\}}\), then show that

\[ \frac{dy}{dx} = \frac{x \cot \left( \dfrac{x^2}{3} + 1 \right)}{3y}. \]

Show Hint

Square both sides to get \(y^2 = \log \sin u\), differentiate with the chain rule, and divide by \(2y\).
Updated On: Oct 22, 2026
Show Solution

Solution and Explanation

Step 1: Differentiate y directly:
Write $y = (\log \sin u)^{1/2}$ with $u = \dfrac{x^2}{3}+1$.
There are three layers: the power, the log and the sine, plus the inner function $u$.
We apply the chain rule layer by layer.

Step 2: Apply the chain rule:
\[ \frac{dy}{dx} = \frac{1}{2}(\log \sin u)^{-1/2} \cdot \frac{1}{\sin u} \cdot \cos u \cdot \frac{2x}{3} \]
Since $\sin u$ is in the denominator and $\cos u$ in the numerator, $\dfrac{\cos u}{\sin u} = \cot u$.

Step 3: Bring back y:
We know $(\log \sin u)^{1/2} = y$.
So $(\log \sin u)^{-1/2} = \dfrac{1}{y}$.
Putting this in, the factors $\dfrac12$ and $\dfrac{2x}{3}$ multiply to $\dfrac{x}{3}$.
\[ \frac{dy}{dx} = \frac{1}{y} \cdot \cot u \cdot \frac{x}{3} = \frac{x \cot u}{3y} \]

Final Answer:
Replacing $u$ by $\dfrac{x^2}{3}+1$ we get \[ \frac{dy}{dx} = \frac{x \cot \left( \dfrac{x^2}{3} + 1 \right)}{3y}. \] Hence proved.
Was this answer helpful?
0