A first-order system has several dependent variables, x′ = f(x, y, t) and y′ = g(x, y, t), to be solved together. It is linear if x and y enter linearly (x′ = ax + by + r₁(t), …), with constant coefficients if a, b, c, d are constants, and homogeneous if r₁ = r₂ = 0. The number of arbitrary constants is the total order, so a 2 × 2 first-order system takes the two starting values x(t₀) and y(t₀). Systems arise whenever there are two of something: two tanks, two loops, or an egg with a yolk and a white. For a hard-boiled egg dropped into ice water, T₁′ = −2T₁ + 2T₂, T₂′ = 2T₁ − 5T₂; eliminating T₂ gives T₁″ + 7T₁′ + 6T₁ = 0, and with T₁(0) = 40, T₂(0) = 45 the solution is T₁ = 50e^(−t) − 10e^(−6t), T₂ = 25e^(−t) + 20e^(−6t). An autonomous system is a velocity field in the plane, and its solutions are the parametrized curves that follow it.
Initial conditions (pp. 2–3). The number of arbitrary constants in the solution is the total order of the system: two for two first-order equations, three if one of them is second order. So a 2×2first-order system needs two conditions, and they are the natural ones: the starting values x(t0) and y(t0), with no velocities required (p. 3).
The same models as for single equations, mixing, decay, heat conduction, diffusion, give systems whenever there are two of something that used to be one (transcript, pp. 3–4): two tanks, one feeding the other, or an electrical circuit with two loops. Add a third loop and the system has three equations; put a coil in one loop and that equation becomes second order, so the system has total order four (p. 4).
An egg sits in a water bath at temperature Te(t) (transcript, p. 5). A real egg has a yolk, at temperature T1, inside a white at temperature T2, with different conductivities through the yolk's membrane and through the shell (p. 5). By Newton's law, the yolk gets heat only from the white, and the white from both the yolk and the bath (pp. 5–6). Written in standard form, with the variables in the same order on both sides, a habit that prevents many mistakes (p. 6):
The egg system
T1′=−aT1+aT2,T2′=aT1−(a+b)T2+bTe(t)
In words
capital T one prime equals minus a capital T one plus a capital T two, capital T two prime equals a capital T one minus the quantity a plus b, capital T two plus b capital T sub e (t)
To coddle an egg, put it in boiling water and turn off the heat, so Te starts at 100 °C and decays exponentially (p. 7). To avoid the inhomogeneous term, take instead a hard-boiled egg dropped into an ice bath, Te=0, with the "nice numbers" a=2, b=3 (pp. 7–8):
Egg in an ice bath
T1′=−2T1+2T2,T2′=2T1−5T2
In words
capital T one prime equals minus 2 capital T one plus 2 capital T two, capital T two prime equals 2 capital T one minus 5 capital T two
The method that always works, and that you can rebuild in forty years without remembering anything, is to eliminate a variable (transcript, p. 8). From the first equation (p. 9),
T₂ in terms of T₁
T2=2T1′+2T1
In words
capital T two equals the quantity capital T one prime plus 2 capital T one, all over 2
Two first-order equations become one second-order equation: in general the order of the single equation is the sum of the orders. You trade one complexity for another, the "law of conservation of mathematical difficulty" (p. 10). The coefficients must be positive, because the system must be stable: an egg in ice water cools to 0 (p. 11). The characteristic equationr2+7r+6=(r+1)(r+6)=0 gives (pp. 11–12)
Yolk temperature
T1=c1e−t+c2e−6t
In words
capital T one equals c one e to the power minus t plus c two e to the power minus 6 t
Do not find T2 by eliminating T1 and solving again: that is extra work and brings two more, unrelated arbitrary constants, while the system's solution has only two (p. 12). Use the relation already found instead (pp. 12–13):
White temperature
T2=2T1′+2T1=21c1e−t−2c2e−6t
In words
capital T two equals the quantity capital T one prime plus 2 capital T one, all over 2 equals one half c one e to the power minus t minus 2 c two e to the power minus 6 t
Initial values (pp. 12–14). Say the yolk is at 40 °C and the white at 45 °C. Then c1+c2=40 and 21c1−2c2=45; doubling the second and subtracting gives c2=−10, c1=50 (p. 13):
Solution
T1=50e−t−10e−6t,T2=25e−t+20e−6t
In words
capital T one equals 50 e to the power minus t minus 10 e to the power minus 6 t, capital T two equals 25 e to the power minus t plus 20 e to the power minus 6 t
The egg in the ice bath, computed from T1=50e−t−10e−6t and T2=25e−t+20e−6t: the white cools fast at first and soon falls below the yolk (before the curves cross, the yolk warms by under 0.2 °C, too little to see), and both tend to 0.
As on the first day of the course, the geometric meaning matters as much as the algorithms, since systems are mostly solved by computer (transcript, p. 14). For a picture, there must be no t on the right (p. 14):
It may be thoroughly nonlinear, but it is autonomous (pp. 14–15). A solution is a pair of functions x(t), y(t): a parametrized curve, travelled in a certain direction, and through every point passes one (pp. 15–16). (x′,y′) is its velocityvector, tangent to the curve; the picture of the curves shows the direction of motion but not its speed (p. 16). So the system assigns a velocityvector to every point of the plane: it is a velocity field, and a solution is a parametrized curve with the right velocity everywhere (pp. 16–17). Its connection with the direction fields of the first lecture comes later (p. 17).
Worked example
A coupled system
Solve x′=−3x+y, y′=x−3y with x(0)=2, y(0)=0 by elimination.
Eliminate y
From the first equation y=x′+3x, so y′=x′′+3x′. Substituting into the second: x′′+3x′=x−3(x′+3x), that is x′′+6x′+8x=0.
Solve for x, then y
r2+6r+8=(r+2)(r+4), so x=c1e−2t+c2e−4t and y=x′+3x=c1e−2t−c2e−4t, with the same two constants.
Initial values
c1+c2=2 and c1−c2=0, so c1=c2=1: x=e−2t+e−4t, y=e−2t−e−4t. Both tend to 0, as they must for a stable system with positive coefficients 6 and 8.
Today: the present time, about 13.8 billion years after the Big Bang in the real universe (simple models on some pages give other ages). Unit: s (usually billions of years).Say it: “t nought”.
A way of turning a function of time into a function of a new variable s, which changes differential equations into algebra. Explained in Introduction to the Laplace transform.
How easily something flows through a material: electric current, for electrical conductivity, or heat, for thermal conductivity. Explained in Current, resistance and DC circuits.
Energy that passes between bodies because their temperatures differ, rather than by one doing mechanical work on the other. Explained in Temperature and thermal energy.
A list of numbers written as a column, or more generally anything that can be added and multiplied by numbers. Explained in Orthogonal vectors and subspaces.
In theory or in a calculation, as opposed to in a real experiment or in reality.
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).