Question:medium

Find the values of \(a\) and \(b\) so that the following function is differentiable for all values of \(x\) :

\[ f(x) = \begin{cases} ax + b, & x > -1 \\ bx^{2} - 3, & x \leq -1 \end{cases} \]

Show Hint

Make the function continuous at x = -1 to get a = 3, then equate the left and right derivatives at x = -1 to get b.
Updated On: Nov 20, 2026
Show Solution

Solution and Explanation

Understanding the Concept:
Differentiable at a point means two things. The function is continuous there. The left and right slopes are equal.

Key Formula or Approach:
At $x = -1$ we need $f(-1^{-}) = f(-1^{+})$ and $f^{\prime}(-1^{-}) = f^{\prime}(-1^{+})$. This gives two equations in $a$ and $b$.

Detailed Explanation:
Take $x$ slightly less than $-1$. Then $f(x) = bx^{2} - 3$, so $f(x) \to b - 3$.
Take $x$ slightly more than $-1$. Then $f(x) = ax + b$, so $f(x) \to b - a$.
Continuity gives $b - a = b - 3$. So $a = 3$.
Now the slopes. For $x < -1$ we have $f^{\prime}(x) = 2bx$, which tends to $-2b$.
For $x > -1$ we have $f^{\prime}(x) = a = 3$.
Equal slopes give $-2b = 3$.
\[ b = -\frac{3}{2} \]
Both conditions hold together, so there is exactly one pair of values.

Final Answer:
\[ \boxed{a = 3,\ b = -\tfrac{3}{2}} \]
Was this answer helpful?
0