For the mapping
the image of [ 1 , 2 ] {\displaystyle {}[1,2]} is the set of all squares of real numbers between 1 {\displaystyle {}1} and 2 {\displaystyle {}2} , this is thus [ 1 , 4 ] {\displaystyle {}[1,4]} . The preimage of [ 1 , 4 ] {\displaystyle {}[1,4]} consists of all real numbers whose square is between 1 {\displaystyle {}1} and 4 {\displaystyle {}4} . This is [ − 2 , − 1 ] ∪ [ 1 , 2 ] {\displaystyle {}[-2,-1]\cup [1,2]} .