We can solve this problem using operation on sets.(union of two sets and Difference of two sets)
According to the operation on sets
Union of two sets: the union of two sets A and B, written as A ∪ B, is the set consisting of all the elements which are either in A or in B or in both, thus,
A ∪ B = {x: x∈ A or x ∈ B}
Clearly,
\(\mathrm{x} \in \mathrm{A} \cup \mathrm{B} \Rightarrow \mathrm{x} \in \mathrm{A}\) or \(\mathrm{x} \in \mathrm{B},\) and
\(\mathrm{x} \notin \mathrm{A} \cup \mathrm{B} \Rightarrow \mathrm{x} \notin \mathrm{A}\) and \(\mathrm{x} \notin \mathrm{B}\)
Difference of Two sets: If A and B are two sets, then their difference \(A-B\) is defined as:
\(A-B=\{x: x \in A \text { and } x \notin B\}\)
Similarly, \(B-A=\{x: x \in B \text { and } x \notin A\}\)
By using these definitions we can find the answer.
We have
\(A \cap(B \cup C)\)
\(\mathrm{x} \in \mathrm{A} \cap(\mathrm{B} \cup \mathrm{C})\)
\(\Rightarrow x \in A\) and \x \in B \text { or } x \in C)\)
\(\Rightarrow(x \in A \text { and } x \in B)\) or \((x \in A \text { and } x \in C)\)
(\because and' distributes'or')
\(\Rightarrow x \in(A \cap B)\) or \(x \in(A \cap C)\)
\(\therefore A \cap(B \cup C) \subseteq(A \cap B) \cup(A \cap C)\)
Similarly, \((\mathrm{A} \cap \mathrm{B}) \cup(\mathrm{A} \cap \mathrm{C}) \subseteq \mathrm{A} \cap(\mathrm{B} \cup \mathrm{C})\)
Hence, \(A \cap(B \cup C)=(A \cap B) \cup(A \cap C)\)
It is one of the Distributive law.
For example:
Let \(A=\{2,3,5,7\}, B=\{2,4,6,8\}\) and \(C=\{1,3,6,8\}\) then
\((B U C)=\{2,4,6,8\} \cup\{1,3,6,8\}\)
\(=\{1,2,3,4,6,8\}\)
\(\mathrm{LHS}=\mathrm{A} \cap(\mathrm{BUC})\)
\(=\{2,3,5,7\} \cap\{1,2,3,4,6,8\}\)
\(=\{2,3\}\)
\(\mathrm{RHS}=(\mathrm{A} \cap \mathrm{B} \cup(\mathrm{A} \cap \mathrm{C})\)
\((A \cap B)=\{2,3,5,7\} \cap\{2,4,6,8\}\)
\(=\{2\}\)
\((A \cap C)=\{2,3,5,7\} \cap\{1,3,6,8\}\)
\(=\{3\}\)
\(\therefore(A \cap B) \cup(A \cap C)=\{2,3\}\)
\(\therefore \mathrm{LHS}=\mathrm{RHS}\)
i.e., \(A \cap(B \cup C)=(A \cap B) \cup(A \cap C)\)