The function \(f(x)=\begin{cases}\displaystyle\frac{\sqrt{1+px}-\sqrt{1-px}}{x}, & -1 \le x \lt 0,\\ \displaystyle\frac{2x+1}{x-2}, & 0 \le x \le 1,\end{cases}\) is continuous in the interval [−1, 1], then p is equal to
Answer & explanation
Correct answer: option 2
The correct answer is Option (2) → \(-\frac{1}{2}\)
Each piece is continuous on its own interval, so the only point to check is x = 0, where the formula changes. Continuity at 0 needs the left-hand limit to equal f(0).
Left-hand limit, rationalising the numerator:
\( \displaystyle \lim_{x \to 0^-} \frac{\sqrt{1+px}-\sqrt{1-px}}{x} = \lim_{x \to 0^-} \frac{(1+px)-(1-px)}{x\left(\sqrt{1+px}+\sqrt{1-px}\right)} \)
\( \displaystyle = \lim_{x \to 0^-} \frac{2p}{\sqrt{1+px}+\sqrt{1-px}} \)
\( \displaystyle = \frac{2p}{2} = p \)
Value at 0, from the second piece:
\( \displaystyle f(0) = \frac{0 + 1}{0 - 2} = -\frac{1}{2} \)
Equating the two:
\( \displaystyle p = -\frac{1}{2} \)