Four phases, twenty-four levers
“If you can't solve a problem, then there is an easier problem you can solve: find it.”
Pólya splits problem solving into four phases. The techniques below are the levers you pull in the second phase, when you are hunting for a plan: first Pólya's own twelve, then twelve more from the olympiad tradition and from physics. Each page states a problem, lets you play with it, shows how the technique cracks it, and looks back; then the same technique cracks a problem in physics.
Understand
What is the unknown? What are the data? What is the condition? Draw a figure, introduce notation.
Plan
Find the connection between data and unknown. Have you seen it before? Try the heuristics.
Carry out
Execute the plan, checking each step. Can you see clearly that each step is correct?
Look back
Check the result. Derive it differently. Can you use the result, or the method, for some other problem?
Pólya's heuristics
| Heuristic | Pólya's question | Worked here on | In physics |
|---|
More techniques
Collected in Engel's Problem-Solving Strategies, Zeitz's The Art and Craft of Problem Solving, and every physicist's back pocket.
| Technique | The question to ask | Worked here on | In physics |
|---|
Analogy
“Can you find a problem analogous to your problem and solve that?”
The plane analogue: drag A, B, C.
The space problem: drag to rotate.
The heuristic at work
- Space is hard to see. The analogous problem in the plane: in a triangle, join each vertex to the centroid of the opposite “face”, which is the midpoint of the opposite side. These are the medians.
- Solve the analogue in a form that can travel. Put G = (A+B+C)/3. With M = (B+C)/2, G = A + ⅔(M − A). The formula is symmetric in A, B, C, so all three medians pass through G, divided 2 : 1.
- Transplant the method, not the picture. Put G = (A+B+C+D)/4. With F = (B+C+D)/3, G = A + ¾(F − A).
- Symmetric in all four vertices, so the four segments concur at G, divided 3 : 1.
In physics: the mass on a spring and the LC circuit
- Kirchhoff's loop rule gives L q″ + R q′ + q/C = 0.
- That is term for term the damped spring m x″ + b x′ + k x = 0, with inductance as inertia, 1/C as stiffness and resistance as friction.
- So everything known about the spring transfers: ω₀ = 1/√(LC), the quality factor, the energy ½LI² + q²/2C. Both systems are driven by one simulation above.
- Analogue computers and Maxwell's mechanical models of the field were built on exactly this dictionary.
Auxiliary elements
“Can you add some new element to your problem to get closer to a solution?”
The heuristic at work
- The figure has a triangle and a circle, but nothing in it connects the circle's defining property, equal distance from the centre, to the angle we want.
- Add the element that brings that unused datum into play: the radius OC. Now OA = OB = OC.
- The triangle splits into two isosceles triangles: ∠OAC = ∠OCA = α and ∠OBC = ∠OCB = β.
- Angle sum in ABC: α + β + (α + β) = 180°, so ∠ACB = α + β = 90°.
In physics: the method of images
- The conductor's charges rearrange in some unknown way: too many unknowns.
- Add an element that is not there: an image charge −q at depth d below the plane.
- The pair has zero potential everywhere on the plane, which is exactly the conductor's boundary condition. By the uniqueness theorem the field above the plane is the pair's field.
- So the force is kq²/(2d)², and the field at the surface gives σ = −qd / 2π(x² + d²)^(3/2), totalling −q.
Auxiliary problem
“Can you find a subproblem or side problem whose solution will help you solve your problem?”
The heuristic at work
- Focus on the largest disk. At the moment it moves from A to C, every other disk must be sitting on B.
- That isolates a side problem: move n − 1 disks from A to B. It is the original problem, one size smaller.
- Plan: solve the auxiliary problem A→B, move the big disk A→C, solve it again B→C. So T(n) = 2T(n−1) + 1, T(1) = 1.
- Unrolling, T(n) = 2ⁿ − 1. It is also a lower bound, since step 1 forces two complete (n−1)-transfers.
In physics: the two-body problem
- Two coupled bodies, six unknown coordinates: hard.
- Auxiliary problem: the relative vector r = r₁ − r₂ obeys μ r″ = −Gm₁m₂ r̂/r², with reduced mass μ = m₁m₂/(m₁ + m₂).
- That is Kepler's one-body problem, already solved: an ellipse with a focus at the origin (right, dashed).
- Undo the substitution: each star moves on a scaled copy, r₁ = (m₂/M) r and r₂ = −(m₁/M) r, about the fixed centre of mass.
Decomposing and recombining
“Can you decompose the problem and recombine its elements in some new manner?”
The heuristic at work
- Decompose the disc into N equal sectors.
- Recombine them in a new manner: alternately tip-up and tip-down, side by side.
- The strip's height is the radius; each scalloped long edge uses half the circumference, πr.
- Rearranging does not change area. As N grows the strip becomes a rectangle πr × r, so the area is πr².
In physics: superposition of driven responses
- Decompose the drive: a square wave is (4/π)Σ sin(nωt)/n over odd n.
- Each sinusoidal push has the textbook steady response, with amplitude F_n/√((ω₀² − n²ω²)² + (γnω)²) and a phase lag.
- The equation is linear, so recombine: the motion is the sum of the separate responses.
- Set ω₀ near 3 or 5 and the oscillator responds mainly to that overtone; the bars on the right show why.
Draw a figure
“Can you draw a picture of the problem?”
The heuristic at work
- Two unknown arrival times become one point (x, y) in a 60 × 60 square. Uniform and independent means probability is proportional to area.
- They meet exactly when |x − y| ≤ w: the shaded band along the diagonal.
- The complement is two corner triangles with legs 60 − w; together they make a square of area (60 − w)².
- P = 1 − (1 − w/60)² = 1 − (3/4)² = 7/16 for w = 15.
In physics: the twin paradox
- Draw the spacetime diagram, with light rays at 45°. Each twin is a worldline between the same two events.
- The Earth twin's worldline is straight; the traveller's is bent at the turnaround. That bend breaks the symmetry.
- Ages are proper times, τ = ∫√(dt² − dx²). In Minkowski geometry the straight worldline is the longest, so the traveller is younger by a factor γ.
- The dashed lines show the traveller's “now” on Earth jumping forward at the turnaround: the years that seem to go missing.
Generalization
“Can you find a problem more general than your problem?”
The integrand e−tx sin x / x for the chosen t.
The whole family I(t): dots computed numerically, curve from the formula.
The heuristic at work
- Embed the problem in a family: I(t) = ∫₀^∞ e^(−tx) (sin x)/x dx, t ≥ 0. The original problem is I(0).
- The general problem is easier. Differentiating in t removes the troublesome 1/x: I′(t) = −∫₀^∞ e^(−tx) sin x dx = −1/(1 + t²).
- So I(t) = C − arctan t. As t → ∞ the damping kills the integral, so C = π/2.
- Set t = 0: ∫₀^∞ (sin x)/x dx = π/2.
In physics: from two coupled masses to waves
- Solve the general problem instead: N masses. Guess u_j = sin(jkπ/(N+1)) cos ωt, a standing wave.
- It satisfies every equation at once, with ω_k = 2ω₀ sin(kπ/2(N+1)).
- N = 2 drops out as a special case: ω₀ and √3 ω₀.
- The general solution shows what the small one hides: a dispersion relation, and in the limit N → ∞ the wave equation for a continuous string.
Induction and mathematical induction
“Can you solve your problem by deriving a generalization from some examples?”
Observe. 1, 4, 9, 16, 25: squares. Guess the sum is n².
See why. Each odd number 2k − 1 is an L-shaped gnomon that grows a (k−1) × (k−1) square into a k × k square.
Prove it by mathematical induction. Base: 1 = 1². Step: if the first n odd numbers sum to n², adding the next one gives n² + (2n + 1) = (n + 1)². So the guess holds for every n.
A guess must be tested
Counting the first cases gives 1, 2, 4, 8, 16, which practically shouts 2ⁿ⁻¹. Six points give 31. The real rule comes from understanding, not pattern-matching: each new chord adds one region plus one for every chord it crosses, and every crossing is fixed by a choice of 4 points, so the count is 1 + C(n,2) + C(n,4).
In physics: Galileo's odd-number rule
- Examples first: in equal beats the ball covers distances in the ratio 1 : 3 : 5 : 7 …, whatever the incline.
- The running totals are 1, 4, 9, 16 …: conjecture that distance grows as t².
- Mathematical induction finishes it, exactly as for the odd numbers: constant acceleration makes the k-th beat cover a distance proportional to 2k − 1, and the first n odd numbers sum to n².
- Galileo stated it in Two New Sciences (1638); the odd-number rule is still how strobe photographs of falling balls are read.
Reductio ad absurdum and indirect proof
“Can you show the falsity of an assumption by deriving from it a manifest absurdity?”
Assume the opposite: the primes you select below are all the primes there are.
The heuristic at work
- Assume the claim is false: the list p₁, …, pₖ contains every prime.
- The assumption hands you something concrete to build with: N = p₁p₂⋯pₖ + 1.
- N > 1, so N has some prime factor p. Every pᵢ leaves remainder 1 when dividing N, so p is not in the list.
- That contradicts the list being complete. The assumption is false. (N itself need not be prime: try 2, 3, 5, 7, 11, 13.)
The same move, again
In physics: Galileo's tied stones
- Assume the premise: speed grows with weight.
- Tie a light stone to a heavy one. The pair is heavier than the heavy stone alone, so it should fall faster.
- But the slow stone should hold back the fast one, so the pair should fall slower than the heavy stone alone.
- The premise predicts both, which is absurd. Only one assignment is free of contradiction: all bodies fall at the same rate (in the absence of air).
Specialization
“Can you find a problem more specialized? What if the given value were zero?”
The heuristic at work
- Specialize to the easiest position, θ = 0. The overlap is a quarter of the square: area ¼.
- Another special case, θ = 45°. The overlap is a triangle with base 1 and height ½: area ¼ again.
- Conjecture: the area is ¼ for every θ. Drag the square: the computed overlap never changes.
- Why do the special cases agree? The overlap is the square cut by a 90° wedge at its centre. The quarter-turns of that wedge partition the plane, and the square is unchanged by quarter-turns about its centre, so four congruent copies of the overlap tile the square.
In physics: the Atwood machine
- Specialize to cases whose answers you already know.
- Equal masses: nothing should move, and the formula gives 0.
- Remove m₂: m₁ is in free fall, and the formula gives g, with tension 0.
- Swap the masses: the motion reverses, and the formula changes sign. A guess that fails any of these is wrong before you look for the algebra slip.
Variation of the problem
“Keep only a part of the condition, drop the other part; how far is the unknown then determined, how can it vary?”
Drag B and C to reshape the triangle.
The heuristic at work
- Four conditions at once are too many. Vary the problem: drop the condition that the fourth vertex lies on BC.
- The new problem has infinitely many solutions: any square with two vertices on AB and one on AC. Slide the size to see them.
- All of them are scaled copies of one another from centre A, so the free fourth vertex moves along a straight line through A.
- Now restore the dropped condition: the fourth vertex must also lie on BC. Intersect the line with BC. With base a and height h, the side is s = ah / (a + h).
In physics: the cannon and the safety parabola
- Drop part of the condition: forget the target, keep only the muzzle speed. Now every angle gives a trajectory (grey).
- The family has an envelope, the safety parabola y = v²/2g − gx²/2v²: every reachable point lies on or under it.
- Restore the condition: a target inside the envelope is hit by exactly two trajectories (lob and direct), one on the envelope by exactly one, and one outside by none.
- The same envelope gives the maximum range on any slope at once.
Working backwards
“Can you start with the goal and work backwards to something you already know?”
Every possible state: quarts in B across, quarts in A up. Numbers are moves remaining to the goal, found by searching backwards from it.
The heuristic at work
- Start from the goal: 6 quarts in the big pail.
- What state could come just before it? A full 9-quart pail from which exactly 3 quarts are poured off, into the small pail when it already holds 1.
- How do we get 1 quart? Fill the big pail and pour off 4 twice: 9 − 4 − 4 = 1. That is something we know how to do.
- Reverse the chain and you have the solution. The grid does exactly this for every state at once.
In physics: the ballistic pendulum
- Start from what you can measure at the end: the rise h.
- Before that, the swing: energy is conserved while the block rises, so just after impact the speed was V = √(2gh).
- Before that, the impact: momentum is conserved in the brief collision, so v = (m + M)V/m.
- Working forwards from v would require modelling the collision itself, which destroys almost all the kinetic energy as heat. Working backwards never needs it.
Invariants
“Find a quantity that no allowed move can change. If the start and the goal disagree on it, no sequence of moves connects them.”
Click a tile next to the gap, or use the arrow keys.
The heuristic at work
- Every move slides a tile into the gap. As a permutation of the 16 squares (the gap counted as tile 16) that is one transposition, so the permutation's parity flips.
- The same move shifts the gap one square, so the parity of its taxicab distance from the bottom-right corner flips too.
- So parity + distance (mod 2) never changes. That is the invariant.
- Solved: even permutation, distance 0, invariant 0. Loyd's position: one transposition, gap at home, invariant 1. Unreachable; the $1,000 was safe.
In physics: Kepler's second law
- Gravity points straight at the Sun, so it exerts no torque about the Sun.
- So the angular momentum L = m r × v is invariant, while speed and distance both change.
- The area swept per unit time is dA/dt = L/2m, also invariant.
- Equal times, equal areas: the shaded sectors, each one twelfth of an orbit, all have the same area.
Colouring
“Colour the objects so that every allowed move treats the colours the same way, then count colours.”
The heuristic at work
- Trying tilings by hand keeps failing, but failing is not a proof: there are far too many arrangements to exhaust.
- Colour the board in the usual checkerboard way. Switch the colouring on.
- Every domino covers one dark and one light square, wherever it lies.
- Opposite corners have the same colour, so 30 squares of one colour remain and 32 of the other. 31 dominoes would need 31 of each. Impossible.
In physics: frustrated antiferromagnets
- “Neighbours opposite on every bond” is exactly a 2-colouring of the lattice: up = dark, down = light.
- The square lattice is bipartite like a chessboard, so the Néel state satisfies every bond.
- The triangular lattice is full of triangles, odd cycles that cannot be 2-coloured: each triangle has at least one frustrated bond, whatever you do.
- This geometric frustration leaves a huge number of equally good ground states (Wannier, 1950), the same mechanism behind the residual entropy of water ice.
Pigeonhole principle
“If more than n objects go into n boxes, some box holds two. The art is choosing the boxes.”
Drag the points; try to push them all apart.
The heuristic at work
- Five points, and we want two that are close: treat the points as pigeons.
- Make four holes by cutting the square into four ½ × ½ squares.
- Five points in four boxes: some box holds two.
- Two points in a ½ × ½ square are at most its diagonal, √2/2, apart.
In physics: Poincaré recurrence
- Arnold's cat map scrambles an N × N picture by (x, y) → (2x + y, x + y) mod N; it looks like chaos within a few steps.
- There are only finitely many arrangements, so by the pigeonhole principle some arrangement must occur twice.
- The map is reversible (determinant 1), so the first repeat must be the starting arrangement itself: step back from any repeat and you get an earlier repeat.
- Poincaré's recurrence theorem for real mechanics replaces counting by phase-space volume, conserved by Liouville's theorem.
Extremal principle
“Look at the object that is largest, smallest or best by some measure. Its extremeness often forces the property you want.”
The heuristic at work
- There are finitely many red–blue matchings (n! of them), so one has the least total length. Look at that one.
- Suppose two of its segments, r₁b₁ and r₂b₂, crossed at a point X.
- Swap partners. By the triangle inequality, r₁b₂ + r₂b₁ < (r₁X + Xb₂) + (r₂X + Xb₁) = r₁b₁ + r₂b₂.
- The swap gives a shorter matching, contradicting minimality. So the shortest matching has no crossings.
In physics: Fermat's principle of least time
- Look at the extremal path: of all paths A → P → B, the one of least time exists, since the time varies continuously with P.
- At that minimum, moving P slightly changes nothing to first order: dT/dx = 0.
- Differentiating T = AP/v₁ + PB/v₂ gives sin θ₁/v₁ = sin θ₂/v₂, which is Snell's law.
- The same extremal reasoning underlies the principle of least action, from which all of classical mechanics can be derived.
Monovariants
“Find a quantity that every move strictly decreases. If it can't decrease forever, the process must stop.”
Red lines are enemy pairs inside the same house. Ringed members are unhappy.
The heuristic at work
- Start with any split. Call a member unhappy if they have two or more enemies in their own house.
- Move an unhappy member to the other house. They had at least 2 enemies at home, so at most 1 in the other house.
- Let E be the number of enemy pairs sitting in the same house. The move removes at least 2 such pairs and creates at most 1, so E drops by at least 1.
- E is a whole number and never negative, so it cannot drop forever. When the moves stop, nobody is unhappy.
In physics: energy as a Lyapunov function
- Track the energy E = ½ω² − cos θ (contours of constant E are drawn).
- Along the motion dE/dt = −γω² ≤ 0: E never increases.
- E is bounded below by −1, so it must level off, and it can only stop falling where the pendulum is permanently at rest: an equilibrium.
- This is Lyapunov's method: one monovariant proves stability without solving the equations.
Symmetry and reflection
“Use a symmetry of the situation: reflect, rotate or swap, and see what the transformation preserves.”
The heuristic at work
- The path bends at P, which makes lengths hard to compare.
- Reflect B in the river to get B′. For every P on the bank, PB = PB′, so AP + PB = AP + PB′.
- AP + PB′ is a path from A to B′, shortest when it is straight.
- So the best point P* is where the segment AB′ meets the river. There the two angles with the bank are equal: the law of reflection.
In physics: the infinite resistor grid
- Feed a current I in at node A and let it flow out at infinity. By the four-fold symmetry of A, exactly I/4 flows through each of its four resistors, including the one to B.
- Separately, let I flow in from infinity and out at B. By symmetry again, I/4 flows from A to B.
- Superpose the two: I in at A and out at B, with I/2 through the AB resistor. So V_AB = R · I/2 and the resistance is R/2.
- The plot solves finite grids numerically; they converge to ½. A direct infinite calculation needs Fourier integrals.
Change of representation
“Translate the problem into a different language (a graph, an equation, a picture) where the structure is easier to see.”
The heuristic at work
- Try the walk on the map. You always get stuck.
- Euler's change of representation: shapes and distances are irrelevant. Shrink each land mass to a point and each bridge to a line, giving a graph. Switch on the graph view.
- Each time a walk passes through a land mass it uses two bridges, one in and one out. So every land mass except the start and the end needs an even number of bridges.
- In Königsberg all four have an odd number (5, 3, 3, 3). At most two may be odd, so no such walk exists.
In physics: phasors for AC circuits
- In the time domain this is a second-order differential equation.
- Change representation: let each sinusoid be a rotating arrow in the complex plane, a phasor. Differentiation becomes multiplication by iω.
- Kirchhoff's law becomes vector addition (left): V = I(R + iωL + 1/iωC) = IZ.
- At ω = 1/√(LC) the inductor and capacitor arrows cancel and Z = R: resonance, read straight off the picture.
Counting two ways
“Count the same set in two different ways, and set the answers equal.”
The heuristic at work
- Draw the sum as a staircase of dots: row k has k dots.
- Take a second copy, turn it half a turn, and fit it onto the first.
- Together they make an n × (n + 1) rectangle. Counted by rows and columns that is n(n + 1) dots; counted as two staircases it is 2S.
- So S = n(n + 1)/2.
The same move, again
Count handshakes two ways. Each handshake adds 1 to two people's counts, so the sum of all counts is 2 × (handshakes), which is even. The even counts add up to something even, so the odd counts must come in pairs.
In physics: pressure from kinetic theory
- Count the impulse delivered to one wall in time t in two ways.
- As a force: impulse = F t.
- Molecule by molecule: each molecule returns every 2L_x/|v_x| and delivers 2m|v_x| each time, so in time t it delivers m v_x² t / L_x.
- Equate: F = Σ m v_x² / L_x, so PV = N m⟨v_x²⟩. With the identification m⟨v_x²⟩ = kT, this is the ideal gas law.
Complementary counting
“If the event is complicated, compute what it is not.”
One room's birthdays. Red days are shared.
The heuristic at work
- “At least two share” splits into a mess of cases: one pair, two pairs, a triple, and so on.
- The complement, “all birthdays differ”, is one clean case.
- Place people one at a time: P(all differ) = (365/365)(364/365)⋯((365 − n + 1)/365).
- P(a shared birthday) = 1 − P(all differ), which passes ½ at n = 23.
In physics: Babinet's principle
- The wire is the complement of a slit of the same width: wire + slit = an unobstructed beam.
- Diffraction amplitudes add, so U_wire = U_beam − U_slit.
- A smooth laser beam's own far field is a narrow spike around θ = 0; everywhere else U_beam ≈ 0, so I_wire = I_slit. (A hard-edged beam would add its own fringes, which is why lasers make the trick work.)
- So a hair gives the familiar single-slit pattern, with minima at sin θ = mλ/a: an easy way to measure it with a laser pointer.
Change the point of view
“Look at the problem from another vantage point: a different unknown, a different frame, a different time.”
The heuristic at work
- Following the fly gives an infinite series of shrinking legs (listed above). Each leg is a fixed fraction of the one before.
- Change the point of view: watch the trains instead. The gap closes at 100 mph, so they meet after exactly 1 hour.
- The fly is flying for that whole hour at 75 mph.
- Distance: 75 miles. No series needed.
In physics: collisions in the centre-of-mass frame
- In the lab frame you must solve momentum and energy conservation together, a quadratic.
- Change the point of view: ride along with the centre of mass. There the total momentum is zero.
- An elastic collision can then only reverse both velocities (an inelastic one also scales them by e).
- Transform back: v = V − e(u − V) for each ball, where V is the CM velocity. No quadratic required.
Extreme cases
“Push a parameter to its limit. If the answer can't depend on it, the extreme case gives the answer for free.”
The heuristic at work
- The sphere's radius isn't given. If the problem has an answer, the answer cannot depend on it.
- So take the extreme case: a sphere of diameter exactly 6, where the hole has zero width.
- Nothing is removed. The volume is the whole sphere: (4/3)π · 3³ = 36π ≈ 113.1 cubic inches.
- Check it. Slice at height y: the ring's cross-section is an annulus of area π[(R² − y²) − (R² − 9)] = π(9 − y²), the same as the slice of the 6-inch sphere. By Cavalieri's principle the volumes agree for every R.
In physics: testing candidate laws of velocity addition
- You need no derivation to eliminate candidates; push the parameters to their limits.
- At everyday speeds the answer must be Galileo's u + v.
- Light combined with anything must still travel at c, since c is the same in every frame.
- Two speeds below c must combine to a speed below c. Only (u + v)/(1 + uv/c²) survives every test in the table.
Dimensional analysis
“Check what units the answer must carry. Often only one combination of the data has the right dimensions.”
The heuristic at work
- List the dimensions: T in s, L in m, m in kg, g in m/s², θ₀ dimensionless.
- Mass is the only quantity containing kg, and nothing could cancel it, so it cannot appear.
- The only combination of L and g measured in seconds is √(L/g).
- So T = √(L/g) · f(θ₀). Only f needs real physics, and f → 2π for small swings. Change m and nothing happens; change L or g and T scales exactly as predicted.
In physics: G. I. Taylor and the first atomic bomb
- In the early blast the radius R can depend only on the energy E, the air density ρ and the time t.
- The only length that can be built from them is (Et²/ρ)^(1/5), so R = S (E/ρ)^(1/5) t^(2/5) with S a pure number (about 1.03 for air).
- The photographs (red points) do follow slope 2/5 on a log-log plot, confirming the form.
- Fitting gives E ≈ 7 × 10¹³ J, about 17 kilotons of TNT; the official yield, kept secret at the time, was about 21 kilotons.