Q.

The domain of the function  f(x)=1log10(1-x)+x+2  is

1 (-3,-2.5)∩(-2.5,-2)  
2 [-2,0)∪(0,1)  
3 (0, 1)  
4 None of the above  

Ans.

(2)

        x+2≥0⇒x≥-2

∵   log10(1-x)≠0⇒1-x≠1⇒x≠0

Again,  1-x>0⇒x<1

All these can be combined as  -2≤x<0  or  0<x<1