2:
D
(
f
) = [0,1) ∪ (1,∞).
D
(
f
′) = (0,1) ∪ (1,∞).