Let a and b be real constants such that the function f defined by f(x)={x2+3x+a,x≤1bx+2,x>1 be differentiable on R. Then, the value of ∫-22f(x) dx equals [2024]
(3)
We have, f(x)={x2+3x+a,x≤1bx+2,x>1
Since, f(x) be differentiable on R.
So, f(x) be continuous at x=1.
∴ limx→1-f(x)=limx→1+f(x)=f(1)
⇒limh→0f(1-h)=limh→0f(1+h)=f(1)
⇒a+4=b+2⇒b=a+2 ...(i)
Also, Lf'(1)=Rf'(1)
⇒5=b
∴ a=3 and b=5 (Using (i))
Now, ∫-22f(x) dx=∫-21(x2+3x+3) dx+∫12(5x+2) dx
=(x33+3x22+3x)-21+(5x22+2x)12
=13(1+8)+32(1-4)+3(1+2)+52(4-1)+2(2-1)
=3-92+9+152+2=17