Let $Q$ be the set of all rational numbers in $[0, 1]$ and $f : [0, 1] \to [0, 1]$ be defined by
$f(x) = \begin{cases} x & \text{for } x \in Q \\ 1 - x & \text{for } x \notin Q \end{cases}$
Then the set $S = \{x \in [0, 1] : (f \circ f)(x) = x\}$ is equal to
- (1)
$[0, 1]$
- (2)
$Q$
- (3)
$[0, 1] - Q$
- (4)
$(0, 1)$
Show answer
Option (1) is correct.
The council's preliminary key