Answer:
Explanation:
Given that g is a function from g : {1, 2, 3} ->{1, 2, 4, 8}
by the function
![g(x) = 2^x](https://img.qammunity.org/2020/formulas/mathematics/middle-school/jadfi6cg2s021j57bgu1lfvcx1dg0613b2.png)
i.e. we have
![g(1) =2\\g(2) = 4\\g(3) =8](https://img.qammunity.org/2020/formulas/mathematics/college/gx146cqlk874v5p1pyqjg2mtc1eraeh9z6.png)
Range = {2,4,8} Since there is an extra element 1 in the co domain which is not in range , g is not on to
But g is one to one as 1,2,3 have different images.