Hi,

I am perfectly able to understand composite functions, given expressions for each function. Such as f(x) = x + 3, g(x) = 2x +1. Then f(g(x)) would be:

(2x+3)+1 = 2x +4. Am I right?

However, I don't know how to approach questions where only the elements in a function are stated. Like the following:

GivenA = {1, 2, 3, 4}, B = {a, b, c, d}:

f(x) = {(1,b), (2,c), (3,d), (4,a)}

g(x) = {(a,1), (b,2), (c,4), (d,4)}

Findg(f(2))andf(g(2)).

Or rather,what does g(f(2)) and f(g(2)) mean?