ELEMENTARY NUMBER THEORY AND METHODS OF PROOF

Similar documents
ELEMENTARY NUMBER THEORY AND METHODS OF PROOF

ELEMENTARY NUMBER THEORY AND METHODS OF PROOF

ELEMENTARY NUMBER THEORY AND METHODS OF PROOF

[Ch 6] Set Theory. 1. Basic Concepts and Definitions. 400 lecture note #4. 1) Basics

CSE 215: Foundations of Computer Science Recitation Exercises Set #4 Stony Brook University. Name: ID#: Section #: Score: / 4

UNIT-II NUMBER THEORY

Math236 Discrete Maths with Applications

Math 302 Introduction to Proofs via Number Theory. Robert Jewett (with small modifications by B. Ćurgus)

SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION

SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION

DO NOT RE-DISTRIBUTE THIS SOLUTION FILE

THE LOGIC OF QUANTIFIED STATEMENTS

Summary of Course Coverage

CHAPTER 8. Copyright Cengage Learning. All rights reserved.

AXIOMS FOR THE INTEGERS

MC 302 GRAPH THEORY 10/1/13 Solutions to HW #2 50 points + 6 XC points

CSE 215: Foundations of Computer Science Recitation Exercises Set #9 Stony Brook University. Name: ID#: Section #: Score: / 4

(a) (4 pts) Prove that if a and b are rational, then ab is rational. Since a and b are rational they can be written as the ratio of integers a 1

CHAPTER 10 GRAPHS AND TREES. Alessandro Artale UniBZ - artale/z

STABILITY AND PARADOX IN ALGORITHMIC LOGIC

CS 3512, Spring Instructor: Doug Dunham. Textbook: James L. Hein, Discrete Structures, Logic, and Computability, 3rd Ed. Jones and Barlett, 2010

Chapter 3: Theory of Modular Arithmetic 1. Chapter 3: Theory of Modular Arithmetic

Homework 1 CS 1050 A Due:

Workbook Unit 13: Natural Deduction Proofs (IV)

14 More Graphs: Euler Tours and Hamilton Cycles

ELEMENTARY NUMBER THEORY AND METHODS OF PROOF

Ramsey s Theorem on Graphs

Mathematics Background

== is a decent equivalence

NP-Completeness of 3SAT, 1-IN-3SAT and MAX 2SAT

Graph Theory Questions from Past Papers

Strategies for Proofs

Introduction to Automata Theory. BİL405 - Automata Theory and Formal Languages 1

Calculation of extended gcd by normalization

1. Chapter 1, # 1: Prove that for all sets A, B, C, the formula

Section 2.2: Introduction to the Logic of Quantified Statements

The set consisting of all natural numbers that are in A and are in B is the set f1; 3; 5g;

On Considerations of Language in the Diagonal Proof

Limits and an Introduction to Calculus. Copyright Cengage Learning. All rights reserved.

INDEPENDENT POSTULATES FOR THE "INFORMAL" PART OF PRINCIPIA MATHEMATICA*

correlated to the Michigan High School Mathematics Content Expectations

Cardinality of Sets MAT231. Fall Transition to Higher Mathematics. MAT231 (Transition to Higher Math) Cardinality of Sets Fall / 15

Section 1.4 Proving Conjectures: Deductive Reasoning

INTLOGS17 Test 1. Prof: S Bringsjord TA: Rini Palamittam NY

function at the given point. Thus, for our previous example we would find that lim f(x) = 0

CHAPTER 10 GRAPHS AND TREES. Alessandro Artale UniBZ - artale/

Assignment # 4 Selected Solutions

Introduction to Sets and Logic (MATH 1190)

.Math 0450 Honors intro to analysis Spring, 2009 Notes #4 corrected (as of Monday evening, 1/12) some changes on page 6, as in .

Number Theory and Proof Methods

CPSC 121 Midterm 2 Friday November 13th, 2015

SECTION 5.1. Sequences

Chapter 3. Set Theory. 3.1 What is a Set?

11.2 Techniques for Evaluating Limits

Solutions to In-Class Problems Week 4, Fri

4. Simplicial Complexes and Simplicial Homology

Extremal Graph Theory: Turán s Theorem

1.3. Conditional expressions To express case distinctions like

(1) Page #1 24 all. (2) Page #7-21 odd, all. (3) Page #8 20 Even, Page 35 # (4) Page #1 8 all #13 23 odd

Sets. {1, 2, 3, Calvin}.

CHAPTER 10 GRAPHS AND TREES. Copyright Cengage Learning. All rights reserved.

Assignment 4 Solutions of graph problems

Propositional Logic Formal Syntax and Semantics. Computability and Logic

8.2 Paths and Cycles

Discrete Mathematics Lecture 4. Harper Langston New York University

Solution to Graded Problem Set 4

Lecture 6: Faces, Facets

SPERNER S LEMMA, BROUWER S FIXED-POINT THEOREM, AND THE SUBDIVISION OF SQUARES INTO TRIANGLES

CHAPTER 7. Copyright Cengage Learning. All rights reserved.

14 Foundation of Programming Languages and Software Engineering: Summer Term 2010

Solutions to In-Class Problems Week 1, Fri

6.001 Notes: Section 4.1

9 abcd = dcba b + 90c = c + 10b b = 10c.

Ma/CS 6b Class 10: Ramsey Theory

Lemma (x, y, z) is a Pythagorean triple iff (y, x, z) is a Pythagorean triple.

(d) If the moon shares nothing and the sun does not share our works, then the earth is alive with creeping men.

Lecture 1. 1 Notation

The Encoding Complexity of Network Coding

An Improved Upper Bound for the Sum-free Subset Constant

Ma/CS 6b Class 12: Ramsey Theory

THE PRINCIPLE OF INDUCTION. MARK FLANAGAN School of Electrical, Electronic and Communications Engineering University College Dublin

1 Algorithm and Proof for Minimum Vertex Coloring

Guidelines for Writing Mathematical Proofs

15 212: Principles of Programming. Some Notes on Induction

CPS 102: Discrete Mathematics. Quiz 3 Date: Wednesday November 30, Instructor: Bruce Maggs NAME: Prob # Score. Total 60

MATH 139 W12 Review 1 Checklist 1. Exam Checklist. 1. Introduction to Predicates and Quantified Statements (chapters ).

11.2 Eulerian Trails

CPSC 121: Models of Computation Assignment #4, due Thursday, March 16 th,2017at16:00

6c Lecture 3 & 4: April 8 & 10, 2014

Revisiting Kalmar completeness metaproof

6th Bay Area Mathematical Olympiad

Pacific Journal of Mathematics

Fall Recursion and induction. Stephen Brookes. Lecture 4

Computer Science 280 Fall 2002 Homework 10 Solutions

SANDRA SPIROFF AND CAMERON WICKHAM

University of Illinois at Chicago Department of Computer Science. Final Examination. CS 151 Mathematical Foundations of Computer Science Fall 2012

Exercise 1.1. Page 1 of 22. Website: Mobile:

Reasoning about programs. Chapter 9 of Thompson

Math 170- Graph Theory Notes

Pebble Sets in Convex Polygons

Transcription:

CHAPTER 4 ELEMENTARY NUMBER THEORY AND METHODS OF PROOF Copyright Cengage Learning. All rights reserved.

SECTION 4.6 Indirect Argument: Contradiction and Contraposition Copyright Cengage Learning. All rights reserved.

Indirect Argument: Contradiction and Contraposition In a direct proof you start with the hypothesis of a statement and make one deduction after another until you reach the conclusion. Indirect proofs are more roundabout. One kind of indirect proof, argument by contradiction, is based on the fact that either a statement is true or it is false but not both. So if you can show that the assumption that a given statement is not true leads logically to a contradiction, impossibility, or absurdity, then that assumption must be false: and, hence, the given statement must be true. 3

Indirect Argument: Contradiction and Contraposition This method of proof is also known as reductio ad impossible or reductio ad absurdum because it relies on reducing a given assumption to an impossibility or absurdity. 4

Indirect Argument: Contradiction and Contraposition The point of departure for a proof by contradiction is the supposition that the statement to be proved is false. The goal is to reason to a contradiction. Thus proof by contradiction has the following outline: 5

Example 1 There Is No Greatest Integer Use proof by contradiction to show that there is no greatest integer. Solution: Most small children believe there is a greatest integer they often call it a zillion. But with age and experience, they change their belief. At some point they realize that if there were a greatest integer, they could add 1 to it to obtain an integer that was greater still. Since that is a contradiction, no greatest integer can exist. This line of reasoning is the heart of the formal proof. 6

Example 1 Solution cont d Proof: [We take the negation of the theorem and suppose it to be true.] Suppose not. That is, suppose there is a greatest integer N. [We must deduce a contradiction.] 7

Example 1 Solution cont d Then N n for every integer n. Let M = N + 1. Now M is an integer since it is a sum of integers. Also M > N since M = N + 1. Thus M is an integer that is greater than N. So N is the greatest integer and N is not the greatest integer, which is a contradiction. [This contradiction shows that the supposition is false and, hence, that the theorem is true.] 8

Indirect Argument: Contradiction and Contraposition The fact that no integer can be both even and odd follows from the uniqueness part of the quotient-remainder theorem. 9

Argument by Contraposition 10

Argument by Contraposition A second form of indirect argument, argument by contraposition, is based on the logical equivalence between a statement and its contrapositive. To prove a statement by contraposition, you take the contrapositive of the statement, prove the contrapositive by a direct proof, and conclude that the original statement is true. The underlying reasoning is that since a conditional statement is logically equivalent to its contrapositive, if the contrapositive is true then the statement must also be true. 11

Argument by Contraposition 12

Example 4 If the Square of an Integer Is Even, Then the Integer Is Even Prove that for all integers n, if n 2 is even then n is even. Solution: First form the contrapositive of the statement to be proved. Contrapositive: For all integers n, if n is not even then n 2 is not even. By the quotient-remainder theorem with d = 2, any integer is even or odd, so any integer that is not even is odd. Also by Theorem 4.6.2, no integer can be both even and odd. So if an integer is odd, then it is not even. 13

Example 4 Solution cont d Thus the contrapositive can be restated as follows: Contrapositive: For all integers n, if n is odd then n 2 is odd. A straightforward computation is the heart of a direct proof for this statement, which is as follows. 14

Example 4 Solution cont d Proof (by contraposition): Suppose n is any odd integer. [We must show that n 2 is odd.] By definition of odd, n = 2k + 1 for some integer k. By substitution and algebra, But 2k 2 + 2k is an integer because products and sums of integers are integers. So n 2 = 2 (an integer) + 1, and thus, by definition of odd, n 2 is odd [as was to be shown]. 15

Example 4 Solution cont d We used the word proposition here rather than theorem because although the word theorem can refer to any statement that has been proved, mathematicians often restrict it to especially important statements that have many and varied consequences. Then they use the word proposition to refer to a statement that is somewhat less consequential but nonetheless worth writing down. 16