Most first-order differential equations y′ = f(x, y) cannot be solved with elementary functions, so 18.03 starts with the geometric view. At each point of the plane draw a short line element of slope f(x, y): the direction field. A function solves the equation exactly when its graph is an integral curve, a curve tangent to the field everywhere. By hand, draw the field with isoclines, the curves f(x, y) = C on which every line element has slope C. Integral curves cannot cross, and by the existence and uniqueness theorem they cannot even touch, as long as f and ∂f/∂y are continuous. Where f is undefined, as for xy′ = y − 1 on the y-axis, existence or uniqueness can fail.
Differential equations of the simplest kind, first order in standard form, look like y′=f(x,y) (transcript, p. 1). Some are easy: y′=x/y can be solved by separating variables. Others look just as simple but have no solution that can be written with elementary functions: y′=y−x2 can be solved (next lectures), while its look-alike y′=x−y2 cannot, and such equations are the rule rather than the exception (pp. 1–2). So 18.03 begins without solving anything: it looks at differential equationsgeometrically, and numerically (pp. 1–2).
y1(x) solves y′=f(x,y)⟺y1′(x)=f(x,y1(x))⟺the graph of y1 is an integral curve
In words
y one (x) solves y prime equals f(x, y) is equivalent to y one prime (x) equals f (x, y one (x) ) is equivalent to the graph of y one is an integral curve
Both sides say the same thing: the slope of the graph, y1′(x), equals the slope of the field at that point, f(x,y1(x)). Solving the equation analytically is the same as drawing an integral curve geometrically.
A computer draws a direction field the naive way: pick equally spaced points, compute f(x,y) at each, draw the line element (transcript, p. 5). A human should work the other way round. Pick a slope C first, and find all the points where the line elements have that slope (p. 6):
This curve, a level curve of f, is called an isocline. Draw it dashed (it is usually not a solution) and put as many line elements of slope C along it as you like; a few values of C fill in the field (pp. 6–7).
Example: y′=−x/y. The isoclines−x/y=C are the lines y=−x/C through the origin (p. 7). Their slope, −1/C, is the negative reciprocal of the slope C of the line elements on them, so the line elements are perpendicular to the isoclines (p. 8). Writing the isocline as Cy=−x, the case C=0 is the y-axis; the x-axis is counted, loosely, as the isocline "C=∞", with vertical line elements (pp. 8–9). Curves perpendicular to every ray from the origin are circles, x2+y2=C1, which separation of variables confirms (p. 9). A solution such as y=C1−x2 lives only on −C1<x<C1: there is no way to tell from the equation in advance how far a solution extends (p. 10).
Example: y′=1+x−y. Variables cannot be separated, but the picture comes quickly (transcript, pp. 10–15). The isoclines1+x−y=C are the parallel lines y=x+1−C. On the isocline for C=1, the line y=x, the line elements have slope 1, the same as the line: it is an isocline and an integral curve at once, so y=x is a solution (pp. 12–15). Between the isoclines for C=0 and C=2 every line element points into the strip, so an integral curve that enters it cannot escape, "like a lobster trap" (p. 13); all solutions approach y=x as x→∞ (p. 15).
Loading graph…
Integral curves of y′=1+x−y, computed from its solutions y=x+Ce−x (found by the methods of Lecture 3), with C=2, 0 and −2: all approach the solution y=x. The dashed isocline y=x+1 is where the line elements are horizontal; the curve from above crosses it at its lowest point.
f and ∂y∂f continuous near (x0,y0)⟹y′=f(x,y) has one and only one solution through (x0,y0)
In words
f and partial f over partial y continuous near ( x nought, y nought ) which gives y prime equals f(x, y) has one and only one solution through ( x nought, y nought )
The solution exists at least on some interval around x0. Continuity of f gives existence, at least one solution; continuity of ∂f/∂y gives uniqueness (p. 16). So the curves heading towards y=x in the example above can only approach it, never join it (p. 15).
When the theorem does not apply. Take xy′=y−1. Separating variables, ln∣y−1∣=ln∣x∣+c, gives the solutions y=1+Cx: all the lines through (0,1) (pp. 16–17). (The transcript writes the equation with 1−y and drops a sign when integrating; with 1−y the solutions would be the hyperbolasy=1−C/x. The lines it describes belong to xy′=y−1, used here. The board itself was not checked.) Through a point on the y-axis other than (0,1) there is no solution at all; through (0,1) there are infinitely many. This does not contradict the theorem: in standard form the equation is y′=(y−1)/x, whose right side is not even defined on the y-axis (pp. 17–18). In practice, this is how existence and uniqueness usually fail: f is undefined somewhere (p. 18). (Euler's numerical method, planned for this lecture, was left to the notes and comes in Lecture 2, p. 16.)
x+y=C, the parallel lines y=C−x, all of slope −1. On them the line elements have slope C: horizontal on y=−x, slope 1 on y=1−x, and so on.
(b) A straight solution
On the isocline for C=−1, y=−x−1, the line elements have slope −1, the slope of the line itself, so it is an integral curve: indeed y′=−1 and x+y=−1.
(c) All the solutions
y=Cex−x−1 gives y′=Cex−1 and x+y=Cex−1: they agree for every C. For C>0 the curves turn upward, for C<0 downward, and they move away from the line y=−x−1 as x grows; the line repels instead of attracting.
Something that has a value at every point of space, such as the temperature, the wind velocity or the electric field at each place. Explained in Newton's law of gravitation.
A way to solve a differential equation by putting everything with one variable on one side, the rest on the other, and integrating both sides. Explained in The rocket equation.
Without breaks, gaps or jumps: a continuous graph can be drawn without lifting the pen; a continuous quantity can take every value in a range. Explained in The rocket equation.
An open curve with two separate branches: the set of points whose distances from two fixed points differ by the same amount. Explained in Quadratics and power laws.
In reality, as things are actually done or measured, rather than in theory.
Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).