If A = {1, 5, 6}, B = {4, 8, 9} and f : A→B is a function defined by f(x) = x + 3, represent the function as a set of ordered pairs, table form and arrow diagram.
Set of ordered pairs : f = {(1, 4), (5, 8), (6, 9)}
Table form
x156f(x)489
Arrow diagram