Union of Two Sets

Union of Two Sets

Secondary 4

UNION

\(A \cup B\), \(A\) or \(B\), elements which are in \(A\), in \(B\), or in both.

Consider the set \(A = \{4, 5, 6, 7, 8\}\) and \(B = \{7, 8, 9\}\), all the elements in \(A\) or in \(B\) together is \(\{4, 5, 6, 7, 8, 9\}\).

\(\therefore A \cup B = \{4, 5, 6, 7, 8, 9\}\)

What "or" means in a union

\(A\cup B\) is the set of elements that are in \(A\), in \(B\), or in both. "Or" includes the elements in both sets. The elements in both \(A\) and \(B\) form the intersection \(A\cap B\); they are only part of the union.

Method

  1. Find \(A\cap B\) first, so the shared elements are written once.
  2. List the elements of \(A\), then add each element of \(B\) that is not yet listed.

Example

For the card above, \(A=\{4,5,6,7,8\}\) and \(B=\{7,8,9\}\). \(A\cap B=\{7,8\}\). Start with \(4,5,6,7,8\) and add \(9\): \(A\cup B=\{4,5,6,7,8,9\}\).

If \(A\subseteq B\), then \(A\cup B=B\): the union adds nothing to \(B\). For \(A=\{4,8\}\) and \(B=\{2,4,6,8,10\}\), \(A\cup B=B\).

Check

Count with \(n(A\cup B)=n(A)+n(B)-n(A\cap B)=5+3-2=6\), which matches the six listed elements. Adding \(5+3=8\) would count \(7\) and \(8\) twice. A union is never described as "in both \(A\) and \(B\)"; that describes \(A\cap B\).

Video Solution:

Video Solution

Video solution locked

A free account saves your progress; this video needs a course plan.

Solution:

Solution locked

680+ questions here come with free worked solutions. A free account saves your questions and progress; this one needs a course plan.

Answer:\(A\cup B=\{4,5,6,7,8,9\}\)

Need help? Join our E-Maths tuition for O-Level success.

Learn more