Ch. 1 Basic Logic and Sets Flashcards

1
Q

Law of Commutativity (statements)

A

A and B ⇔ B and A

A or B ⇔ B or A

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

Law of Associativity (statements)

A
A and (B and C) ⇔ (A and B) and C
A or (B or C) ⇔ (A o B) or C
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Law of Distributivity (statements)

A
A and (B or C) ⇔ (A and B) or (A and C)
A or (B and C) ⇔ (A or B) and (A or C)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

De Morgan’s Laws (statements)

A

Not (A and B) ⇔ (Not A ) or (Not B)

Not (A or B) ⇔ (Not A) and (Not B)

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

Definition of a set

A

Sets are unordered collections of elements, where every element is contained only once

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

What does X ∩ Y mean?

A

The intersection of 2 sets - the set of all elements contained in both X and Y

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

What does X ∪ Y mean?

A

The union of 2 sets - the set of all elements contained in at least one of X and Y

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

What does X \ Y mean?

A

The difference of 2 sets - the set of all elements of X which are not in Y

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

What does Y ⊆ X mean?

A

Y is a subset of X - all elements of Y are also elements of X

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

What does X^c mean?

A

The complement of X - all the elements outside of X

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

Law of Commutativity (sets)

A

X ∪ Y = Y ∪ X

X ∩ Y = Y ∩ X

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

Law of Associativity (sets)

A

X ∪ (Y ∪ Z) = (X ∪ Y) ∪ Z

X ∩ (Y ∩ Z) = (X ∩ Y) ∩ Z

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

Law of Distributivity (sets)

A

X ∪ (Y ∩ Z) = (X ∪ Y) ∩ (X ∪ Z)

X ∩ (Y ∪ Z) = (X ∩ Y) ∪ (X ∩ Z)

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

De Morgan’s Laws (sets)

A

Z \ (X ∪ Y) = (Z \ X) ∩ (Z \ Y)

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

Method for showing 2 sets, X and Y are equal

A
  1. Show that if x ∈ X, then x ∈ Y and if x ∈ Y then x ∈ X
  2. Or show that x ∈ X iff x ∈ Y (or the other way round)
  3. Or show that X ⊆ Y and Y ⊆ X
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Method for showing X ⊆ Y

A

Show that every element of X is also an element of Y