Chapter 2: Direct Proofs Flashcards
Definition of an even integer?
An integer n is even if n=2k for some integer k;
Definition of an odd integer?
An integer n is odd if n=2k + 1 for some integer k;
Proof:
Proposition that the sum of two even integers is even?
- Let two random int. (m and n) be even so that m=2a and n= 2b where a,b are integers
- Then,
* n + m = 2a + 2b = 2 (a + b) - Given that the sum of two integers are also integers this meets the definition of an even number. ( n = 2k where k is any integer).
Prove this Proposition:
The sum of two odd integers is even?
Prove the Proposition that:
If n is an odd integer, then N^2 is an odd integer?
What is the symbol in mathematics for “implies”?
⟹
What is the Structure of a Direct Proof?
- Proposition. P ⟹ Q
-
Proof Assume P
* “An Explanation of what P means
* apply algebra, logic, techniques
* Get to the definition of Q - Therefore Q
What is Proof by Cases?
- Breaks up proofs into smaller proofs
- E.g. in an example with all integers you may need to break this down into a case for even numbers and one for odd.
Prove the Proposition:
If n is an integer, then n^2 + n + 6 is even?
What is the definition of divisibility?
A nonzero integer a is said to divide an integer b if b = ak for some integer k.
When a does divide b, we write “ a|b” and when a does not divid b we write “a∤b”
Prove this Proposition:
Let a, b and c be integers. If a|b and b|c, then a|c?
What is the Division Algorithm Theorem?
For all integers a and m with m > 0 there exist unique integers q and r such that:
a = mq + r
where 0 <= r < m
EXAMPLESSSSS
What is the Definition of the Greatest Common Divisor?
Let a and b integer. If c|a and c| b, then c is said to be a common divisor of a and b
The greatest common divisor of a and b is the largest integer d such that d|a and d|b. This number is denoted gcd(a,b)
EXAMPLESSSSS
What is the Bézout Identity?
If a and b are positive integers, then there exist integers k and l such that:
gcd(a,b) = ak + bl
What is the Proof for the greatest common divisor?
GENERAL LOGIC –> ref proof