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.
Solution: Practice with sets
From the course: Programming Foundations: Discrete Mathematics
Solution: Practice with sets
- Now that you've had a chance to try the challenge, let's go over a solution. The first problem says what are the possible values of n given this set notation. The set of all values n that are elements of the positive integers, such that n is a factor of 8. The only two numbers that are positive integers and factors of eight are two and four. Next, identify each of the following is true or false. The set containing the number three is not an element of the set on the right. So this is false. The set on the left is a subset of the set on the right, so the next one is true. The set containing the number three is an element of the set on the right because this is a list of sets. So this is going to be true. And finally, the set on the left containing just the number three is not a subset of the set on the right which is a set of sets. So this is going to be false. Next, for all sets A, B, and C, we want to prove that A minus A intersects B is equal to A minus B. We want to list the name…
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)
-
-
-
-
-
-