CSE 321 Discrete Structures

Slides:



Advertisements
Similar presentations
Extensible Networking Platform CSE 240 – Logic and Discrete Mathematics Review: Mathematical Induction Use induction to prove that the sum of the.
Advertisements

Induction and recursion
CSE 321 Discrete Structures Winter 2008 Lecture 12 Induction.
Copyright © Cengage Learning. All rights reserved.
CSE 20 Lecture 12 Induction CK Cheng 1. Induction Outlines Introduction Theorem Examples: The complexity calculation – Tower of Hanoi – Merge Sort – Fibonacci.
Lecture 3.1: Mathematical Induction CS 250, Discrete Structures, Fall 2014 Nitesh Saxena Adopted from previous lectures by Cinda Heeren, Zeph Grunschlag.
CSNB143 – Discrete Structure Topic 5 – Induction Part I.
CSE373: Data Structures and Algorithms Lecture 2b: Proof by Induction and Powers of Two Nicki Dell Spring 2014.
Introduction to Proofs
Section 1.8. Section Summary Proof by Cases Existence Proofs Constructive Nonconstructive Disproof by Counterexample Nonexistence Proofs Uniqueness Proofs.
CSE 311 Foundations of Computing I Lecture 15 Recursive Definitions and Structural Induction Autumn 2011 CSE 3111.
CSE 311 Foundations of Computing I Lecture 16 Recursively Defined Sets and Structural Induction Spring
Discrete Maths: Induction/1 1 Discrete Maths Objective – –to introduce mathematical induction through examples , Semester
Crystal Bennett Joshua Chukwuka Advisor: Dr. K. Berg.
Chapter Mathematical Induction 4.2 Strong Induction and Well-Ordering 4.3 Recursive Definitions and Structural Induction 4.4 Recursive Algorithms.
CompSci 102 Discrete Math for Computer Science March 1, 2012 Prof. Rodger Slides modified from Rosen.
Induction & Recursion Weiss: ch 7.1. Recursion –a programming strategy for solving large problems –Think “divide and conquer” –Solve large problem by.
CSE 321 Discrete Structures Winter 2008 Lecture 5 Rules of Inference.
CSE373: Data Structures and Algorithms Lecture 2: Proof by Induction Linda Shapiro Winter 2015.
Mathematical Induction
CS Discrete Mathematical Structures Mehdi Ghayoumi MSB rm 132 Ofc hr: Thur, 9:30-11:30a.
Chapter 5. Section 5.1 Climbing an Infinite Ladder Suppose we have an infinite ladder: 1.We can reach the first rung of the ladder. 2.If we can reach.
More Induction Discrete Structures (CS 173) Madhusudan Parthasarathy, University of Illinois 1 A Pork-Butchers Shop Seen from a Window Van Gogh.
CSE 311 Foundations of Computing I Lecture 8 Proofs Autumn 2011 CSE 3111.
CSE 311 Foundations of Computing I Lecture 8 Proofs Autumn 2012 CSE
03/05/13 More Induction Discrete Structures (CS 173) Derek Hoiem, University of Illinois 1 Artist: Frank.
9/29/2011Lecture Strong Induction1 Lecture 3.2: Strong Induction CS 250, Discrete Structures, Fall 2011 Nitesh Saxena *Adopted from previous lectures.
1 Discrete Mathematical Mathematical Induction ( الاستقراء الرياضي )
Induction and Recursion CSC-2259 Discrete Structures Konstantin Busch - LSU1.
CSE 311 Foundations of Computing I Lecture 15 Strong Induction and Recursive Definitions Spring
Mathematical Induction EECS 203: Discrete Mathematics Lecture 11 Spring
COMP 170 L2 Page 1 Review for Midterm 2 Part II: Number Theory and Cryptography L06: RSA Part III: Logic L07, L08, L09 Part IV: Induction and Recurrence.
9/27/2011 Lecture Mathematical Induction1 Lecture 3.1: Mathematical Induction* CS 250, Discrete Structures, Fall 2011 Nitesh Saxena *Adopted from.
Induction (chapter of the book and chapter of the notes)
Hubert Chan (Chapters 1.6, 1.7, 4.1)
CSE 311 Foundations of Computing I
CSE 311 Foundations of Computing I
CS2210:0001Discrete Structures Induction and Recursion
CSE 311 Foundations of Computing I
CSE 311: Foundations of Computing
Methods of Proof A mathematical theorem is usually of the form pq
Hubert Chan (Chapters 1.6, 1.7, 4.1)
Mathematical Induction
Chapter 5 Induction and Recursion
CSE 311: Foundations of Computing
Induction and recursion
CSE 311 Foundations of Computing I
CSE 321 Discrete Structures
CSE 311: Foundations of Computing
Exercise Use mathematical induction to prove the following formula.
CSE 311: Foundations of Computing
Lecture 3.2: Induction, and Strong Induction
CSE 321 Discrete Structures
Lecture 3.2: Induction and Strong Induction (contd.)
CSE 321 Discrete Structures
Lecture 3.2: Induction, and Strong Induction
Lecture 3.2: Induction, and Strong Induction
CSE 321 Discrete Structures
Lecture 3.1: Mathematical Induction
CSE 321 Discrete Structures
Proof by Induction L.O. All pupils understand proof by induction
CSE 321 Discrete Structures
Richard Anderson Winter 2019 Lecture 2
CSE 321 Discrete Structures
CSE 321 Discrete Structures
CSE 321 Discrete Structures
CSE 311 Foundations of Computing I
Lecture 3.1: Mathematical Induction
CSE 311 Foundations of Computing I
CSE 311 Foundations of Computing I
Presentation transcript:

CSE 321 Discrete Structures Winter 2008 Lecture 12 Induction

Announcements Readings Monday, Wednesday Midterm: Induction and recursion 4.1-4.3 (5th Edition: 3.3-3.4) Midterm: Friday, February 8 In class, closed book Estimated grading weight: MT 12.5%, HW 50%, Final 37.5%

Highlights from Lecture 11 Public Key Cryptography ALICE BOB

Induction Example Prove 3 | 22n -1 for n  0 Examples to show its true P(k)  P(k+1)

Induction as a rule of Inference P(0)  k (P(k)  P(k+1))   n P(n) Formal steps Show P(0) Assume P(k), Prove P(k+1), Conclude P(k) P(k+1) Conclude  k (P(k) P(k+1)) Conclude  n P(n)

1 + 2 + 4 + … + 2n = 2n+1 - 1

Harmonic Numbers

Cute Application: Checkerboard Tiling with Trinominos Prove that a 2k  2k checkerboard with one square removed can be tiled with:

Strong Induction P(0)  k ((P(0)  P(1)  P(2)  …  P(k))  P(k+1))   n P(n)

Player 1 wins n  2 Chomp! Winning strategy: chose the lower corner square Theorem: Player 2 loses when faced with an n  2 board missing the lower corner square