We must prove two inclusions.
Part 1: Show $A \cup B \subseteq B$.
Let $x$ be an arbitrary element in $A \cup B$. By the definition of union, this means $x \in A$ or $x \in B$. We consider these two cases:
- Case 1: If $x \in A$, then since we are given that $A \subseteq B$, it must be that $x \in B$.
- Case 2: If $x \in B$, then $x \in B$.
In both possible cases, if $x \in A \cup B$, then $x \in B$. Therefore, by definition of a subset, $A \cup B \subseteq B$.
Part 2: Show $B \subseteq A \cup B$.
Let $x$ be an arbitrary element in $B$. By the definition of union, $A \cup B$ contains all elements that are in $A$ OR in $B$. Since $x$ is in $B$, it is automatically included in $A \cup B$. Therefore, by definition of a subset, $B \subseteq A \cup B$.
Since we have shown mutual inclusion ($A \cup B \subseteq B$ and $B \subseteq A \cup B$), we can conclude that $A \cup B = B$.