1. From the left
limx→1−f(x)=5a(1)−2b=5a−2b
For continuity this must equal f(1)=11:
5a−2b=11…(i)
2. From the right
limx→1+f(x)=3a(1)+b=3a+b
so
3a+b=11…(ii)
3. Solving
From (ii), b=11−3a. Substituting into (i):
5a−2(11−3a)=11 ⟹ 5a−22+6a=11 ⟹ 11a=33
a=3,b=2
Check. 5(3)−2(2)=15−4=11 and 3(3)+2=9+2=11. Both agree with f(1)=11. ✓
4. The one-sided derivatives
With a=3,b=2 the rules are f(x)=15x−4 on the left and f(x)=9x+2 on the right, both passing through (1,11):
L.H.D.=limh→0−h[15(1+h)−4]−11=limh→0−h15h=15
R.H.D.=limh→0+h[9(1+h)+2]−11=limh→0+h9h=9
These are unequal, so f is not differentiable at x=1.
5. No choice of a and b can help
Differentiability at x=1 would need the two one-sided derivatives to agree. Whatever the values of a and b, the slopes of the two pieces are 5a on the left and 3a on the right, so we would need
5a=3a⟹a=0.
But with a=0, continuity forces −2b=11 and b=11 simultaneously, from (i) and (ii) — and −2(11)=−22=11. The two requirements contradict each other.
So f can be made continuous at x=1 (uniquely, by a=3,b=2) but never differentiable there. The instrument can be tuned to avoid a jump in the reading; it cannot be tuned to avoid a kink in the rate.