Example 10: Set difference
Last Updated On: Fri Aug 28 2026Question
If A = {1, 2, 3, 4, 5, 6} and B = {2, 4, 6, 8}, find A - B.
Solution
- A - B contains elements that are in A but not in B.
- From A, remove the elements 2, 4, and 6 because they are also in B.
- A - B = {1, 3, 5}.
PreviousShowing 11 / 11