The values of A and B such that the function f(x)=⎧⎪
⎪
⎪
⎪
⎪
⎪
⎪⎨⎪
⎪
⎪
⎪
⎪
⎪
⎪⎩−2sinx,x≤−π2Asinx+B,−π2<x<π2cosx,x≥π2
is continuous everywhere, are-
A
A=0,B=1
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
A=1,B=1
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
A=−1,B=1
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
A=−1,B=0
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is CA=−1,B=1 Given f(x)=⎧⎪
⎪
⎪
⎪
⎪
⎪
⎪⎨⎪
⎪
⎪
⎪
⎪
⎪
⎪⎩−2sinx,x≤−π2Asinx+B,−π2<x<π2cosx,x≥π2 Since, f(x) is continuous everywhere so f(x) is continuous at x=π2 LHL=RHL=f(π2) ...(1) f(π2)=0 LHL=limx→π2−=limh→0f(π2−h) =limh→0Asin(π2−h)+B =limh→0Acosh+B LHL=A+B ⇒A+B=0....(2) (by (1)) f(x) is also continuous at x=−π2 LHL=RHL=f(−π2) ...(3) Now, f(−π2)=−2sin(−π2)=2 RHL=limx→−π2+=limh→0f(−π2+h) limh→0f(−π2+h)=limh→0−Asin(π2−h)+B =limh→0−Acosh+B ⇒RHL=−A+B By eqn (3), ⇒−A+B=2 ....(4) Solving equations (2) and (4), we get B=1, A=−1