Induction and Relations Flashcards

1
Q

Steps for Induction

A

1) Identify Predicate
2) Base Case
3) Inductive Hypothesis
4) Prove P(k) -> P(k+1)

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

Identify Predicate

A

Let P(n) denote ______ (given equation)

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

Base Case

A

Prove thing right after sum = thing after equals for the lowest ij/j value

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

Inductive Hypothesis

A

Let k >= ___ (i/j value) be arbitrary and SUPPOSE P(k). ie ______ (restate Predicate with k instead of n/m/whatever

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

Prove P(k) -> (Pk+1)

A

Sum k+1 = Sum k + (____) (thing right after sum but replace all k’s with (k+1).
Multiply k+1 = Multiply k * (____) thing right after multiply but replace all k’s with (k+1)

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

Binary Relation on a set A

A

a subset of AxA

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

Reflexive

A

1) Va in A, (a,a) in R
2) aRa
3) all elements point to themselves (loops)

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

Symmetric

A

1) Va,b in A, (a,b) in R -> (b,a) in R
2) aRb -> bRa
3) all arrows are double arrows

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

Antisymmetric

A

1) Va,b in A, (a,b) in R ^ (b,a) in R -> a=b
2) aRb ^ bRa -> a=b
3) all arrows are single arrows

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

Transitive

A

1) Va,b,c in A, (a,b) in R ^ (b,c) in R -> (a,c) in R
2) aRb ^ bRc -> aRc
3) Triangles everywhere. (One side points opposite direction for single arrows)

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

Equivalent Relation

A

For relations, notation: R
Reflexive, symmetric, transitive

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

Partial Order

A

For relations, notation: R
Reflexive, antisymmetric, transitive

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

Poset

A

For sets, notation: (A,R) (set, relation)
Reflexive, antisymmetric, transitive

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

Two elements are Comparable if

A

If a«b or b«a (they have an arrow somehow connecting them)

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

Total Order

A

A partial order where everything is comparable

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

x is minimal IFF

A

Va in A, x«a or x and a are incomparable

It points to everything or is incomparable to everything

17
Q

x is a minimum IFF

A

Va in A, x«a

it points to EVERYTHING

18
Q

x is maximal IFF

A

Va in A, a«x or a and x are incomparable

everything points to it or is incomparable to everything

19
Q

x is maximal IFF

A

Va in A, a«x

EVERYTHING points to it

20
Q

Equivalence relation (set notation)

A

For sets, notation: (A,~)
Reflexive, symmetric, transitive

21
Q

Equivalence Class

A

{x in A: a~x} (class of all related)

22
Q

Representative of Equivalence Class

A

[a] (any element in an equivalence class can represent the class. Just so we have a short hand and don’t have to list out all elements every time.)
for any a,b in A, either [a] = [b] or [a] n [b] = empty set (either they are the same, or they’re disjoint)

23
Q

Set of all equivalence classes

A

A/~ = {[a], [b], [c], …}
A/~ is a partition of A

24
Q

Strong Induction Steps

A

1) Identify Predicate

2) Base Case (multiple base cases)

3) Inductive Hypothesis (Let k >= the last (largest) base case you proved. Suppose that P(0), P(1), . . ., P(k − 1), P(k) are all true (or that P(m) is true for all first base <= m <= last base, if your pattern repeats).

4) Show P(k+1)