Presentation is loading. Please wait.

Presentation is loading. Please wait.

CSE 321 Discrete Structures

Similar presentations


Presentation on theme: "CSE 321 Discrete Structures"— Presentation transcript:

1 CSE 321 Discrete Structures
Winter 2008 Lecture 12 Induction

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

3 Highlights from Lecture 11
Public Key Cryptography ALICE BOB

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

5 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)

6 … + 2n = 2n+1 - 1

7 Harmonic Numbers

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

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

10 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


Download ppt "CSE 321 Discrete Structures"

Similar presentations


Ads by Google