Mathematics, Discrete Mathematics, Programming.
demonstrate what is NOT a function (using the sets defined above). f = {(2, a), (3, b)} What’s the problem with this? In set X, 4 is not mapped to any value in set Y. Lastly: f = {(2, a), (3, b), (4, a), (2, b)} Uh oh! Yikes!! We can’t have the same x value that maps to two different y values :/