8.1 Graphical Methods
Chapters 2 and 4 gave us recipes that turn special equations into formulas. Most equations, however, are not special. For or no recipe applies, and no formula built from familiar functions exists. Yet an engineer still needs to know how the solution behaves: does it grow, settle down, oscillate, blow up?
This chapter is about getting useful answers anyway. We start with the cheapest tool of all: a picture. The equation tells us the slope of the solution curve at every point. If we draw those slopes, the solution curves almost draw themselves. No integration is needed, only evaluation of .
Line elements and direction fields
We met direction fields briefly in Section 1.2. Here we make the idea precise and learn to draw them efficiently.
Let be defined on a region of the plane. At a point of , the line element of is a short line segment through with slope . The collection of all line elements is the direction field (or slope field) of the equation. A picture of line elements at many points is a line element diagram.
Why is this useful? If is a solution whose graph passes through , then . So the line element at is a small piece of the tangent line to that solution curve. A dense set of line elements is a dense set of tangent pieces, and the solution curves are the curves that fit them.
The angle of a line element with the positive -axis is its inclination , with . Positive slopes rise to the right; negative slopes fall.
For , find the slope and the inclination of the line element at the points , , , , , , , and .
Solution
- Evaluate . For example, at the slope is , and at it is .
- Convert to angles. Use , rounded to :
point slope inclination , (horizontal) , , , - Observe. Several points share a slope. The points with slope , namely and , both lie on the parabola ; the three points with slope all lie on . This is no accident, and it is the key to the faster method below.
Drawing a direction field point by point is slow: each line element costs one evaluation of and one careful angle. A computer does this in a blink, which is why direction field plotters are standard tools. By hand, we need a smarter strategy.
The method of isoclines
Example 8.1.1 suggests the trick: instead of choosing points first and computing slopes, choose a slope first and find all the points that have it.
An isocline of is a curve along which is constant. For each number , the isocline of slope is the level curve Every line element on it has the same slope .
The name means "equal inclination". Once an isocline is drawn, we can put many parallel line elements on it with a single setting of the ruler. That is the whole method.
- Write down the isoclines and identify their shape (lines, parabolas, circles, ...).
- Draw a handful of them lightly, for well-spread values of (for instance ). Always include .
- On each isocline, draw several short segments of slope .
- Sketch smooth curves that cross every isocline with the slope of that isocline. These are approximate integral curves.
An isocline is not a solution curve in general. It is a curve along which the solutions all have the same slope; solutions cross it with that slope. A solution curve follows an isocline only in the special case where the isocline itself has slope at each of its points (Example 8.1.5 shows one).
Use isoclines to sketch the integral curves of . Then find the solution curve that is itself a parabola.
Solution
- Isoclines. Setting gives These are copies of the parabola , shifted down by . The isocline of slope is ; that of slope is .
- Line elements. On draw short segments rising at ; on draw horizontal segments; on draw segments falling at ; and so on. Higher parabolas carry more negative slopes.
- Sketch. A curve starting high on the left falls (it is above the zero isocline, where slopes are negative), crosses the parabola horizontally, then rises. Curves starting low rise steeply at first. Far to the right, all of them seem to crowd together along one curve (Figure 8.1.1).
- A parabola solution. The picture suggests that the curves approach a parabola. Try . Then , while Equality for all needs and , so and :
- Check against the exact solution. The equation is linear, . With the integrating factor (Section 2.3) we get , so Since as , every solution approaches the parabola, exactly as the sketch predicted.
The zero isocline, extrema and inflection points
Two curves deserve special attention, because they tell us where solutions turn around and where they change their bending.
The zero isocline
The isocline is called the zero isocline (or nullcline). Solution curves cross it horizontally. On one side of it and solutions rise; on the other side and solutions fall. So a solution can have a local maximum or minimum only on the zero isocline.
The second derivative without solving
To tell a maximum from a minimum, and to locate inflection points, we need . We can get it straight from the equation. Along a solution, is a function of , so by the chain rule
The last expression is again a function of and only. So we know the sign of at every point of the plane, before solving anything.
Let , and be continuous on a region , and let be a solution of whose graph lies in . Then at each point of the graph In particular, the solution is concave up where and concave down where . Inflection points can occur only on the curve , which we call the inflection curve.
For , find the zero isocline and the inflection curve. Decide where solutions have maxima and where they have minima.
Solution
- Zero isocline. , that is, the parabola . Above it (solutions fall); below it (solutions rise).
- Second derivative. Here and , so
- Maxima or minima? On the zero isocline , so . A solution crossing at some has and there: a local minimum. A crossing at gives : a local maximum.
- Inflection curve. means . Solutions are concave up above this parabola and concave down below it.
- Where the two curves meet. only at , the origin. The solution through the origin is horizontal and inflecting there: it has a horizontal inflection point, not an extremum. (From the formula of Example 8.1.2 this is the member ; you can check and .)
- A finer count, from the formula. For we have exactly when . The left side has its smallest value at . So members with have one minimum (at some ), members with have a maximum at some and a minimum at some , and members with never turn. The picture alone already told us the qualitative story; the formula confirms it.
Now explore on your own. The plotter below draws the direction field of ; click anywhere to trace the solution through that point. Then type another right-hand side, such as or , and compare with the sketches you predict from the isoclines.
Two families with simple isoclines
Autonomous equations: horizontal isoclines
When does not depend on , the equation is called autonomous. Its isoclines are horizontal lines. The zero isocline consists of the horizontal lines with . On such a line, the line elements are horizontal and lie along the line itself, so each root of gives a constant solution , called an equilibrium solution. By Theorem 8.1.1 with , the inflection curve is where .
Sketch the integral curves of . Identify the equilibrium solutions and the level at which non-constant solutions inflect.
Solution
- Equilibria. gives and . Both constant functions are solutions.
- Sign of the slope. Test one value in each band: So solutions between the equilibria rise, and solutions outside them fall.
- Isoclines. is a quadratic in with discriminant . For it gives two horizontal lines placed symmetrically about ; for only the line . The largest possible slope is , reached on .
- Concavity. With we have , so Between the equilibria, changes sign at : rising solutions are concave up below and concave down above it. Every such solution has an S-shape with its inflection point on the line .
- Long-term behaviour. Solutions starting between and climb towards ; solutions above fall towards it. So attracts its neighbours (it is stable). Solutions near move away from it (it is unstable); those below fall without bound.
- Optional check. Separating variables and using partial fractions gives , that is, For this increases from (as ) to (as ), in agreement with the sketch.
For an autonomous equation, if is a solution then so is for every constant : shifting a curve sideways does not change its slopes at given heights. That is why the curves in Figure 8.1.3 are copies of one another. Population models, chemical reactions and cooling laws are often autonomous, so this picture appears again and again in applications.
Isoclines through the origin
When depends only on the ratio , the isoclines become : straight lines through the origin. Equations of this type were solved in Section 2.2 with ; graphically, they are just as pleasant.
Sketch the integral curves of for . Which isocline is itself an integral curve?
Solution
- Isoclines. gives a line through the origin (the origin itself excluded, since is undefined at ). For instance, gives , and gives .
- When is a line a solution? The line has slope . It lies on the isocline with . It is an integral curve exactly when its own slope matches the slope of the line elements on it: So (the isocline ) is an integral curve on each half-line and . Check: and .
- The other curves. The equation is linear: . With the integrating factor we get , so Each of these parabolas has slope at the origin: they all touch the line there, as Figure 8.1.4 shows.
- Comment. Infinitely many integral curves approach the origin. This does not contradict the uniqueness theorem of Section 1.3, because is not even defined on the line .
What a picture can and cannot tell us
Graphical methods work for any first-order equation , linear or not, as long as we can evaluate . In a few minutes they show the qualitative behaviour: equilibria and their stability, turning points, concavity, how solutions behave far away. For many engineering questions ("does the temperature settle?", "can the level overshoot?") that is already the answer.
But a sketch has clear limits:
- It gives no formula, and no reliable numbers. Reading off a hand sketch may be wrong in the first decimal.
- Its accuracy is unknown. Small drawing errors can accumulate along a long curve.
- A careful sketch by hand is slow, and it becomes misleading near points where is undefined or very large.
The rest of the chapter replaces the picture by computations whose accuracy we can control: power series (Section 8.2), successive approximations (Section 8.3), and numerical step-by-step methods (Sections 8.4 to 8.8). Keep the direction field in mind, though. It is the best way to check whether a computed answer is believable.
Exercises
- Find the isoclines of . Which isocline is also an integral curve? Sketch a few solutions.
Answer
Isoclines: parallel lines of slope . The isocline , the line , is an integral curve. (Exact: ; all solutions approach this line.) - For , find the zero isocline, the inflection curve, and the one solution that is a parabola. Do the other solutions approach it as ?
Answer
Zero isocline ; , so the inflection curve is ; parabola solution . No: , so the others move away from it. - Describe the isoclines of . Where is the slope zero? What can you say about every solution?
Answer
For the isoclines are the ellipses ; the slope is only at the origin. Since everywhere, every solution is nondecreasing, and solutions get steeper the farther they are from the origin. - For the autonomous equation , find the equilibrium solutions, the bands where solutions increase or decrease, and the level where they inflect.
Answer
Equilibria (unstable) and (stable). Increasing for , decreasing for and . Rising solutions inflect on . - For , find all equilibrium solutions and the inflection levels. What happens to the solution with ?
Answer
Equilibria ( an integer). , so non-constant solutions inflect where , that is on . The solution with increases and approaches as (and as ), inflecting at the origin. - Find the isoclines of (). Which of them are integral curves? Verify that are solutions and sketch them.
Answer
Lines through the origin. A line is an integral curve only if , i.e. : the -axis (). gives . - Show that the isocline of slope of is an integral curve, and explain from the direction field why all solutions approach it as .
Answer
Isocline : , which has slope , so it is a solution. Above it and below it , so curves are pushed towards it. Exact: . - For , find the zero isocline and the inflection curve.
Answer
Zero isocline ; , so the inflection curve is . - Describe the isoclines of . In which region do solutions rise, and where do they fall? Where is the slope largest?
Answer
Circles centred at the origin (). Solutions rise inside the circle of radius (the zero isocline) and fall outside it. The largest slope, , occurs at the origin. - Find the slope and inclination (to ) of the line elements of at , and .
Answer
Slopes , , ; inclinations , , . - Explain why two different integral curves of can never cross each other.
Answer
and are continuous everywhere, so by the existence–uniqueness theorem (Section 1.3) exactly one solution passes through each point. Two crossing curves would give two solutions through the crossing point. - For , find the solution with (use the formula of Example 8.1.4). Find its limits as and its inflection point.
Answer
: . Limits (as ) and (as ); inflection point .