Discrete Mathematics. Spring 2017

Similar documents
Climbing an Infinite Ladder

Climbing an Infinite Ladder

Mathematical Induction. Section 5.1

INDUCTION AND RECURSION. Lecture 7 - Ch. 4

Mathematical Induction Assignments

CSC 344 Algorithms and Complexity. Proof by Mathematical Induction

Mathematical Induction. EECS 203: Discrete Mathematics Lecture 11 Spring

Problem Set 5 Solutions

CSE373: Data Structures and Algorithms Lecture 2: Proof by Induction. Linda Shapiro Spring 2016

With Question/Answer Animations

Chapter Summary. Mathematical Induction Strong Induction Well-Ordering Recursive Definitions Structural Induction Recursive Algorithms

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

Induction and recursion. Chapter 5

Discrete Mathematics. Spring 2017

Induction and Recursion

Complete Induction and the Well- Ordering Principle

PRINCIPLE OF MATHEMATICAL 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.

Mathematical Induction

Discrete Math, Spring Solutions to Problems V

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

Mathematical Induction

CSE373: Data Structures and Algorithms Lecture 2: Proof by Nicki Dell Spring 2014

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

Lecture 3.2: Induction, and Strong Induction

CSE 311: Foundations of Computing. Lecture 14: Induction

Sum of Squares. Defining Functions. Closed-Form Expression for SQ(n)

Conjectures and proof. Book page 24-30

Math 3000 Section 003 Intro to Abstract Math Homework 6

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

Discrete Structures - CM0246 Mathematical Induction

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

Mathematical Induction Again

Mathematical Induction Again

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

Section 4.2: Mathematical Induction 1

COMP232 - Mathematics for Computer Science

Carmen s Core Concepts (Math 135)

C241 Homework Assignment 7

SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION

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

A guide to Proof by Induction

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

Induction. Announcements. Overview. Defining Functions. Sum of Squares. Closed-form expression for SQ(n) There have been some corrections to A1

CSE 20 DISCRETE MATH SPRING

MTHSC 3190 Section 2.9 Sets a first look

MTH 3318 Solutions to Induction Problems Fall 2009

Direct Proof Universal Statements

Proofs Not Based On POMI

1.2 The Well-Ordering Principle

Mathematical Induction

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

MATH 55 - HOMEWORK 6 SOLUTIONS. 1. Section = 1 = (n + 1) 3 = 2. + (n + 1) 3. + (n + 1) 3 = n2 (n + 1) 2.

M381 Number Theory 2004 Page 1

M17 MAT25-21 HOMEWORK 6

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

Homework 4, 5, 6 Solutions. > 0, and so a n 0 = n + 1 n = ( n+1 n)( n+1+ n) 1 if n is odd 1/n if n is even diverges.

Consider an infinite row of dominoes, labeled by 1, 2, 3,, where each domino is standing up. What should one do to knock over all dominoes?

MATH10040: Numbers and Functions Homework 1: Solutions

Mathematical Induction

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

Sequences & Mathematical Induction

Math 283 Spring 2013 Presentation Problems 4 Solutions

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

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

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

Any Wizard of Oz fans? Discrete Math Basics. Outline. Sets. Set Operations. Sets. Dorothy: How does one get to the Emerald City?

PRINCIPLE OF MATHEMATICAL INDUCTION

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction

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

Proofs Not Based On POMI

Math.3336: Discrete Mathematics. Mathematical Induction

Exercises. Template for Proofs by Mathematical Induction

MATHEMATICAL INDUCTION

Mathematical Induction

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

Homework #1. Denote the sum we are interested in as To find we subtract the sum to find that

Use mathematical induction in Exercises 3 17 to prove summation formulae. Be sure to identify where you use the inductive hypothesis.

Summer HSSP Week 1 Homework. Lane Gunderman, Victor Lopez, James Rowan

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

Solutions to Homework Set 1

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

21 Induction. Tom Lewis. Fall Term Tom Lewis () 21 Induction Fall Term / 14

Total score: /100 points

EECS 1028 M: Discrete Mathematics for Engineers

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

Basic Proof Examples

1 Examples of Weak Induction

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

Appendix G: Mathematical Induction

Discrete Mathematics for CS Spring 2008 David Wagner Note 4

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

Chapter 5: The Integers

1.1 Inductive Reasoning filled in.notebook August 20, 2015

CS173 Lecture B, September 10, 2015

Lecture 2: Proof Techniques Lecturer: Lale Özkahya

COM S 330 Lecture Notes Week of Feb 9 13

Announcements. CS243: Discrete Structures. Sequences, Summations, and Cardinality of Infinite Sets. More on Midterm. Midterm.

Sums of Squares. Bianca Homberg and Minna Liu

Homework 3 Solutions, Math 55

Transcription:

Discrete Mathematics Spring 2017

Previous Lecture Principle of Mathematical Induction Mathematical Induction: rule of inference Mathematical Induction: Conjecturing and Proving

Climbing an Infinite Ladder

Principle of Mathematical Induction Principle of Mathematical Induction: To prove that P(n) is true for all positive integers n, we complete these steps: Basis Step: Show that P(1) is true Inductive Step: Show that P(k) P(k + 1) is true for all positive integers k To complete the inductive step, assuming the inductive hypothesis that P(k) holds for an arbitrary integer k, show that must P(k + 1) be true

Climbing an Infinite Ladder Example: BASIS STEP: By (1), we can reach rung 1 INDUCTIVE STEP: Assume the inductive hypothesis that we can reach rung k. Then by (2), we can reach rung k + 1 Hence, P(k) P(k + 1) is true for all positive integers k. We can reach every rung on the ladder

Mathematical Induction: rule of inference Mathematical induction can be expressed as the rule of inference where the domain is the set of positive integers In a proof by mathematical induction, we dont assume that P(k) is true for all positive integers! We show that if we assume that P(k) is true, then P(k + 1) must also be true Proofs by mathematical induction do not always start at the integer 1. In such a case, the basis step begins at a starting point b where b is an integer. We will see examples of this later

Mathematical Induction: Domino Principle

Mathematical Induction: Proving a Summation Formula Example: Show that n i=1 i = n(n+1) 2 Solution: BASIS STEP: P(1) is true since 1(1 + 1)/2 = 1 INDUCTIVE STEP: Assume true for P(k). k i=1 i = k(k+1) Under this assumption, 1 + 2 + + k + (k + 1) = k(k+1) 2 + (k + 1) = k(k+1)+2(k+1) (k+1)(k+2) 2 2. 2 =

Mathematical Induction: Conjecturing and Proving Correct a Summation Formula Example: Conjecture and prove correct a formula for the sum of the first n positive odd integers. Then prove your conjecture Solution: We have: 1 = 1, 1 + 3 = 4, 1 + 3 + 5 = 9, 1 + 3 + 5 + 7 = 16, 1 + 3 + 5 + 7 + 9 = 25 We can conjecture that the sum of the first n positive odd integers is n 2 We prove the conjecture is correct with mathematical induction BASIS STEP: P(1) is true since 1 2 = 1 INDUCTIVE STEP: P(k) P(k + 1) for every positive integer k

Mathematical Induction: Conjecturing and Proving Correct a Summation Formula Assume the inductive hypothesis holds and then show that P(k + 1) holds as well Assuming P(k) it follows that: 1 + 3 + 5 + + (2k 1) + (2k + 1) = [1 + 3 + 5 + + (2k 1)] + (2k + 1) = k 2 + (2k + 1) (by the inductive hypothesis) = k 2 + 2k + 1 = (k + 1) 2 Hence, we have shown that P(k + 1) follows from P(k). Therefore the sum of the first n positive odd integers is n 2.

Mathematical Induction: Proving Inequalities Example: Use mathematical induction to prove that n < 2 n for all positive integers n Solution: Let P(n) be the proposition that n < 2 n BASIS STEP: P(1) is true since 1 < 2 1 = 2 INDUCTIVE STEP: Assume P(k) holds, i.e., k < 2 k, for an arbitrary positive integer k Must show that P(k + 1) holds. Since by the inductive hypothesis, k < 2 k, it follows that: k + 1 < 2 k + 1 2 k + 2 k = 2 2 k = 2 k+1 Therefore n < 2 n holds for all positive integers n

Mathematical Induction: Proving Inequalities Example: Use mathematical induction to prove that 2 n < n! for every integer n 4 Solution: Let P(n) be the proposition that 2 n < n!. BASIS STEP: P(4) is true since 2 4 = 16 < 4! = 24 INDUCTIVE STEP: Assume P(k) holds, i.e., 2 k < k!, for an arbitrary positive integer k 4. To show that P(k + 1) holds: 2 k+1 = 2 2 k < 2 k! (by the inductive hypothesis) < (k + 1)k! = (k + 1)! Therefore 2 n < n! holds for every integer n 4

Mathematical Induction: Proving Divisibility Results Example: Use mathematical induction to prove that n 3 n is divisible by 3, for every positive integer n Solution: Let P(n) be the proposition that n 3 n is divisible by 3. BASIS STEP: P(1) is true since 1 3 1 = 0, which is divisible by 3 INDUCTIVE STEP: Assume P(k) holds, i.e., k 3 k is divisible by 3, for an arbitrary positive integer k. To show that P(k + 1) follows: (k + 1) 3 (k + 1) = (k 3 + 3k 2 + 3k + 1) (k + 1) = (k 3 k) + 3(k 2 + k) By the inductive hypothesis, the first term (k 3 k) is divisible by 3 and the second term is divisible by 3 since it is an integer multiplied by 3. Therefore, n 3 n is divisible by 3, for every integer positive integer n

Mathematical Induction: Number of Subsets of a Finite Set Example: Use mathematical induction to show that if S is a finite set with n elements, where n is a nonnegative integer, then S has 2 n subsets Solution: Let P(n) be the proposition that a set with n elements has 2 n subsets BASIS STEP: P(0) is true because the empty set has only itself as a subset and 2 0 = 1 INDUCTIVE STEP: Assume P(k) is true for an arbitrary nonnegative integer k

Mathematical Induction: Number of Subsets of a Finite Set Let T be a set with k + 1 elements. Then T = S {a}, where a T and S = T {a}. Hence S = k For each subset X of S, there are exactly two subsets of T, i.e., X and X {a} By the inductive hypothesis S has 2 k subsets. Since there are two subsets of T for each subset of S, the number of subsets of T is 2 2 k = 2 k+1

Homework for practice (not graded) Exercises from the Book: Section 5.1: Exercises 4, 6, 8, 10, 12