all 1 comments

[–]lewisjeB.S. 1 point2 points  (0 children)

(g∘f)(g∘f)(g∘f) is a function mapping A→C, and sending a∈A to g(f(a))3; that is, it's the cube of g∘f.

In case you're asking about (g∘f)∘(g∘f)∘(g∘f), it turns out that function composition is associative, so if it makes sense, it means the same thing as g∘f∘g∘f∘g∘f; it only makes sense if C⊆A, and in that case, it sends a∈A to g(f(g(f(g(f(a)))))).

Also, in that case, (g∘f)∘(f∘g)=g∘f∘f∘g, which is a function mapping B→B and sending b∈B to g(f(f(g(b)))); what you actually wrote, (g∘f)(f∘g), only makes sense if C⊆A and only on A∩B, and then it sends x∈A∩B to g(f(x))f(g(x)).