All reasoning is based on assumptions, called axioms and postulates, and definitions.
Sometimes we have undefined terms: ideas we agree on but can’t prove.
Proven Statements
- theorem: a truth established through a proof
- lemma: proven statement used in proof of theorem
- corollary: proven statement easily derived from theorem
Counterexamples
A counterexample is a way to disprove a statement by giving an instance where the statement is false.
Types of Proofs
Direct Proofs
- most often
- start and beginning, progress to end
- “makes sense”
- often very hard
Example Direct Proofs
Preliminary Ideas:
- Definition of even and odd
- The sum, difference, and product of integers is another integer
Proof 1
Claim
If a > 0, b > 0, a > b, then .
Lemma
If , , then
Proof of Lemma
By PI2:
Proof of Claim
Combining the above equation with the lemma, we use PI3 to get:
Proof 2
Claim
If is odd, then is odd.
Proof of Claim
is odd. By PI1,
for some integer .
Then
By PI5 (multiple times) and PI1, we get that is odd number as well.
Indirect Proofs
- used when direct proof isn’t possible
- starts by assuming our claim is false
- derive a contradiction
- also called proof by contradiction
Example Proofs
Proof 1
Claim
If is even, then is even.
Lemma
Our previous proof for is odd if is odd will come in handy.
Indirect Proof of Claim
Assume is even, but is odd.
By our lemma, should then be odd, but that contradicts our assumption.
Proof 2
Claim
is irrational.
Preliminary Ideas
Rational numbers can be expressed as , where and are relatively prime integers.
Proof of Claim
Assume is rational.
That means and share a prime factor, 2, but they are supposed to be relatively prime.
Proof by Contrapositive
In a proof by contrapositive, you claim the contrapositive and prove it because it’s logically equivalent to the original claim.
Example Proof 1
Claim
If is even, then is even.
Proof
Contrapositive: If is not even, then is not even. OR, If is odd, then is odd.
Since we proved that is odd if by the definition of an odd number, we have proved the original claim.
Example Proof 2
Claim
If a product of 2 positive real numbers is greater than 100, then at least one of the numbers is greater than 10.
If , , , then or y > 10.
Proof
Contrapositve: If and , then and or
Given that and , by PI4 from earlier,
Since we’ve proved the contrapositive, the original claim must be true.
Proof by Cases
Break something up into cases and prove each case.
Example Proof 1
Claim
If is not divisible by 3, has a remainder of 1 when divided by 3.
Proof
Case 1:
Case 2:
Proof By Induction
- can only prove something true for a counting-type subset of integers
- like a row of dominoes
- prove for first item, first item proves second item, second proves third and so on
Formal Template
Claim
is true for
Proof
- Prove base step
- Prove
- Conclude is true for all positive integers
Example Proof 1
Claim
Sum of the first odd numbersr is .
Proof
is true because .
Given that is ,
Now, we know that , and since is true, must be true and must be true for all positive integers.
Example Proof 2
Claim
for
Proof
Base Step:
Inductive Step
Assume .
Now, we prove the lemma for
The above is always true given .
Applying the lemma, we get