Discrete Math - 2.1.2 Set Relationships

Kimberly Brehm
4 Mar 202015:03

Summary

TLDRThis video explores the basics of set theory, including key concepts like set equality, subsets, proper subsets, cardinality, power sets, tuples, Cartesian products, and truth sets. It explains how sets are equal when they have the same elements, the distinction between subsets and proper subsets, and how to calculate the cardinality of a set. The video also touches on more advanced topics like power sets, ordered pairs in tuples, and Cartesian products, which form the foundation for understanding relationships and operations in set theory.

Takeaways

  • ๐Ÿ“˜ Sets are equal if and only if they have the same elements, regardless of order or duplicates.
  • โš–๏ธ A subset means every element of Set A is also an element of Set B.
  • ๐Ÿ”„ A is a subset of B if Aโ€™s elements are in B, and proving this involves showing every element of A belongs to B.
  • โŒ A is not a subset of B if there exists an element in A that is not in B.
  • ๐Ÿ” A and B are equal sets if A is a subset of B and B is a subset of A.
  • ๐Ÿ”„ A proper subset means A is a subset of B, but A and B are not equal because B has extra elements.
  • ๐Ÿ”ข Cardinality refers to the number of distinct elements in a set.
  • ๐Ÿšซ The cardinality of the empty set is zero since it contains no elements.
  • ๐Ÿ’ก The power set is the set of all subsets of a set, and its cardinality is 2 to the power of the number of elements in the set.
  • ๐Ÿ”— A Cartesian product is the set of ordered pairs created by combining each element of Set A with each element of Set B.

Q & A

  • What does it mean for two sets to be equal?

    -Two sets are equal if they have exactly the same elements, regardless of the order or any duplicates. If every element of set A is in set B, and vice versa, the sets are equal.

  • What is a subset, and how is it denoted?

    -A subset is a set where all elements of set A are also elements of set B. It is denoted as A โŠ† B, meaning for all elements X, if X is in A, then X is also in B.

  • What distinguishes a subset from a proper subset?

    -A proper subset is a subset where all elements of A are in B, but A is not equal to B. In a proper subset, B contains at least one element that is not in A. It is denoted as A โŠ‚ B.

  • How do you prove that two sets are equal?

    -To prove two sets are equal, you need to show that A is a subset of B and B is a subset of A. If both conditions hold true, then A = B.

  • What is cardinality in relation to sets?

    -Cardinality refers to the number of distinct elements in a set. For example, the set {1, 2, 3, 3, 4} has a cardinality of 4 because there are four distinct elements: 1, 2, 3, and 4.

  • What is the power set of a set, and how is it calculated?

    -The power set is the set of all possible subsets of a set, including the empty set and the set itself. The number of subsets in the power set is 2 raised to the number of elements in the original set. For example, if set A has 3 elements, its power set will have 2^3 = 8 subsets.

  • What is a tuple, and how does it differ from a regular set?

    -A tuple is an ordered collection of elements, where the order matters. Unlike sets, where the order of elements is irrelevant, in tuples (e.g., (a1, a2)), the position of each element is significant.

  • What is the Cartesian product of two sets?

    -The Cartesian product of two sets A and B is the set of all possible ordered pairs (a, b), where a is an element of A, and b is an element of B. For example, if A = {0, 1} and B = {2, 3}, the Cartesian product would be {(0,2), (0,3), (1,2), (1,3)}.

  • What is a truth set?

    -A truth set is the set of all elements in a domain that make a given propositional function true. For example, if the propositional function is the absolute value of X = 3, then the truth set would be {-3, 3} because these values satisfy the equation.

  • How can you show that a set A is not a subset of set B?

    -To show that A is not a subset of B, you must find at least one element in A that is not in B. This single element proves that A โŠˆ B.

Outlines

00:00

๐Ÿ“š Understanding Set Equality

This paragraph introduces the concept of set equality, explaining that sets are equal if they contain the same elements, regardless of order or duplication. The example demonstrates that the sets A = {0, 1, 1, 3, 4, 4} and B = {0, 1, 3, 4} are equal because they have the same unique elements. However, if set B includes an additional element (e.g., 5), the sets would no longer be equal. The notation used for set equality is also discussed.

05:02

๐Ÿ”— Introduction to Subsets

The concept of subsets is introduced, where set A is a subset of set B if all elements of A are also elements of B. A Venn diagram is used to visualize this idea, and an example with sets A = {1, 2, 3} and B = {1, 2, 3, 4, 5} demonstrates how A is contained within B. The paragraph emphasizes the notation for subsets and explains how proving subset relationships is important in mathematical proofs. Additionally, it highlights that to prove A is not a subset of B, one must find an element in A that is not in B.

10:04

๐Ÿ”„ Subsets and Set Equality

This section explains how proving that set A is a subset of set B and that set B is a subset of set A allows one to conclude that A and B are equal. The paragraph introduces the difference between a subset and a proper subset. A proper subset means that set A is a subset of set B but not equal to it. For instance, if A = {1, 2, 3} and B = {1, 2, 3, 4}, then A is a proper subset of B since B contains an additional element. The proper subset notation and logic are also described.

๐Ÿ”ข Cardinality of Sets

The paragraph introduces the concept of cardinality, which refers to the number of distinct elements in a set. An example demonstrates how the cardinality of set A = {1, 2, 3, 3, 3, 4} is 4, as there are four distinct elements. The notation for cardinality uses absolute value brackets around the set. The paragraph also discusses the cardinality of other sets, such as the alphabet (26 letters) and the empty set (cardinality of 0).

๐ŸŒ€ The Power Set

This paragraph introduces the power set, which is the set of all subsets of a given set. For example, the power set of A = {0, 1, 2} includes subsets such as the empty set, {0}, {1}, {2}, {0, 1}, {0, 2}, {1, 2}, and {0, 1, 2}. The cardinality of a power set is 2^n, where n is the number of elements in the original set. For the given example, A has three elements, so the power set has 8 subsets.

๐Ÿงฎ Cartesian Product and Ordered Pairs

This section introduces tuples, which are ordered collections of elements, and explains how ordered pairs (such as (a, b)) differ from unordered sets. The Cartesian product of two sets A and B is defined as the set of all ordered pairs (a, b) where a is an element of A and b is an element of B. An example demonstrates how the Cartesian product is calculated for sets A = {0, 1} and B = {2, 3, 4}, resulting in ordered pairs such as (0, 2), (0, 3), (0, 4), (1, 2), (1, 3), and (1, 4).

โœ”๏ธ Truth Sets and Propositional Logic

The paragraph introduces the concept of a truth set, which consists of elements from a domain that satisfy a given propositional function. For example, if the propositional function states that the absolute value of x is equal to 3, the truth set would be {โˆ’3, 3}, as these are the values that make the statement true. The notation for truth sets and their role in propositional logic is briefly discussed.

Mindmap

Keywords

๐Ÿ’กSet Equality

Set equality refers to when two sets contain exactly the same elements. This means every element in one set must also be in the other, regardless of the order or duplicates. For example, in the video, set A = {0, 1, 1, 3, 4} is equal to set B = {0, 1, 3, 4}, because they contain the same elements.

๐Ÿ’กSubset

A subset is a set whose elements are all contained within another set. For instance, if set A = {1, 2, 3} and set B = {1, 2, 3, 4, 5}, then A is a subset of B because all elements of A are in B. The video explains this using a Venn diagram to show the relationship between subsets.

๐Ÿ’กProper Subset

A proper subset is a subset that is not equal to the set it is contained within. This means that a proper subset has fewer elements than the set it is a part of. In the video, set A = {1, 2, 3} is a proper subset of set B = {1, 2, 3, 4}, as B contains elements not in A (such as 4).

๐Ÿ’กCardinality

Cardinality refers to the number of distinct elements in a set. For example, if set A = {1, 2, 3, 3, 4}, the cardinality of A is 4 because there are four distinct elements: 1, 2, 3, and 4. The video emphasizes that duplicates are not counted in determining cardinality.

๐Ÿ’กPower Set

A power set is the set of all possible subsets of a given set, including the empty set and the set itself. For example, if set A = {0, 1, 2}, the power set of A includes the empty set, {0}, {1}, {2}, {0, 1}, {0, 2}, {1, 2}, and {0, 1, 2}. The video explains how the number of elements in a power set can be calculated as 2^n, where n is the number of elements in the original set.

๐Ÿ’กOrdered Pair

An ordered pair is a collection of two elements where the order of the elements matters. In the video, an example is given of ordered pairs like (5, 2) and (2, 5), which are considered different because the order of the numbers affects their identity. Ordered pairs are used in Cartesian products to describe relationships between two sets.

๐Ÿ’กCartesian Product

The Cartesian product of two sets is the set of all possible ordered pairs that can be formed by combining elements from the two sets. For example, if set A = {0, 1} and set B = {2, 3, 4}, the Cartesian product of A and B would be {(0, 2), (0, 3), (0, 4), (1, 2), (1, 3), (1, 4)}. The video introduces this concept to explain how relationships between sets can be defined.

๐Ÿ’กTruth Set

A truth set is the set of all elements in a domain that satisfy a given condition or make a propositional function true. In the video, the example is given of the propositional function 'the absolute value of x equals 3.' The truth set for this would be {3, -3}, as these values make the statement true.

๐Ÿ’กPredicate Logic

Predicate logic is a formal system used to express statements that can be true or false depending on the values of variables. In the context of the video, it is used to describe conditions like 'for all x, if x belongs to A, then x belongs to B,' which helps in proving relationships like subsets and set equality.

๐Ÿ’กDistinct Elements

Distinct elements are the unique elements in a set, with duplicates being counted only once. The video uses this concept to explain cardinality, such as when set A = {1, 2, 3, 3, 4} is said to have four distinct elements (1, 2, 3, and 4), even though the number 3 appears multiple times.

Highlights

Sets are equal if and only if they have the same elements, regardless of order or duplicates.

A subset is when all elements of set A are also elements of set B, as represented in Venn diagrams.

If set A is a subset of set B, and set B is a subset of set A, then the sets are equal.

A proper subset is when all elements of set A are in set B, but the two sets are not equal, meaning B has additional elements.

Cardinality represents the number of distinct elements in a set, with repeated elements not affecting the count.

The power set is the set of all subsets of a given set, with its cardinality calculated as 2^n, where n is the number of elements in the original set.

Tuples are ordered collections of elements, which differ from sets because the order of elements matters in tuples.

Cartesian products are sets of ordered pairs formed by combining every element of set A with every element of set B.

Relations can be viewed as subsets of Cartesian products, where specific ordered pairs meet a certain condition.

The truth set of a propositional function consists of all elements that make the statement true for a given domain.

To prove that set A is a subset of set B, you must show that every element in A is also in B.

Finding that a single element in set A is not in set B disproves that A is a subset of B.

Ordered pairs are fundamental in understanding Cartesian products, where the sequence of elements matters.

Cardinality of the empty set is always zero because it contains no elements.

In Cartesian products, each element from one set is paired with every element from another set to form ordered pairs.

Transcripts

play00:00

in this video we're going to explore set

play00:03

relationships so again there's going to

play00:07

be just a lot of terminology here a lot

play00:11

of definitions but do your best to kind

play00:13

of understand the basics so that as we

play00:15

move through the rest of this unit

play00:17

talking about sets that you don't get

play00:20

lost in the notation so here we're

play00:23

talking about set equality and sets are

play00:26

equal if and only if they have the same

play00:29

elements so first notice the way that

play00:33

this is notated I'm saying for all X X

play00:38

is a cell X is an element of a if and

play00:41

only if X is an element of B and we

play00:44

would just write that a equals B so

play00:46

let's say I have set a is 0 1 1 3 4 4

play00:57

and set B is 0 1 3 for these our equal

play01:09

sets so I can say here that set a is

play01:14

equal to set B because even though I

play01:16

have a duplicate of 1 in a duplicate of

play01:18

4 there are no elements that are in one

play01:21

set that are not in the other set and

play01:24

again it doesn't matter the order it

play01:26

doesn't matter if there are duplicates

play01:27

however if B included 5 now all of the

play01:34

sudden a is not equal to B so those sets

play01:37

would no longer be equal because B has a

play01:40

value or an element of 5 that is not

play01:44

contained in set a now let's talk about

play01:49

a subset a subset or as set a is a

play01:53

subset of B if and only if every element

play01:56

of a is also an element of B so let's

play01:59

take a look at a Venn diagram before we

play02:02

look at the notation that we might use

play02:06

if I have a Venn diagram a subset might

play02:10

look like this so we've got some

play02:13

universe out here

play02:14

and this would be set a and this would

play02:21

be set B so essentially what I'm saying

play02:24

is anything in set a is also contained

play02:29

in set B so let's say a is the set of

play02:34

elements 1 2 3 and B is the set of

play02:38

elements 1 2 3 4 5 so if I were putting

play02:45

these values on on my then 1 2 & 3 would

play02:51

all be in set a 4 & 5 would be in set B

play02:56

but notice that everything in set a is

play02:59

also contained in set B so this would be

play03:02

a subset again this is the notation that

play03:05

we would use we're saying for all X's if

play03:08

X is an element in a then X's and

play03:11

elements in B and then this is the

play03:15

notation that we will use so I want you

play03:18

to kind of think about this as like a

play03:21

less than or equal to B essentially

play03:24

saying everything in a is in B and maybe

play03:27

they're exactly the same

play03:29

that maybe they're not so a little bit

play03:32

more on subsets if I'm going to show

play03:36

that a is a subset of B essentially I

play03:39

have to show that every element

play03:46

of a belongs to be

play03:53

oops belongs to B that was a horrible B

play03:56

every element of a belongs to B so I'm

play04:00

saying if X belongs to a then X belongs

play04:06

to B now why is it important to know

play04:08

this because obviously there will be

play04:10

some proof involved and this is the way

play04:12

that we will go about that proof is to

play04:14

show that if it belongs to a then it

play04:16

belongs to B as well obviously if I want

play04:19

to show that a is not a subset of B all

play04:23

I have to do is find some example that

play04:28

shows that it's not true essentially so

play04:31

I'm going to find an element if there

play04:34

exists some element X that belongs to a

play04:40

that does not belong to B essentially is

play04:44

what I want to do so show it belongs to

play04:47

a belongs to set a but not set the

play04:58

and the last one says show a is a subset

play05:01

of B and B is a subset of a now why

play05:04

would this be important because if this

play05:07

is true thinking about it this way a is

play05:10

less than or equal to B B is less than

play05:13

or equal to a if both of those are true

play05:15

what could we say it we could state that

play05:17

a is equal to B so that's essentially

play05:21

what we're going to do and this one's

play05:23

super important because this is how you

play05:26

will prove that a is equal to B is to

play05:29

show that both of those statements are

play05:32

true so you're proving that the subset

play05:34

of a or that a is a subset of B that B

play05:38

is a subset of a and therefore a and B

play05:40

are equal sets so now that we understand

play05:45

a subset it's important to understand

play05:48

the difference between the subset and a

play05:50

proper subset so with our subsets we

play05:54

said a was a subset of B and we used

play05:58

this line to denote that they could in

play06:00

fact be the exact same set so here we're

play06:05

talking about a proper subset and note

play06:09

how my notation is just going to change

play06:12

a little bit a proper subset says that a

play06:15

is a subset of B but that they are not

play06:18

equal to one another therefore we have

play06:21

some elements in B that's not contained

play06:25

in a so let's say a was that set of one

play06:31

two three if B was the set of one two

play06:36

three I could say a is a subset of B and

play06:40

B is a subset of a and therefore a and B

play06:44

are equal sets however if B

play06:49

is now 1 2 3 4 a is still a subset of B

play06:55

but B is not a subset of a these are not

play06:58

equal and therefore a is a proper subset

play07:03

of B and it's proper because we've got

play07:06

this one little guy in set V that is not

play07:10

contained in a and again here is the

play07:13

longer version using our predicate logic

play07:16

for all X's if X belongs to a then X

play07:19

belongs to B and there exists some

play07:22

element that belongs to B and that does

play07:25

not belong to a so that is a proper

play07:28

subset so now we want to talk about

play07:32

cardinality and cardinality is just

play07:35

essentially the size of your set so

play07:39

cardinality is the number of distinct

play07:42

elements of a set and of course distinct

play07:44

being important here let's say set a is

play07:47

1 2 3 3 3 4 then the cardinality of a

play07:56

and notice that notation is just using

play07:59

essentially like the absolute value

play08:01

bracket on each side this is saying how

play08:03

many distinct elements are there there's

play08:05

1 2 3 4 distinct elements so 3 3 3

play08:11

there's three of them so those aren't

play08:13

all distinct but you get the idea so the

play08:17

notation again is just that's what tells

play08:20

me that I'm finding the cardinality or

play08:22

the number of elements in the set so

play08:24

let's say I wanted to find the number of

play08:27

elements in the set of the alphabet oops

play08:30

maybe try to spell alphabet correctly

play08:35

well there are 26 letters of the

play08:37

alphabet and so that would be the

play08:40

cardinality of that set

play08:44

the cardinality of the empty set

play08:48

hopefully we all know that zero because

play08:50

the empty set is saying that there is

play08:53

nothing in the set now I want to

play08:57

introduce you to a couple of concepts

play08:59

that really this is just an introduction

play09:01

but as we move forward through this

play09:03

course we will use these concepts again

play09:05

and again so the first of those is the

play09:08

power set and the power set is the set

play09:11

of all subsets of a set so for instance

play09:16

let's say set a is 0 1 2 if I want the

play09:26

power set of a then I want all of the

play09:31

subsets so the subset would be the empty

play09:35

set because again I'm looking at these

play09:38

elements I could have none of those

play09:40

elements I could have one of those

play09:43

elements so 0 1 2 I could have two of

play09:52

those elements 0 1 0 2

play09:59

or one two or I could have three of

play10:04

those elements zero one two now keep in

play10:09

mind because order doesn't matter I

play10:11

wouldn't have to write 0 1 and 1 0

play10:13

because those are the same set so how

play10:16

many elements does the power set have

play10:19

one two three four five six seven eight

play10:24

so the cardinality of the power set of a

play10:29

is 8 and again we'll talk more in depth

play10:35

about this later but if you ever want

play10:37

the cardinality of the power set of a

play10:46

set of a set whoa

play10:50

getting crazy of a set with n elements

play10:56

is 2 to the N so here I had three

play11:01

elements and therefore two to the third

play11:05

was 8 and that is exactly how many we

play11:08

found so this brings us to tuples and a

play11:13

temple is important because basically

play11:15

it's an ordered collection that has a

play11:18

sub 1 as its first element a sub 2 is

play11:20

its second element etc etc obviously the

play11:24

way that we would have seen this most

play11:25

often is in ordered pairs so a comma set

play11:34

a 1 comma a 2 you get the idea it's

play11:38

basically just two values but the

play11:40

important thing here is that it's

play11:41

ordered whereas when we're just looking

play11:43

at a normal set we don't worry about the

play11:46

order but ordered pairs obviously the

play11:49

ordered pair of 5 2 is not the same as

play11:53

the ordered pair of 2 5 those are very

play11:56

different points on our Cartesian plane

play12:00

so I bring up ordered temples because of

play12:04

the Cartesian product which we will talk

play12:07

much more about when we talk about

play12:09

relations further along in this course

play12:11

but it's essentially the set of ordered

play12:14

pairs a comma B where a each element a

play12:18

belongs to the set a and each element B

play12:20

belongs to the set B resulting from a

play12:22

times B so let's say set a is 0 and 1

play12:29

and set B is 2 3 4 what a Cartesian

play12:38

product tells us to do is it's going to

play12:42

be all of the ordered pairs that I can

play12:45

create using one element of a and one

play12:48

element of B so I could have 0 comma 2 I

play12:53

could have 0 comma 3 0 comma 4 or I

play12:59

could have 1 comma 2 1 comma 3 1 comma 4

play13:09

so again each time I used a value from

play13:13

set a when an element from set B and

play13:16

I've done all of the different

play13:18

combinations

play13:22

again I said later on we'll talk about

play13:24

relations but let's say I had a subset

play13:28

are that included just 0 2 & 1 2 this

play13:37

would be considered a relation because

play13:39

it is a subset of that Cartesian product

play13:43

lastly let's take a look at what is

play13:45

called H root set a true set of P is the

play13:48

set of elements X in the domain such

play13:52

that P of X is true so obviously this is

play13:54

some sort of propositional function and

play13:57

we're saying the truth set is any values

play13:59

that make P of X true

play14:01

so our notation says X is an element of

play14:04

D D is obviously the domain such that P

play14:08

of X is true so let's say the domain

play14:11

here is the integers and let's say P of

play14:16

X represents the statement that the

play14:20

absolute value of X is equal to 3 well

play14:23

if that's the case then the truth set

play14:25

would be the set of all values that I

play14:28

could put in here to make it true so

play14:31

what values of X would make the absolute

play14:33

value of x equals 3 true and of course

play14:36

that would be negative 3 and positive 3

play14:39

so that would be the truth set because

play14:42

I'm looking for any values that I can

play14:45

plug in for X and get a true value so

play14:48

the absolute value of negative 3 is 3

play14:51

and the absolute value of positive 3 is

play14:55

3

play14:58

coming up next we're going to take a

play15:00

look at operations on sets

Rate This
โ˜…
โ˜…
โ˜…
โ˜…
โ˜…

5.0 / 5 (0 votes)

Related Tags
Set TheoryMathematicsSubsetsCardinalityPower SetVenn DiagramsEqualityRelationsCartesian ProductLogic