Example proofs; Contrapositive

Page 1

Example Proofs: Contrapositive

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. Theorem n

Prove that if a − 1 is prime, then a = 2, where a and n are positive integers, with n ≥ 2. Contrapositive Proof The proposition is of the form p ⇒ q, where n

p is the statement:

a − 1 is prime,

q is the statement:

a=2

We prove the logically equivalent statement: if q is false then p is false (¬q ⇒ ¬p), that is, n if a ≠ 2, then a − 1 is not prime. Suppose a ≠ 2. n

If a = 1, then a − 1 = 0 is not prime. If a > 2, we use the identity n

a − 1 = (a !1)(1+ a + a 2 + ... + a n!1 ) We have a − 1 > 1, since a > 2, and 1 + a + a 2 + ... + a n−1 > 1 . n

This shows that a − 1 is the product of two positive integers greater than 1, and so is not prime. n n So if a ≠ 2, a − 1 is not prime. Hence if a − 1 is prime, then a = 2. Theorem Let f: ℝ – {–2} → ℝ be defined by f ( x) =

x , x ≠ −2 . x+2

If x ≠ y then f(x) ≠ f(y). (In other words, f is injective.) Contrapositive proof: Let p be the statement 'x ≠ y' and let q be the statement 'f(x) ≠ f(y)'. Then the theorem is in the form of a proposition: p ⇒ q. We will prove, instead, the equivalent proposition ¬q ⇒ ¬p (not-q ⇒ not-p), ie the contrapositive, where ¬q is the statement 'f(x) = f(y)', and ¬p is the statement 'x = y'. Suppose f(x) = f(y). Then

⇒ ⇒ ⇒ ⇒

x y = x+2 y+2 x( y + 2) = y ( x + 2) xy + 2 x = xy + 2 y 2x = 2 y x = y.

Therefore, if x ≠ y then f(x) ≠ f(y).

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; Contrapositive by Shirleen Stibbe - Issuu