Guess a straight-line solution
Take the pair , , written with M = (1 1; 4 1). For one equation, , the solution is times a constant. So try the same shape here: , a fixed column v multiplied by one exponential.
Such a solution keeps one direction, the direction of v, and only changes its length, at the single rate . Its derivative is .
The guess needs an eigenvector
Put the guess into both sides. The left is . The right is , and since is a number it can be taken out: . The exponential is never 0, so dividing by it leaves .
That is the eigenvector equation. The guess works exactly when v is an eigenvector of M and is its eigenvalue: a direction M only stretches, by the factor . Along that direction the rate of X is times X, so X grows or shrinks like and never turns.
The eigenvalues
v must not be the zero column, so must send some non-zero column to 0, which means . Here has rows and , and its determinant is . So or .
Two checks: the eigenvalues add to the diagonal total, 1 + 1 = 2 = 3 + (−1), and multiply to the determinant, 1 × 1 − 1 × 4 = −3 = 3 × (−1).
The eigenvectors
For , M − 3I = (−2 1; 4 −2). Its first row says −2x + y = 0, so y = 2x, and the second row says the same. Take . Check: M sends (1; 2) to (1 + 2; 4 + 2) = (3; 6), which is 3 times (1; 2).
For , M + I = (2 1; 4 2). Its rows say 2x + y = 0, so y = −2x. Take . Check: M sends (1; −2) to (1 − 2; 4 − 2) = (−1; 2), which is −1 times (1; −2).
So and are both solutions. The first runs out along the line y = 2x, tripling its rate as it goes; the second runs in along y = −2x toward the origin.
The general solution
The equation is linear: , and the derivative of a sum is the sum of the derivatives. So two solutions added are a solution, and so is any multiple of one. Every solution of this pair is , with one constant for each term.
Written out, and . Substitute back: , and , the same. , and , the same.
The starting values fix A and B
At t = 0 both exponentials are 1, so X(0) = A(1, 2) + B(1, −2). With X(0) = (2, 0) this says A + B = 2 and 2A − 2B = 0. The second gives A = B, and the first then gives A = B = 1. So and .
Check it at t = 0.5: and . A difference quotient gives there, and too.
A different start gives different constants. From X(0) = (1, 6): A + B = 1 and 2A − 2B = 6, so A − B = 3, A = 2 and B = −1. A start on an eigenvector needs only one term: from (1, −2), A = 0 and B = 1, and the point runs straight in along y = −2x, halving its distance every units of time.
The long run
As t grows, grows without limit and shrinks to 0. So once is small, X is almost , and the point lines up along (1, 2). On the path from (2, 0), is 0.924 at t = 0.25, 1.523 at t = 0.5, 1.928 at t = 1 and 1.999 at t = 2, closing on 2.
What decides it is the larger eigenvalue, 3, not the larger size: with eigenvalues 3 and −5, the term dies faster still and wins all the same. The one exception is a start with A = 0, on the eigenvector of the other eigenvalue.
The eigenvector lines and . The gold path is the solution through (2, 0), with A = B = 1: it comes in from below beside y = −2x, passes (2, 0) at t = 0 and (2.896, 2.676) at t = 0.25, and turns toward the direction of y = 2x as it leaves the frame at (4.283, 5.965), where is already 1.39.
A second pair
Take x' = y and y' = x, so M = (0 1; 1 0). Its characteristic polynomial is , so with eigenvector (1, 1) and with eigenvector (1, −1). The eigenvalues multiply to −1, which is det M = 0 × 0 − 1 × 1.
The general solution is . From X(0) = (3, 1): A + B = 3 and A − B = 1, so A = 2 and B = 1, giving and . Check: the derivative of x is , which is y, and the derivative of y is , which is x.
The usual mistakes
Pairing an exponential with the wrong direction. goes with the eigenvector of 3: does not solve the pair.
Leaving out the vectors. is one function; the solution has two, x and y, and the eigenvectors say how they are related.
Fitting the constants to an eigenvector instead of to the start. From (2, 0), A = B = 1, not A = 2 and B = 0: that would need the start to lie on y = 2x.
Choosing the dominant term by size. In the long run the term with the larger eigenvalue wins; a large negative eigenvalue makes its term vanish fastest.
A drug in the body, and an enzyme
In the applications below, a dose divides between the blood and the tissues, and the eigenvector of the eigenvalue nearer zero gives the split that lasts. In the second, one eigenvalue is 0, so one combination of the two sugars never changes while the other dies away.
Worked example: A Drug Injected Into the Blood and Carried Into the Tissues: The Amount in Each, and How the Dose Divides Between Them
Question A patient is given 100 milligrams of a drug by injection into the blood. The drug moves from the blood into the body's tissues at a rate of 0.2 per hour times the amount in the blood, and back from the tissues at 0.2 per hour times the amount in the tissues, and the kidneys remove it from the blood at 0.3 per hour times the amount in the blood. Let x and y be the milligrams in the blood and in the tissues h hours after the injection. (a) Find x and y as functions of h. (b) After how long do the tissues hold more of the drug than the blood, and what value does the ratio of the amount in the tissues to the amount in the blood approach as time goes on?
1.The blood loses 0.2x + 0.3x = 0.5x milligrams per hour and gains 0.2y, and the tissues gain 0.2x and lose 0.2y. So dxdh = −0.5x + 0.2y and dydh = 0.2x − 0.2y, with matrix −0.50.20.2−0.2.
The blood loses 0.2x + 0.3x an hour and gains 0.2y; the tissues gain 0.2x and lose 0.2y. The dose starts on the blood axis. 2.The trace is −0.7 and the determinant is 0.1 − 0.04 = 0.06, so the characteristic polynomial is λ2 + 0.7λ + 0.06 = (λ + 0.1)(λ + 0.6), and the eigenvalues are −0.1 and −0.6. For −0.1: −0.4x + 0.2y = 0, so y = 2x and an eigenvector is 12. For −0.6: 0.1x + 0.2y = 0, so an eigenvector is 2−1.
The eigenvalues are −0.1 and −0.6. The dashed line is the eigenvector 12 of the slower one. 3.(a) The general solution is xy = c112e−0.1h + c22−1e−0.6h. At h = 0: c1 + 2c2 = 100 and 2c1 − c2 = 0, so c2 = 2c1, 5c1 = 100, c1 = 20 and c2 = 40. Hence x = 20e−0.1h + 80e−0.6h and y = 40e−0.1h − 40e−0.6h.
(a) Fitting c1 = 20 and c2 = 40 to the dose gives the path of the drug, drawn from (100, 0) toward the origin. 4.(b) The tissues hold more when 40e−0.1h − 40e−0.6h > 20e−0.1h + 80e−0.6h, that is when 20e−0.1h > 120e−0.6h. Multiplying both sides by e0.6h20 gives e0.5h > 6, so h > 2ln 6 ≈ 3.58 hours.
(b) The path crosses y = x at h = 2ln 6 ≈ 3.58 hours; after that the tissues hold more. 5.As time goes on, the e−0.6h terms shrink much faster than the e−0.1h terms, so yx approaches 4020 = 2. The drug settles into the split of the eigenvector 12, twice as much in the tissues as in the blood, while the whole amount decays at the slower rate.
The e−0.6h terms die away first, so the path runs in along the eigenvector: yx → 2. 6.Check: at h = 2ln 6, e−0.1h = 6−0.2 ≈ 0.6988 and e−0.6h = 6−1.2 ≈ 0.1165, so x ≈ 13.98 + 9.32 and y ≈ 27.95 − 4.66, and both come to about 23.29 milligrams, equal as they should be. Both formulas also give amounts that are never negative, since y = 40e−0.1h(1 − e−0.5h).
Check: at h = 2ln 6 both amounts come to about 23.29 milligrams.
Answer: (a) x = 20e−0.1h + 80e−0.6h and y = 40e−0.1h − 40e−0.6h milligrams; (b) after 2ln 6 ≈ 3.58 hours, and the ratio of the amount in the tissues to the amount in the blood approaches 2
Common mistakes
- Leaving the kidneys out of the blood's equation, or putting them into the tissues' equation. The kidneys remove the drug from the blood only, so the blood's own rate is −(0.2 + 0.3) = −0.5 while the tissues' own rate is −0.2.
- Taking the long-run ratio from the eigenvector of −0.6. That part of the solution decays six times as fast as the other and has almost vanished within a few hours; the proportions that last are those of the eigenvector of the eigenvalue closer to zero, −0.1.
More coupled differential equations problems, worked step by step →
Worked example: An Enzyme That Turns Glucose Into Fructose and Back: Where the Syrup Settles, and How Long a Batch Takes to Reach 42 Percent Fructose
Question In making corn syrup, an enzyme turns glucose into fructose and fructose back into glucose. Glucose becomes fructose at a rate of 0.25 per hour times the fraction of the sugar that is glucose, and fructose becomes glucose at a rate of 0.25 per hour times the fraction that is fructose. Let x and y be the fractions of the sugar that are glucose and fructose h hours after a batch of pure glucose syrup meets the enzyme. (a) Write down the differential equations for x and y, find the eigenvalues, and say what they mean for the mix. (b) Syrup sold as 42 percent fructose is taken off the enzyme when y = 0.42. How long after the start is that?
1.Glucose is lost at 0.25x and gained at 0.25y, and fructose the other way round, so dxdh = −0.25x + 0.25y and dydh = 0.25x − 0.25y. Adding the two equations gives ddh(x + y) = 0, so the total stays at x + y = 1.
The two rates are equal and opposite, so x + y never changes: every path runs along a line x + y = constant. 2.(a) The matrix −0.250.250.25−0.25 has trace −0.5 and determinant 0.0625 − 0.0625 = 0, so its characteristic polynomial is λ2 + 0.5λ = λ(λ + 0.5), and the eigenvalues are 0 and −0.5. For 0 an eigenvector is 11, and for −0.5 it is 1−1.
(a) The eigenvalues are 0, with eigenvector 11, and −0.5, with eigenvector 1−1. 3.The eigenvalue 0 means that any mix with x = y is at rest: there is a whole line of equilibria, not a single point. The eigenvalue −0.5 means that the difference between the glucose and the fructose dies away. So the syrup settles at the point of that line with total 1: half glucose and half fructose.
The eigenvalue 0 makes the whole line x = y a line of equilibria; the difference between the sugars dies away at the rate 0.5. 4.The start, pure glucose, is 10 = 0.511 + 0.51−1. The first part stays and the second decays like e−0.5h, so x = 0.5 + 0.5e−0.5h and y = 0.5 − 0.5e−0.5h.
From pure glucose the mix runs along x + y = 1 to the point of that line where the total is 1: half and half. 5.(b) y = 0.42 when 0.5e−0.5h = 0.08, so e−0.5h = 0.16 and h = 2ln10.16 = 2ln 6.25 = 4ln 2.5 ≈ 3.67 hours. Check: e−0.5 × 3.665 ≈ 0.160, so y ≈ 0.5 − 0.080 = 0.420 and x ≈ 0.580, which add to 1.
(b) The fructose reaches 0.42 when e−0.5h = 0.16, at h = 4ln 2.5 ≈ 3.67 hours.
Answer: (a) dxdh = −0.25x + 0.25y and dydh = 0.25x − 0.25y; the eigenvalues are 0, whose eigenvector gives a whole line of mixes at rest with equal glucose and fructose, and −0.5, for the difference between the two sugars, which dies away, so the syrup settles at half glucose and half fructose, 0.5 of each; (b) 4ln 2.5 ≈ 3.67 hours
Common mistakes
- Reading the eigenvalue 0 as a sign that nothing changes. It says only that the part of the mix along 11, the total, stays fixed; the part along 1−1 still changes at the rate −0.5, and that is how pure glucose becomes a mix.
- Setting e−0.5h = 0.42, as if the fructose were the exponential itself. The fructose is 0.5 − 0.5e−0.5h, so the exponential must equal 0.5 − 0.420.5 = 0.16.
More coupled differential equations problems, worked step by step →