Definitions pt 2 Flashcards

1
Q

MI1 formal logic

A

P(1) ∧ ∀k [P(k) => P(k+1)] => P(n)

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

What is the structure for mathematical induction?

A
P(n) is a property.
1. Show P(1) is true
2. Assume P(k) is true for some k∈ℤ+
3. Show P(k+1) is true
Conclusion:
P(n) is true for ∀n∈ℤ+
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Define: least element

A

A set S⊂ℝ has a least element if

∃ x∈S ∋ x ≤ y for ∀y∈S

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

What is the formal logic for a direct proof?

A

P => Q
-or-
P₁ ∧ P₂ ∧ … ∧ Pk => Q

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

What is the formal logic for contraposition?

A

~Q => ~P

if ~Q=true, show ~P=true

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

What is the formal logic for a contradiction?

A

P ∧ ~Q => something false

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

Define: well-ordered

A

A set S is well-ordered if
∀ Y⊆S, Y has a least element, Y≠∅.
(It’s well-ordered if ∀ subsets have a least element, but don’t worry about the empty set)

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

Is ℤ+ well-ordered?

A

Yes. Any subset will have a least element.

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

Is ℤ well-ordered?

A

No. It extends to -∞ and therefore does not have a least element.

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

Is ℕ well-ordered?

A

Yes. Any subset will have a least element.

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

State the FTA

A

The fundamental theorem of arithmetic:

All ℤ+ > 1 are either prime or a product of primes with unique factorization, up to the order of the factors.

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

State Euclid’s lemma

A

Let p be prime and p|ab.

Then p|a or p|b or both.

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

State the Binomial Thm

A

Let a,b∈ℝ and n∈ℤ+. Then,
(a+b)^n =
∑(k=0, n) [n choose k] a^(n-k) ∗ b^k

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

Define: [n choose k]

A

[n choose k] =
n!
(n-k)! k!

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

[n choose k] +

[n choose k-1] = ?

A

n+1 / k

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

State Fermat’s Little Thm

A

Let p be prime. Then for ∀a∈ℤ+
a^p ≡ a mod p
and, in particular, if gcd(a,p) = 1, then
a^(p-1) ≡ 1 mod p

17
Q

What does Fermat’s Little Thm imply about 2^p?

A

p | 2^p - 2

18
Q

Define the phi function.

A

Φ(n) = | { x∈ℤ+ | gcd(x,n) = 1, 1 ≤ x ≤ n } |

19
Q

If p is prime, Φ(p) =

A

Φ(p) = p-1

20
Q

If p ≠ q are primes, Φ(pq) =

A

Φ(pq) = Φ(p) ∗ Φ(q)

21
Q

Let p be prime, then Φ(p^n) =

A

Φ(p^n) = p^(n-1) ∗ Φ(p)

22
Q

State Euler’s Thm

A
Let gcd(a,n) = 1. Then, 
a^Φ(n) ≡ 1 mod n
23
Q

Rearrange p | 2^p - 2 to be Fermat’s Little Thm

A

p | 2^p - 2
=> 2^p ≡ 2 mod p
=> 2^(p-1) ≡ 1 mod p

24
Q

State inclusion/exclusion for two sets A, B

A

|A∪B| = |A| + |B| - |A∩B|

25
Q

Define: gcd

A
Let a,b∈ℤ.
Then the gcd(a,b) is some k∈ℤ+ ∋ 
1.   k | a
2.  k | b
3.  if k' | a and k' | b, then k' | k
26
Q

State the division algorithm.

A

Let a,b∈ℤ+ with a ≥ b.
Then ∃ q,r∈ℤ ∋ a = bq + r
w/ 0 ≤ r ≤ b

27
Q

Define a relation.

A

Let A,B be sets.

A relation R from A to B is a subset of A×B.

28
Q

Define R^(-1)

A

A relation R^(-1) is an inverse relation to R if

R^(-1) = { (b,a) | (a,b) ∈ R }

29
Q

Define reflexive

A

A relation R is reflexive if for ∀a∈A, (a,a)∈R

30
Q

Define symmetry

A

A relation R is symmetric if whenever (a,b)∈R, we have (b,a)∈R

31
Q

Define transitive

A

A relation R is transitive if (a,b)∈R and (b,c)∈R implies (a,c)∈R

32
Q

Define an equivalence relation

A

A relation R on A that is reflexive, symmetric, and transitive.

33
Q

Define an equivalence class.

A
For an ER, an equivalence class is a set
[a] = { x∈A | xRa }
34
Q

Define a partition.

A

A partition P of a set S is a collection of non-empty subsets of S ∋

  1. A,B∈P => A∩B = ∅
  2. If x∈S, then ∃ A∈P ∋ x∈S
35
Q

Name the three things we NTS to prove that equivalence classes imply a partition.

A
  1. EC’s are non-empty
  2. ∀x∈A is in some EC
  3. x is not in two distinct EC’s
36
Q

State the theorem for equivalence classes imply a partition

A

P = { [a] | a∈A}

37
Q

What is Φpq(n) where p,q are primes and pq|n?

A

Φpq(n) = (1 - 1/p)(1 - 1/q)