If A = {1, 2, 3} and B = {3, 4, 5}, what is A - B?

Practice Questions

Q1
If A = {1, 2, 3} and B = {3, 4, 5}, what is A - B?
  1. {1, 2}
  2. {3}
  3. {4, 5}
  4. {1, 2, 3, 4, 5}

Questions & Step-by-Step Solutions

If A = {1, 2, 3} and B = {3, 4, 5}, what is A - B?
Correct Answer: {1, 2}
  • Step 1: Identify the elements in set A. Set A contains {1, 2, 3}.
  • Step 2: Identify the elements in set B. Set B contains {3, 4, 5}.
  • Step 3: Look for elements that are in set A but not in set B.
  • Step 4: Check each element in set A: 1 is not in B, 2 is not in B, and 3 is in B.
  • Step 5: Collect the elements from A that are not in B. The elements are 1 and 2.
  • Step 6: Write the result as a set. A - B = {1, 2}.
  • Set Difference – The operation that results in a set containing elements that are in the first set but not in the second set.
Soulshift Feedback ×

On a scale of 0–10, how likely are you to recommend The Soulshift Academy?

Not likely Very likely