From the course: Programming Foundations: Discrete Mathematics
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Cardinality, disjointness, and partitions
From the course: Programming Foundations: Discrete Mathematics
Cardinality, disjointness, and partitions
- [Voiceover] Understanding Cardinality, Disjointness, and Partitions. Cardinality is the number of elements in a set. It is defined only for finite sets. What would be the cardinality of a set containing all the letter in the English alphabet? If you said 26, you're right. When working with sets, we say that two sets are disjoint if they have no elements in common. In other words, if the intersection of the sets is the empty set. Examples of disjoint sets include: students enrolled in Discreet Mathematics at 10:05 and students enrolled in Spanish at 10:05. Another example would be people living full time on the East Coast and people living full time on the West Coast. These sets do not have any elements in common. A set partition includes all disjoint subsets of a set that when combined make it whole. If we have two disjoint sets, one is the vowels and the other is the consonants, in the English alphabet, These are two partitions of the whole set which is the English alphabet. Here…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Objects as sets2m 56s
-
(Locked)
Set notation3m 56s
-
(Locked)
Set operations5m 1s
-
(Locked)
Power sets4m 29s
-
(Locked)
Sequences and sums7m 22s
-
Recursion3m 5s
-
(Locked)
Cardinality, disjointness, and partitions2m 19s
-
(Locked)
Sets from Cartesian products3m 2s
-
(Locked)
Challenge: Practice with sets47s
-
(Locked)
Solution: Practice with sets6m 53s
-
(Locked)
-
-
-
-
-
-