Example proofs; Biconditional

Page 1

Example Proofs: Biconditional

Proofs Workshop

Note: the proofs in this handout are not necessarily in the same form as they were presented at the workshop. In particular, any errors you spot here are entirely accidental, not deliberate. 1 Prove that n 2 is odd if and only if n is odd Proof of a biconditional: First we note that we have to prove that n 2 is odd if and only if n is odd. So we have to prove that n 2 is odd if n is odd, and that n 2 is odd, only if n is odd. Let P be the proposition that n 2 is odd and let Q be the proposition that n is odd (so the statement is in the form P ! Q ). Then we have to prove that Q ! P and P ! Q . Let us begin by proving Q ! P . Suppose Q is true, so that n is odd. Then, since n is odd, n may be written in the form n = 2k + 1 where k is an integer. 2

2

(

2

2

)

Then n = 2k +1 = 4k + 4k +1 = 2 2k + 2k +1 = 2m +1 where m = 2k 2 + 2k . Then n 2 is odd

(

)

2

because m = 2k + 2k is an integer. So, if Q is true, then P is true, and we have succeeded in proving half the result, Q ! P . To prove the converse, P ! Q , we prove instead the logically equivalent statement not-Q ⇒ not-P. Suppose not-Q; in other words, suppose that n is not odd, so n is even. Since n is even, n = 2k for some integer k. 2

( )

Then n = 2k

2

( )

= 4k 2 = 2 2k 2 = 2m, where m = 2k 2 is an integer.

Hence n 2 is even. This is the statement not-P. We've proved not-Q ⇒ not-P. Hence P ! Q which completes the proof. An alternative method: The truth table for P ! Q is: P

Q

P !Q

T

T

T

T

F

F

F

T

F

F

F

T

This shows that P ! Q is true only when P and Q are both true or both false. We use this idea in the following proof:

n 2 + n = n n +1 is even for all integers n, since either n or n + 1 is even.

(

)

Hence n 2 and n are both even or both odd, since the sum of an odd integer and an even integer is odd. Therefore n 2 is odd if and only if n is odd.

Shirleen Stibbe

http://www.shirleenstibbe.co.uk


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.
Example proofs; Biconditional by Shirleen Stibbe - Issuu