Disproof MAT231. Fall Transition to Higher Mathematics. MAT231 (Transition to Higher Math) Disproof Fall / 16

Similar documents
Section 3.1: Direct Proof and Counterexample 1

Proof by Contradiction

Direct Proof MAT231. Fall Transition to Higher Mathematics. MAT231 (Transition to Higher Math) Direct Proof Fall / 24

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

Primes. Rational, Gaussian, Industrial Strength, etc. Robert Campbell 11/29/2010 1

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

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

Chapter 1 Review of Equations and Inequalities

Senior Math Circles Cryptography and Number Theory Week 2

MATH CSE20 Homework 5 Due Monday November 4

Mathematical Induction

ELEMENTARY NUMBER THEORY AND METHODS OF PROOF

10 Problem 1. The following assertions may be true or false, depending on the choice of the integers a, b 0. a "

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

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

1.1 Inductive Reasoning filled in.notebook August 20, 2015

. As the binomial coefficients are integers we have that. 2 n(n 1).

WORKSHEET ON NUMBERS, MATH 215 FALL. We start our study of numbers with the integers: N = {1, 2, 3,...}

8 Primes and Modular Arithmetic

An integer p is prime if p > 1 and p has exactly two positive divisors, 1 and p.

Proof worksheet solutions

Sieving 2m-prime pairs

Mathematical Induction

Discrete Structures Lecture Primes and Greatest Common Divisor

CHAPTER 6. Prime Numbers. Definition and Fundamental Results

4.3 - Primes and Greatest Common Divisors

Math Real Analysis

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

An Introduction to Proofs in Mathematics

More examples of mathematical. Lecture 4 ICOM 4075

5. Use a truth table to determine whether the two statements are equivalent. Let t be a tautology and c be a contradiction.

Direct Proof and Counterexample I:Introduction. Copyright Cengage Learning. All rights reserved.

Direct Proof and Counterexample I:Introduction

PRIME NUMBERS YANKI LEKILI

Writing Assignment 2 Student Sample Questions

Unit 1. Number Theory

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

Ch 4.2 Divisibility Properties

CHAPTER 1. REVIEW: NUMBERS

3 The language of proof

CSE 20 Discrete Math. Winter, January 24 (Day 5) Number Theory. Instructor: Neil Rhodes. Proving Quantified Statements

MA103 STATEMENTS, PROOF, LOGIC

Math 3000 Section 003 Intro to Abstract Math Midterm 1

Some Review Problems for Exam 1: Solutions

God may not play dice with the universe, but something strange is going on with the prime numbers.

2x 1 7. A linear congruence in modular arithmetic is an equation of the form. Why is the solution a set of integers rather than a unique integer?

Addendum to Conjecture 50, by Patrick Capelle. November, 17, 2006.

Intro to Algebra Today. We will learn names for the properties of real numbers. Homework Next Week. Due Tuesday 45-47/ 15-20, 32-35, 40-41, *28,29,38

Mathematical Writing and Methods of Proof

#26: Number Theory, Part I: Divisibility

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

Commutative Rings and Fields

Math.3336: Discrete Mathematics. Proof Methods and Strategy

2 Elementary number theory

5.1. Primes, Composites, and Tests for Divisibility

MATH 2112/CSCI 2112, Discrete Structures I Winter 2007 Toby Kenney Homework Sheet 5 Hints & Model Solutions

Proof techniques (section 2.1)

8 Elliptic Curve Cryptography

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

1 Implication and induction

Math 3336 Section 4.3 Primes and Greatest Common Divisors. Prime Numbers and their Properties Conjectures and Open Problems About Primes

SQUARE PATTERNS AND INFINITUDE OF PRIMES

Wollongong College Australia

ELEMENTARY NUMBER THEORY AND METHODS OF PROOF

Chapter 5: The Integers

MATH 433 Applied Algebra Lecture 4: Modular arithmetic (continued). Linear congruences.

5.1. EXAMPLE 1 Decide whether the first number listed is divisible by the second. (a) 45; 9

All About Numbers Definitions and Properties

1. Prove that the number cannot be represented as a 2 +3b 2 for any integers a and b. (Hint: Consider the remainder mod 3).

Chapter 2: The Logic of Quantified Statements. January 22, 2010

MATH10040: Numbers and Functions Homework 1: Solutions

CS 360, Winter Morphology of Proof: An introduction to rigorous proof techniques

ASSIGNMENT 1 SOLUTIONS

Example ( x.(p(x) Q(x))) ( x.p(x) x.q(x)) premise. 2. ( x.(p(x) Q(x))) -elim, 1 3. ( x.p(x) x.q(x)) -elim, x. P(x) x.

EECS 1028 M: Discrete Mathematics for Engineers

1/19 2/25 3/8 4/23 5/24 6/11 Total/110 % Please do not write in the spaces above.

Here is another characterization of prime numbers.

Accelerated Math. Class work 3. Algebra.

Mathematical Induction

MATH 271 Summer 2016 Practice problem solutions Week 1

7. Prime Numbers Part VI of PJE

CHAPTER 1 REAL NUMBERS KEY POINTS

Statements, Implication, Equivalence

Introduction to Induction (LAMC, 10/14/07)

Definition 6.1 (p.277) A positive integer n is prime when n > 1 and the only positive divisors are 1 and n. Alternatively

Math 38: Graph Theory Spring 2004 Dartmouth College. On Writing Proofs. 1 Introduction. 2 Finding A Solution

Math Circle: Recursion and Induction

Lecture 7 Feb 4, 14. Sections 1.7 and 1.8 Some problems from Sec 1.8

arxiv: v1 [math.gm] 11 Jun 2012

P-adic numbers. Rich Schwartz. October 24, 2014

Before we talk about prime numbers, we will spend some time with divisibility because there is

Cool Results on Primes

Number Theory A focused introduction

Sums of Squares. Bianca Homberg and Minna Liu

Algorithmic number theory. Questions/Complaints About Homework? The division algorithm. Division

Math 231E, Lecture 25. Integral Test and Estimating Sums

Johns Hopkins Math Tournament 2018 Proof Round: Sequences

Table of Contents. Number and Operation. Geometry. Measurement. Lesson 1 Goldbach s Conjecture Lesson 2 Micro Mites... 11

Chapter 17. Proof by Contradiction The method

Lecture Notes on DISCRETE MATHEMATICS. Eusebius Doedel

Transcription:

Disproof MAT231 Transition to Higher Mathematics Fall 2014 MAT231 (Transition to Higher Math) Disproof Fall 2014 1 / 16

Outline 1 s 2 Disproving Universal Statements: Counterexamples 3 Disproving Existence Statements 4 To Prove or Disprove... MAT231 (Transition to Higher Math) Disproof Fall 2014 2 / 16

Theorems and Propositions Theorem (The Fundamental Theorem of Arithmetic) Every positive integer greater than 1 can be represented in exactly one way (apart from rearrangement) as a product of one or more primes. Proposition (Primality Test) Let n N with n > 1. Then n is prime if and only if n is not divisible by any prime p with p n. Both of these represent statements that are known to be true because proofs for them exist. Usually theorems are more important (and often more difficult to prove) than propositions. MAT231 (Transition to Higher Math) Disproof Fall 2014 3 / 16

s Now consider the following statements: Twin Prime : There infinitely many primes p such that p + 2 is also prime. Goldbach : Every even integer n 4 can be expressed as a sum of two primes (not necessarily distinct), i.e., n can be written in the form n = p 1 + p 2, where p 1 and p 2 are primes. Are these statements true or false? No one knows! They seem to be true, as we have been unable to disprove them, but neither has anyone been able to prove that they are true. A statement which seems true but for which no proof has yet been found is called a conjecture. MAT231 (Transition to Higher Math) Disproof Fall 2014 4 / 16

A Bit More on Prime Numbers Question: Is 7153 prime? Imagine that you did not have access to a calculator and you needed to answer this question. How would you do it? MAT231 (Transition to Higher Math) Disproof Fall 2014 5 / 16

A Bit More on Prime Numbers Question: Is 7153 prime? Imagine that you did not have access to a calculator and you needed to answer this question. How would you do it? The Primality Test proposition can help us... MAT231 (Transition to Higher Math) Disproof Fall 2014 5 / 16

A Bit More on Prime Numbers Question: Is 7153 prime? Imagine that you did not have access to a calculator and you needed to answer this question. How would you do it? The Primality Test proposition can help us... We can try dividing 7153 by prime numbers, starting with 2, or 3 (or 7; since that is the first prime that that is not obviously not a factor), and continue until a factor is found or we come to a prime that is larger than 7153. Okay that can take some work, but since 84 < 7153 < 85, at least the amount of numbers we ll need to test is fairly limited. MAT231 (Transition to Higher Math) Disproof Fall 2014 5 / 16

A Bit More on Prime Numbers Question: Is 7153 prime? Imagine that you did not have access to a calculator and you needed to answer this question. How would you do it? The Primality Test proposition can help us... We can try dividing 7153 by prime numbers, starting with 2, or 3 (or 7; since that is the first prime that that is not obviously not a factor), and continue until a factor is found or we come to a prime that is larger than 7153. Okay that can take some work, but since 84 < 7153 < 85, at least the amount of numbers we ll need to test is fairly limited. Now we just need an easy to find the prime numbers less than 84... MAT231 (Transition to Higher Math) Disproof Fall 2014 5 / 16

The Sieve of Eratosthenes One way to generate a list of prime numbers from 2 up to some integer n is the Sieve of Eratosthenes. 1 Construct a list of numbers from 2 up to n. 2 Look for the first unmarked number in the list this is a prime number. Call it p. Circle p then cross of all multiples of p in the remainder of the list. 3 Repeat the previous step until no unmarked numbers remain in the list. The circled numbers are the prime numbers up to n. MAT231 (Transition to Higher Math) Disproof Fall 2014 6 / 16

The Sieve of Eratosthenes Example 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 MAT231 (Transition to Higher Math) Disproof Fall 2014 7 / 16

Sieve of Eratosthenes Example 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 MAT231 (Transition to Higher Math) Disproof Fall 2014 8 / 16

Is 7153 Prime? Returning to our problem: Is 7153 a prime?, we now have a list of prime numbers to test: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 49, 61, 67, 71, 73, 79, 83. 7153 = 2 3576 + 1 7153 = 3 2384 + 1 7153 = 5 1430 + 3 7153 = 7 1021 + 6 7153 = 11 650 + 3 7153 = 13 550 + 3 7153 = 17 420 + 13 7153 = 19 376 + 9 7153 = 23 311 + 0 Since we find that 7153 is a multiple of 23, we know that it is not prime and hence is composite. As a bonus, since 17 < 311 < 18, we also know that 311 is prime. If this were not the case, then we would have found a prime factor of 311, and hence 7153, by the time we tried 17 as a factor of 7153. MAT231 (Transition to Higher Math) Disproof Fall 2014 9 / 16

Disproving Universal Statements: Counterexamples Suppose S is a set and we are given a statement of the form x S, P(x). To show that this is true, we need to show that P(x) is true for all x in S. To show is false, however, we merely need to show that P(x) is false for at least one x in S. In other words, we need to find a counterexample. If we are able to do this, we will have disproved the universal statement. MAT231 (Transition to Higher Math) Disproof Fall 2014 10 / 16

Disproving Universal Statements: Counterexamples If n is a natural number, then n < 3n 2. Disproof. If n = 1, then 3n 2 = 3 2 = 1 and 1 1. Important note: it is not sufficient to say that a counterexample exists, or even to say what the counterexample is. You must show how the counterexample works so it is clear to the reader that it is indeed a counterexample. In particular, saying n = 1 provides a counterexample to the conjecture above would not have been sufficient for an acceptable disproof. MAT231 (Transition to Higher Math) Disproof Fall 2014 11 / 16

Disproving Universal Statements: Counterexamples If p is a prime number, then 2 p 1 is also prime. This seems like it might be true... p 2 p 1 prime? Disproof. The number 11 is prime but 2 11 1 = 2047 = 23 89, so there is a prime p for which 2 p 1 is not prime. MAT231 (Transition to Higher Math) Disproof Fall 2014 12 / 16

Disproving Universal Statements: Counterexamples If p is a prime number, then 2 p 1 is also prime. This seems like it might be true... p 2 p 1 prime? 2 3 yes Disproof. The number 11 is prime but 2 11 1 = 2047 = 23 89, so there is a prime p for which 2 p 1 is not prime. MAT231 (Transition to Higher Math) Disproof Fall 2014 12 / 16

Disproving Universal Statements: Counterexamples If p is a prime number, then 2 p 1 is also prime. This seems like it might be true... p 2 p 1 prime? 2 3 yes 3 7 yes Disproof. The number 11 is prime but 2 11 1 = 2047 = 23 89, so there is a prime p for which 2 p 1 is not prime. MAT231 (Transition to Higher Math) Disproof Fall 2014 12 / 16

Disproving Universal Statements: Counterexamples If p is a prime number, then 2 p 1 is also prime. This seems like it might be true... p 2 p 1 prime? 2 3 yes 3 7 yes 5 31 yes Disproof. The number 11 is prime but 2 11 1 = 2047 = 23 89, so there is a prime p for which 2 p 1 is not prime. MAT231 (Transition to Higher Math) Disproof Fall 2014 12 / 16

Disproving Universal Statements: Counterexamples If p is a prime number, then 2 p 1 is also prime. This seems like it might be true... p 2 p 1 prime? 2 3 yes 3 7 yes 5 31 yes 7 127 yes Disproof. The number 11 is prime but 2 11 1 = 2047 = 23 89, so there is a prime p for which 2 p 1 is not prime. MAT231 (Transition to Higher Math) Disproof Fall 2014 12 / 16

Disproving Universal Statements: Counterexamples If p is a prime number, then 2 p 1 is also prime. This seems like it might be true... p 2 p 1 prime? 2 3 yes 3 7 yes 5 31 yes 7 127 yes 11 2047 no! Disproof. The number 11 is prime but 2 11 1 = 2047 = 23 89, so there is a prime p for which 2 p 1 is not prime. MAT231 (Transition to Higher Math) Disproof Fall 2014 12 / 16

Disproving Existence Statements Next, suppose we have the statement of the form where S is a set. x S, P(x) To show that this is true, we need to show that P(x) is true for some x in S, while to show this is false, we must show P(x) is false for every x in S. Thus, to disprove the statement, we must prove the statement: x S, P(x). MAT231 (Transition to Higher Math) Disproof Fall 2014 13 / 16

Disproving Existence Statements: Example Consider the following very simple example. There is a prime number between 61 and 67. Note that this conjecture could restated as x {62, 63, 64, 65, 66}, x is prime. To disprove this, we must prove x {62, 63, 64, 65, 66}, x is not prime. Disproof. Suppose x is an integer and 62 x 66. No multiple of 2 is prime (except 2 itself), so x cannot be 62, 64, or 66. Since 63 = 7 9 and 65 = 5 13, x cannot be either of these values. Thus, x cannot be prime if 62 x 66. MAT231 (Transition to Higher Math) Disproof Fall 2014 14 / 16

To Prove or Disprove... In most non-textbook examples you are likely to come across, you won t necessarily know whether a statement is true or false. In this case, the first thing to do is figure out whether or not the statement could be true. Often it is helpful to be skeptical, and look for a counterexample. If n Z and n 5 n is even, then n is even. This is a universal statement, so we could begin by trying some different integer values of n. We start with easiest integer to work with, 0: n n 5 n Is n 5 n even? Is n even? MAT231 (Transition to Higher Math) Disproof Fall 2014 15 / 16

To Prove or Disprove... In most non-textbook examples you are likely to come across, you won t necessarily know whether a statement is true or false. In this case, the first thing to do is figure out whether or not the statement could be true. Often it is helpful to be skeptical, and look for a counterexample. If n Z and n 5 n is even, then n is even. This is a universal statement, so we could begin by trying some different integer values of n. We start with easiest integer to work with, 0: n n 5 n Is n 5 n even? Is n even? 0 0 yes yes MAT231 (Transition to Higher Math) Disproof Fall 2014 15 / 16

To Prove or Disprove... In most non-textbook examples you are likely to come across, you won t necessarily know whether a statement is true or false. In this case, the first thing to do is figure out whether or not the statement could be true. Often it is helpful to be skeptical, and look for a counterexample. If n Z and n 5 n is even, then n is even. This is a universal statement, so we could begin by trying some different integer values of n. We start with easiest integer to work with, 0: n n 5 n Is n 5 n even? Is n even? 0 0 yes yes 1 0 yes no! MAT231 (Transition to Higher Math) Disproof Fall 2014 15 / 16

To Prove or Disprove... In most non-textbook examples you are likely to come across, you won t necessarily know whether a statement is true or false. In this case, the first thing to do is figure out whether or not the statement could be true. Often it is helpful to be skeptical, and look for a counterexample. If n Z and n 5 n is even, then n is even. This is a universal statement, so we could begin by trying some different integer values of n. We start with easiest integer to work with, 0: n n 5 n Is n 5 n even? Is n even? 0 0 yes yes 1 0 yes no! Disproof. Suppose n = 1. Then n 5 n = 1 1 = 0, which is even since 0 = 2 0. Thus we have found an integer n for which n 5 5 is even but n is odd. MAT231 (Transition to Higher Math) Disproof Fall 2014 15 / 16

Examples Every odd integer is the sum of three odd integers. For all a, b, c Z, if a bc, then a b or a c. There exist prime numbers p and q for which p q = 97. MAT231 (Transition to Higher Math) Disproof Fall 2014 16 / 16