If the function f(x)=⎧⎨⎩a|π−x|+1,x≤5b|x−π|+3,x>5
is continuous at x=5, then the value of a−b is :
A
2π−5
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
2π+5
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
25−π
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
−2π+5
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is C25−π f(x)=⎧⎨⎩a|π−x|+1,x≤5b|x−π|+3,x>5
is continuous at x=5 ∴limx→5−f(x)=limx→5+f(x)=f(5) ⇒a|π−5|+1=b|5−π|+3 ⇒a(5−π)+1=b(5−π)+3 ⇒(a−b)(5−π)=2 ∴a−b=25−π