Sets · Part 3 of 4
Union, Intersection, Difference & Complement
Operations on sets in plain words: or, and, but not, not. Properties, disjoint sets, complements, and the distributive laws verified with numbers.
- 11 min video
- 22 topics
- 3 check questions
- Full transcript
Topics in this part
- Welcome
- Part 3 overview
- Quick recall
- A story to begin
- Union
- Properties of union
- Practice: union
- Intersection
- Disjoint sets
- Properties of intersection
- Practice: intersection
- Difference
- Difference: three useful facts
- Practice: difference
- Complement
- Properties of complement
- Practice: complement
- Distributive laws
- Verifying a law with numbers
- Operations at a glance
- Part 3 recap
- Next part
Notes for this part
- Operations on setsin the notes, section 3
Check yourself
3 questions on this part from the chapter bank. Pick an answer, then check. No score is shared with anyone.
Want more like these? Browse the whole question bank or take the chapter quiz.
Transcript
English captions of this part, in time order. The narration is in Hinglish; these are the on-screen English subtitles.
0:00 Welcome
0:02 Welcome back to Bodh Prabodh.
0:05 Part 3 overview
0:05 Part 3 of Sets: operations on sets. Union, intersection, difference and complement. Just as numbers can be added and subtracted, sets can be combined too.
0:19 Quick recall
0:19 Quick recall from Part 2. A set has 5 elements. How many subsets does it have? The answer is option C, 32. Each of the 5 elements is either in or out, so 2 to the power 5.
0:44 A story to begin
0:44 Imagine two WhatsApp groups: Friends, and Family. Everyone who is in at least one of the groups: that is the union. Everyone who is in both groups at once: that is the intersection.
0:57 Three words will carry this whole part: or, and, not. Keep them in mind.
1:04 Union
1:04 The union of A and B is the set of all elements that are in A, or in B, or in both. We write A, this cup-shaped symbol, B. We read it as: A union B. The key word is or.
1:18 In set-builder form: x such that x is in A, or x is in B. Take A equals 1, 2, 3 and B equals 3, 4, 5. Put everything together: 1, 2, 3, 4, 5. The number 3 is in both sets, but in the union we write it only once.
1:41 Properties of union
1:41 Properties of union. Order does not matter: A union B equals B union A. This is called the commutative law. Grouping does not matter either: A union, B union C, equals, A union B, union C.
1:57 The associative law. Union with the empty set changes nothing: A union phi equals A. Phi is called the identity element for union. A union A is just A.
2:12 And A union U is the whole universal set U. Finally, if A is a subset of B, then A union B is simply B. The bigger set swallows the smaller one.
2:27 Practice: union
2:27 Pause and try. Set A has the elements a, e, i. Set B has the elements i, o, u. What is A union B? The answer is option C. All five vowels, with i written once.
2:55 Option B repeats i, which we never do in a set.
3:00 Intersection
3:00 Now the intersection. The intersection of A and B is the set of elements that are in A, and also in B. We write A, this arch-shaped symbol, B. We read it as: A intersection B.
3:15 The key word is and. In set-builder form: x such that x is in A, and x is in B. Same sets again: A is 1, 2, 3 and B is 3, 4, 5. Which element is in both?
3:31 Only 3. So A intersection B is the set containing 3.
3:37 Disjoint sets
3:37 If A and B have nothing in common, then A intersection B is the empty set. We call such sets disjoint. Example: A is 1, 2, 3 and B is 4, 5. The circles do not touch.
3:52 A intersection B equals phi. Do not confuse the words. Disjoint means nothing common. It does not mean that the sets are different or unequal.
4:06 Properties of intersection
4:06 Properties of intersection. Commutative: A intersection B equals B intersection A. Associative: the grouping does not matter. With the empty set: A intersection phi equals phi.
4:20 Nothing in common with nothing. With the universal set: A intersection U equals A, because every element of A is already in U. So U is the identity for intersection.
4:34 A intersection A is A. And if A is a subset of B, then A intersection B is A. The smaller set survives.
4:44 Practice: intersection
4:44 Pause and try. A is 2, 4, 6, 8, and B is the set of natural numbers up to 5. Find A intersection B. B is 1, 2, 3, 4, 5. The elements common to A are 2 and 4.
5:14 So the answer is option B.
5:17 Difference
5:17 Now the difference. A minus B is the set of elements that are in A, but not in B. In set-builder form: x such that x is in A, and x is not in B. The key words: but not.
5:32 Take A equals 1 to 6, and B equals 2, 4, 6, 8. Go through A. 1 is not in B, keep it. 2 is in B, drop it. 3 keep, 4 drop, 5 keep, 6 drop. So A minus B is 1, 3, 5.
5:50 Notice, 8 is not in the answer, because 8 was never in A. Now B minus A: elements of B that are not in A. Only 8. So A minus B and B minus A are different sets.
6:08 Difference is not commutative.
6:11 Difference: three useful facts
6:11 Here is a beautiful fact. The three parts, A minus B, A intersection B, and B minus A, never overlap each other. They are mutually disjoint. And when we put these three together, we get exactly A union B.
6:26 This is the key to all counting problems in Part 4. Two quick results: A minus phi is A, because we remove nothing. And A minus A is phi, because we remove everything.
6:39 Practice: difference
6:39 Pause and try. A is the set of natural numbers up to 10, and B is the set of even natural numbers up to 10. What is A minus B? The answer is option A. Remove the even numbers from 1 to 10, and the odd numbers 1, 3, 5, 7, 9 remain.
7:12 Complement
7:12 Now the complement. The complement of A is everything in the universal set that is not in A. We write A with a dash, A prime, or A complement. In other words, A prime equals U minus A.
7:26 The key word is not. Example: U is 1 to 10, and A is the primes, 2, 3, 5, 7. Then A complement is everything else: 1, 4, 6, 8, 9, 10. Without U, a complement has no meaning.
7:47 So always know your universal set first.
7:51 Properties of complement
7:51 Properties of complement. The complement of the complement brings you back: A prime prime equals A. The complement of phi is U, and the complement of U is phi.
8:03 A union A prime is the whole U, because every element is either in A or not in A. And A intersection A prime is phi, because nothing can be in A and not in A at the same time.
8:18 Practice: complement
8:18 Pause and try. U is 1 to 10, A is the multiples of 3: 3, 6, 9. Find A complement. The answer is option C. Everything in U except 3, 6 and 9: that is 1, 2, 4, 5, 7, 8, 10, seven numbers.
8:54 Distributive laws
8:54 Last in this part, the distributive laws. They connect union and intersection, just as multiplication distributes over addition. First law: A intersection, B union C, equals, A intersection B, union, A intersection C.
9:15 Second law: A union, B intersection C, equals, A union B, intersection, A union C. Do not just memorise them. Let us check the first law with numbers.
9:30 Verifying a law with numbers
9:30 Take A equals 1, 2, 3. B equals 2, 3, 4. C equals 3, 4, 5. Left side first. B union C is 2, 3, 4, 5. Now A intersection that: common with 1, 2, 3 is 2 and 3.
9:54 Right side. A intersection B is 2, 3. A intersection C is just 3. Their union is 2, 3. Both sides give 2, 3. The law is verified for these sets.
10:11 Operations at a glance
10:11 Now let us collect everything into one picture. Union is or. Intersection is and. Difference is but not. Complement is not. If you can translate a question into these four words, the symbols will follow by themselves.
10:29 Part 3 recap
10:29 Recap. Union takes everything, written once. Intersection takes only the common part. Difference removes the other set. Complement is measured inside U.
10:43 Phi is the identity for union, and U is the identity for intersection. Difference is not commutative. A minus B, A intersection B, and B minus A are disjoint, and together they make A union B.
10:58 Topper's habit: before using a formula, shade the region on a Venn diagram. It takes ten seconds and saves the mark.
11:09 Next part
11:09 That was Part 3 of 4. Next, De Morgan's laws and counting problems. See you there.