As f is differentiable at x = 1 so, it is continuous at x = 1 as well.
So, limx→1+f(x)=limx→1−f(x)=f(1)i.e.,limx→1−ax2+b=2(1)+1 ⇒a+b=3...(i)
Also Lf′(1)=Rf′(1)i.e.,limx→1−ax2+b−3x−1=limx→1+2x+1−3x−1
⇒limx→1−ax2−ax−1=limx→1+2(x−1)x−1⇒limx→1−a(x2−1)x−1=limx→1+ 2 [By(i),b−3=−a]
⇒limx→1−a(x+1)=2 ⇒a(1+1)=2 ∴a=1,b=2 [By (i).]