Question
Find the values of a and b such that $h(x)=\begin{cases}ax^2+7x & x<1\\ 2x+b & x\ge 1\end{cases}$ differentiable at $x=1$
Original question: 10. Find the values of a and b such that differentiable at . What is the sum of a and b?
Created by QR Calculus - Patrick Cox
Expert Verified Solution
Key concept: For a piecewise function to be differentiable at a point, it must first be continuous there, and its left and right derivatives must also match. That gives two equations for and .
Step by step
Step 1: Set the derivatives equal at
For ,
For ,
Differentiability at requires
so
Step 2: Use continuity at
The two pieces must also have the same value at :
Left side:
Right side:
So
Step 3: Solve the system
From ,
Then substitute into :
Step 4: Find the sum
Final answer
Pitfall alert
A common mistake is using only continuity or only derivative matching. Differentiability at a junction point requires both conditions. Also, make sure the derivative of is , not without the coefficient handled correctly.
Try different conditions
If the question asked only for continuity at , you would use just . If it asked only for differentiability, you would still need the derivative-matching equation together with continuity to determine both constants.
Further reading
piecewise function, continuity, differentiability
FAQ
What conditions are needed for differentiability at x=1?
The function must be continuous at x=1 and the left- and right-hand derivatives must be equal at x=1.
What is the sum of a and b?
The sum is 0.