Exam 3 Discrete Math

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall with Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/37

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

38 Terms

1
New cards

relation R from set A to set B

subset of AxB

2
New cards

reflexive

∀a∈A, (a,a) ∈ R

3
New cards

how to prove reflexive

assume that a∈A and prove (a,a) ∈ R

4
New cards

reflexive simple terms

for any a in A, it will be related to itself. for example if the relation is x-y=0, then prove that x-x is in the relation aka that x-x=0

5
New cards

symmetric

∀a,b∈A, (a,b)∈R → (b,a)∈R

6
New cards

how to prove symmetric

assume (a,b)∈R and prove (b,a)∈R. think, if 2x=y then we need to prove that 2y=x.

7
New cards

symmetric simple terms

if x is related to y, then y is related to x. a valid example would be an inequality, if 4≠3 then 3≠4

8
New cards

antisymmetric

∀a,b∈A, [(a,b)∈R ∧ (b,a)∈R] → a=b

9
New cards

antisymmetric simple terms

if aRb and bRa, then a=b

10
New cards

something can be symmetric and not anti symmetric and/or vice versa

true, for example relation y=2x is not symmetric but is antisymmetric. y=2x and x=2y only holds true when y and x are 0.

11
New cards

how to prove antisymmetric

assume that xRy and yRx, does this only occur when y=x? think about the relation y=2x. xRy and yRx is only true when x and y are 0, therefore it’s asymmetric

12
New cards

transitive

∀a,b,c∈A, [(a,b)∈R ∧ (b,c)∈R] → a=c

13
New cards

transitive simple terms

if x is related to y and y is related to z, then x is related to z.

14
New cards

how to prove transitive

assume that xRy and yRz is true, prove xRz

15
New cards

induction steps

prove base case, let k>=n, assume p(k), prove k+1, conclude that p(k) implies p(k+1)

16
New cards

equivalence relation

symmetric, transitive, and reflexive

17
New cards

a|b

a divides b, b=ak, (b/a)=k

18
New cards

a mod b = c

a divided by b leaves remainder 2

19
New cards

5|15

15/5 or 3

20
New cards

4 mod 3 =?

1, 4/3 leaves remainder 1

21
New cards

product rule

if a task can be split into smaller, subsequent tasks A and B and there are x ways to do A and y ways to do B, then there are xy ways to do A then B

22
New cards

sum rule

if there are separate tasks A and B, and A can be done x ways and B can be done y ways, then A and B can be done x+y ways

23
New cards

(n!)/(n-k)!

permutation

24
New cards

(n!)/(n-k)!

represents the number of permutations of length k from a list of n elements without repetition

25
New cards

when to use permutation

when order matters, like strings or sequences

26
New cards

(n!)/(k!(n-k)!)

combination

27
New cards

when to use combination

when order doesn’t matter, (like sets? double check)

28
New cards

subtraction rule

if a task can be done x ways or y ways, then you can add those ways and subtract the common

29
New cards

subtraction rule is similar to...

addition probability rule: AorB=A+B-(AandB)

30
New cards

subtraction rule written out

x + y - (common ways)

31
New cards

division rule

add

32
New cards

pigeonhole principle theorem

if k+1 items are placed into k boxes, one box will have more than one item

33
New cards

generalized pigeonhole principle

if n objects are places into k boxes, there at least one box containing [n/k] items (ceiling function!)

34
New cards

note to self

review pigeonhole principle and how it’s applied, do all answers need the theorem listed?

35
New cards

review division rule

note to self

36
New cards

review permutation vs combination

when to use each self study note to self

37
New cards

induction, practice concluding things for strong induction like in hw problem 12

note to self

38
New cards