discrete problems - center for lifelong learning & design...
Post on 23-May-2018
215 Views
Preview:
TRANSCRIPT
Let’s get started…
Mr. Smith and his wife invited four other couples for aparty. When everyone arrived, some of the people in theroom shook hands with some of the others. Of course,nobody shook hands with their spouse and nobody shookhands with the same person twice.
After that, Mr. Smith asked everyone how many times theyshook someone’s hand. He received different answers fromeverybody.
How many times did Mrs. Smith shake someone’s hand?
Administrivia • Class Website:!http://l3d.cs.colorado.edu/~ctg/classes/struct12/Home.html
• Textbook:!Ensley and Crawley, Discrete Mathematics!Polya, How to Solve It!
•Prerequisites:!Mathematical fearlessness; or if not that, a willingness to cultivate
it!
• Assignments/Grading:!5 problem sets (60 %),final exam (25%), problem projects (15%)!
!
Converging on a description…
• Things that aren’t calculus (or more generally, things that don’t involve infinitesimals)
• A grab-bag of topics: logic, combinatorics, number theory, graph theory, set theory
Polya’s Strategies
• Guess and check • Make an orderly list • Consider special or extreme cases • Draw a picture • Solve a simpler problem
Polya’s Strategies
• Guess and check • Make an orderly list • Consider special or extreme cases • Draw a picture • Solve a simpler problem • Write a program! (Not in Polya’s original
list…)
Heuristics
• Analogy: can you find a related (or simpler) problem and solve that?
• Working backward: what happens if you start with the goal?
• Decomposition: Can you rope off and solve a part of the problem?
• Solving again: Once you’ve solved a problem, suppose you try approaching it an entirely different way?
A Graph Theory Problem
• Imagine that we have a gathering of six people, some of whom know each other and some of whom do not. Show that there must be a trio of people who are mutual friends or who are mutually unknown to each other.
A Counting Problem
• Suppose we have an N-bit word (a word consisting of N elements, each “0” or “1”). How many distinct such words are there?
• How many distinct N-bit words are there which do not have two consecutive 0’s?
A Number Problem
• Lockers numbered 1 to 100 stand in a row at the school gym. When the first student arrives, she opens all the lockers. The second student then goes through and recloses all the even-numbered lockers; the third student changes the state of every locker whose number is a multiple of 3. This continues until 100 students have passed through. Which lockers are now open? – From P. Winkler, Mathematical Puzzles
Playing
There are three Styrofoam cups on the table. Imagine thatyou have eleven coins, and your job is to place all the coins in thecups so that there is an odd number of coins inside each cup.
No great difficulty doing this: you could put 7 coins, 3, and 1 in thethree cups, respectively.
Now, suppose you have ten coins. Can you place all the coins in thecups so that each cup contains an odd number of coins?
-- based on Gardner, "Aha! Insight"
top related