Let a function f:R→R be defined as f(x)=⎧⎪⎨⎪⎩sinx−exifx≤0a+[−x]if0<x<12x−bifx≥1
where [x] is the greatest integer less than or equal to x. If f is continuous on R, then (a+b) is equal to
A
5
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
3
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
4
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
2
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is B3 f(x)=⎧⎪⎨⎪⎩sinx−exifx≤0a−1−[x]if0<x<12x−bifx≥1
Given: f(x) is continuous everywhere ∴f(x) is continuous at x=0 ∴limx→0−f(x)=f(0)=limx→0+f(x) ⇒–1=a−1⇒a=0 f(x) is also continuous at x=1 ∴limx→1−f(x)=f(1)=limx→1+f(x) ⇒a−1=2−b⇒−1=2−b ⇒b=3 ∴a+b=3