Solution:
Key idea: A function that is differentiable at a point is continuous there. So first we make f continuous at x=1, and then we make Lf′(1) equal to Rf′(1).
Step 1 — Find the value at x = 1.
At x=1 the rule 2x+1 applies, because it holds for x≥1.
f(1)=2(1)+1=3
Step 2 — Use continuity at x = 1.
The left-hand limit comes from ax2+b, and it must equal f(1).
LHL=x→1−lim(ax2+b)=a+b
a+b=3…(1)
Step 3 — Find the right-hand derivative.
Just right of 1 the rule is 2x+1.
Rf′(1)=h→0limh[2(1+h)+1]−3=h→0limh2h=2
Step 4 — Find the left-hand derivative.
Just left of 1 the rule is ax2+b. We expand (1−h)2 and use a+b=3 from (1) to cancel the constant terms.
Lf′(1)=h→0lim−h[a(1−h)2+b]−3=h→0lim−ha−2ah+ah2+b−3=h→0lim−h−2ah+ah2=h→0lim(2a−ah)=2a
Step 5 — Equate the derivatives and solve.
Differentiability needs Lf′(1) to equal Rf′(1), so we solve 2a=2 and then use (1).
2a=2
a=1
b=3−1=2
Therefore, a=1 and b=2.