Hey so I have this exercise and I don't know how to tackle it or present my answer;
For $A : = \{1, 2, 3, 4\}$, $B := \{a, b, c, d\}$ and $C := \{1, 2, 3\}$, let $f : A \to B$ be the function $\{(1, a),(2, c),(3, b),(4, d)\}$, and let $g : B \to C$ be the function $\{(a, 1),(b, 2),(c, 3),(d, 1)\}$.
Determine the function $g \circ f : A \to C$.
Can anyone give me some guidance? Please. I haven't really started it yet, because I don't know where.
Would it just be y $(g \circ f)(x) = g(f(x))$ or do I have to write out the sets?
Given that the task is quite basic, I believe you should write out the sets. That is, you should write out the function $g\circ f$ as $$g\circ f = \{(1, *), (2, *), (3, *), (4, *)\}$$
with appropriate values in place of the asterisks. To calculate what value should be put next to $1$, for example, you can use the rule
$$(g\circ f)(1) = g(f(1))$$
and first calculate $f(1)$, then calculate $g(*)$, where you put whatever $f(1)$ is in place of the asterisk.