1 In this lecture  Number Theory ● Rational numbers ● Divisibility  Proofs ● Direct proofs (cont.) ● Common mistakes in proofs ● Disproof by counterexample.

Slides:



Advertisements
Similar presentations
Lecture 3 – February 17, 2003.
Advertisements

Discrete Mathematics Lecture 3
With examples from Number Theory
Discrete Math Methods of proof 1.
Chapter 3 Elementary Number Theory and Methods of Proof.
Chapter 3 Elementary Number Theory and Methods of Proof.
(CSC 102) Lecture 12 Discrete Structures. Previous Lecture Summary Floor and Ceiling Functions Definition of Proof Methods of Proof Direct Proof Disproving.
3.3 Divisibility Definition If n and d are integers, then n is divisible by d if, and only if, n = dk for some integer k. d | n  There exists an integer.
Elementary Number Theory and Methods of Proof
– Alfred North Whitehead,
Quotient-Remainder Theory, Div and Mod
Direct Proof and Counterexample II Lecture 12 Section 3.2 Thu, Feb 9, 2006.
Copyright © Cengage Learning. All rights reserved.
More Number Theory Proofs Rosen 1.5, 3.1. Prove or Disprove If m and n are even integers, then mn is divisible by 4. The sum of two odd integers is odd.
CSE115/ENGR160 Discrete Mathematics 01/31/12 Ming-Hsuan Yang UC Merced 1.
Chapter II. THE INTEGERS
CMSC 250 Discrete Structures Number Theory. 20 June 2007Number Theory2 Exactly one car in the plant has color H( a ) := “ a has color”  x  Cars –H(
Copyright © Zeph Grunschlag,
Proof Must Have Statement of what is to be proven.
1 Indirect Argument: Contradiction and Contraposition.
The essential quality of a proof is to compel belief.
Copyright © Cengage Learning. All rights reserved.
Methods of Proof Lecture 4: Sep 16 (chapter 3 of the book)
1 Strong Mathematical Induction. Principle of Strong Mathematical Induction Let P(n) be a predicate defined for integers n; a and b be fixed integers.
1 Number Theory and Methods of Proof Content: Properties of integer, rational and real numbers. Underlying theme: Methods of mathematical proofs.
3-4 Algebra Properties Used in Geometry The properties of operations of real numbers that you used in arithmetic and algebra can be applied in geometry.
Week 3 - Wednesday.  What did we talk about last time?  Basic number theory definitions  Even and odd  Prime and composite  Proving existential statements.
DISCRETE MATHEMATICS I LECTURES CHAPTER 4 Dr. Adam Anthony Spring 2011 Some material adapted from lecture notes provided by Dr. Chungsim Han and Dr. Sam.
Methods of Proof & Proof Strategies
Chapter 4: Elementary Number Theory and Methods of Proof 4.2 Direct Proof and Counter Example II: Rational Numbers 1 Such, then, is the whole art of convincing.
(CSC 102) Discrete Structures Lecture 10.
Mathematics Review Exponents Logarithms Series Modular arithmetic Proofs.
Mathematical Induction. F(1) = 1; F(n+1) = F(n) + (2n+1) for n≥ F(n) n F(n) =n 2 for all n ≥ 1 Prove it!
Copyright © Cengage Learning. All rights reserved. CHAPTER 4 ELEMENTARY NUMBER THEORY AND METHODS OF PROOF ELEMENTARY NUMBER THEORY AND METHODS OF PROOF.
Methods of Proof. This Lecture Now we have learnt the basics in logic. We are going to apply the logical rules in proving mathematical theorems. Direct.
Chapter 3 Elementary Number Theory and Methods of Proof.
Methods of Proof Lecture 3: Sep 9. This Lecture Now we have learnt the basics in logic. We are going to apply the logical rules in proving mathematical.
Honors Geometry Intro. to Deductive Reasoning. Reasoning based on observing patterns, as we did in the first section of Unit I, is called inductive reasoning.
Digraphs and Relations Warm Up. The Divisibility Relation Let “|” be the binary relation on N×N such that a|b (“a divides b”) iff there is an n ∈ N such.
Geometry Honors Section 2. 2
1 Methods of Proof Proof techniques in this handout –Direct proof –Division into cases –Proof by contradiction In this handout, the proof techniques will.
Method of proofs.  Consider the statements: “Humans have two eyes”  It implies the “universal quantification”  If a is a Human then a has two eyes.
Direct Proof and Counterexample III
Objective: To prove and apply theorems about angles Proving Angles Congruent (2-6)
Copyright © Cengage Learning. All rights reserved. CHAPTER 8 RELATIONS.
CS104:Discrete Structures Chapter 2: Proof Techniques.
1 CMSC 250 Chapter 3, Number Theory. 2 CMSC 250 Introductory number theory l A good proof should have: –a statement of what is to be proven –"Proof:"
Section 1.7. Definitions A theorem is a statement that can be shown to be true using: definitions other theorems axioms (statements which are given as.
Divisibility and Modular Arithmetic
All About Division. Definition / A nonzero integer t is a divisor of an integer s if there is an integer u such that s = tu. / If t is a divisor of s,
Methods of Proof Lecture 4: Sep 20 (chapter 3 of the book, except 3.5 and 3.8)
1 Discrete Mathematical Mathematical Induction ( الاستقراء الرياضي )
Chapter 4 With Question/Answer Animations 1. Chapter Motivation Number theory is the part of mathematics devoted to the study of the integers and their.
Section 2.2 Day 1. A) Algebraic Properties of Equality Let a, b, and c be real numbers: 1) Addition Property – If a = b, then a + c = b + c Use them 2)
Methods of Proof Proof techniques in this handout
Direct Proof and Counterexample IV: Division into Cases and the Quotient-Remainder Theorem For each of the following values of n and d, find integers q.
Direct Proof and Counterexample III: Divisibility
Direct Proof and Counterexample II
2.5 and 2.6 Properties of Equality and Congruence
Discrete Math for CS CMPSC 360 LECTURE 4 Last time and recitations:
2. Definition of congruent segments AB = CD 2.
Direct Proof and Counterexample III
Direct Proof and Counterexample III
Copyright © Cengage Learning. All rights reserved.
Methods of Proof Rosen 1.7, 1.8 Lecture 4: Sept 24, 25.
Properties of Real Numbers
Lecture 5 Number Theory & Proof Methods
5.6 Inequalities in Two Triangles and Indirect Proof
PROGRAMME: F.Y.B.Sc.I.T. (SEM-I) COURSE: DISCRETE MATHEMATICS
Methods of Proof Rosen 1.7, 1.8 Lecture 4: Sept, 2019.
Presentation transcript:

1 In this lecture  Number Theory ● Rational numbers ● Divisibility  Proofs ● Direct proofs (cont.) ● Common mistakes in proofs ● Disproof by counterexample

2 Common mistakes in proofs Arguing from examples Using same letter to mean two different things Jumping to a conclusion (without adequate reasons)

3 Disproof by counterexample  To disprove statement of the form “  x  D if P(x) then Q(x)”, find a value of x for which ● P(x) is true and ● Q(x) is false.  Ex: For any prime number a, a 2 -1 is even integer. Counterexample: a=2.

4 Rational Numbers  Definition: r is rational iff  integers a and b such that r=a/b and b≠0.  Examples: 5/6, -178/123, 36, 0, …  Theorem: Every integer is a rational number.

5 Properties of Rational Numbers Theorem: The sum of two rational numbers is rational. Proof: Suppose r and s are rational numbers. Then r=a/b and s=c/d for some integers a,b,c,d s.t. b≠0, d≠0. (by definition) So (by substitution) (by basic algebra) Let p=ad+bc and q=bd. Then r+s=p/q where p,q  Z and q≠0. Thus, r+s is rational by definition. ■

6 Types of Mathematical Statements  Theorems: Very important statements that have many and varied consequences.  Propositions: Less important and consequential.  Corollaries: The truth can be deduced almost immediately from other statements.  Lemmas: Don’t have much intrinsic interest but help to prove other theorems.

7 Divisibility Definition: For n,d  Z and d≠0 we say that n is divisible by d iff n=d·k for some k  Z. Alternative ways to say: n is a multiple of d, d is a factor of n, d is a divisor of n, d divides n. Notation: d | n. Examples: 6|48, 5|5, -4|8, 7|0, 1|9.

8 Properties of Divisibility For  x  Z, 1|x. For  x  Z s.t. x≠0, x|0. An integer x>1 is prime iff its only positive divisors are 1 and x. For  a,b,c  Z, if a|b and a|c then a|(b+c). Transitivity: For  a,b,c  Z, if a|b and b|c then a|c.

9 Divisibility by a prime  Theorem: Any integer n>1 is divisible by a prime number.  Sketch of proof: Division into cases: ● If n is prime then we are done (since n | n). ● If n is composite then n=r 1 ·s 1 where r 1,s 1  Z and 1<r 1 <n,1<s 1 <n. (by definition of composite number) (Further) division into cases: ♦If r 1 is prime then we are done (since r 1 |n). ♦ If r 1 is composite then r 1 =r 2 ·s 2 where r 2,s 2  Z and 1<r 2 <r 1,1<s 2 <r 1.

10 Divisibility by a prime  Sketch of proof (cont.): Since r 1 |n and r 2 |r 1 then r 2 |n (by transitivity). Continuing the division into cases, we will get a sequence of integers r 1, r 2, r 3,…, r k such that 1< r k < r k-1 <…< r 2 < r 1 <n ; r p |n for each p=1,2,…,k ; r k is prime. Thus, r k is a prime that divides n. ■

11 Unique Factorization Theorem Theorem: For  integer n>1,  positive integer k, distinct prime numbers, positive integers s.t., and this factorization is unique. Example: 72,000 =