Discrete Mathematics & Mathematical Reasoning Induction

Similar documents
Discrete Mathematics & Mathematical Reasoning Induction

Section Summary. Proof by Cases Existence Proofs

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

Climbing an Infinite Ladder

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.

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

PRINCIPLE OF MATHEMATICAL INDUCTION

Exercises. Template for Proofs by Mathematical Induction

Mathematical Induction Assignments

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

Discrete Mathematics. Spring 2017

CSC 344 Algorithms and Complexity. Proof by Mathematical Induction

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

Mathematical Induction. Section 5.1

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

Discrete Mathematics & Mathematical Reasoning Predicates, Quantifiers and Proof Techniques

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

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

EECS 1028 M: Discrete Mathematics for Engineers

Sequences, their sums and Induction

Climbing an Infinite Ladder

Math Circle: Recursion and Induction

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

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

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

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.

INDUCTION AND RECURSION. Lecture 7 - Ch. 4

Induction and recursion. Chapter 5

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

1.2 The Well-Ordering Principle

Proof by Induction. Andreas Klappenecker

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

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

COMP232 - Mathematics for Computer Science

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

With Question/Answer Animations

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

CSE 20 DISCRETE MATH WINTER

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

Carmen s Core Concepts (Math 135)

CHAPTER 5. Section 5.1

PUTNAM TRAINING MATHEMATICAL INDUCTION. Exercises

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

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

Indistinguishable objects in indistinguishable boxes

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

n(n + 1). 2 . If n = 3, then 1+2+3=6= 3(3+1) . If n = 2, then = 3 = 2(2+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

Chapter 5: The Integers

Problems for Putnam Training

College of Charleston Math Meet 2017 Written Test Level 3

A. Propositional Logic

SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION

Solutions to Assignment 1

M381 Number Theory 2004 Page 1

3.1 Induction: An informal introduction

Section 4.2: Mathematical Induction 1

MADHAVA MATHEMATICS COMPETITION, December 2015 Solutions and Scheme of Marking

Lecture Overview. 2 Weak Induction

A guide to Proof by Induction

Induction and Recursion

Discrete Structures for Computer Science

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

Basic Proof Examples

Discrete Mathematics, Spring 2004 Homework 4 Sample Solutions

Mathematical Induction

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

Complete Induction and the Well- Ordering Principle

MTH135/STA104: Probability

Algorithmic Problem Solving. Roland Backhouse January 29, 2004

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

Example: Use a direct argument to show that the sum of two even integers has to be even. Solution: Recall that an integer is even if it is a multiple

1 The Basic Counting Principles

4.1 Induction: An informal introduction

Baltic Way 2003 Riga, November 2, 2003

2013 University of New South Wales School Mathematics Competition

Problem 1. Solve the equation 3 x + 9 x = 27 x. Solution: 3 x + 3 2x = 3 3x. Denote: y = 3 x, then. y + y 2 = y 3. y 3 y 2 y = 0. y(y 2 y 1) = 0.

First Digit Tally Marks Final Count

Mathematical Induction. EECS 203: Discrete Mathematics Lecture 11 Spring

Intermediate Math Circles March 11, 2009 Sequences and Series

Heaps Induction. Heaps. Heaps. Tirgul 6

Course: CS1050c (Fall '03) Homework2 Solutions Instructor: Prasad Tetali TAs: Kim, Woo Young: Deeparnab Chakrabarty:

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

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

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

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

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

Carmen s Core Concepts (Math 135)

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

Discrete Mathematics Exam File Spring Exam #1

SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION

The Foundations: Logic and Proofs. Chapter 1, Part III: Proofs

DISCRETE MATH: FINAL REVIEW

Discrete Mathematics and Probability Theory Fall 2013 Vazirani Note 1

{ 0! = 1 n! = n(n 1)!, n 1. n! =

EASY PUTNAM PROBLEMS

Discrete Mathematics. Spring 2017

Proofs Not Based On POMI

UNC Charlotte Super Competition Comprehensive Test Test with Solutions for Sponsors

Transcription:

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

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

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 / 11

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 / 11

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 / 11

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 / 11

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 / 11

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

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 / 11

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 / 11

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 / 11

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 / 11

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 / 11

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

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

Examples n j=1 j = n(n+1) 2 k j=0 ar j = ar k+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 / 11

Examples n j=1 j = n(n+1) 2 k j=0 ar j = ar k+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 / 11

Examples n j=1 j = n(n+1) 2 k j=0 ar j = ar k+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 > 1(n 3 n) is divisible by 3 Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 6 / 11

Examples n j=1 j = n(n+1) 2 k j=0 ar j = ar k+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 > 1(n 3 n) is divisible by 3 for all n N (7 n+2 + 8 2n+1 is divisible by 57) Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 6 / 11

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 / 11

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 horses have the same colour Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 7 / 11

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

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

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 8 / 11

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 8 / 11

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 9 / 11

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 10 / 11

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 11 / 11

Examples If n > 1 is an integer, then n can be written as a product of primes 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 11 / 11

Examples If n > 1 is an integer, then n can be written as a product of primes Prove that every amount of postage of 12p or more can be formed using just 4p and 5p stamps 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 11 / 11