Question:

If \(f(x) = \begin{cases} x^2 + 3x + a, & x \leq 1  bx + 2, & x>1 \end{cases}\)\(x \in \mathbb{R}\), is everywhere differentiable, then

Show Hint

For piecewise functions to be differentiable, ensure continuity and equal derivatives at the junction point by equating left and right limits and derivatives.
Updated On: Apr 28, 2025
  • \( a = 3, b = 5 \)
  • \( a = 0, b = 5 \)
  • \( a = 0, b = 3 \)
  • \( a = b = 3 \)
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation


Step 1: Understand the condition for differentiability.
For \( f(x) \) to be everywhere differentiable, it must be differentiable at all points, including the transition point \( x = 1 \). This requires:
The function \( f(x) \) to be continuous at \( x = 1 \).
The derivative \( f'(x) \) to exist at \( x = 1 \), meaning the left-hand derivative equals the right-hand derivative at \( x = 1 \).

Step 2: Check continuity at \( x = 1 \).
Compute the left-hand and right-hand limits at \( x = 1 \):
Left-hand limit (\( x \leq 1 \)): \( f(1) = 1^2 + 3 \cdot 1 + a = 1 + 3 + a = 4 + a \),
Right-hand limit (\( x>1 \)): \( f(1) = b \cdot 1 + 2 = b + 2 \). For continuity:
\[ 4 + a = b + 2 \implies b = a + 2. \quad (1) \]
Step 3: Check differentiability at \( x = 1 \).
Compute the derivatives on both sides:
Left-hand derivative (\( x \leq 1 \)): \( f'(x) = \frac{d}{dx} (x^2 + 3x + a) = 2x + 3 \),
At \( x = 1^- \): \( f'(1) = 2 \cdot 1 + 3 = 5 \), Right-hand derivative (\( x>1 \)): \( f'(x) = \frac{d}{dx} (bx + 2) = b \),
At \( x = 1^+ \): \( f'(1) = b \).
For differentiability, the derivatives must be equal at \( x = 1 \): \[ 5 = b. \quad (2) \]
Step 4: Solve the system of equations.
From equation (2), \( b = 5 \). Substitute into equation (1): \[ 5 = a + 2 \implies a = 5 - 2 = 3. \] So, \( a = 3 \), \( b = 5 \).
Step 5: Verify and select the answer.
Continuity: \( 4 + a = 4 + 3 = 7 \), \( b + 2 = 5 + 2 = 7 \), satisfied.
Differentiability: Left derivative = 5, right derivative = \( b = 5 \), satisfied.
The values \( a = 3 \), \( b = 5 \) match option (A).
Was this answer helpful?
0
0