This set practises first-order autonomous equations, then the damped spring of second-order equations with constant coefficients and complex characteristic roots. It follows MIT's Problem Set 3, in our own words. MIT handed the sheet out in two halves, which is why OpenCourseWare has two files for it.
MIT's set has two parts. Part II holds MIT's own four problems (60 points), written out below with hints and solutions of our own, based on MIT's published solutions. Part I is a list of short exercises, most of them from MIT's "18.03 Notes and Exercises", which are not rewritten here: the last section of this page lists them with links. MIT numbers the problems 8, 9, 11 and 12 (MIT's problem numbers follow its lecture numbers through the term, and its Lecture 10 was an exam, so there is no Problem 10), and this page keeps those numbers.
MIT labels each problem with the day of the lecture it goes with. Problems 8 and 9 go with MIT's Lectures 8 and 9, the autonomous equations, which are this site's Lesson 5 (the linearization of Problem 9 is what MIT's "Linear vs Nonlinear" wrap-up adds to it). Problem 11 goes with MIT's Lecture 11, the spring–mass–dashpot model with real roots, and Problem 12 with its Lecture 12, complex roots: on this site those are Lesson 9 and Lesson 10.
MIT's problems are written for two of the course's interactive applets, the Mathlets Phase Lines and Damped Vibrations. They let you see the behaviour first. You can use them, or any other tool that draws solutions, or no tool at all: every question here can be answered with pencil and paper.
How to answer#
Work each problem on paper first. Then type your result in the answer box and press Check. A formula box takes plain typing, for example exp(-t/2) or 1/2 + sqrt(1/4 - a), and accepts every correct way of writing the answer. A number box wants a decimal number, not a fraction or a square root, and its question says the unit and how exact your value must be: keep all the digits your calculator shows while you work. The points of each problem, and their split over its parts, are MIT's. Parts that ask you to explain or to sketch have no answer box (or only a box for a piece of them): compare your work with the solution and mark yourself. Where MIT asks an open question, a box may ask for one special case of it, such as a particular starting value: those special cases are our own choice, and the label of the box says which case is meant. In Problem 11, type x0 for and v0 for . If you are stuck, open the hints one at a time. Each part ends with its full solution. Try before you open it: an answer given after its solution was opened earns no points. Your score is kept in this browser only.
The solutions follow the method of MIT's published solutions. In two places MIT's printed solution has a slip of sign; the text there says so in brackets.
Problem 8#
Hunting oryx: equilibria, stability and the bifurcation curve
The Kenyan government has a game preserve that supports a population of oryx. Without hunting, the population follows the logistic equation, with a stable population of one kilo-oryx (one thousand animals). The government wants to study the effect of different hunting rates , measured in kilo-oryx per year. MIT's model, with the population in kilo-oryx and the time in years, is
In words
y dot equals the quantity 1 minus y, y minus a
(a)3 points
MIT says that this is a good model of the situation. Explain why. (What does the equation say when ? What does the term add?)
Hint
Compare the right side with the logistic equation . Which values of and turn it into ?
Solution
The idea. Match each part of the equation with a feature of the story.
Without hunting
For the equation is . This is the logistic equation of the lesson,
In words
d y over d t equals the quantity a minus b y, y equals a y minus b y squared
with its two constants both equal to (in the lesson's letters, ; the letter is hunting in this problem, so we do not use it for the growth rate). Small populations grow at the rate , and the equilibrium is , one kilo-oryx, as the story demands. The only assumption MIT adds is that the growth rate for a small population is per year.
The hunting term
Hunting at a constant rate removes kilo-oryx every year, whatever the population is, and so the equation gets the term . This is the logistic equation with constant harvesting of the lesson, with the rate .
Check the result
At the model has the equilibria and , as the story says. For the right side is lower by the same amount for all , so the population is always smaller than it would be without hunting. That is how hunting should act.
(b)3 points
For which values of does the equation have two equilibria (critical points), exactly one, and none? For each , find the critical points and say whether each is stable, unstable or semi-stable.
Hint
A critical point is a value of at which . That is a quadratic equation in , with the number in it.
Hint
The number of real roots of a quadratic equation depends on the sign of its discriminant. For the stability, sketch the parabola and see where it is above and below the -axis.
Solution
The idea. Solve for with the quadratic formula, then read the stability from the sign of on each side.
The critical points
Setting the right side to zero and multiplying out gives , and the quadratic formula gives
In words
y equals one half plus or minus the square root of one quarter minus a, end of root
The square root is real exactly when . So there are two critical points for , one for (namely ), and none for .
Stability
The graph of against is a parabola that opens downward. Where it is above the -axis, and the population grows; where it is below, the population falls. For the parabola lies above the axis between the two roots and below it outside them. Hence the population grows towards the larger root from below and falls towards it from above: the larger root is stable. It falls away from the smaller root on one side and grows away from it on the other: the smaller root is unstable.
For the parabola just touches the axis from below at : on both sides, so the population falls on both sides. A critical point with the same sign of on both sides is semi-stable: solutions starting just above it fall back to it, but those starting below it fall away from it. For the parabola is entirely below the axis, and every solution falls.
Check the result
At the formula gives , so and , the unstable extinction and the stable carrying capacity of the logistic equation. Also is the top of the parabola, and it is above the axis exactly when : the same threshold.
(c)3 points
The government hopes to allow 187.5 oryx to be killed in an average year. Find the stable population that results. Also find the critical population below which the oryx die out if the same yearly harvest is kept up.
Hint
The unit of is a kilo-oryx, that is, a thousand animals. What is 187.5 oryx per year in those units?
Hint
Use the formula of part (b) for the two critical points. Which one is stable, and which marks the threshold of a crash?
Solution
The idea. Convert the harvest to kilo-oryx per year, then use the critical points of part (b).
The hunting rate
187.5 animals is kilo-oryx, so per year, below the limit .
The critical points
In words
y equals one half plus or minus the square root of one quarter minus 3 over 16, end of root, equals one half plus or minus one quarter which gives y equals three quarters and y equals one quarter
The larger one is stable: a population of kilo-oryx, that is 750 animals, results in the long run. The smaller one, kilo-oryx or 250 animals, is unstable: if the population falls below it, the harvest of 187.5 a year is more than the herd can replace, and it is hunted to extinction.
Check the result
At : , the harvest, so the growth just balances it. The same at : .
(d)5 points
For this value , there are five different kinds of behaviour of the population. (Two solutions are of the same kind if one is the other shifted in time.) Sketch one solution of each kind, showing what it does for very early times and for very late times, and match each with a stretch of the phase line.
Hint
The equilibria cut the -axis into three intervals. Count: two equilibria, three intervals.
Hint
On each interval, has one sign, so the solution is monotone. As it must either tend to an equilibrium or run off to (possibly in finite time).
Solution
The idea. Each of the five kinds is either an equilibrium or an interval between them. On an interval the solution is monotone, so we only need to know where it comes from and where it goes.
The five kinds
- : . As grows the solution falls towards , which it approaches but does not reach. Going backward in time it rises, and since for large it escapes to in finite time.
- : the constant stable solution.
- : . The solution rises towards as and, going backward, falls towards as .
- : the constant unstable solution.
- : . Going backward in time the solution rises towards (as ). Going forward it falls, reaches after a finite time (the herd is gone: the model is only meaningful until then) and goes on falling to in finite time.
Check the result
Count: two constant solutions and three intervals, so five. The three intervals are the three stretches of the phase line, in which the arrow points down, up and down. Solutions of kinds 1 and 3 meet the stable point at from above and below, kinds 3 and 5 leave the unstable point at in opposite directions.
(e)2 points
In the bifurcation diagram, the horizontal axis is and the vertical axis is the critical points of the equation for that . Give an equation for the curve of equilibria.
Hint
Every point on the curve is a critical point for its own value of . Solve the equation for the critical points for instead of .
Solution
The idea. The curve consists of all pairs with .
The curve
Put in the equation of the model and solve for :
In words
y squared minus y plus a equals 0 is equivalent to a equals y minus y squared
[MIT's printed solution gives . That is a sign slip: its own part (b) has , and so do we.]
Check the result
This is a parabola opening to the left, with its tip at , . The upper half () is the stable branch and the lower half is the unstable branch, and they meet at the tip: the merging of the two equilibria of part (b). At : , as in part (c).
Problem 9#
Linearizing the oryx equation near equilibrium
Keep the model with . Let be its stable critical point, and write for the excess of the population over equilibrium (so if the population is below the equilibrium).
(a)3 points
Write the differential equation as an equation for . Check that the new equation is again autonomous and that is a critical point of it.
Hint
By Problem 8(c) the stable critical point is , so . Substitute that into the right side. Note that .
Solution
The idea. Substitute and expand. Since is a constant, .
The substitution
With , we have and . Then
In words
u dot equals the quantity one quarter minus u, the quantity u plus three quarters, all minus 3 over 16 equals minus one half u minus u squared
[MIT's printed solution writes the second factor as . That is a sign slip: the factor is . The result is the same as ours.]
Autonomous, with a critical point at zero
The right side contains only , and not : the equation is autonomous. At it is zero, so is a critical point, and it is the old critical point in the new variable.
Check the result
The other critical point is : indeed , so the new equation has the second critical point where it should be.
(b)3 points
For small the higher powers ( and beyond) can be neglected: this is linearization near the equilibrium. What is the linearized equation near , and what is its general solution?
Hint
When is small, is much smaller than itself. Drop it from the equation of part (a).
Hint
What is left is a first-order linear equation with a constant coefficient.
Solution
The idea. Dropping from the equation leaves a linear equation, which is solved by an exponential.
Linearize
The terms of are the linear term and the quadratic term . For small the second is much smaller than the first: at it is against . Dropping it,
In words
u dot equals minus one half u
Solve
An equation is solved by separation of variables, or by the first-order linear methods of the lessons:
In words
u equals c e to the power minus t over 2, end of power
Check the result
Differentiate: . The rate is the number , the slope of the right side at the critical point : , which is at . This is the general fact behind linearization: near a critical point, the rate is the derivative of the right side there.
(c)3 points
Near equilibrium the solutions of the original equation are well approximated by those of its linearization. Give an approximation of near equilibrium. Use it to answer this: if , estimate and . Give the two excesses and as multiples of .
Hint
By part (b) the excess is approximately . Each unit of time multiplies it by the same factor. What is that factor?
Solution
The idea. In the linear approximation the excess decays by a fixed factor in each unit of time.
The approximation
From and part (b),
In words
y is approximately three quarters plus c e to the power minus t over 2, end of power
The population relaxes exponentially towards the equilibrium, with decay rate per year.
The estimates
At the excess is , so . Then at the excess is , and at it is :
In words
y(11) is approximately three quarters plus b e to the power minus one half equals three quarters plus 0.6065 b, y(12) is approximately three quarters plus b e to the power minus 1 equals three quarters plus 0.3679 b
Check the result
The excess shrinks each year: , and each year multiplies it by the same factor : with the rounded values, , the same up to rounding.
(d)3 points
Suppose that the linear equation is autonomous. What can you say about the functions and ?
Hint
Write the equation as . What does "autonomous" say about the right side, as a function of and ?
Solution
The idea. An autonomous equation has a right side that does not depend on at all, for any value of .
The argument
The right side is . It must have the same value at every time , for every . At this says that does not depend on , so is a constant. Then at it says that does not depend on , so is a constant too.
Check the result
So an autonomous linear equation is with constants and , as in the examples of the lesson (the bank account is one). Conversely, an equation of this form is autonomous. The linearization of part (b) is of this type, with and .
Problem 11#
The saloon door: overdamping and the swing through the frame
A saloon door can swing right through its frame. A good damper either brings the door to rest on the side it started from or, after a hard shove towards the frame, lets it pass through once and settle on the other side. Behaviour like this belongs to overdamping. MIT's Mathlet "Damped Vibrations" shows solutions of the equation of a spring, a mass and a dashpot:
In words
m x double dot plus b x dot plus k x equals 0
with initial conditions and . Fix the constants at , and . (MIT notes that the applet only allows , and asks you to use in your calculations. By our own calculation the roots for are and , so expect the applet to be a little off.)
(a)4 points
What is the characteristic polynomial? Verify that the roots shown by the applet are correct.
Hint
Try the solution in the equation. The characteristic polynomial is the left side divided by .
Hint
The roots are those of a quadratic polynomial with these numbers. Complete the square, or factor.
Solution
The idea. Substituting turns the differential equation into a polynomial equation.
The characteristic polynomial
Since and , the equation becomes . With the given numbers,
In words
p(s) equals one half s squared plus three halves s plus five eighths equals one half the quantity s squared plus 3 s plus five quarters
The roots
Complete the square: , which is zero when :
In words
s equals minus three halves plus or minus 1 which gives s one equals minus one half, s two equals minus five halves
Both are real and negative, and different: the overdamped case.
Check the result
The product of the roots is , and the sum is , as the factorization says. The discriminant agrees with two real roots.
(b)4 points
What is the general solution? Express its constants in terms of the initial conditions and .
Hint
For distinct real roots the general solution is a combination of two exponentials and . Write the solution as and differentiate it.
Hint
Setting in and in gives two linear equations for and in terms of and .
Solution
The idea. Two exponentials with the roots of part (a), and two initial conditions to fix the constants.
The general solution and its slope
In words
x equals c one e to the power minus t over 2, end of power, plus c two e to the power minus 5 t over 2, end of power, x dot equals minus one half c one e to the power minus t over 2, end of power, minus five halves c two e to the power minus 5 t over 2, end of power
Match the initial conditions
At the two exponentials are :
In words
x nought equals c one plus c two, x dot nought equals minus one half c one minus five halves c two
Add the first equation to twice the second: , so . Then :
In words
c one equals one quarter the quantity 5 x nought plus 2 x dot nought, c two equals minus one quarter the quantity x nought plus 2 x dot nought
Check the result
At and (a push from the rest position): and , so . It starts at with slope , as it must.
(c)3 points
For which initial conditions is the solution "exponential", that is, of the form and not a sum of two such terms? (For the answer boxes, which are our own addition, take : which two values of make the solution exponential?)
Hint
The solution is a single exponential when one of the two constants of part (b) is zero.
Solution
The idea. One of the two constants must vanish.
The two lines of initial conditions
If , the solution is , and this needs . If , the solution is , and this needs :
In words
x nought plus 2 x dot nought equals 0 (x equals c e to the power minus t over 2, end of power, ), 5 x nought plus 2 x dot nought equals 0 (x equals c e to the power minus 5 t over 2, end of power, )
In the plane these are two lines through the origin.
The numbers
For : for the slow exponential and for the fast one. The slope of the solution at is, of course, the root times .
Check the result
For with , the initial speed is : it is for and for , as found.
(d)4 points
Fix the initial position at (take for the applet). Which values of the initial velocity give solutions that become zero for some positive ? In words: how hard must you push the door to make it swing through its closed position and return from the other side? Find the exact range of , in terms of , and compare with what you see in the applet.
Hint
A solution is zero at time when . Divide by (if ). What must equal?
Hint
The factor is at least for . So the ratio must be negative and at most .
Solution
The idea. A zero of means , which pins down the ratio as a function of .
The condition for a zero
Dividing by gives , that is
In words
c two over c one equals minus e to the power 2 t
The right side is negative, and grows in size from at without limit. So a positive exists exactly when (the ratio is negative and larger in size than ). If the solution is a single exponential, which has no zero.
In terms of the initial conditions
By part (b), . Requiring that it is below , so that and have opposite signs with : either and , or and . For the first reads , which needs : impossible. The second reads , which is true when and :
In words
x nought greater than 0 and x dot nought less than minus five halves x nought
For the same argument gives , the mirror image. With the door must be pushed toward the frame (negative velocity) faster than .
Check the result
At exactly, and : the solution is with , which never reaches zero. A slightly stronger push gives slightly negative and a zero at a late time, where is as large as . In the applet, the pushes that make the curve cross the -axis are those with a steeply negative initial slope, which matches. The boundary is the line of initial conditions of the fast exponential, from part (c).
Problem 12#
The saloon door: critical damping and complex roots
Continue with the same applet, the same mass and the same spring constant , but now lower the damping constant .
(a)6 points
At what value of do the two roots of the characteristic polynomial become equal? Check this with algebra. For that value of , what is the general solution of ?
Hint
A quadratic polynomial has a double root when its discriminant is zero. What is the discriminant of ?
Hint
For a double root , the second solution is not another exponential: it is times the first.
Solution
The idea. The roots of coincide when the discriminant vanishes.
The value of b
In words
b squared equals 4 m k equals 4 times one half times five eighths equals five quarters, b equals the square root of 5 over 2 equals 1.118
(We keep : a negative damping constant would be a dashpot that pushes the door.) In the form , the root is twice when . It is a coincidence of that the root is minus the damping constant itself.
The general solution
As in the lesson the solutions are and (the lecture writes the double root as and the unknown as ; here they are and ):
In words
y equals t e to the power minus a t
In words
x equals the quantity c one plus c two t, e to the power minus b t, b equals the square root of 5 over 2
For the starting conditions and of the answer box: and , so .
Check the result
The discriminant is . The slope of at is , and for later times it is : the door creeps back without swinging through, which is the aim of a damper.
(b)6 points
Now push lower still, to . Pick a nonzero initial condition and watch the solution in the applet; confirm that the roots shown are right and give the general solution.
Hint
The discriminant is now negative, so the roots are complex numbers. Write and complete the square.
Hint
With the polynomial is .
Solution
The idea. Complete the square in and read the roots as a complex pair.
The roots
, because . So
In words
s equals minus one quarter plus or minus the square root of 19 over 4, times i equals minus 0.25 plus or minus 1.0897 i
These are the roots the applet shows.
The general solution
For complex roots the real solutions are a decaying exponential times a cosine and a sine (the damped oscillation of Lesson 10, whose pseudo-frequency is ):
In words
omega one squared equals omega nought squared minus p squared
In words
x equals e to the power minus t over 4, end of power, the quantity c one cos the square root of 19 over 4, times t plus c two sine the square root of 19 over 4, times t, equals capital A e to the power minus t over 4, end of power, cos the quantity the square root of 19 over 4, times t minus phi
Either form will do. The second shows an oscillation of angular frequency inside the envelope , which decays.
Check the result
With the notation of the lesson, and : , so , the same.
(c)5 points
With these values of , and , set the initial conditions to and . Using the cross-hairs of the applet, measure the distances between the first five zeros of the solution. What does the theory predict? Does the door oscillate faster, slower, or at the same rate as it comes to rest? What is the pseudo-period of the solution? Then repeat the measurements with other initial conditions: what do you find, and what does the theory say about the distance between successive zeros of every solution?
Hint
For these initial conditions the cosine part of the solution is absent: . Fix from the slope at .
Hint
The zeros come from the sine alone, since the exponential is never zero. Where does vanish?
Solution
The idea. The zeros of are the zeros of the sine, which are equally spaced by half a period.
The solution
Starting at kills the cosine term: with . Its slope at is , which should be :
In words
x equals 4 over the square root of 19, times e to the power minus t over 4, end of power, sine the square root of 19 over 4, times t
The zeros
The exponential is never zero, so when , that is, with . The zeros are , and the distance between successive zeros is half a period:
In words
capital delta t equals pi over omega equals 4 pi over the square root of 19 equals 2.883, pseudo-period equals 2 pi over omega equals 5.766
The first five zeros are at , , , and . [MIT measured , , , and with the applet: differences , , , , close to constant.]
The door does not speed up or slow down
The oscillation does not change its rate as the door comes to rest: the zeros are equally spaced, while the amplitude falls. This is true for every solution, not just this one. Every solution other than has the form , and the zeros of the cosine are always half a period apart. Other initial conditions only shift the zeros, by changing .
Check the result
The measured spacings are with a mean of , which agrees with . The slope of the formula at is , as demanded.
More practice: MIT's own solved exercises#
Part I of MIT's Problem Set 3 (36 points at MIT, not scored here) is a list of short routine exercises. Most are from the "18.03 Notes and Exercises", which are on MIT OpenCourseWare with the rest of the course, with solutions to the exercises. They are not rewritten here. Try them in MIT's exercises: the exercises of Unit 1 are in the Unit 1 file (with its solutions) and those of Unit 2 in the Unit 2 file (with its solutions). An exercise number such as 2C-1 means section C of Unit 2, exercise 1; the letters after it are its parts.
| For | Exercises in MIT's Notes |
|---|---|
| Lesson 5: autonomous equations | 1E-1 (sketch the phase line and typical solutions of several autonomous equations) |
| Lesson 9: second-order equations with constant coefficients | 2C-1 a, b (general and initial-value solutions with real roots) |
| Lesson 10: complex characteristic roots | 2C-1 c, d, e (complex roots, and the double root); 2G-1 (the three cases of for different , and for which the equation is stable, which also uses stability) |
MIT's sheet also has a short exercise of its own on (solve it three ways, sketch its phase line, and take three steps of Euler's method), which comes with a short answer at the end of the sheet and with the first half of the problem set. Its Part I lists further exercises from the course textbook (Edwards and Penney, Elementary Differential Equations, 6th edition), which is not openly licensed and is not used on this site, so they are not part of this page.