2.2 Indirect proofs.
Thus
b2 is even and hence
b is also even. Since
a and
b are both even then 2 is a common factor of
a and
b. This contradicts the assumption that
a and
b have no common factor. Thus the assumption that √2 is rational leads to a contradiction and hence “√2 is rational” must be false. That is the statement √2 is irrational is true.
In the next example we prove a conditional proposition “p→q” using a proof by contradiction. To do that we assume that p and ~q are true. Then we use the steps from the proof of “ ~q→ ~p” to show that ~p is true. This leads to the contradiction p ˄ ⌉p.
2.2.5 Example
Prove by contradiction that “If 3
n+2 is odd, then
n is odd”.
Solution
Assume that 3
n+2 is odd while
n is even. Thus there exists an integer
k such that
n=2
k. this gives

Where m is the integer 3
k+2. Hence 3
n+2 is even. Therefore we obtain the following obvious contradiction “3
n+2 is odd and 3
n+2” is even.
Thus our assumption is false. This completes the proof by contradiction of the required statements.