Discrete Structures Week 5 Flashcards

1
Q

Theorem of Induction

A

given a predicate P(n), domain n >= 0 then if

p(0) = T
For all K, p(K) -> p(k+1)

then p(n) = T for all n >= 0

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

Steps for Induction Professor way

A

find base
(rhs and lhs are equal)

show p(k) -> p(k+1)
assume P(k) = T

do p(k+1)
staring turning the lhs of p(k+1) into rhs of p(k+1)

make rhs look like rhs of the claim

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

steps for induction TA way

A

prove base case

state inductive hypothesis
for induction we may assume p(n-1) is true that is we may assume
plug into n

inductive step to show p(n) convert p(n-1) into p(n) by manipulating

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

set

A

an unordered list of elements without repetitions

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

set of all integers

A

Z

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

set of all natural numbers

A

N

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

set of rational numbers

A

Q

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

{x E U | p(x)}

A

for any x contained in domain U, P(x) is true

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

look at examples on notes lecture 12 for more of set examples

A

:)

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

subset

A

we say set A is a subset of set 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
11
Q

A c_ B

A

A is contained in B

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

A = B

A

A c_ B
B c_ A

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

definition of tautology in sets

A

given set A in U, define Pa(x) = “x C- A”

U = the set for which Pu(x) is a tautology

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

empty set

A

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

how to prove on notes

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

theorem for empty set

A

For any set S, o/ c_ S and Sc_ S
proof in notes

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

theorem of two sets

A

long proof
on notes

Let
A = { x C- U | P(x) }
B = {x C- U | Q(x) }
then A = B if and only if P(x) =_ Q(x), V- X C- U

17
Q

intersection and venn diagram

A

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

18
Q

disjoint and venn diagram

A

A n B = o/

19
Q

union and venn diagram

A

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

20
Q

compliment and venn diagram

A

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

21
Q

symmetric difference and venn diagram

A

only one true
exclusive or sign means symmetric difference here

A o+ B
= {x C- U | P(x) o+ Q(X) }

with venn diagrams can see
A o+ B = (A - B) U (B - A)

22
Q

set difference and venn diagram

A

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