HOW TO SOLVE IT Alain Fournier (stolen from George Polya) Computer Science Department University of British Columbia
Relevant Books by Polya u Induction and Analogy in Mathematics u Patterns of Plausible Inference u This one How to Solve it A New aspect of Mathematical Method Princeton University Press 1957 (Second Edition)
The Goals u Help the students u Help the teachers u Develop problem solving skills in general u Practice, practice
How to Solve It (the 4 steps) Ê Understanding the problem Ë Devising a plan ¸ Carrying out the plan Í Looking back
Understanding the problem u What is the unknown? u What are the data? u What are the conditions? u Are the conditions sufficient to determine the unknown, unsufficient, redundant, contradictory? u Draw a figure u Devise suitable notation u Separate the various parts of the conditions u Write down the conditions
Devising a Plan I u Have you seen that before? u Is the problem already solved? u Do you know a related problem? u Look at the unknown –is there another problem with the same unknown? u Is there a related problem solved? –can you use its result? –can you use its method? –can you establish a new link? u Can you restate the problem? Can you re-restate it?
Devising a Plan II u Find an easier related problem u More general u More restricted u Solve part of the problem u Simplify the conditions u Change the data (do you need more, less?) u Change the unknown u Any notion missing in the statement? u Change the problem
Carrying out the Plan u Go step by step u Check each step –are you sure it is correct? –can you convince others it is correct? –can you prove it is correct?
Looking Back u Can you check the result? u Is the result unique? u Can you check the arguments u Can you derive the result differently u Can you use the result, or the method, for some other problem (or the original one if you changed it)?
An Example Inscribe a square in a given triangle. Two vertices of the square should be on the base of the triangle, the two other vertices of the square on the two other sides of the triangle, one on each. u Unknown: a square u Data: a triangle u Conditions: positions of 4 corners of square
An Example (ctd) u Draw a figure
An Example (ctd) u Relax the conditions We get more than one solution
An Example (ctd) u How can the solution vary?
An Example (ctd) u Is it correct? u Is it unique? u Can we use the method for something else?
Some strategies u Start at the beginning u Visualize u Take it apart u Look for angles u Don’t dismiss foolish ideas right away u Restart often u Sweat the details u Do not assume u Try to solve again
Key Principles (among many others) u Analogy u Auxiliary problem u Conditions (redundant, contradictory) u Figures u Induction u Inventor’s paradox (a more ambitious problem might be easier to solve) u Notation u Reductio at absurdum –write numbers using each of the ten digits exactly once so that the sum of the numbers is exactly 100 u Working backwards
Working Backwards Get from the river exactly 6 quarts of water when you have only a four quart pail and a nine quart pail to measure with.
Physical Problems u Data from experience u Looking back to experience u Tides u Sap rising (Occam’s razor) u Spinning book
Computer Science Problems u Some mathematical u Some physical u Some neither: solution is a creation, mathematical engineering (actually often problem itself is a creation)
Problems Found in Past Year u Area of spherical triangles (-> simpler problem) u Models of animal patterns (growth and distance measure, analogy) u Efficient storage of wavelet coefficients (engineering, similarity)
Conclusion u go solve your own problems