Operations on Sets
[MathDefinition title="Union of Sets"] The union of two sets A and B, denoted by A βͺ B, is the set of all elements which are in A, or in B, or in both. A βͺ B = {x : x β A or x β B} [/MathDefinition]
[MathDefinition title="Intersection of Sets"] The intersection of two sets A and B, denoted by A β© B, is the set of all elements which are common to both A and B. A β© B = {x : x β A and x β B} [/MathDefinition]
[MathDefinition title="Difference of Sets"] The difference of two sets A and B, denoted by A β B, is the set of elements which are in A but not in B. A β B = {x : x β A and x β B} [/MathDefinition]
[MathDefinition title="Complement of a Set"] The complement of a set A, denoted by A', is the set of all elements in the universal set U which are not in A. A' = {x : x β U and x β A} [/MathDefinition]
[MathKeyFormula title="Important Formulas"]
- A βͺ B = B βͺ A (Commutative law)
- A β© B = B β© A (Commutative law)
- A βͺ (B βͺ C) = (A βͺ B) βͺ C (Associative law)
- A β© (B β© C) = (A β© B) β© C (Associative law)
- A βͺ (B β© C) = (A βͺ B) β© (A βͺ C) (Distributive law)
- A β© (B βͺ C) = (A β© B) βͺ (A β© C) (Distributive law)
- A β B = A β© B'
- (A')' = A [/MathKeyFormula]
[MathNote title="Quick Tips"] Always draw a Venn diagram to visualize set operations. Remember that A βͺ B includes all elements from both sets while A β© B includes only common elements. [/MathNote]
[MathExample title="Example 1: Finding Union"] Problem: If A = {1, 2, 3, 4} and B = {3, 4, 5, 6}, find A βͺ B.
Solution: A βͺ B contains all elements from both sets. A βͺ B = {1, 2, 3, 4} βͺ {3, 4, 5, 6} A βͺ B = {1, 2, 3, 4, 5, 6} Note: Elements 3 and 4 appear in both sets but are listed only once in the union. [/MathExample]
[MathExample title="Example 2: Finding Intersection"] Problem: If A = {1, 2, 3, 4, 5} and B = {2, 4, 6, 8}, find A β© B.
Solution: A β© B contains only elements common to both sets. A β© B = {1, 2, 3, 4, 5} β© {2, 4, 6, 8} A β© B = {2, 4} Only 2 and 4 appear in both sets. [/MathExample]
[MathExample title="Example 3: Finding Difference"] Problem: If A = {a, b, c, d, e} and B = {b, d, f, g}, find A β B and B β A.
Solution: A β B = {x : x β A and x β B} A β B = {a, b, c, d, e} β {b, d, f, g} A β B = {a, c, e}
B β A = {x : x β B and x β A} B β A = {b, d, f, g} β {a, b, c, d, e} B β A = {f, g}
Note: A β B β B β A in general. [/MathExample]
[MathExample title="Example 4: Finding Complement"] Problem: If U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} and A = {2, 4, 6, 8}, find A'.
Solution: A' = U β A = {x : x β U and x β A} A' = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} β {2, 4, 6, 8} A' = {1, 3, 5, 7, 9, 10} A' contains all elements in U that are not in A. [/MathExample]