I came across this question in my test, let $f:R->R$ be defined by $f(t)=t^2$ and let $U$ be any non-empty open subset of $R$, Then
1. f(U) is open
2. f^-1(U) is open
3. f(U) is closed
4. f^-1(U) is closed
The option I thought was correct is (1.) but (2.) is correct I don't know why? I think option 1 is correct because U is an open subset of R hence the function will also map to a set which is open. So please tell me how option 2 is correct and which concept I don't know about or not getting to answer this question. I would like a hint.