Class: CSE 16 Subject: computer-science Date: 2024-11-13 Teacher: Prof. Musacchio
Proving Non-Conditional Statements
Non-Constructive Proof
- non-constructive proofs prove an example exists without actually giving it.
Example
- Proposition There exist irrational numbers for which is rational.
- Proof. Let x = \sqrt2^\sqrt2 and . We know is irrational, but it is not clear whether is rational or irrational. On one hand, if is irrational, then we have an irrational number to an irrational power that is rational: x^y = {(\sqrt2^\sqrt2)}^\sqrt2 = \sqrt2^{\sqrt2\sqrt2} = \sqrt2^2 = 2
- On the other hand, if is rational, then y^y = \sqrt2^\sqrt2 = x is rational. Either way, we have an irrational number to an irrational power that is rational.
Constructive Proof
- constructive proofs display an explicit example that proves the theorem
Example
- Proposition There exist irrational numbers for which is rational.
- Proof. Let and . Then:
- As 3 is rational, we have shown that is rational. We know that is irrational. The proof will be complete if we can show that is irrational.
- Suppose for the sake of contradiction that is rational, so there are positive integers and for which .
- This means , so , which reduces to . But is even, while is odd (because it is the product of the odd number 9 with itself times).
- This is a contradiction; the proof is complete.