For a real number x, let [x] denote the greatest integer less than or equal to x. Let f:R→R be defined as f(x)=2x+[x]+sinx.cosx then f is
A
one-one but not onto
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
onto but not one-one
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
both one-one and onto
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
neither one-one nor onto
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is D both one-one and onto f(x)=2x+[x]+sinxcosx Range of f(x) will be limx→−∞f(x)=−∞limx→∞f(x)=∞ ∴ Range=(−∞,∞) Range =R=Co-domain ∴Function is onto Now, f(x1)=2x1+[x1]+sinx1cosx1f(x2)=2x2+[x2]+sinx2cosx2f(x1)=f(x2)⇒2x1+[x1]+sinx1cosx1=2x2+[x2]+sinx2cosx2⇒x1=x2 So, f(x) is also one-one function