1. La soustraction 
- ne définit pas une loi de composition interne sur 
\mathbb{N}. En effet, en choisissant 
3 \in \mathbb{N} et 
5 \in \mathbb{N}, on a 
3-5=-2 \notin \mathbb{N}.
2. La soustraction 
- définit en revanche une loi de composition interne sur 
\mathbb{Z}.
Pour tous 
a \in \mathbb{Z} et 
b \in \mathbb{Z}, on a bien 
a-b \in \mathbb{Z}.
  - Cette loi n'est pas commutative sur \mathbb{Z}.
 On a 3-2=1 et 2-3=-1 et donc 3-2 \neq 2-3.
- Cette loi n'est pas associative sur \mathbb{Z}.
 On a (3-2)-1=1-1=0 et 3-(2-1)=3-1=2 et donc (3-2)-1 \neq 3-(2-1).