If f(x)=⎧⎪ ⎪ ⎪⎨⎪ ⎪ ⎪⎩sin(a+1)x+2sin xxif x<02,if x=0√1+bx−1x,if x>0 is continuous at x = 0, then find the values of a and b.
LHL (at x = 0) : limx→0−sin(a+1)x+2sin xx=limx→0−(sin(a+1)x(a+1)x)×(a+1)+2(sin xx)=1×(a+1)+2×1=a+3 [As x→0∴(a+1)x→0RHL(at x=0):limx→0+√1+bx−1x=limx→0+b×1√1+bx+1=b2
Also, f(0) = 2
As f(x) is continuous at x = 0 so, a + 3 = 2 = b2 ∴a=−1, b=4.