If \(f(x)=\begin{cases}\displaystyle\frac{k\cos x}{\pi-2x}, & x \ne \displaystyle\frac{\pi}{2} \\ 3, & x=\displaystyle\frac{\pi}{2}\end{cases}\) is continuous at \(x=\displaystyle\frac{\pi}{2}\), then k is:
Answer & explanation
Correct answer: option 1
The correct answer is Option (1) → 6
For continuity at \(x = \frac{\pi}{2}\), the limit there must equal \(f\left(\frac{\pi}{2}\right) = 3\).
Let \(x = \frac{\pi}{2} - h\), so \(h \to 0\) as \(x \to \frac{\pi}{2}\). Then
\( \displaystyle \cos x = \cos\left(\frac{\pi}{2}-h\right) = \sin h \)
\( \pi - 2x = \pi - \pi + 2h = 2h \)
So
\( \displaystyle \lim_{x\to\pi/2}\frac{k\cos x}{\pi-2x} = \lim_{h\to 0}\frac{k\sin h}{2h} \)
\( \displaystyle = \frac{k}{2} \)
using \(\displaystyle\lim_{h\to 0}\frac{\sin h}{h} = 1\). Equating with 3:
\( \displaystyle \frac{k}{2} = 3,\quad k = 6 \)
Note: A similar question was also asked in CUET (UG) 2025 on 14-05-2025 (Slot 1).
NCERT (2026-27 edition):
Continuity
