<p><a href="https://www.prepswift.com/quizzes/quiz/prepswift-set-intersections" target="_blank">Set Intersections Exercise</a></p><p>A <strong><span style="color:#8e44ad;">Set Intersection</span></strong> is a new set that is comprised of all elements the two original sets share in common.</p>
<p><strong><span style="color:#e74c3c;">Example</span></strong></p>
<p>Imagine Set $A$ is the first $10$ positive integers and Set $B$ is the prime numbers less than $20$. What is their set intersection?</p>
<p>$$Set_A = \{ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 \}$$</p>
<p>$$Set_B = \{ 2, 3, 5, 7, 11, 13, 17, 19\}$$</p>
<p>Notice that they share the following elements in common: $2, 3, 5, 7$. So that is the set intersection.</p>
<p><strong><span style="color:#27ae60;">Notation</span></strong></p>
<p>If we have two Sets, Set $A$ and Set $B$, the intersection of both sets is represented like this:</p>
<p>$$A \cap B$$</p>
<p>In our example above, we would write it like this:</p>
<p>$$A \cap B = \{2, 3, 5, 7\}$$</p>