Q.

Let the sets A and B denote the domain and range respectively of the function f(x)=1x-x, where x denotes the smallest integer greater than or equal to x. Then among the statements

(S1):AB=(1,)-N and

(S2): AB=(1,)                                                 [2023]

1 only (S1) is true   
2 both (S1) and (S2) are true  
3 only (S2) is true   
4 neither (S1) nor (S2) is true  

Ans.

(1)

f(x)=1x-x

If xI, x=[x] (greatest integer function) 

If xI, x=[x]+1

f(x)={1[x]-x,xI1[x]+1-x,xI

f(x)={1-{x},xI  (does not exist)-11-{x},xI

Domain of f(x)=R-I

Now, f(x)=11-{x},  xI

0<{x}<10<1-{x}<1 11-{x}>1

Range=(1,)A=R-I and B=(1,)

So, AB=(1,)-N AB(1,)

S1 is true.