Discrete Mathematics & Mathematical Reasoning Induction

Similar documents
Discrete Mathematics & Mathematical Reasoning Induction

Section Summary. Proof by Cases Existence Proofs

Climbing an Infinite Ladder

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

CSC 344 Algorithms and Complexity. Proof by Mathematical Induction

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?

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

Mathematical Induction. Section 5.1

Math Circle: Recursion and Induction

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

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

PRINCIPLE OF MATHEMATICAL INDUCTION

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

Exercises. Template for Proofs by Mathematical Induction

INDUCTION AND RECURSION. Lecture 7 - Ch. 4

Mathematical Induction Assignments

Discrete Mathematics. Spring 2017

PUTNAM TRAINING MATHEMATICAL INDUCTION. Exercises

Mathematical Induction. Rosen Chapter 4.1,4.2 (6 th edition) Rosen Ch. 5.1, 5.2 (7 th edition)

Carmen s Core Concepts (Math 135)

Intermediate Math Circles March 11, 2009 Sequences and Series

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

With Question/Answer Animations

Discrete Mathematics & Mathematical Reasoning Predicates, Quantifiers and Proof Techniques

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

CSE 20 DISCRETE MATH WINTER

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

Induction and recursion. Chapter 5

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

Sequences, their sums and Induction

EECS 1028 M: Discrete Mathematics for Engineers

Lecture 3.2: Induction, and Strong Induction

Climbing an Infinite Ladder

Discrete Math in Computer Science Solutions to Practice Problems for Midterm 2

The candidates are advised that they must always show their working, otherwise they will not be awarded full marks for their answers.

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

Lecture Overview. 2 Weak Induction

A guide to Proof by 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.

1.2 The Well-Ordering Principle

Induction and Recursion

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

3.1 Induction: An informal introduction

1 True/False. Math 10B with Professor Stankova Worksheet, Discussion #9; Thursday, 2/15/2018 GSI name: Roy Zhao

Proof by Induction. Andreas Klappenecker

Computer Science Foundation Exam

Mathematical Reasoning Rules of Inference & Mathematical Induction. 1. Assign propositional variables to the component propositional argument.

At the start of the term, we saw the following formula for computing the sum of the first n integers:

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

COMP232 - Mathematics for Computer Science

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

Problem Set 5 Solutions

SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction

CHAPTER 5. Section 5.1

1. Consider the conditional E = p q r. Use de Morgan s laws to write simplified versions of the following : The negation of E : 5 points

Baltic Way 2003 Riga, November 2, 2003

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

Discrete Mathematics. Spring 2017

Discrete Structures for Computer Science

Indistinguishable objects in indistinguishable boxes

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

4.1 Induction: An informal introduction

Chapter 5.1: Induction

High School Math Contest University of South Carolina. February 1, 2014

14 - PROBABILITY Page 1 ( Answers at the end of all questions )

Subtraction games. Chapter The Bachet game

Mathematical Induction. How does discrete math help us. How does discrete math help (CS160)? How does discrete math help (CS161)?

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

College of Charleston Math Meet 2017 Written Test Level 3

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

CHAPTER 4 SOME METHODS OF PROOF

Problems for Putnam Training


Unit I (Logic and Proofs)

SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION

Solutions to Assignment 1

M381 Number Theory 2004 Page 1

MADHAVA MATHEMATICS COMPETITION, December 2015 Solutions and Scheme of Marking

Steinhardt School of Culture, Education, and Human Development Department of Teaching and Learning. Mathematical Proof and Proving (MPP)

Mathathon Round 1 (2 points each)

What can you prove by induction?

Section 4.2: Mathematical Induction 1

Strong Induction (Second Principle) Example: There are two piles of cards, players take turn: each turn: one player removes any number of cards from

Algorithmic Problem Solving. Roland Backhouse January 29, 2004

EXAMINATIONS OF THE ROYAL STATISTICAL SOCIETY (formerly the Examinations of the Institute of Statisticians) HIGHER CERTIFICATE IN STATISTICS, 1996

Chapter 8 Sequences, Series, and Probability

Mathematics for Computer Science Exercises for Week 10

Proof. Theorems. Theorems. Example. Example. Example. Part 4. The Big Bang Theory

Discrete Mathematics, Spring 2004 Homework 4 Sample Solutions

Finite and Infinite Sets

Coimisiún na Scrúduithe Stáit State Examinations Commission. Leaving Certificate Examination Mathematics

Mathematics 228(Q1), Assignment 2 Solutions

Math Assignment 11

MTH135/STA104: Probability

Mathematical Induction

Basic Proof Examples

Recursive Definitions

1 The Basic Counting Principles

Example 1: Identifying the Parts of a Conditional Statement

Transcription:

Discrete Mathematics & Mathematical Reasoning Induction Colin Stirling Informatics Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 1 / 12

Another proof method: Mathematical Induction n N (P(n)) Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 2 / 12

Another proof method: Mathematical Induction BASIS STEP n N (P(n)) show P(0) Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 2 / 12

Another proof method: Mathematical Induction BASIS STEP n N (P(n)) show P(0) INDUCTIVE STEP show P(k) P(k + 1) for all k N Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 2 / 12

Another proof method: Mathematical Induction BASIS STEP n N (P(n)) show P(0) INDUCTIVE STEP show P(k) P(k + 1) for all k N Assume k is arbitrary and P(k) is true. Show P(k + 1) Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 2 / 12

Another proof method: Mathematical Induction BASIS STEP n Z + (P(n)) show P(1) INDUCTIVE STEP show P(k) P(k + 1) for all k Z + Assume k is arbitrary and P(k) is true. Show P(k + 1) Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 3 / 12

Another proof method: Mathematical Induction BASIS STEP n m N (P(n)) show P(m) INDUCTIVE STEP show P(k) P(k + 1) for all k m N Assume k m is arbitrary and P(k) is true. Show P(k + 1) Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 4 / 12

Another proof method: Mathematical Induction n Q + (P(n)) Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 5 / 12

Another proof method: Mathematical Induction n Q + (P(n)) Can we use induction? Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 5 / 12

Another proof method: Mathematical Induction n Q + (P(n)) Can we use induction? x R + (P(x)) Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 5 / 12

Another proof method: Mathematical Induction n Q + (P(n)) Can we use induction? x R + (P(x)) Can we use induction? Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 5 / 12

Another proof method: Mathematical Induction n Q + (P(n)) Can we use induction? x R + (P(x)) Can we use induction? What justifies mathematical induction? Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 5 / 12

Another proof method: Mathematical Induction n Q + (P(n)) Can we use induction? x R + (P(x)) Can we use induction? What justifies mathematical induction? Well ordering principle: every nonempty set S N has a least element Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 5 / 12

Examples n j = j=1 n(n + 1) 2 Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 6 / 12

Examples n j = j=1 n(n + 1) 2 n j=0 ar j = ar n+1 a r 1 when r 1 Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 6 / 12

Examples n j = j=1 n(n + 1) 2 n j=0 ar j = ar n+1 a r 1 when r 1 for all n Z + (n < 2 n ) Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 6 / 12

Examples n j = j=1 n(n + 1) 2 n j=0 ar j = ar n+1 a r 1 when r 1 for all n Z + (n < 2 n ) for all integers n 4, 2 n < n! Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 6 / 12

Examples n j = j=1 n(n + 1) 2 n j=0 ar j = ar n+1 a r 1 when r 1 for all n Z + (n < 2 n ) for all integers n 4, 2 n < n! for all n Z + ((n 3 n) is divisible by 3) Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 6 / 12

Examples n j = j=1 n(n + 1) 2 n j=0 ar j = ar n+1 a r 1 when r 1 for all n Z + (n < 2 n ) for all integers n 4, 2 n < n! for all n Z + ((n 3 n) is divisible by 3) If S is a finite set with n elements then P(S) contains 2 n elements Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 6 / 12

More examples Odd Pie Fights An odd number of people stand in a room at mutually distinct distances. At the same time each person throws a pie at their nearest neighbour and hits them. Prove that at least one person is not hit by a pie Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 7 / 12

More examples Odd Pie Fights An odd number of people stand in a room at mutually distinct distances. At the same time each person throws a pie at their nearest neighbour and hits them. Prove that at least one person is not hit by a pie All cats have the same colour Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 7 / 12

Two cats with different colours Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 8 / 12

Strong Induction n N (P(n)) Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 9 / 12

Strong Induction BASIS STEP n N (P(n)) show P(0) Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 9 / 12

Strong Induction BASIS STEP n N (P(n)) show P(0) INDUCTIVE STEP show (P(0)... P(k)) P(k + 1) for all k N Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 9 / 12

Strong Induction BASIS STEP n N (P(n)) show P(0) INDUCTIVE STEP show (P(0)... P(k)) P(k + 1) for all k N Assume k is arbitrary and P(0),..., P(k) are true. Show P(k + 1) Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 9 / 12

Strong Induction BASIS STEP n Z + (P(n)) show P(1) INDUCTIVE STEP show (P(1)... P(k)) P(k + 1) for all k Z + Assume k is arbitrary and P(1),..., P(k) are true. Show P(k + 1) Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 10 / 12

Strong Induction BASIS STEP n m N (P(n)) show P(m) INDUCTIVE STEP show (P(m)... P(k)) P(k + 1) for all k m N Assume k m is arbitrary and P(m),..., P(k) are true. Show P(k + 1) Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 11 / 12

Examples If n > 1 is an integer, then n can be written as a product of primes Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 12 / 12

Examples If n > 1 is an integer, then n can be written as a product of primes Game of matches. Two players take turns removing any positive number of matches they want from one of two piles of matches. The player who removes the last match wins the game. Show that if the two piles contain the same number of matches initially then the second player can guarantee a win Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 12 / 12

Examples If n > 1 is an integer, then n can be written as a product of primes Game of matches. Two players take turns removing any positive number of matches they want from one of two piles of matches. The player who removes the last match wins the game. Show that if the two piles contain the same number of matches initially then the second player can guarantee a win If n 3 then f n > α n 2 (where f n is the nth term of the Fibonacci series and α = (1 + 5)/2) Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 12 / 12

Examples If n > 1 is an integer, then n can be written as a product of primes Game of matches. Two players take turns removing any positive number of matches they want from one of two piles of matches. The player who removes the last match wins the game. Show that if the two piles contain the same number of matches initially then the second player can guarantee a win If n 3 then f n > α n 2 (where f n is the nth term of the Fibonacci series and α = (1 + 5)/2) Prove that every amount of postage of 12p or more can be formed using just 4p and 5p stamps Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 12 / 12