The mapping $X:M\rightarrow \mathcal{X}$ describes the sum of the two numbers rolled of two dice.
I want to determine the set $M$ and $X^{-1}(\{2,3,4\})$.
I have done the following:
Since the mapping describes the sum of the two numbers of the dice, the set $M$ contains every possible 2-tuple which describes every pair of numbers that we can get by the two dice.
So $M=\{1,2,3,4,5,6\}\times \{1,2,3,4,5,6\}$, right?
We have that
$$X^{-1}(\{2,3,4\})=\{(i,j)\in M \mid X(i,j) \in \{2,3,4\}\} =\{\text{every possible 2-tuple so that the sum is equal to 2,3 or 4}\}=\{(1,1), (1,2), (2,1), (1,3), …