Chapter 12: Problem 9
Consider the functions \(f: \mathbb{Z} \times \mathbb{Z} \rightarrow \mathbb{Z}\) defined as \(f(m, n)=m+n\) and \(g: \mathbb{Z} \rightarrow \mathbb{Z} \times \mathbb{Z}\) defined as \(g(m)=(m, m)\). Find the formulas for \(g \circ f\) and \(f \circ g\).