discrete structures
play

Discrete Structures A flavour Bridges of Knigsberg Cross each - PDF document

IIT Bombay :: Autumn 2020 :: CS 207 :: Discrete Structures :: Manoj Prabhakaran (Introduction to Mind Bending) Discrete Structures A flavour Bridges of Knigsberg Cross each bridge exactly once ?! Is it impossible? How do we know for sure?


  1. IIT Bombay :: Autumn 2020 :: CS 207 :: Discrete Structures :: Manoj Prabhakaran (Introduction to Mind Bending) Discrete Structures A flavour

  2. Bridges of Königsberg Cross each bridge exactly once ?! Is it impossible? How do we know for sure?

  3. Bridges of Königsberg Cross each bridge exactly once Is it impossible? How do we know for sure?

  4. Discrete Stuff Graphs (maps, friendships, www…) Patterns, Symmetry Numbers Logic, reasoning (Discrete) Algorithms Digital computers...

  5. Pigeonholes & Parties Suppose you go to a party and there is a game: How many of your “friends” are at the party? (Everyone who goes to the party has at least one person there that he/she counts as a friend.) There will be at least two who have the same number of friends at the party! But Why?

  6. Pigeonholes & Parties Suppose you go to a party and there is a game: How many of your “friends” are at the party? (Everyone who goes to the party has at least one person there that he/she counts as a friend.) There will be at least two who have the same number of friends at the party! If there are 4 people in the party, for each person, the number of friends at the party is 1, 2 or 3. There are 4 of you, and everyone needs to pick a number. There are only 3 numbers to pick from...

  7. The Pigeonhole Principle If there are more pigeons than pigeonholes, then at least one pigeonhole will have more than one pigeon in it

  8. Pigeonholes & Parties So again, suppose you go to a party and there is a game: How many of your “friends” are at the party? (Everyone who goes to the party has at least one person there that he/she counts as a friend.) There will be at least two who have the same number of friends at the party! Point to ponder Suppose friendships are always reciprocated. Then can you show that the claim holds even if not everyone has a friend at the party?

  9. The Skippy Clock 13 0 12 1 Has 13 hours on its dial! 11 2 Needle moves two hours at a time 10 3 9 4 Which all numbers will the needle 8 5 reach? 7 6 Reaches all of them! Points to ponder What if the clock had 12 hours? What if the needle moved 5 hours at a time?

  10. Topics to be covered Bounding Recursion big-O Trees Induction Counting Numbers and Graphs patterns therein Basic tools for expressing ideas Logic, Proofs, Sets, Relations, Functions

Recommend


More recommend