Official NTA Answer:
C
The square root of a perfect trigonometric square $\sqrt{1 \pm \sin x} = |\sin(x/2) \pm \cos(x/2)|$ must be simplified strictly respecting the sign in the given domain interval $x \in (\pi/2, \pi)$.
⚡ JEE Exam Shortcut / Strategic Insight
⚡ For $x \in (\pi/2, \pi)$, $x/2 \in (\pi/4, \pi/2) \implies \sin(x/2) > \cos(x/2) > 0$. The fraction simplifies to $\frac{2\sin(x/2)}{2\cos(x/2)} = \tan(x/2) = \cot(\pi/2 - x/2)$. Thus $y = \pi/2 - x/2$, and $y\' = -1/2$ identically.
Step-by-Step Derivation:
- Step 1: Analyze the domain: $x \in \left(\frac{\pi}{2}, \pi\right) \implies \frac{x}{2} \in \left(\frac{\pi}{4}, \frac{\pi}{2}\right)$. In this interval, $\sin\left(\frac{x}{2}\right) > \cos\left(\frac{x}{2}\right) > 0$.
- Step 2: Simplify the square roots using absolute values: $\sqrt{1+\sin x} = \sqrt{(\sin(x/2) + \cos(x/2))^2} = \sin(x/2) + \cos(x/2)$, and $\sqrt{1-\sin x} = \sqrt{(\sin(x/2) - \cos(x/2))^2} = |\sin(x/2) - \cos(x/2)| = \sin(x/2) - \cos(x/2)$.
- Step 3: Substitute into the numerator and denominator: $\text{Numerator} = (\sin(x/2) + \cos(x/2)) + (\sin(x/2) - \cos(x/2)) = 2\sin(x/2)$, and $\text{Denominator} = (\sin(x/2) + \cos(x/2)) - (\sin(x/2) - \cos(x/2)) = 2\cos(x/2)$.
- Step 4: The expression inside the inverse cotangent becomes $\frac{2\sin(x/2)}{2\cos(x/2)} = \tan\left(\frac{x}{2}\right) = \cot\left(\frac{\pi}{2} - \frac{x}{2}\right)$. For $x \in \left(\frac{\pi}{2}, \pi\right)$, $\frac{\pi}{2} - \frac{x}{2} \in \left(0, \frac{\pi}{4}\right)$, which lies well within the principal range $(0, \pi)$ of $\cot^{-1}$.
- Step 5: Therefore, $y(x) = \frac{\pi}{2} - \frac{x}{2}$. Differentiating with respect to $x$ gives $\frac{dy}{dx} = -\frac{1}{2}$ for all $x \in \left(\frac{\pi}{2}, \pi\right)$. At $x = \frac{5\pi}{6}$, $\frac{dy}{dx} = -\frac{1}{2}$, which matches Option (C).
Exam Takeaway & Common Pitfall:
Crucial trap: $\sqrt{1-\sin x} = |\sin(x/2) - \cos(x/2)|$. When $x/2 \in (\pi/4, \pi/2)$, sine is larger than cosine, so removing the absolute value produces $\sin(x/2) - \cos(x/2)$, not $\cos(x/2) - \sin(x/2)$.