Given : f(x)={2a2x−1;x≤1x2+x+b;x>1
For the function to be continuous at x=1
f(1−)=f(1+)=f(1)⇒2a2−1=1+1+b⇒2a2−b=3⋯(1)
Differentiating the function w.r.t. x, we get
f′(x)={2a2;x≤12x+1;x>1
If the function is differentiable at x=1, then it is differentiable everywhere, so
f′(1−)=f′(1+)⇒2a2=3
From equation (1), we get
b=0
Hence, 2a2+b=3