140 likes | 587 Views
Indirect Argument: Contradiction and Contraposition. Lecture 17 Section 3.6 Mon, Feb 19, 2007. Form of Proof by Contraposition. Theorem: p q . This is logically equivalent to q p . Outline of the proof of the theorem: Assume q . Prove p . Conclude that p q .
E N D
Indirect Argument: Contradiction and Contraposition Lecture 17 Section 3.6 Mon, Feb 19, 2007
Form of Proof by Contraposition • Theorem: pq. • This is logically equivalent to qp. • Outline of the proof of the theorem: • Assume q. • Prove p. • Conclude that p q. • This is a direct proof of the contrapositive.
Benefit of Proof by Contraposition • If p and q are “negative” statements, then p and q are “positive” statements. • We may be able to give a direct proof that qp more easily that we could give a direct proof that pq.
Example: Proof by Contraposition • Theorem: An irrational number plus 1 is irrational. • Restate as an implication: Let r be a number. If r is irrational, then r + 1 is irrational. • Restate again using the contrapositive: Let r be a number. If r + 1 is rational, then r is rational. • Restate in simpler form: Let r be a number. If r is rational, then r – 1 is rational.
Form of Proof by Contradiction • Theorem: pq. • Outline of the proof of the theorem : • Assume (p q). • This is equivalent to assuming p q. • Derive a contradiction, i.e., conclude r r for some statement r. • Conclude that p q.
Benefit of Proof by Contradiction • The statement r may be any statement whatsoever because any contradiction r r will suffice.
Proof by Contradiction • Theorem: For all integers n 0, 2 + n is irrational.
Example • Theorem: If x is rational and y is irrational, then x + y is irrational. • That is, if • p: x is rational • q: y is irrational • r: x + y is irrational, • Then • (p q) r.
Contraposition and Compound Hypotheses • Often a theorem has the form (p q) r. • This is logically equivalent to r (p q). • However, it is also equivalent to p (q r). so it is also equivalent to p (r q).
Contraposition and Compound Hypotheses • More generally, (p1p2 … pn) q is equivalent to (p1p2 … pn – 1) (qpn).
Example • Theorem: If x is rational and y is irrational, then x + y is irrational. • Proof: • Suppose x is rational. • Suppose also that x + y is rational. • Then y = (x + y) – x is the difference between rationals, which is rational. • Thus, if y is irrational, then x + y is irrational.
Contradiction vs. Contraposition • Sometimes a proof by contradiction “becomes” a proof by contraposition. • Here is how it happens. • To prove: p q. • Assume (p q), i.e.,p q. • Using q, prove p. • Cite the contradiction p p. • Conclude that pq.
Contradiction vs. Contraposition • Would this be a proof by contradiction or proof by contraposition? • Proof by contraposition is preferred.
Contradiction vs. Contraposition? • Theorem: If x is irrational, then –x is irrational. • Proof: • Suppose that x is irrational and that –x is rational. • Let -x = a/b, where a and b are integers. • Then x = -(a/b) = (-a)/b, which is rational. • This is a contradiction. • Therefore, if x is irrational, then -x is also irrational.