Why an attempt needs structure
Most failed attempts do not fail at the hard step. They fail earlier, because the problem was misread, or later, because an answer was accepted without being checked. A fixed sequence of phases protects against both. The one used here extends George Pólya's classic four stages by splitting his final stage, looking back, into two separate jobs: checking the answer and reflecting on the method.
- Understand: restate the problem, name its type, and predict features of the answer.
- Plan: list candidate methods and choose one deliberately; keep a second one in reserve as a check.
- Execute: carry out the plan, writing each step so that someone else could follow it.
- Check: test the answer by means that do not repeat the execution.
- Reflect: record what generalizes and what nearly went wrong.
The rest of this guide runs one problem through all five phases.
Phase 1: Understand
Name the problem as precisely as you can. This is a first-order, linear, constant-coefficient, nonhomogeneous ordinary differential equation with one initial condition. The unknown is a function ; the data are the coefficient , the forcing and the value . Linear first-order problems with continuous coefficients have exactly one solution through a given initial point, so you are looking for a single function, not a family.
Before solving, extract what the equation already tells you. At it gives , so near the origin . Differentiating the equation once gives , hence . The homogeneous equation has the growing solution , so unless that mode is exactly cancelled you should expect exponential growth for large . These predictions cost a few lines and become checks later.
Phase 2: Plan
Write down the candidate methods, not just the first one that comes to mind:
- Integrating factor. Multiply by to get , then integrate. This needs the integral of .
- Undetermined coefficients. The forcing is not a solution of the homogeneous equation, so a trial will work. Only linear algebra is required.
- Laplace transform. The initial condition is at and the forcing has a standard transform, so the problem becomes algebra in followed by partial fractions.
Choose undetermined coefficients for the execution, because it involves the least integration. Keep the Laplace transform in reserve as an independent second method for the check phase. Deciding this now, rather than after an answer appears, keeps the check honest.
Phase 3: Execute
Undetermined coefficients for y′ − 3y = cos 2x
Solve with .
- Homogeneous part: gives .
- Trial particular solution: , so .
- Substitute: . This must equal for every .
- Match coefficients: and . The second gives ; substituting, , so and .
- General solution: .
- Initial condition: , so .
Each line of the execution states one operation and its result. That is not a matter of style: when an error appears later, a step-by-step record is the only way to find the line where it entered.
Phase 4: Check
Use checks that do not simply repeat the computation.
- Substitution. . Subtracting leaves .
- Initial data and predictions. , and , matching the prediction from Phase 1. The coefficient of is positive, so the solution grows, as expected.
- Second method. Transforming the equation with gives . The partial-fraction decomposition below inverts term by term to , the same function.
- Numerical spot check. The formula gives . A fourth-order Runge–Kutta integration of the equation from to with step produces the same value to better than .
Phase 5: Reflect
Reflection asks what this problem teaches beyond its own answer. Repeating the execution with a general rate and frequency (assuming and are not both zero) gives a reusable particular solution:
With and it reproduces the result above, which is itself a check. Two further lessons are worth recording. First, the trial function worked because is not a homogeneous solution; if the forcing had been , the trial would have needed an extra factor of . Second, the equation is exactly the form that Chapter 5 of the book treats with its Matrix Boundary Method, for forcing functions in a space closed under differentiation; the classical solution above is a useful baseline when reading that chapter.
What to write down when you are stuck
Being stuck is a normal phase of an attempt, not a sign to stop. What matters is that the time produces a record. Write down:
- The problem in your own notationEvery given condition, the unknown, and the domain on which it lives.
- The type and the methodName the problem class as precisely as you can and the method you tried.
- The boundary of certaintyThe last line you are sure of and the first line you are not. Most stuck points sit between those two lines.
- A smaller problem you can solveDrop the forcing, set the initial value to zero, or take a special parameter such as . Solving a special case often shows the structure of the general one.
- What the answer must satisfyInitial values, signs, growth or decay, symmetry, units. In the example, , and eventual growth were known before any solving.
- A specific questionTurn the stuck point into a question someone else can answer quickly. See How to Ask a Precise Mathematical Question.
References
- George Pólya. How to Solve It. Princeton University Press, 1945. The four-stage model (understand, plan, carry out, look back) that this guide extends..
- Kevin Houston. How to Think Like a Mathematician. Cambridge University Press, 2009.