Question:

Let \(f(x)=\begin{cases}|x-3|, & \text{if } x<-1\\ 3x+4, & \text{if } x\geq -1\end{cases}\), \(g(x)=x^{2}-\mathrm{b}x-2\ (x\in\mathbf{R})\) and \(\mathrm{b}\) is a real constant. If \(g\circ f\) is continuous at \(x=-1\), then \(\mathrm{b}\) is equal to ________.

Show Hint

Compute the left-hand and right-hand limits of \(f\) at \(-1\), and use the continuity of the polynomial \(g\): \(g(f(-1^{-}))=g(f(-1))\).
Updated On: Nov 12, 2026
Show Solution
collegedunia
Verified By Collegedunia

Correct Answer: 5

Solution and Explanation

For \(x<-1\), \(x-3<0\), so \(f(x)=|x-3|=3-x\). Hence \(f(-1^{-})=4\).
For \(x\ge-1\), \(f(x)=3x+4\), so \(f(-1)=1\) and \(f(-1^{+})=1\).
\(g\) is a polynomial (continuous everywhere), so \(\lim_{x\to-1^{-}}g(f(x))=g(4)\) and \(\lim_{x\to-1^{+}}g(f(x))=g(1)=g(f(-1))\).
Continuity of \(g\circ f\) at \(-1\) requires \(g(4)=g(1)\): \(16-4b-2=1-b-2\Rightarrow 14-4b=-1-b\Rightarrow 3b=15\).
Thus \(b=5\).
Answer: 5
Was this answer helpful?
0
0