If \(f(x)=\begin{cases} ax^2+b, & x \lt -1\\ bx^2+ax+4, & x \ge -1\end{cases}\) is everywhere differentiable, then:
Answer & explanation
Correct answer: option 1
The correct answer is Option (1) → \(a=2, b=3\)
Each piece is a polynomial, so the only point to check is x = −1, where the rule changes. A function differentiable at a point is continuous there, and its left and right derivatives are equal.
Continuity at x = −1 (left-hand limit = value):
\(a(-1)^2+b = b(-1)^2+a(-1)+4\)
\(a+b = b-a+4\)
\(2a = 4,\quad a = 2\)
Derivatives of the two pieces:
\(\text{left: } 2ax,\quad \text{right: } 2bx+a\)
Equal at x = −1:
\(2a(-1) = 2b(-1)+a\)
\(-2a = -2b+a\)
\(2b = 3a = 6,\quad b = 3\)
So a = 2, b = 3.