Basic Proof Examples

Similar documents
The following techniques for methods of proofs are discussed in our text: - Vacuous proof - Trivial proof

9/5/17. Fermat s last theorem. CS 220: Discrete Structures and their Applications. Proofs sections in zybooks. Proofs.

Contradiction MATH Contradiction. Benjamin V.C. Collins, James A. Swenson MATH 2730

WORKSHEET MATH 215, FALL 15, WHYTE. We begin our course with the natural numbers:

MATH 271 Summer 2016 Practice problem solutions Week 1

Math 261 Spring 2014 Final Exam May 5, 2014

Complete Induction and the Well- Ordering Principle

We want to show P (n) is true for all integers

Final Exam Review. 2. Let A = {, { }}. What is the cardinality of A? Is

Recitation 7: Existence Proofs and Mathematical Induction

MATH CSE20 Homework 5 Due Monday November 4

Math 109 September 1, 2016

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction

3.6. Disproving Quantified Statements Disproving Existential Statements

CSE 20. Final Review. CSE 20: Final Review

MATH 2200 Final Review

a + b = b + a and a b = b a. (a + b) + c = a + (b + c) and (a b) c = a (b c). a (b + c) = a b + a c and (a + b) c = a c + b c.

Properties of the Integers

Solutions to Homework Set 1

Proofs. Joe Patten August 10, 2018

Proof by Contradiction

In N we can do addition, but in order to do subtraction we need to extend N to the integers

MATH 324 Summer 2011 Elementary Number Theory. Notes on Mathematical Induction. Recall the following axiom for the set of integers.

n n P} is a bounded subset Proof. Let A be a nonempty subset of Z, bounded above. Define the set

Well-Ordering Principle. Axiom: Every nonempty subset of Z + has a least element. That is, if S Z + and S, then S has a smallest element.

Climbing an Infinite Ladder

In 1854, Karl Weierstrauss gave an example of a continuous function which was nowhere di erentiable: cos(3 n x) 2 n. sin(3 n x), 2

MATH 215 Final. M4. For all a, b in Z, a b = b a.

EECS 1028 M: Discrete Mathematics for Engineers

Solutions to Assignment 1

Solutions to Practice Final

Introduction to Basic Proof Techniques Mathew A. Johnson

Climbing an Infinite Ladder

McGill University Faculty of Science. Solutions to Practice Final Examination Math 240 Discrete Structures 1. Time: 3 hours Marked out of 60

In N we can do addition, but in order to do subtraction we need to extend N to the integers

Some Review Problems for Exam 1: Solutions

MATH10040: Numbers and Functions Homework 1: Solutions

Proofs. Chapter 2 P P Q Q

What can you prove by induction?

DISCRETE MATH: FINAL REVIEW

Foundations of Discrete Mathematics

Definitions Chapter 1 Proof Technique (Pg.1): Proof (Pg.2): Statement (Pg.2): Conditional Statement/Implication (Pg3.): Hypothesis(Pg.

1. (16 points) Circle T if the corresponding statement is True or F if it is False.

MATH 2200 Final LC Review

Problem Set 2 Solutions Math 311, Spring 2016

Proofs. Methods of Proof Divisibility Floor and Ceiling Contradiction & Contrapositive Euclidean Algorithm. Reading (Epp s textbook)

Mathematics 220 Midterm Practice problems from old exams Page 1 of 8

Strong Induction (Second Principle) Example: There are two piles of cards, players take turn: each turn: one player removes any number of cards from

Economics 204 Summer/Fall 2017 Lecture 1 Monday July 17, 2017

MATH 2400: PRACTICE PROBLEMS FOR EXAM 1

Math 3000 Section 003 Intro to Abstract Math Homework 6

Problem Set 5 Solutions

Mathematics 220 Homework 4 - Solutions. Solution: We must prove the two statements: (1) if A = B, then A B = A B, and (2) if A B = A B, then A = B.

RED. Name: Instructor: Pace Nielsen Math 290 Section 1: Winter 2014 Final Exam

CSE 1400 Applied Discrete Mathematics Proofs

COMP 182 Algorithmic Thinking. Proofs. Luay Nakhleh Computer Science Rice University

Lecture Notes 1 Basic Concepts of Mathematics MATH 352

COT 2104 Homework Assignment 1 (Answers)

a. See the textbook for examples of proving logical equivalence using truth tables. b. There is a real number x for which f (x) < 0. (x 1) 2 > 0.

Math 10850, fall 2017, University of Notre Dame

UNIVERSITY OF VICTORIA DECEMBER EXAMINATIONS MATH 122: Logic and Foundations

Writing Assignment 2 Student Sample Questions

Chapter 2 Section 2.1: Proofs Proof Techniques. CS 130 Discrete Structures

0.Axioms for the Integers 1

Proofs. Chapter 2 P P Q Q

Proof Terminology. Technique #1: Direct Proof. Learning objectives. Proof Techniques (Rosen, Sections ) Direct Proof:

Proofs: A General How To II. Rules of Inference. Rules of Inference Modus Ponens. Rules of Inference Addition. Rules of Inference Conjunction

Midterm 2 Sample Introduction to Higher Math Fall 2018 Instructor: Linh Truong

STUDY PROBLEMS FOR EXAM I CMSC 203 DISCRETE STRUCTURES. n (n +1)(2n +1), 6. j 2 = 1(1+1)(2 1+1) 6. k (k +1)(2k +1) 6

Mathematical Reasoning & Proofs

Announcements. Read Section 2.1 (Sets), 2.2 (Set Operations) and 5.1 (Mathematical Induction) Existence Proofs. Non-constructive

Basic Proof Techniques

Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers Solutions

Divisibility = 16, = 9, = 2, = 5. (Negative!)

Mathematical Induction

Sums of Squares. Bianca Homberg and Minna Liu

ELEMENTARY NUMBER THEORY AND METHODS OF PROOF

INTEGERS. In this section we aim to show the following: Goal. Every natural number can be written uniquely as a product of primes.

Proof by contrapositive, contradiction

Math 13, Spring 2013, Lecture B: Midterm

1 Implication and induction

CSE 20 DISCRETE MATH WINTER

Proofs. Introduction II. Notes. Notes. Notes. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Fall 2007

CSE 20 DISCRETE MATH SPRING

MCS-236: Graph Theory Handout #A4 San Skulrattanakulchai Gustavus Adolphus College Sep 15, Methods of Proof

Geometry - Chapter 2 Corrective 1

means is a subset of. So we say A B for sets A and B if x A we have x B holds. BY CONTRAST, a S means that a is a member of S.

Writing proofs for MATH 61CM, 61DM Week 1: basic logic, proof by contradiction, proof by induction

Discrete Mathematics. Spring 2017

SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION

In Exercises 1 12, list the all of the elements of the given set. 2. The set of all positive integers whose square roots are less than or equal to 3

Math Real Analysis

Math 230 Final Exam, Spring 2009

Discrete Mathematics Logics and Proofs. Liangfeng Zhang School of Information Science and Technology ShanghaiTech University

Mathematical Induction. Section 5.1

Discrete Mathematics. W. Ethan Duckworth. Fall 2017, Loyola University Maryland

Chapter 1 : The language of mathematics.

Midterm Exam Solution

Logic, Sets, and Proofs

Chapter 5: The Integers

Transcription:

Basic Proof Examples Lisa Oberbroeckling Loyola University Maryland Fall 2015 Note. In this document, we use the symbol as the negation symbol. Thus p means not p. There are four basic proof techniques to prove p = q, where p is the hypothesis (or set of hypotheses) and q is the result. 1. Direct proof 2. Contrapositive 3. Contradiction 4. Mathematical Induction What follows are some simple examples of proofs. Discrete Methods. You very likely saw these in MA395: 1 Direct Proof Direct proofs use the hypothesis (or hypotheses), definitions, and/or previously proven results (theorems, etc.) to reach the result. Theorem 1.1. If m Z is even, then m 2 is even. 1

Proof. Suppose m Z is even. By definition of an even integer, there exists n Z such that m = 2n. Thus we get m 2 = (2n) 2 = 4n 2 = 2(2n 2 ) and we have m 2 is also even. The following is an example of a direct proof using cases. Theorem 1.2. If q is not divisible by 3, then q 2 1 (mod 3). Proof. If 3 q, we know q 1 (mod 3) or q 2 (mod 3). Case 1: q 1 (mod 3). By definition, q = 3k + 1 for some k Z. Thus q 2 = (3k + 1) 2 = 9k 2 + 6k + 1 = 3(3k 2 + 2k) + 1 and we have q 2 1 (mod 3). Case 2: q 2 (mod 3). By definition, q = 3k + 2 for some k Z. Thus q 2 = (3k + 2) 2 = 9k 2 + 12k + 4 = 9k 2 + 12k + 3 + 1 = 3(3k 2 + 4k + 1) + 1 and in this case we again have q 2 1 (mod 3). In either case q 2 1 (mod 3) so the result is proven. 2 Contrapositive Since p = q is logically equivavlent to q = p, we can prove q = p. It is good form to alert the reader at the beginning that the proof is going to be done by contrapositive. Theorem 2.1. If q 2 is divisible by 3, so is q. 2

Proof. We will prove the contrapositive; i.e., we will prove if q is not divisible by 3, then q 2 is not divisible by 3. By Theorem 1.2, we know that if q is not divisible by 3, then q 2 1 (mod 3). Thus q 2 is not divisible by 3. 3 Contradiction A proof by contradiction is considered an indirect proof. We assume p q and come to some sort of contradiction. A proof by contradiction usually has suppose not or words in the beginning to alert the reader it is a proof by contradiction. Theorem 3.1. Prove 3 is irrational. Proof. Suppose not; i.e., suppose 3 Q. Then m, n Z with m and n relatively prime and 3 = m n. Then 3 = m2 n 2, or 3n2 = m 2. Thus m 2 is divisible by 3 so by Theorem 2.1, m is also. By definition, m = 3k for some k Z. Hence m 2 = 9k 2 = 3n 2 and so 3k 2 = n 2. Thus n 2 is divisible by 3 and again by Theorem 2.1, n is also divisible by 3. But m, n are relatively prime, a contradiction. Thus 3 / Q. 4 Mathematical Induction Mathematical Induction is a method of proof commonly used for statements involving N, subsets of N such as odd natural numbers, Z, etc. Below we only state the basic method of induction. It can be modified to prove a statement for any n N 0, where N 0 Z. 3

Theorem 4.1 (Mathematical Induction). Let P (n) be a statement for each n N. Suppose 1. P (1) is true 2. If P (k) is true, then P (k + 1) is true. The assumption that P (k) true is called the induction hypothesis. Then P (n) is true for all n N. The theorem uses the Well-ordering Principle (or axiom): Every non-empty subset of N has a smallest element. What about a largest element? Does Z follow the well-ordering principle? What about the set { 1 n : n N}? Proof of Mathematical Induction. Proof by contradiction; i.e., suppose n N such that P (n) is false. Let A = {n N P (n) is false}. By supposition, A is nonempty. By the Well Ordering Principle, A has a smallest element; call it m. Since P (1) is true, 1 / A and so we know m > 1. We also know by definition of A that P (k) = P (m 1), with k = m 1 N is true. But we know if P (k) is true then P (k + 1) = P (m) is true, which is a contradiction of m A. Thus P (n) is true n Mathematical Induction is used to prove many things like the Binomial Theorem and equations such as 1 + 2 + + n =. As in other proof methods, one should alert the n(n + 1) 2 reader at the beginning of the proof that this method is being used. It is a common mistake to check a few numbers and assume that the pattern holds for all others. But it actually must be proven, and Mathematical Induction is a way to prove things for all natural numbers. Fermat (1601-1655) conjectured 2 2n +1 is prime n. It was known to be true for n = 1, 2, 3, 4. Many years later, Euler (1707-1783) found the conjecture to be false for n = 5: 2 25 + 1 = 641(6,700,417). 4

Theorem 4.2. For any n N, 64 is a factor of 3 2n+2 8n 9. Proof. Proof by Mathematical Induction. For the n = 1 case, we see that 3 2n+2 8n 9 = 3 4 8 9 = 81 17 = 64. Thus P (1) is true. Now suppose 3 2n+2 8n 9 0 (mod 64). (1) We need to show that 3 2(n+1)+2 8(n + 1) 9 0 (mod 64). We have 3 2(n+1)+2 8(n + 1) 9 = 3 2n+2+2 8n 9 (2) = (3 2n+2 )3 2 8k 17 (3) = (3 2n+2 )9 8k 17 (4) By the induction hypothesis (1), there exists some m N such that 3 2n+2 8n 9 = 64m. Thus 3 2k+2 = 64m + 8k + 9 and putting this into (4) we have 3 2(n+1)+2 8(n + 1) 9 = (64m + 8k + 9)9 8k 17 = 64 9m + 72k + 81 8k 17 = 64 9m + 64k + 64 = 64(9m + k + 1). Hence 3 2(n+1)+2 8(n + 1) 9 is divisible by 64. Thus P (k + 1) is true, so by Mathematical Induction, P (n) is true n N. 5