1 / 82

Problem Solving: Where does the “aha!” come from?

Problem Solving: Where does the “aha!” come from?. A volunteer, please. Martial Arts 101. The novice makes a huge motion The black belt makes a small motion The master makes a tiny motion. Violin, piano, tennis, magic, programming, singing, . . . The novice makes a huge motion

feleti
Download Presentation

Problem Solving: Where does the “aha!” come from?

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Problem Solving:Where does the “aha!” come from?

  2. A volunteer, please.

  3. Martial Arts 101 • The novice makes a hugemotion • The black belt makes a small motion • The master makes a tiny motion

  4. Violin, piano, tennis, magic, programming, singing, . . . • The novice makes a hugemotion • The black belt makes a small motion • The master makes a tiny motion

  5. This is also true in mental activities.

  6. Scanning The Masters • The better the problem solver, the less brain activity is evident. The real masters show almost no brain activity! Simple and to the point

  7. Even Geniuses Think in Small Steps • Even the smartest people have limited brains that work with simple representations and pictures.

  8. Less is More • The root of effective thinking, effective science, effective mathematics, effective engineering is to keep the issues simple.

  9. Keep It Simple • The expert represents his/her state as simply as possible.

  10. A volunteer, please.

  11. Relax …….

  12. Relax, I am just going to ask you a Microsoft interview question.

  13. Do You Understand The Question? • Four guys want to cross a bridge that can only hold two people ay one time. It is pitch dark and they only have one flashlight, so people must cross either alone or in pairs (bringing the flashlight). Their walking speeds allow them to cross in 1, 2, 5, and 10 minutes, respectively. Is it possible for them to all cross in 17 minutes?

  14. You have one minute to solve this problem • Four guys want to cross a bridge that can only hold two people ay one time. It is pitch dark and they only have one flashlight, so people must cross either alone or in pairs (bringing the flashlight). Their walking speeds allow them to cross in 1, 2, 5, and 10 minutes, respectively. Is it possible for them to all cross in 17 minutes?

  15. So what is the answer? • Four guys want to cross a bridge that can only hold two people ay one time. It is pitch dark and they only have one flashlight, so people must cross either alone or in pairs (bringing the flashlight). Their walking speeds allow them to cross in 1, 2, 5, and 10 minutes, respectively. Is it possible for them to all cross in 17 minutes?

  16. Intuitive, But False • “10 + 5 + 2 + 1 = 18, so the four guys just can’t cross in 17 minutes” • “Even if the fastest guy is the one to shuttle the others back and forth – you use at least 10 + 5 + 2 + 1 > 17 minutes”

  17. Vocabularize Self-Proofing • As you talk to yourself, make sure to tag assertions with phrases that denote degrees of conviction.

  18. Keep track of what you actually know – remember what you merely suspect. • “10 + 5 + 2 + 1 = 18, so it would be weird if the four guys could cross in 17 minutes” • “even If we use the fastest guy to shuttle the others, they take too long.”

  19. Over This Semester… • Develop stock phrases to classify statements. Learn from experience and eliminate ambiguous or misleading phrases like “Even if”.

  20. Keep track of what you actually know – remember what you merely suspect. • “10 + 5 + 2 + 1 = 18, so it would be weird if the four guys could cross in 17 minutes” • “even If we use the fastest guy to shuttle the others, they take too long.”

  21. If it is possible, there must be more than one guy doing the return trips: it must be that someone gets deposited on one side and comes back for the return trip later!

  22. Suppose we leave 1 for a return trip later. • We start with 1 and X and then X returns. Total time: 2X. • Thus, we start with 1,2 go over and 2 comes back….

  23. 2 1 • 1 • 1 5 10 • 5 10 • 1 2 5 10 • 1 2 5 10 • 5 10 • 5 10 • 2 • 1 2

  24. 5 and 10“Load Balancing”: • Handle our hardest work loads in parallel! Work backwards by assuming 5 and 10 walk together.

  25. 2 1 • 1 • 15 10 • 5 10 • 1 2 5 10 • 1 25 10 • 5 10 • 2 5 10 • 2 • 1 2

  26. Words To The Wise • Keep It Simple • Don’t Fool Yourself

  27. CERTAINTY AND COMPOSITION • Mathematical statements and inferences are CERTAIN – they compose to make arbitrarily long and completely correct CHAINS of DEDUCTIVE reasoning. • Intuitions are fantastic, but don’t necessarily build on each other inductively to make correct statements. INTUITION are ENABLING, but they are only approximate.

  28. Know Yang from Yin

  29. Yang “male” “left” brain Your “what do I really know for sure?” – mathematical, logical, and unambiguous mind Yin “female” “left” brain Your intuitive, associative, narrative, conjectural mind. Know Yang from Yin

  30. Yang “male” “left” brain Your “what do I really know for sure?” – mathematical, logical, and unambiguous mind COMPOSITION: Logic composes to make arbitrarily long chains of correct reasoning. Virtue of Yang

  31. A SENSE OF DORECTION Yin provides a framing story in which possible choices and goals can be discovered and evaluated. Virtue of Yin • Yin “female” • “left” brain • Your intuitive, associative, narrative, conjectural mind.

  32. Yin and Yang Together • YIN Frame an intuitive story. • YANGify the story so far • By giving the right qualifiers • Make unambiguous statements • Prove Lemmas using previous lemmas. • YIN – continue the story using intuitions. • YAGify the story…

  33. As you move back and forth from Yin to Yang a river of fruitful creativity will flow from your mind.

  34. That really was a Microsoft question. • Why do you think that they ask such questions, as opposed to asking for a piece of code to do binary search?

  35. The future belongs to the computer scientist who has • Content: An up to date grasp of fundamental problems and solutions • Method: Principles and techniques to solve the vast array of unfamiliar problems that arise in a rapidly changing field

  36. www.discretemath.com • Content: An up to date grasp of fundamental problems and solutions • Method: Principles and techniques to solve the vast array of unfamiliar problems that arise in a rapidly changing field

  37. Content, i.e., definitions, formulas, recipes, standard manipulations, I can handle! “Method” is intimidating. What if, the plain and simple truth is that, I am not that smart? Don’t jump to unwarranted conclusions! Clever and resourceful problem solving is a skill that can be taught and refined.

  38. Yeah, but I knows lots of people who don’t need a lecture on problem solving methods. Brilliance just comes to them. So you are not a natural? – What of it? – Some world class tennis players did not start as natural backhanders. They had to be coached and developed.

  39. Bonzo, I don’t pretend to know the nature of your potential, but I am sure that if you study, practice, and refine your problem solving skills, you will become massively better at it than you are now.

  40. I get it! I can’t possibly know the capacities of my brain hardware, until I have appropriately reprogrammed my brain software.

  41. Aha! I know where the “aha!” comes from!

  42. Yin/Yang • Representation • Induction • Modularity • Exemplification • Improvement • Abstraction • Toolkit

  43. Representation:Understand the relationship between different representations of the same information or idea 1 2 3

  44. Toolkit:Name abstract objects and ideas, and put them in your toolkit. Know their advantages and limitations.

  45. Exemplification:Try out a problem or solution on small examples. Look for the patterns.

  46. Abstraction: Abstract away the inessential features of a problem =

  47. Induction has many guises.Master their interrelationship. • Formal Arguments • Loop Invariants • Recursion • Algorithm Design • Recurrences

  48. Modularity:Decompose a complex problem into simpler subproblems

  49. Improvement:The best solution comes from a process of repeatedly refining and improving solutions and proofs.

  50. ≤ f(x) ≤ ] [ Bracketing:What are the best lower and upper bounds that I can prove?

More Related