\begin{definition}[Definition:Composition of Mappings/Definition 3]
Let $S_1$, $S_2$ and $S_3$ be sets.
Let $f_1: S_1 \to S_2$ and $f_2: S_2 \to S_3$ be mappings such that the domain of $f_2$ is the same set as the codomain of $f_1$.
The '''composite of $f_1$ and $f_2$''' is defined and denoted as:
:$f_2 \circ f_1 := \set {\tuple {x, z} \in S_1 \times S_3: \exists y \in S_2: \map {f_1} x = y \land \map {f_2} y = z}$
That is:
:$f_2 \circ f_1 := \set {\tuple {x, z} \in S_1 \times S_3: \exists y \in S_2: \tuple {x, y} \in f_1 \land \tuple {y, z} \in f_2}$
:850px
\end{definition}