SETS Flashcards

1
Q

What is a set

A

a form of grouping data to form a collection of distinct objects called elements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Z(bold) meaning?

A

Integers
All whole numbers +/- and including 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is N(bold) meaning?

A

Natural Numbers
All whole non-negative numbers, including 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the mathematical enumeration of sets?

A

A = { Integers X | 1 < X < 6 }

line meaning “such that”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the abstraction axiom?

A

The rule that if property P, there exists a set S of all elements that satisfy property P.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What occurs if nothing meets the property in a set?

A

An empty set is returned

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the symbols for an empty set?

A

Ø or {}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the typical notation of a set?

A

A = { 1, 2, 3, 4, 5, 6 }

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does A ∪ B mean?

A

Union

Elements belong to set A or Set B. No repetition of elements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does A ∩ B mean?

A

Intersection

Elements that belong to both sets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does A ⊆ B mean?

A

Subset

Every element of A is also in B, including when A is equal to B.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does A ⊂ B mean?

A

Proper subset

Every element of A is also in B, EXCLUDING when A is equal to B. This means that there exists at least one element that’s in B but not A.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does A \ B mean?

A

Set difference

Every element in A but not B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does a ∈ B mean?

A

Element

A is an element of B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What does x ∉ A mean?

A

Not an element

A is not an element of B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does A ⊆ A ∪ B mean?

A

A is a subset of A or B

Any element in A is also a part of all elements in A or B

17
Q

What does A ∩ B ⊆ A

A

A and B is a subset of A

Any element that is in both A and B (inner part of a venn diagram), will be in A.

18
Q

What is the cardinality of a set?

A

{1, 2, 3} = 3

The size of a set (number of elements)

#{} = 0
#{0,1,2,3,4..} = ∞

19
Q

What is used to denote cardinality of a set?

A


e.g #{Alice, Bob} = 2

20
Q

What does P (A) mean?

A

Powerset

Powerset is a set of ALL subsets of A.

21
Q

What is an example of a powerset?

A

if set A = {1,2,3}
P(A) = { {}, {1}. {2}, {3}, {1.2}. {2.3}. {1.3}. {1.2.3}}

22
Q

what is always included in powerset notation?

A

Empty set {}

23
Q

How many elements does P(A) have if A has n elements?

A

2 ^n

24
Q

What is #(A ∪ B) equal to?

A

A + #B - #(A ∩ B)

25
Q

What does A with a line on top mean?

A

Complement

Set of all elements ( S ) not in A
= S \ A

26
Q

What does A = B mean?

A

Equivalence

A and B have precisely the same elemements
if element in A it must be in B

27
Q

How to prove A ⊆ B?

A

Show x ∈ A implies x ∈ B

28
Q

How to prove A ⊂ B?

A

Show that x ∈ A and x ∈ B
exists one x where x ∈ B and x ∉ B

29
Q

How to prove A = B?

A

Prove A ⊆ B and B ⊆ A
Show x ∈ A if and only if x ∈ B (both directions)
Show x ∈ A implies x ∈ B and x ∈ B implies x ∈ A

30
Q

How to prove x ∈ A ∪ B ?

A

Show that x ∈ A or x ∈ B

31
Q

How to prove x ∈ A\B?

A

Show that x ∈ A and x ∉ B

31
Q

How to prove x ∈ A ∩ B ?

A

Show that x ∈ A and x ∈ B

32
Q

Definition for if x ∈ A?

A

Then x ∈ A ∪ B

33
Q

Definition for if x ∈ A ∩ B?

A

Then x ∈ A

34
Q

What is De Morgans law?

A

A \ (A ∪ B) = (A\B) ∩ (A\C)
A \ (A ∩ B) = (A\B) ∪ (A\C)

35
Q

What is A ∆ B?

A

Symmetric difference

Objects that belong to A or B but not their intersection