If A is the domain and B is the range of the function $f(x) = \begin{cases} 3x-1, & x>1 \\ x^2+1, & x\le 1 \end{cases}$, then $A-B=$
- (1)
$(1,\infty)$
- (2)
$(-\infty,1)$
- (3)
$\mathbb{R}-(-1,1)$
- (4)
$(-1,1)$
Show answer
Option (2) is correct.
The council's preliminary key