1b. Discrete Math Review: Set Operations Flashcards

1
Q

Union

A

A ⋃ B

all elements in A, or all elements in B, or both

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

Intersection

A

A ⋂ B

elements that are in BOTH A and B

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

Difference / Relate Complement

A

A - B

elements in A but NOT in B only

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

Symmetric Difference

A

A ∆ B
elements ONLY in A, not B
and elements ONLY in B, not A

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

Complement

A

A’ or ~A
elements inside U not in A
(U = universal set)

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

Cartesian Product of Sets

A

A x B = set containing all ORDERED PAIRS of elements from A and B
A x B = {(a,b)|a ∈ A and b ∈ B}
(a1b1, a1b2, a1b3, a2b1, a2b2, a2b3, …)

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

Cartesian Product n-tuples

A

in general: A1 x A2 x … x An = set of all n-tuples (a1, a2, …, an) such that ai ∈ Ai for all i

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