Question
Question: Range of f(x) = [1 + sinx] + [cosx – 1] + [tan<sup>-1</sup>x] ∀ x ∈[0, 2π], is (where [.] denotes th...
Range of f(x) = [1 + sinx] + [cosx – 1] + [tan-1x] ∀ x ∈[0, 2π], is (where [.] denotes the greatest integer function)
A
{-1, 1, 2}
B
{-1, 0, 1}
C
{-1, 0, 1, 2}
D
{-1, 0, 2}
Answer
{-1, 0, 1, 2}
Explanation
Solution
f(x) = [sinx] + [cosx] + [tan−1x]. We get

f(x)=⎩⎨⎧1,01,2,0,−1,0,2,x=0,0<x<tan1tan1≤x<π/2x=π/2π/2<x<ππ≤x<3π/2π3π/2≤x<2πx=2π
Thus range of f(x) = {-1, 0, 1, 2}.