Transclude of Basic-Equivalences#law-of-excluded-middle
Definition
For any statement , either it is true or false. There is nothing in the middle.
So, if i want to prove , I can start by assuming is true.
Suppose from that I derive or any contradiction.
Basically, proof by contradiction relies on you making an assumption (a negation of part of the statement) and then proving that the statement is false when that assumption is made, then you can say that the original is true.
Example: Prove that is irrational.
Assume is rational. There exists integers () such that and and have no common factors.
Now,
Since is an integer, is an even integer.
Using result, is even.
there exists an integer such that
Since is an integer, is even. b is even.
Since and are even, and and have a common factor of 2.
This contradicts the fact that the and are co-prime and have no common factors. Therefore, the opposite must be true, and is irrational.
Example 2: Prove a claim of the form using proof by contradiction
We assume the negation and derive a contradiction.
Assume that both . Derive a contradiction. We can resolve the contradiction by giving up p, but p is our premises, we will stick with . Therefore, must be true. Therefore, .
Example 3: Prove “for any integer , if is odd, then is odd”
For the negation, we assume that is even and is odd.
Since is even, there exists an integer such that .
Now,
Since is an integer, is even, this contradicts the fact that is odd.
must be odd.
by contradiction, if is odd, then is odd.