Answer:
Step-by-step explanation:
Given that g is a function from g : {1, 2, 3} ->{1, 2, 4, 8}
by the function
[tex]g(x) = 2^x[/tex]
i.e. we have [tex]g(1) =2\\g(2) = 4\\g(3) =8[/tex]
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.