## Example 1.2.5(c):

Let

If we draw the graph of the function, and shade the interval [0,2] on the
*f(x) = x*with domain and range being R. Find the image of [0, 2] and the preimage of [1, 4].^{2}*x*axis in red, then its projection onto the

*y*axis will be the image (in green).

**imag([0, 2]) = [0, 4]**

*y*axis in red, then its projection onto the

*x*axis will be the preimage (in green).

**preimage([1, 4]) = [-2, -1] [1, 2]**