If f(x)={ax+3,x≤2a2x−1,x>2, then the values of a for which f is continuous for all x are
A
1 and −2
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
1 and 2
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
−1 and 2
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
−1 and −2
No worries! We‘ve got your back. Try BYJU‘S free classes today!
E
0 and 3
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is C−1 and 2 Given, f(x)={ax+3,x≤2a2x−1x>2
Continuity at x=2, LHL=limx→2−f(x)=limx→2(ax+3)=2a+3 RHL=limx→2+f(x)=limx→2(a2x−1)=2a2−1 Since, f(x) is continuous for all values of x. Therefore, LHL= RHL ⇒2a+3=2a2−1 ⇒2a2−2a−4=0 ⇒a2−a−2=0 ⇒a2−2a+a−2=0 ⇒a(a−2)+1(a−2)=0 ⇒(a+1)(a−2)=0 ⇒a=−1,2