Definition 7.5.1.
For any set \(A\text{,}\) the function \(\id_A:A\to A\) given by \(\id_A(b)=b\) for all \(b \in A\) is the identity function on \(A\text{.}\)
| \(x\) | \(f(x)\) | \(g(f(x))\) |
| \(\mathbf{0}\) | \(f(0)=(3\cdot 0)\fmod 5=0\) | \(g(f(0))=(2\cdot f(0))\fmod 5=\mathbf{0}\) |
| \(\mathbf{1}\) | \(f(1)=(3\cdot 1)\fmod 5 =3\) | \(g(f(1))=(2\cdot f(1))\fmod 5=(2\cdot 3)\mod 5 = \mathbf{1}\) |
| \(\mathbf{2}\) | \(f(2)=(3\cdot 2)\fmod 5 = 1\) | \(g(f(1))=(2\cdot f(2))\fmod 5= 2\fmod 5 = \mathbf{2}\) |
| \(\mathbf{3}\) | \(f(3)=(3\cdot 3)\fmod 5 =4\) | \(g(f(1))=(2\cdot f(3))\fmod 5=(2\cdot 9)\mod 5=\mathbf{3}\) |
| \(\mathbf{4}\) | \(f(4)=(3\cdot 4)\fmod 5 =2\) | \(g(f(4))=(2\cdot f(4))\fmod 5=(2\cdot 2)\mod 5=\mathbf{4}\) |