Basic Proof Techniques



Similar documents
WRITING PROOFS. Christopher Heil Georgia Institute of Technology

3. Mathematical Induction

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2

Handout #1: Mathematical Reasoning

SECTION 10-2 Mathematical Induction

Introduction. Appendix D Mathematical Induction D1

The last three chapters introduced three major proof techniques: direct,

Solutions for Practice problems on proofs

MATHEMATICAL INDUCTION. Mathematical Induction. This is a powerful method to prove properties of positive integers.

Elementary Number Theory and Methods of Proof. CSE 215, Foundations of Computer Science Stony Brook University

6.2 Permutations continued

Mathematical Induction. Mary Barnes Sue Gordon

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

Chapter 3. Cartesian Products and Relations. 3.1 Cartesian Products

k, then n = p2α 1 1 pα k

PYTHAGOREAN TRIPLES KEITH CONRAD

Mathematical Induction. Lecture 10-11

Solutions to Homework 6 Mathematics 503 Foundations of Mathematics Spring 2014

Math 55: Discrete Mathematics

Math 3000 Section 003 Intro to Abstract Math Homework 2

The Prime Numbers. Definition. A prime number is a positive integer with exactly two positive divisors.

CS 103X: Discrete Structures Homework Assignment 3 Solutions

Mathematical Induction

8 Divisibility and prime numbers

Full and Complete Binary Trees

Notes on Determinant

Cartesian Products and Relations

of Nebraska - Lincoln

Sample Induction Proofs

COMP 250 Fall 2012 lecture 2 binary representations Sept. 11, 2012

2.6 Exponents and Order of Operations

Undergraduate Notes in Mathematics. Arkansas Tech University Department of Mathematics

Mathematical Induction

8 Primes and Modular Arithmetic

26 Integers: Multiplication, Division, and Order

Practice with Proofs

Math 319 Problem Set #3 Solution 21 February 2002

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

SYSTEMS OF PYTHAGOREAN TRIPLES. Acknowledgements. I would like to thank Professor Laura Schueller for advising and guiding me

CHAPTER 5. Number Theory. 1. Integers and Division. Discussion

If n is odd, then 3n + 7 is even.

HOMEWORK 5 SOLUTIONS. n!f n (1) lim. ln x n! + xn x. 1 = G n 1 (x). (2) k + 1 n. (n 1)!

Answer Key for California State Standards: Algebra I

MATH 289 PROBLEM SET 4: NUMBER THEORY

3. Logical Reasoning in Mathematics

Page 331, 38.4 Suppose a is a positive integer and p is a prime. Prove that p a if and only if the prime factorization of a contains p.

Homework until Test #2

Fibonacci Numbers and Greatest Common Divisors. The Finonacci numbers are the numbers in the sequence 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144,...

9.2 Summation Notation

5.1 Radical Notation and Rational Exponents

CONTINUED FRACTIONS AND PELL S EQUATION. Contents 1. Continued Fractions 1 2. Solution to Pell s Equation 9 References 12

Math 115 Spring 2011 Written Homework 5 Solutions

Math 4310 Handout - Quotient Vector Spaces

Settling a Question about Pythagorean Triples

Formal Languages and Automata Theory - Regular Expressions and Finite Automata -

Continued Fractions and the Euclidean Algorithm

Binary Adders: Half Adders and Full Adders

Solving Rational Equations

Solution to Exercise 2.2. Both m and n are divisible by d, som = dk and n = dk. Thus m ± n = dk ± dk = d(k ± k ),som + n and m n are divisible by d.

WHAT ARE MATHEMATICAL PROOFS AND WHY THEY ARE IMPORTANT?

Every Positive Integer is the Sum of Four Squares! (and other exciting problems)

THE DIMENSION OF A VECTOR SPACE

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

Indiana State Core Curriculum Standards updated 2009 Algebra I

Chapter 11 Number Theory

NUMBER SYSTEMS. William Stallings

So let us begin our quest to find the holy grail of real analysis.

Click on the links below to jump directly to the relevant section

2 When is a 2-Digit Number the Sum of the Squares of its Digits?

Chapter 9. Systems of Linear Equations

The Fundamental Theorem of Arithmetic

6 EXTENDING ALGEBRA. 6.0 Introduction. 6.1 The cubic equation. Objectives

CHAPTER 3. Methods of Proofs. 1. Logical Arguments and Formal Proofs

4.2 Euclid s Classification of Pythagorean Triples

mod 10 = mod 10 = 49 mod 10 = 9.

God created the integers and the rest is the work of man. (Leopold Kronecker, in an after-dinner speech at a conference, Berlin, 1886)

Playing with Numbers

Exponents and Radicals

Representation of functions as power series

arxiv: v2 [math.ho] 4 Nov 2009

Today s Topics. Primes & Greatest Common Divisors

CHAPTER 2: METHODS OF PROOF

Vocabulary. Term Page Definition Clarifying Example. biconditional statement. conclusion. conditional statement. conjecture.

Fundamentele Informatica II

6.4 Normal Distribution

0.8 Rational Expressions and Equations

6.3 Conditional Probability and Independence

1. Give the 16 bit signed (twos complement) representation of the following decimal numbers, and convert to hexadecimal:

Matrix Algebra. Some Basic Matrix Laws. Before reading the text or the following notes glance at the following list of basic matrix algebra laws.

1.7 Graphs of Functions

We can express this in decimal notation (in contrast to the underline notation we have been using) as follows: b + 90c = c + 10b

Arkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan

Row Echelon Form and Reduced Row Echelon Form

Kevin James. MTHSC 412 Section 2.4 Prime Factors and Greatest Comm

Normal distribution. ) 2 /2σ. 2π σ

MATH 4330/5330, Fourier Analysis Section 11, The Discrete Fourier Transform

Theorem3.1.1 Thedivisionalgorithm;theorem2.2.1insection2.2 If m, n Z and n is a positive

MATH10040 Chapter 2: Prime and relatively prime numbers

Reasoning and Proof Review Questions

Transcription:

Basic Proof Techniques David Ferry dsf43@truman.edu September 13, 010 1 Four Fundamental Proof Techniques When one wishes to prove the statement P Q there are four fundamental approaches. This document models those four different approaches by proving the same proposition four times over using each fundamental method. The central question which we address in this paper is the truth or falsity of the following statement: The sum of any two consecutive numbers is odd. If you were put on the spot you could certainly convince most reasonable people that our question is undoubtedly true. However, we are not interested in convincing the passing layperson. We seek to demonstrate beyond any doubt that our proposition is true using only the most formal, bulletproof methods available. The following three definitions are central to the execution of our proofs: Definition 1. An integer number n is even if and only if there exists a number k such that n = k. Definition. An integer number n is odd if and only if there exists a number k such that n = k + 1. Definition 3. Two integers a and b are consecutive if and only if b = a + 1. 1.1 Direct Proof (Proof by Construction) In a constructive proof one attempts to demonstrate P Q directly. This is the simplest and easiest method of proof available to us. There are only two steps to a direct proof (the second step is, of course, the tricky part): 1. Assume that P is true.. Use P to show that Q must be true. Theorem 1. If a and b are consecutive integers, then the sum a + b is odd. Proof. Assume that a and b are consecutive integers. Because a and b are consecutive we know that b = a + 1. Thus, the sum a + b may be re-written as a + 1. Thus, there exists a number k such that a + b = k + 1 so the sum a + b is odd. 1

1. Proof by Contradiction The proof by contradiction is grounded in the fact that any proposition must be either true or false, but not both true and false at the same time. We arrive at a contradiction when we are able to demonstrate that a statement is both simultaneously true and false, showing that our assumptions are inconsistent. We can use this to demonstrate P Q by assuming both P and Q are simultaneously true and deriving a contradiction. When we derive this contradiction it means that one of our assumptions was untenable. Presumably we have either assumed or already proved P to be true so that finding a contradiction implies that Q must be false. The method of proof by contradiction. 1. Assume that P is true.. Assume that Q is true. 3. Use P and Q to demonstrate a contradiction. Theorem. If a and b are consecutive integers, then the sum a + b is odd. Proof. Assume that a and b are consecutive integers. Assume also that the sum a + b is not odd. Because the sum a + b is not odd, there exists no number k such that a + b = k + 1. However, the integers a and b are consecutive, so we may write the sum a + b as a + 1. Thus, we have derived that a + b k + 1 for any integer k and also that a + b = a + 1. This is a contradiction. If we hold that a and b are consecutive then we know that the sum a + b must be odd. 1.3 Proof by Induction Proof by induction is a very powerful method in which we use recursion to demonstrate an infinite number of facts in a finite amount of space. The most basic form of mathematical induction is where we first create a propositional form whose truth is determined by an integer function. If we are able to show that the propositional form is true for some integer value then we may argue from that basis that the propositional form must be true for all integers. 1. Show that a propositional form P (x) is true for some basis case.. Assume that P (n) is true for some n, and show that this implies that P (n + 1) is true. 3. Then, by the principle of induction, the propositional form P (x) is true for all n greater or equal to the basis case. Theorem 3. If a and b are consecutive integers, then the sum a + b is odd. Proof. Define the propositional form F (x) to be true when the sum of x and its successor is odd. (Step 1) Consider the proposition F (1). The sum 1 + = 3 is odd because we can demonstrate there exists an integer k such that k + 1 = 3. Namely, (1) + 1 = 3. Thus, F (x) is true when x = 1.

(Step ) Assume that F (x) is true for some x. Thus, for some x we have that x + (x + 1) is odd. We add one to both x and x + 1 which gives the sum (x+1)+(x+). We claim two things: first, the sum (x+1)+(x+) = F (x+1). Second, we claim that adding two to any integer does not change that integer s evenness or oddness. With these two observations we claim that F (x) is odd implies F (x + 1) is odd. (Step 3) By the principle of mathematical induction we thus claim that F (x) is odd for all integers x. Thus, the sum of any two consecutive numbers is odd. 1.4 Proof by Contrapositive Proof by contraposition is a method of proof which is not a method all its own per se. From first-order logic we know that the implication P Q is equivalent to Q P. The second proposition is called the contrapositive of the first proposition. By saying that the two propositions are equivalent we mean that if one can prove P Q then they have also proved Q P, and vice versa. Proof by contraposition can be an effective approach when a traditional direct proof is tricky, or it can be a different way to think about the substance of a problem. Theorem 4. If the sum a + b is not odd, then a and b are not consecutive integers. It is important to be extremely pedantic when interpreting a contraposition. It would be tempting to claim that the above theorem claims that the sum of two numbers is odd only when those two numbers are consecutive. However, this is nonsense. Proof. Assume that the sum of the integers a and b is not odd. Then, there exists no integer k such that a + b = k + 1. Thus, a + b k + (k + 1) for all integers k. Because k + 1 is the successor of k, this implies that a and b cannot be consecutive integers. Examples.1 Direct Proof There are two steps to directly proving P Q: 1. Assume P is true.. Demonstrate that Q must follow from P. Definition 4. Let MAX(a, b) be a function which returns whichever of a or b is greater. Definition 5. Let ABS(a) be defined to be such that if a is postiive then ABS(a) = a, and if a is negative then ABS(a) = a. The following proofs demonstrate that sometimes it s easiest to break a proposition into separate cases and prove each case separately. 3

Theorem 5. Let a,b,c,d be integers. If a > c and b > c, then MAX(a, b) c is always positive. Proof. Assume that a > c and b > c. We know that a > c and b > c, but we cannot say for certain if a > b or b > a. Therefore we proceed by cases. 1. Case 1: Assume that a > b. Because a > b we know that MAX(a, b) = a. We may thus claim that MAX(a, b) c = a c. By assumption we know that a > c so the difference a c must be positive.. Case : Assume that b > a. Because b > a we know that MAX(a, b) = b. We may thus claim that MAX(a, b) c = b c. By assumption we know that b > c so the difference b c must be positive. Thus, in all possible cases MAX(a, b) c is positive. Theorem 6. If a and b are integers, then ABS(a)ABS(b) = ABS(ab). Proof. Assume that a and b are integers. We proceed by cases: 1. Case 1: Suppose a is negative and b is positive. By definition ABS(a) = a and ABS(b) = b. Thus, ABS(a)ABS(b) = ab. Likewise, the product ab is negative so ABS(ab) = ab. Thus, ABS(a)ABS(b) = ABS(ab).. Case : Suppose that a is positive and b is negative. By definition ABS(a) = a and ABS(b) = b. Thus, ABS(a)ABS(b) = a( b) = ab. Likewise, the product ab is negative so ABS(ab) = ab. Thus, ABS(a)ABS(b) = ABS(ab). 3. Case 3: Suppose that both a and b are positive. By definition ABS(a) = a and ABS(b) = b. Thus, ABS(a)ABS(b) = ab. Likewise, the product ab is positive so ABS(ab) = ab. Thus, ABS(a)ABS(b) = ABS(ab). 4. Case 4: Suppose that both a and b are negative. By definition ABS(a) = a and ABS(b) = b. Thus, ABS(a)ABS(b) = ( a)( b) = ab. Likewise, the product ab is then positive so ABS(ab) = ab. Thus, ABS(a)ABS(b) = ABS(ab). Therefore, in every possible case we have that ABS(a)ABS(b) = ABS(ab).. Proof by Contradiction Steps to proving a theorem by contradiction: 1. Assume P is true.. Assume Q is true. 3. Demonstrate a contradiction. 4

The statement of the following proof is different from those we have seen so far in that there is no explicitly stated starting assumption. In these cases we are free to assume we have at our disposal the general machinery of the subject which we are studying. In this case, we implicitly assume all of number and set theory to tackle the problem. Theorem 7. Prove that there are an infinite number of primes. Proof. Assume, by way of contradiction, that there are a finite number of primes p 1, p, p 3...p n. Let k be the product of all these primes plus one: k = p 1 p p 3...p n + 1. The integer k is clearly greater than one and because k is an integer, there must exist some prime number P which divides it. However, P cannot be any one of p 1, p, p 3...p n because if it were then P could divide the difference k p 1 p p 3...p n and k p 1 p p 3...p n = 1. P cannot divide one and also be prime (which is by definition greater than one). This is a contradiction. Therefore our assumption is false so there must be an infinite number of primes..3 Proof by Mathematical Induction To demonstrate P Q by induction we require that the truth of P and Q be expressed as a function of some ordered set S. 1. (Basis) Show that P Q is valid for a specific element k in S.. (Inductive Hypothesis) Assume that P Q for some element n in S. 3. Demonstrate that P Q for the element n + 1 in S. 4. Conclude that P Q for all elements greater than or equal to k in S. Theorem 8. Show that the summation formula n i = n(n + 1) (1) is valid for all integers n. Proof. (Basis case) We demonstrate that the formula is valid for n = 1. By substituting one for n the formula gives us 1 = 1(), which is true. (Inductive Hypothesis) Suppose that the formula is valid for some integer n. To demonstrate that the formula is valid for n + 1 we must use the inductive hypothesis to show that the formula still holds. By assumption the formula is valid for n. Using basic algebra we add n + 1 to both sides of the equation to demonstrate that the formula is still valid for n + 1. We begin with the left hand side: n n+1 i + (n + 1) = i () We now demonstrate adding n + 1 to the right hand side. fraction addition and factor out an (n + 1). We perform 5

n(n + 1) n(n + 1) + (n + 1) (n + 1)(n + ) + (n + 1) = = Combining the right hand sides of equations two and three yields: (3) n+1 i = (n + 1)(n + ) Which is exactly what we require. Thus, if the formula is valid for n then the formula must be valid for n + 1 as we have shown above. Thus, by mathematical induction over the integers, the summation formula is valid for all integers greater than or equal to one. (4).4 Proof by Contrapositive Recall that first-order logic shows that the statement P Q is equivalent to Q P. 1. Assume Q is true.. Show that P must be true. 3. Observe that P Q by contraposition. Logically, a direct proof, a proof by contradiction, and a proof by contrapositive are all equivalent. It is also true that if in general you can find a proof by contradiction then you can also find a proof by contrapositive. After you have proved a proposition by contradiction you might surprise yourself by converting the contradiction proof to a contrapositive proof. The reason is that in both cases we assume that Q is true and argue from that point. In fact, oftentimes a proof by contradiction assumes Q and argues towards P! Theorem 9. If x is odd then x must be odd. The above proof is certainly doable both by a direct proof or by a contradiction. However, a direct proof requires a cumbersome proof by cases approach and a contradiction is essentially arguing towards a proof by contrapositive. Remember to always state the contrapositive so your reader knows what you re arguing towards. Here I have taken a (justified) liberty with stating the contrapositive. Normally we would have to first prove that a not odd number must be even, but here I just claim this fact without proof. Theorem 10. If x is even then x is even. Proof. We assume that x is even. By definition, there exists an integer k such that x = k. To derive the desired result we square both sides which yields x = 4k = (k ). Thus, x is even. Therefore, by proof of the contrapositive, if x is odd then x must be odd. 6