Set Theory Flashcards

1
Q

Define a set

A

A set is an unordered collection of objects

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

What is the rooster method

A

S = {a, b, c, d} denotes the set S containing elements a, b, c, and d.

  • Ellipses can be used when pattern is clear: S = {a, b, c, d, . . . , z}
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Explain this set-builder notation: S = {x E z+| x is odd and x < 10)

A

For some positive integers, x is odd and x < 10. Contains all the elements from this set that satisfy the predicate

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

What are the 7 important sets

A
  • N = {0, 1, 2, 3, . . . }: set of natural numbers, numbers > 0
  • Z = {. . . , −2, −1, 0, 1, 2, . . . }: set of integers
  • Z + = {1, 2, 3, . . . } set of positive integers
  • Q = { p q | p ∈ Z, q ∈ Z, and q ̸= 0} set of rational numbers
  • R: set of real numbers
  • R +: set of positive real numbers
  • C: set of complex numbers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Define a universal set (U)

A

The universal set is the set containing everything under consideration

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

Define an empty set (∅)

A

an empty set is a set with no elements

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

How is cardinality shown for A

A

|A|

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

When is there set equality

A

when sets have the same elements,
A = B ↔ ∀x. (x ∈ A ↔ x ∈ B)

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

What does this mean: (A ⊆ B)

A

set A is a subset of B, if and only if every element of A is also an element of B: ∀x. (x ∈ A → x ∈ B)

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

If A ⊆ B, but A ̸= B what do we call this subset

A

this is called a proper subset denoted by A ⊂ B

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

Provide an example of a subset

A
  • The set of all computer science students is a subset of all students.
  • The set of integers with squares less than 100 is not a subset of N.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the given rule to calculate how many sub-sets any given set has

A

2 to the power of n (2^n), where n is the cardinality of the set n = |A|

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

What is the cardinality of the set: A = {1 , 2, 3}

A

2^3 = 8

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

What does this symbol denote (∈)

A

“is in”, it denotes a set membership

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

What is the unions of set A and B denoted by

A

A and B, denoted by A ∪ B, is the set:
{x | x ∈ A ∨ x ∈ B}

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

Complete this example of what the union symbol does {1, 2, 3} ∪ {3, 4, 5}

A

{1, 2, 3} ∪ {3, 4, 5} = {1, 2, 3, 4, 5}

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

What is the intersection of set A and B denoted by

A

The intersection of the sets A and B, denoted by A ∩ B, is the set:
{x | x ∈ A ∧ x ∈ B}

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

Complete these examples of what the intersection symbol does:
- {1, 2, 3} ∩ {3, 4, 5}
* {1, 2, 3} ∩ {4, 5, 6}

A
  1. = {3}
  2. = ∅
19
Q

What is the difference of set A and B denoted by

A

The difference of the sets A and B, denoted by A − B, is the set:
{x | x ∈ A ∧ x ∈/ B}

20
Q

Complete these examples of what the difference symbol does:
- {1, 2, 3} − {3, 4, 5}
* {1, 2, 3} − {4, 5, 6}

A
  1. {1,2}
  2. {1,2,3}
21
Q

What is the complement of set A and B denoted by

A

The complement of the set A (with respect to U), denoted by A, is the set:
U − A = {x | x ∈ U ∧ x ∈/ A}

22
Q

Complete these examples of what the complement symbol does

A
23
Q

What does the | symbol mean

A

“such that for all elements of x”

24
Q

What does the line above the symbols mean

A

The complement of

25
Q

What does this mean A ⊆ B

A

A is a subset of B

26
Q

How do I know the cardinality

A

The number of numbers in a set

27
Q

Define a power set

A

The set of all subsets of a particular set
e.g. A = {1 , 2, 3}
P(A) = {∅, {1}, {2}, {3}, {1,2}, {1,3}, {2,3}, {1,2,3}

28
Q

What does this mean [a, b]

A

{x | a ≤ x ≤ b}

29
Q

What does this mean [a, b)

A

{x | a ≤ x < b}

30
Q

What does this mean (a, b]

A

{x | a < x ≤ b}

31
Q

What does this mean (a, b)

A

{x | a < x < b}

32
Q

How is a union of sets A and B denoted

A

A U B

33
Q

How is an intersection of sets A and B denoted

A

A n B

34
Q

How is the difference of sets A and B denoted

A

A - B

35
Q

How is the complement of sets A and B denoted

A

A’ (there should be a line above)

36
Q

State the Identity Law

A

A U ∅ = A, A n U = A

37
Q

State the Domination law

A

A U U = U, A n ∅ = ∅

38
Q

State the Complementation law

A

A’’ = A

39
Q

State the Commutative law

A

A U B = B U A , A n B = B n A (Change the ordering)

40
Q

State the Associative law

A

A U (B U C) = (A U B) U C, same for n (change the bracketing)

41
Q

State the Distributive law

A

A n (B U C) = (A n B) U (A n C ), same for A U ( B n C)

42
Q

State De Morgan’s law

A

(A U B)’ = A’ n B’, (A n B)’ = A’ U B’

43
Q

State the Absorption law

A

A U ( A n B) = A, A n ( A U B) = A

44
Q

State the Complement law

A

A. U A’ = U, A n A’ = ∅