Discrete Structures Week 6 Quiz 2 Flashcards

1
Q

definition of set

A

an unordered list of elements without repetitions

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

set of S

A

S = { x C- DOMAIN/SET | P(x) }

for any x in DOMAIN/SET such that P(x) is true

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

subset

A

A c_ B
A is a subset of B if every element of A is also an element of B

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

empty set and S

A

empty set - set for which Po/(x) is a contradiction (always false)
V- x, Po/(x) = F

theorem
for any set S, empty c_S and S c_ S

  1. S c_ S
    - we need to show that if V- x, x C- S then x C- S is always true so S c_ S
  2. empty c_ S
    -want to show if x C- empty, then x C- S, in other words V- x, the conditional
    x C- empty –> x C- S is vacuously true
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

induction

A

P(n), n >= 1, n C- DOMAIN

  1. P(1 or base case) = T
  2. P(k) -> P(k+1), k >= 1, k C- DOMAIN

then P(n) = T, V-n >= 1, n C- DOMAIN

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

venn diagrams and operation of sets

A

intersection
A n B
= {x C- U | P(x) ^ Q(x) }

union
A u B
={x C- U | P(x) v Q(x)}

compliment
A^c = A - (bar on top)
= {x C- U | !P(x)}

disjoint
A n B = o/ empty set

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

symbols for set of integers, natural numbers, and rational numbers, and real numbers

A

set of integers = Z
-numbers positive and negative whole numbers

set of all natural numbers = N
1 to inf

set of rational numbers = Q
- decimals and fractions

set of all real numbers = N
- everything

natural numbers c_ whole numbers c_ integers c_ rational numbers c_ real numbers

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

when two sets are equal

A

A = B iff P(x) = (3 lines_ Q(x), V- x C- U

P iff Q, P-> Q and Q-> P

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

symmetric difference

A

Xor
o with + inside

A Xor B
= {x C- U | P(x) Xor Q(X)}
= (A \ B) U (B \ A)

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

set difference

A

A \ B
= {x C- U | P(x) ^ !Q(x)}

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