Carmen s Core Concepts (Math 135)

Similar documents
Mathematical Induction Assignments

Mathematical Induction

Carmen s Core Concepts (Math 135)

MATH10040: Numbers and Functions Homework 1: Solutions

Mathematical Induction

Discrete Mathematics. Spring 2017

CS 220: Discrete Structures and their Applications. Mathematical Induction in zybooks

Number Theory and Graph Theory. Prime numbers and congruences.

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

Lecture 3.2: Induction, and Strong Induction

Chapter 5: The Integers

Mathematics 228(Q1), Assignment 2 Solutions

CHAPTER 1 REAL NUMBERS KEY POINTS

INDUCTION AND RECURSION. Lecture 7 - Ch. 4

1.2 The Well-Ordering Principle

Carmen s Core Concepts (Math 135)

Outline. We will cover (over the next few weeks) Induction Strong Induction Constructive Induction Structural Induction

Note that r = 0 gives the simple principle of induction. Also it can be shown that the principle of strong induction follows from simple induction.

Proof by Induction. Andreas Klappenecker

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

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction

CISC-102 Fall 2017 Week 3. Principle of Mathematical Induction

Carmen s Core Concepts (Math 135)

Lecture 4: Probability, Proof Techniques, Method of Induction Lecturer: Lale Özkahya

Notes on Systems of Linear Congruences

SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION

CSC 344 Algorithms and Complexity. Proof by Mathematical Induction

Basic Proof Examples

Number Theory Basics Z = {..., 2, 1, 0, 1, 2,...} For, b Z, we say that divides b if z = b for some. Notation: b Fact: for all, b, c Z:

Complete Induction and the Well- Ordering Principle

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

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

EECS 1028 M: Discrete Mathematics for Engineers

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

Climbing an Infinite Ladder

M381 Number Theory 2004 Page 1

Student Responsibilities Week 8. Mat Section 3.6 Integers and Algorithms. Algorithm to Find gcd()

Induction. Induction. Induction. Induction. Induction. Induction 2/22/2018

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

Discrete Mathematics. Spring 2017

Wilson s Theorem and Fermat s Little Theorem

(e) Commutativity: a b = b a. (f) Distributivity of times over plus: a (b + c) = a b + a c and (b + c) a = b a + c a.

Proofs Not Based On POMI

Mathematical Induction. Defining Functions. Overview. Notation for recursive functions. Base case Sn(0) = 0 S(n) = S(n 1) + n for n > 0

Solutions to Assignment 1

18 Divisibility. and 0 r < d. Lemma Let n,d Z with d 0. If n = qd+r = q d+r with 0 r,r < d, then q = q and r = r.

CSC B36 Additional Notes sample induction and well-ordering proofs. c Nick Cheng

Sums of Squares. Bianca Homberg and Minna Liu

Know the Well-ordering principle: Any set of positive integers which has at least one element contains a smallest element.

Discrete Mathematics & Mathematical Reasoning Induction

= 1 2x. x 2 a ) 0 (mod p n ), (x 2 + 2a + a2. x a ) 2

Math 242: Principles of Analysis Fall 2016 Homework 1 Part B solutions

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

Divisibility in the Fibonacci Numbers. Stefan Erickson Colorado College January 27, 2006

Discrete Mathematics and Probability Theory Fall 2013 Vazirani Note 1

Greatest Common Divisor MATH Greatest Common Divisor. Benjamin V.C. Collins, James A. Swenson MATH 2730

CSE 311: Foundations of Computing. Lecture 14: Induction

Homework #2 Solutions Due: September 5, for all n N n 3 = n2 (n + 1) 2 4

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

The Fundamental Theorem of Arithmetic

Induction 1 = 1(1+1) = 2(2+1) = 3(3+1) 2

PRINCIPLE OF MATHEMATICAL INDUCTION

Discrete Structures - CM0246 Mathematical Induction

a = qb + r where 0 r < b. Proof. We first prove this result under the additional assumption that b > 0 is a natural number. Let

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

CSE 20. Final Review. CSE 20: Final Review

Fall 2017 Test II review problems

Chapter V. Theory of the Integers. Mathematics is the queen of the sciences and number theory is the queen of mathematics. Carl Friedrich Gauss

n(n + 1). 2 . If n = 3, then 1+2+3=6= 3(3+1) . If n = 2, then = 3 = 2(2+1)

Mat Week 8. Week 8. gcd() Mat Bases. Integers & Computers. Linear Combos. Week 8. Induction Proofs. Fall 2013

NOTES ON SIMPLE NUMBER THEORY

Proofs Not Based On POMI

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

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

NOTES ON INTEGERS. 1. Integers

Induction and Recursion

Intermediate Math Circles March 11, 2009 Sequences and Series

All variables a, b, n, etc are integers unless otherwise stated. Each part of a problem is worth 5 points.

REAL NUMBERS. Any positive integer a can be divided by another positive integer b in such a way that it leaves a remainder r that is smaller than b.

cse547, math547 DISCRETE MATHEMATICS Professor Anita Wasilewska

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

1 Examples of Weak Induction

PUTNAM TRAINING NUMBER THEORY. Exercises 1. Show that the sum of two consecutive primes is never twice a prime.

Solution Set 2. Problem 1. [a] + [b] = [a + b] = [b + a] = [b] + [a] ([a] + [b]) + [c] = [a + b] + [c] = [a + b + c] = [a] + [b + c] = [a] + ([b + c])

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 3

Commutative Rings and Fields

5: The Integers (An introduction to Number Theory)

PRACTICE PROBLEMS: SET 1

THE ISLAMIC UNIVERSITY OF GAZA ENGINEERING FACULTY DEPARTMENT OF COMPUTER ENGINEERING DISCRETE MATHMATICS DISCUSSION ECOM Eng. Huda M.

Fall 2014 CMSC250/250H Midterm II

Module 9: Mathematical Induction

not to be republished NCERT REAL NUMBERS CHAPTER 1 (A) Main Concepts and Results

Mathematical Induction. Section 5.1

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

Problem Set 5 Solutions

Definition: A sequence is a function from a subset of the integers (usually either the set

Math 319 Problem Set #2 Solution 14 February 2002

CSCE 222 Discrete Structures for Computing. Proof by Induction. Dr. Hyunyoung Lee. !!!!!! Based on slides by Andreas Klappenecker

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

Transcription:

Carmen s Core Concepts (Math 135) Carmen Bruni University of Waterloo Week 4

1 Principle of Mathematical Induction 2 Example 3 Base Case 4 Inductive Hypothesis 5 Inductive Step When Induction Isn t Enough 7 Principle of Strong Induction 8 Fibonacci Sequence 9 Euclid s Lemma 10 Fundamental Theorem of Arithmetic 11 Fundamental Theorem of Arithmetic - Existence Proof 12 Fundamental Theorem of Arithmetic - Informal Uniqueness Proof

Principle of Mathematical Induction Principle of Mathematical Induction (POMI) Axiom: If sequence of statements P(1), P(2),... satisfy 1 P(1) is true 2 For any k N, if P(k) is true then P(k + 1) is true then P(n) is true for all n N. Domino Analogy

Example Example: Prove that n i 2 = i=1 n(n + 1)(2n + 1) for all n N. Proof: Let P(n) be the statement that n i 2 = i=1 n(n + 1)(2n + 1) holds. We prove P(n) is true for all natural numbers n by the Principle of Mathematical Induction.

Base Case Base case: When n = 1, P(1) is the statement that 1 i 2 = i=1 (1)((1) + 1)(2(1) + 1). This holds since (1)((1) + 1)(2(1) + 1) = 1(2)(3) = 1 = 1 i 2. i=1

Inductive Hypothesis Inductive Hypothesis. Assume that P(k) is true for some k N. This means that k i 2 = i=1 k(k + 1)(2k + 1).

Inductive Step Inductive Step. We now need to show that k+1 i 2 = i=1 (k + 1)((k + 1) + 1)(2(k + 1) + 1). k+1 k i 2 = i 2 + (k + 1) 2 IH k(k + 1)(2k + 1) = + (k + 1) 2 i=1 i=1 ( ) ( k(2k + 1) 2k 2 + k = (k + 1) + k + 1 = (k + 1) + k + ) ( 2k 2 ) + 7k + (k + 1)(k + 2)(2k + 3) = (k + 1) = Hence, n i 2 = i=1 n(n + 1)(2n + 1) by the Principle of Mathematical Induction. is true for all natural numbers n

When Induction Isn t Enough Let {x n } be a sequence defined by x 1 = 4, x 2 = 8 and x m = 2x m 1 + 15x m 2 for all m 3 Prove that x n = 2( 3) n + 10 5 n 1 for n 1. Solution: By Induction. Base Case: For n = 1, we have x 1 = 4 = 2( 3) 1 + 10 5 0 = 2( 3) n + 10 5 n 1. Inductive Hypothesis: Assume that x k = 2( 3) k + 10 5 k 1 is true for some k N. Inductive Step: Now, for k + 1, x k+1 = 2x k + 15x k 1 Only true if k 2!!! = 2(2( 3) k + 10 5 k 1 ) + 15x k 1 = 4( 3) k + 20 5 k 1 + 15x k 1 =...?

Principle of Strong Induction Principle of Strong Induction (POSI) Axiom: If sequence of statements P(1), P(2),... satisfy 1 P(1) P(2)... P(b) are true for some b N 2 P(1) P(2)... P(k) are true implies that P(k + 1) is true for all k N (k b) then P(n) is true for all n N. For an example check out the other video.

Fibonacci Sequence Define the Fibonacci Sequence {f n } as follows. Let f 1 = 1 and f 2 = 1 and f m = f m 1 + f m 2 for all m 3. This defines the sequence 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89,...

Euclid s Lemma Theorem 1 (Euclid s Lemma (Primes and Divisibility PAD)). Let a, b Z and let p be a prime number. If p ab then p a or p b. Corollary 2 (Generalized Euclid s Lemma). Let a 1, a 2,..., a n Z and let p be a prime number. If p a 1 a 2...a n then p a i for some 1 i n.

Fundamental Theorem of Arithmetic Theorem 3 (UFT). Every integers n > 1 can be factored uniquely into a product of primes Note: By convention, primes are said to be a single element product.

Fundamental Theorem of Arithmetic - Existence Proof Assume towards a contradiction that not all numbers can be factored into a product of primes. By the Well Ordering Principle, there is a smallest such number say n. Then, either n is prime (a contradiction) or n is composite and we write n = ab where 1 < a, b < n. By the minimality of n, both of a and b must be able to be factored as a product of primes. This implies that n = ab can be factored into a product of primes, contradicting the definition of n. Hence every number can be factored into a product of prime numbers.

Fundamental Theorem of Arithmetic - Informal Uniqueness Proof Suppose that n can be factored in two distinct ways. Say n = p 1 p 2...p k = q 1 q 2...q m. Since p 1 p 1 p 2...p k = q 1 q 2...q m by the Generalized Euclid s Lemma (Generalized Primes and Divisibility), we see that p 1 q j for some j. By reordering if necessary, we may swap q 1 and q j in the order so that p 1 q 1. Hence, we can divide by p 1 to obtain p 2...p k = q 2...q m. Repeating this process shows that all the factors must match.