BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyPhysics & cosmology, from high school to a graduate year

Problem Set 1: a virus-slowed herd, the isoclines of y′ = y² − x, Euler's method on y′ = 2x and a trust fund

Four problems on first-order equations. You model a herd of oryx whose growth rate fades away and find its limiting size, study the direction field of y′ = y² − x with its isoclines, its separatrix and its critical points, run Euler's method on y′ = 2x for any number of steps, and set up a trust fund that pays a nephew a fixed sum, first for ever and then for twenty years.

You need this first

Full reading path (17 pages)
  1. The derivative: slope of the tangent line and rate of change (18.01)
  2. Limits and continuity (18.01)
  3. Derivatives of sine and cosine, and the product and quotient rules (18.01)
  4. The chain rule and higher derivatives (18.01)
  5. Implicit differentiation and the derivatives of inverse functions (18.01)
  6. Exponentials and logarithms: the number e and its derivatives (18.01)
  7. Linear and quadratic approximations (18.01)
  8. Curve sketching with the first and second derivative (18.01)
  9. Sketching strategy and maximum–minimum problems (18.01)
  10. More max–min, and related rates (18.01)
  11. A ring on a string, and Newton's method (18.01)
  12. The mean value theorem and inequalities (18.01)
  13. Differentials and antiderivatives (18.01)
  14. Differential equations and separation of variables (18.01)
  15. Direction fields, isoclines and integral curves (18.03)
  16. Euler's method and better numerical methods (18.03)
  17. First-order linear equations and integrating factors (18.03)
On this page · 6 sections
  1. How to answer
  2. Problem 0
  3. Problem 1
  4. Problem 2
  5. Problem 3
  6. More practice: MIT's own solved exercises

This set practises the first three lectures of the course: direction fields, Euler's method and first-order linear equations, with separation of variables from the recitation before them. It follows MIT's Problem Set 1, in our own words.

MIT's set has two parts. Part II holds MIT's own four problems, and MIT's solutions to them are on OpenCourseWare (the solutions). All four are written out below, with hints and solutions in our own words. Where our result or our method differs from MIT's, the solution says so in brackets. Part I is a list of routine exercises, partly from a textbook that is not used on this site and partly from MIT's own Notes and Exercises. Those are not rewritten: the last section of this page lists them and links to MIT's exercises and solutions.

MIT numbers the problems 0 to 3 and marks each with the day of the lecture it belongs to. Problem 0 belongs to the recitation before Lecture 1 (separable equations, covered on this site in the lesson on separation of variables), Problem 1 to Lecture 1, Problem 2 to Lecture 2 and Problem 3 to Lecture 3. MIT's lecture numbers are the same as this site's here. MIT's fourth lecture of the sheet, on integrating factors, has no problem in Part II.

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 k0*x/(a+t)^2, and accepts every correct way of writing the answer. Type k0 for k0k_0 and x0 for x0x_0. A number box wants a decimal number, not a fraction or a square root, and its question says how exact your value must be: keep all the digits your calculator shows while you work. Unless a box asks for more digits, give 3 significant figures in the box; an answer with only 2 significant figures may or may not be accepted. MIT prints a point value for each task in its solutions. Where MIT gives a value for a lettered part, we use it; where MIT gives one value for several parts, or a part of ours has no value at MIT (marked "our addition"), the split is ours. If you are stuck, open the hints one at a time. Each problem or part ends with its full solution. Try before you open it: an answer given after its solution was opened earns no points. Parts that ask you to sketch, explain or prove something have no answer box, or a box for only a piece of them: compare your work with the solution and mark it yourself. Your score is kept in this browser only.

Problem 0#

Problem

A herd of oryx whose growth rate fades away

15 points

In a nature reserve, the number of oryx at time tt is x(t)x(t), measured in thousands of animals (kilo-oryx), with tt in years. When the herd is small compared with its food, it grows at a natural growth rate kk: in a short time interval Δt\Delta t the population changes by about k x(t) Δtk\,x(t)\,\Delta t. (MIT's recitation also studied hunting; we leave that aside, as MIT does.)

A virus infects the herd, and the growth rate then fades with time according to

The growth rate of the infected herd
k(t)=k0(a+t)2,t≥0k(t) = \frac{k_0}{(a + t)^2}, \qquad t \ge 0
In words

k(t) equals k nought over the quantity a plus t, all squared, t is greater than or equal to 0

Source: MIT 18.03 Problem Set 1, Part II, Problem 0, p. 2

where aa and k0k_0 are positive constants.

(a)4 points

What are the units of the constant aa and of the constant k0k_0?

Hint

The growth rate kk multiplies x Δtx\,\Delta t to give a change in xx. What must the units of kk be, so that k x Δtk\,x\,\Delta t is in thousands of animals?

Hint

In a sum such as a+ta + t, both terms must have the same units. Then ask what k0k_0 must be, so that k0k_0 divided by (years)² gives the units of kk.

Solution

The idea. Every term of an equation, and every term of a sum, must have the same units.

The units of the rate

A change k x Δtk\,x\,\Delta t has the units of xx. So k Δtk\,\Delta t has no units, and kk is in 1/years: it is a rate per year.

The units of a and k₀

The constant aa is added to tt, which is in years, so aa is in years. The fraction k0/(a+t)2k_0/(a+t)^2 must be in 1/years. The denominator is in years squared, so k0k_0 is in years:

The units of the constants
[k0]=[k] [a+t]2=1years⋅years2=years[k_0] = [k]\,[a + t]^2 = \frac{1}{\text{years}} \cdot \text{years}^2 = \text{years}
In words

( k nought ) equals ( k ) the quantity a plus t, all squared equals 1 over years times years squared equals years

Source: MIT 18.03 Problem Set 1, Part II, Problem 0(a) (our own solution)

Check the result

Take k0=2k_0 = 2 years and a=1a = 1 year. At t=0t = 0 the rate is 2/12=22/1^2 = 2 per year, a rate indeed. If k0k_0 were in 1/years, the rate would be in 1/years³ and k x Δtk\,x\,\Delta t would not be in thousands of animals.

(b)3 points

Write down the differential equation for x(t)x(t). Give the right-hand side, the formula for x′x'.

Hint

Start from the change in a short interval: x(t+Δt)−x(t)≈k(t) x(t) Δtx(t + \Delta t) - x(t) \approx k(t)\,x(t)\,\Delta t. Divide by Δt\Delta t and let Δt\Delta t go to zero.

Solution

The idea. In a short time the change of the population is the growth rate times the population times the length of the time. Divide by the length and shrink it.

The change in a short time

Over a short interval, with kk evaluated at the start,

Population change in a short interval
x(t+Δt)−x(t)≈k(t) x(t) Δtx(t + \Delta t) - x(t) \approx k(t)\,x(t)\,\Delta t
In words

x of the quantity t plus capital delta t, minus x(t) is approximately k(t) x(t) capital delta t

Source: MIT 18.03 Problem Set 1, Part II, Problem 0, p. 2

The differential equation

Dividing by Δt\Delta t and taking the limit Δt→0\Delta t \to 0:

The differential equation of the infected herd
x′=k0(a+t)2 xx' = \frac{k_0}{(a+t)^2}\,x
In words

x prime equals k nought over the quantity a plus t, all squared, times x

Source: MIT 18.03 Problem Set 1, Part II, Problem 0(b) (our own solution)

Check the result

The right side is in thousands of animals per year: k0k_0 in years divided by years² gives 1/years, times xx in thousands of animals. That is also the unit of x′x'. And x′>0x' > 0 when x>0x > 0, but the growth slows down as tt increases, as the virus is meant to do.

(c)4 points

Find the general solution of your equation, for all values of tt and xx where it makes sense, not only those that matter for oryx. MIT's two warnings: use the absolute value in ∫dx/x=ln⁡∣x∣+c\int dx/x = \ln|x| + c correctly, and do not forget solutions that are lost when you divide by xx.

Write the answer as CC times an exponential, with CC an arbitrary constant.

Hint

Separate the variables: put everything with xx on the left and everything with tt on the right. You divide by xx here. Which function xx would you lose by doing so?

Hint

An antiderivative of (a+t)−2(a + t)^{-2} with respect to tt is −(a+t)−1-(a+t)^{-1}. After integrating you have ln⁡∣x∣\ln|x| on one side. Take the exponential of both sides and deal with the absolute value.

Solution

The idea. The equation is separable. Divide by xx, integrate both sides, take exponentials, and then put back the solution lost in the division.

Separate and integrate

For x≠0x \ne 0, divide by xx and multiply by dtdt:

Separated form
dxx=k0 (a+t)−2 dt\frac{dx}{x} = k_0\,(a+t)^{-2}\,dt
In words

d x over x equals k nought the quantity a plus t, all to the power minus 2 d t

Source: MIT 18.03 Problem Set 1, Part II, Problem 0(c) (our own solution)

Integrating, with an arbitrary constant cc (the constants on the two sides are merged into one):

After integrating
ln⁡∣x∣=−k0a+t+c\ln|x| = -\frac{k_0}{a+t} + c
In words

log the absolute value of x equals minus k nought over the quantity a plus t, plus c

Source: MIT 18.03 Problem Set 1, Part II, Problem 0(c) (our own solution)

Remove the logarithm and the absolute value

Exponentiating gives ∣x∣=ec e−k0/(a+t)|x| = e^{c}\,e^{-k_0/(a+t)}. So xx is ec e−k0/(a+t)e^{c}\,e^{-k_0/(a+t)} or minus that, and both are covered by writing x=C e−k0/(a+t)x = C\,e^{-k_0/(a+t)} with C=±ecC = \pm e^{c}, any nonzero number.

The lost solution

Dividing by xx excluded x=0x = 0. But x(t)=0x(t) = 0 for all tt does solve x′=k0x/(a+t)2x' = k_0 x/(a+t)^2, since both sides are zero. It is the case C=0C = 0 of the formula, so the formula holds for every real CC:

The general solution
x(t)=C e−k0/(a+t),C any real numberx(t) = C\,e^{-k_0/(a+t)}, \qquad C \text{ any real number}
In words

x(t) equals capital C e to the power minus k nought over the quantity a plus t, end of power, capital C any real number

Source: MIT 18.03 Problem Set 1, Part II, Problem 0(c) (our own solution)

The formula and the equation make sense for t≠−at \ne -a. For t≥0t \ge 0, and in fact for every t>−at > -a, this is one solution for each CC. On the other side, for t<−at < -a, the constant CC can be chosen independently, because the point t=−at = -a cannot be crossed.

Check the result

Differentiate: x′=C e−k0/(a+t)⋅k0(a+t)2=k0(a+t)2 xx' = C\,e^{-k_0/(a+t)}\cdot \dfrac{k_0}{(a+t)^2} = \dfrac{k_0}{(a+t)^2}\,x, the equation of part (b). The exponent −k0/(a+t)-k_0/(a+t) has no units, as an exponent must be: k0k_0 is in years, a+ta + t in years.

(d)4 points

At t=0t = 0 there is a positive population x0x_0. Does the fading growth rate make the population settle at a limit for large tt, or does the population grow without bound? If it settles, give the limiting population as t→∞t \to \infty, in terms of x0x_0, k0k_0 and aa.

Hint

Use x(0)=x0x(0) = x_0 to find CC. Then look at the exponent −k0/(a+t)-k_0/(a+t) when tt is very large.

Solution

The idea. For large tt the exponent goes to zero, so the exponential goes to 1 and xx goes to CC.

Find C

With x(0)=x0x(0) = x_0 the general solution gives x0=C e−k0/ax_0 = C\,e^{-k_0/a}, so C=x0 ek0/aC = x_0\,e^{k_0/a} and

The solution with the starting population
x(t)=x0 ek0/a e−k0/(a+t)x(t) = x_0\,e^{k_0/a}\,e^{-k_0/(a+t)}
In words

x(t) equals x nought e to the power k nought over a, end of power, e to the power minus k nought over the quantity a plus t, end of power

Source: MIT 18.03 Problem Set 1, Part II, Problem 0(d) (our own solution)

The limit

As t→∞t \to \infty the exponent −k0/(a+t)-k_0/(a+t) goes to 00 and its exponential to 1. The population does not grow without bound. It settles at

The limiting population
lim⁡t→∞x(t)=x0 ek0/a\lim_{t \to \infty} x(t) = x_0\,e^{k_0/a}
In words

the limit as t goes to infinity of x(t) equals x nought e to the power k nought over a, end of power

Source: MIT 18.03 Problem Set 1, Part II, Problem 0(d) (our own solution)

The reason is that the total growth is limited: ∫0∞k(t) dt=k0/a\int_0^\infty k(t)\,dt = k_0/a is finite, because k(t)k(t) falls off like 1/t21/t^2.

Check the result

The factor ek0/ae^{k_0/a} is more than 1, so the herd ends up larger than it began, as it should: the growth rate stays positive. For a very large aa (a virus that acts only very late) the factor is near 1, and for k0=0k_0 = 0 (no growth at all) it is exactly 1.

After: MIT 18.03 Problem Set 1, Part II, Problem 0

Problem 1#

Problem

The direction field of y′ = y² − x

18 points

This problem studies the solutions of

The equation of Problem 1
dydx=y2−x\frac{dy}{dx} = y^2 - x
In words

d y over d x equals y squared minus x

Source: MIT 18.03 Problem Set 1, Part II, Problem 1, p. 2

None of its solutions can be written with the functions of ordinary calculus, but a lot can be learned from the direction field. MIT asks you to use one of the course's Mathlets, the Isoclines mathlet (MIT's Mathlets page; the sheet gives the address math.mit.edu/mathlets/mathlets). The mathlets were Java applets, and a modern computer may not run them. Any other tool that draws direction fields and solution curves will do just as well: a graphing calculator, a notebook with a numerical solver, or an online direction-field plotter. The problem does not depend on the tool.

(a)3 points

On a large pair of axes, with xx and yy both from −4-4 to 44, sketch the isoclines of slopes m=−1m = -1, m=0m = 0, m=1m = 1 and m=2m = 2, and draw a few short line elements on each. Then sketch a couple of solution curves, using only that information. Afterwards, draw the same isoclines in your tool and compare the solution curves with your sketch. (The sheet's instructions for the mathlet name the slopes −2-2, 00, 11 and 22 and its list above names −1-1, 00, 11 and 22: use the list above.)

This part has no answer box: compare your sketch with the solution and mark it yourself.

Hint

The isocline of slope mm is the set of points where the right side y2−xy^2 - x equals mm. Solve that equation for xx in terms of yy: each isocline is a parabola opening in one direction.

Hint

On an isocline all the line elements are parallel. Then draw a solution so that it crosses each isocline with the slope of that isocline: it is steeper where mm is large.

Solution

The idea. The equation y′=y2−x=my' = y^2 - x = m defines the isocline of slope mm. It is easiest to solve it for xx, because xx appears only once.

The isoclines

Setting y2−x=my^2 - x = m and solving for xx:

The isocline of slope m
x=y2−mx = y^2 - m
In words

x equals y squared minus m

Source: MIT 18.03 Problem Set 1, Part II, Problem 1(a) (our own solution)

Each isocline is a parabola opening to the right, with its vertex at (−m,0)(-m, 0) on the xx-axis. For m=0m = 0 the vertex is at the origin; for m=2m = 2 it is at (−2,0)(-2, 0); for m=−1m = -1 it is at (1,0)(1, 0). The line elements along the parabola for m=0m = 0 are horizontal, those for m=1m = 1 have slope 1, those for m=2m = 2 have slope 2, and those for m=−1m = -1 have slope −1-1.

The isoclines of y′=y2−xy' = y^2 - x for the slopes m=−1,0,1m = -1, 0, 1 and 2, computed from the formula x=y2−mx = y^2 - m. Each is a parabola opening to the right.

The solution curves

Where y2>xy^2 > x, that is to the left of the parabola for m=0m = 0, all slopes are positive. Where y2<xy^2 < x, between the two branches of that parabola, the slopes are negative. A solution rises as it moves through the left region, flattens out on the parabola x=y2x = y^2 (the nullcline, where m=0m = 0), and where it enters the region on the right of it, it falls. Solutions that stay to the left keep rising steeply: the slope grows like y2y^2, and they shoot up.

Check the result

At the origin, y′=0−0=0y' = 0 - 0 = 0: the origin is on the isocline m=0m = 0, and the line element there is flat. At (0,1)(0, 1) the slope is 1−0=11 - 0 = 1: it is on the parabola x=y2−1x = y^2 - 1, which is the isocline for m=1m = 1. [MIT's solutions point out that the printed picture lacks the m=1m = 1 isocline.]

(b)3 points

A separatrix is a curve that separates solutions with two different kinds of behaviour. For this equation there is a separatrix such that solutions above it grow without bound as xx increases (they have a vertical asymptote), while solutions below it keep going, and eventually fall. With your tool, find the separatrix and sketch it.

Our addition: the box asks which curve the separatrix itself approaches as x→+∞x \to +\infty.

Hint

Start solutions at x=0x = 0 with different values of yy, and look at where they end up. Between the ones that blow up and the ones that fall, there is a narrow gap. That gap holds the separatrix.

Hint

For large xx the separatrix is also a solution that lives for ever, but does not fall. For such a solution y′=y2−xy' = y^2 - x cannot be much more than zero and cannot be much less. What does that say about y2y^2 and xx?

Solution

The idea. Follow solutions with a numerical solver, starting each at the same xx and at different yy. A solution slightly too high goes to infinity in finite xx; one slightly too low drops. The separatrix is the borderline solution.

What you see

In your tool, start solutions on the line x=0x = 0 with yy ranging from −1-1 to 22, say. Those that start high blow up: they go to infinity at a finite xx (a vertical asymptote). Those that start lower rise, reach a maximum where they meet the parabola x=y2x = y^2 (on its upper half if they start between y=0y = 0 and the separatrix, on its lower half if they start below y=0y = 0), and then fall and follow its lower half, y=−xy = -\sqrt x. The borderline solution rises more slowly and stays near the upper half of the parabola, the curve y=xy = \sqrt x.

Computed with a numerical solver (our own check, not from the sheet), the separatrix passes through x=0x = 0 at about y=0.73y = 0.73 and then follows y=xy = \sqrt x closely.

Why the upper branch

Write y=x+uy = \sqrt x + u with uu small. Then y2−x≈2x uy^2 - x \approx 2\sqrt x\,u, and the equation says u′≈2x u−12xu' \approx 2\sqrt x\,u - \dfrac{1}{2\sqrt x}, because x\sqrt x itself rises with slope 12x\dfrac{1}{2\sqrt x}. A solution with uu a little more than 14x\dfrac{1}{4x} has u′>0u' > 0 and is pushed further above the curve: it goes up and blows up. One with uu a little less is pushed down and falls through the lower region. So the region around the upper half of the nullcline repels, and only the separatrix itself, with uu close to 14x\dfrac{1}{4x}, can stay there as xx grows. [MIT's solutions describe it in the same way: the separatrix lives for ever, has no maximum, and is asymptotic to y=xy = \sqrt x.]

Check the result

Try y=xy = \sqrt x itself in the equation: the left side is y′=1/(2x)y' = 1/(2\sqrt x) and the right side is y2−x=0y^2 - x = 0. They are both small for large xx, but not equal, so the separatrix is near the curve y=xy = \sqrt x and not equal to it.

(c)3 points

Suppose a solution y(x)y(x) is tangent to the m=−1m = -1 isocline: it touches the isocline at a point (a,b)(a, b), and the two curves have the same slope there. Find that point in your tool first, and then calculate aa and bb exactly. Enter the two numbers as decimals.

Hint

On the isocline m=−1m = -1 the solution has slope −1-1. At the point of tangency the isocline also has slope −1-1. The isocline is the curve x=y2+1x = y^2 + 1.

Hint

Differentiate x=y2+1x = y^2 + 1 with respect to xx, treating yy as a function of xx: 1=2y y′1 = 2y\,y'. Put y′=−1y' = -1 and find yy. Then use the isocline to find xx.

Solution

The idea. At the point of tangency the slope of the isocline must be −1-1, which is also the slope of every solution that crosses or touches the isocline m=−1m = -1.

The slope of the isocline

The isocline is x=y2+1x = y^2 + 1. Differentiating with respect to xx, with yy a function of xx along the curve (the chain rule gives d(y2)/dx=2y y′d(y^2)/dx = 2y\,y'):

Slope of the isocline m=−1m = -1
1=2y dydx,dydx=12y1 = 2y\,\frac{dy}{dx}, \qquad \frac{dy}{dx} = \frac{1}{2y}
In words

1 equals 2 y d y over d x, d y over d x equals 1 over the quantity 2 y

Source: MIT 18.03 Problem Set 1, Part II, Problem 1(c) (our own solution)

The point

Setting the slope of the isocline equal to −1-1 gives y=−12y = -\tfrac12. The point is on the isocline, so x=y2+1=14+1x = y^2 + 1 = \tfrac14 + 1:

The point of tangency
(a,b)=(54, −12)=(1.25, −0.5)(a, b) = \left(\tfrac54,\ -\tfrac12\right) = (1.25,\ -0.5)
In words

(a, b) equals the quantity five quarters, minus one half, equals the quantity 1.25, minus 0.5

Source: MIT 18.03 Problem Set 1, Part II, Problem 1(c) (our own solution)

The lower branch of the isocline is the one with y<0y < 0, and that is where the tangency takes place: the upper branch y>0y > 0 has positive slope 1/(2y)1/(2y) and never reaches −1-1.

Check the result

At (1.25,−0.5)(1.25, -0.5) the equation gives y′=(−0.5)2−1.25=0.25−1.25=−1y' = (-0.5)^2 - 1.25 = 0.25 - 1.25 = -1, so the point is on the isocline m=−1m = -1 and a solution through it has slope −1-1, the same as the isocline: a tangency.

(d)3 points

Now let y(x)y(x) be a solution with y(a)<by(a) < b, where (a,b)(a, b) is the point of part (c). What happens to it as x→∞x \to \infty? More exactly: find a function f(x)f(x) whose graph y(x)y(x) comes closer and closer to as xx grows, and say whether, for large xx, y(x)y(x) is above f(x)f(x), below it, or whether this depends on y(a)y(a).

The box takes ff as a constant times a power of xx. (MIT also accepts −x+m-\sqrt{x + m} for any constant mm, the same curve shifted sideways, which differs from −x-\sqrt x by an amount that goes to 00; a single form is easier for a box to check.) The second box is our addition. Then explain, in your own words, why the following two observations are true, and how they give your answer. (MIT's sheet states three observations; its second and third are only loosely worded, and MIT's own solution replaces them by the second statement below. We follow MIT's solution.) These have no box: mark them yourself.

  1. The graph of y(x)y(x) cannot cross the isocline m=−1m = -1 at a point with x>ax > a.
  2. A solution that is above the lower half of the nullcline y=−xy = -\sqrt x stays above it; a solution that is below it at some xx must eventually reach it.
Hint

Use part (c): can the solution cross the isocline m=−1m = -1 for x>ax > a? Where must it be, compared with the nullcline, once xx is large?

Hint

Write the lower branches of the isocline m=−1m = -1 and of the nullcline as functions of xx. What happens to the distance between them as xx grows?

Solution

The idea. Trap the solution between two curves that come together: the isocline m=−1m = -1 from above, and the nullcline from below.

The solution stays below the isocline

Let y(a)<by(a) < b, so the point (a,y(a))(a, y(a)) is below the lower branch of the isocline m=−1m = -1, which is y=−x−1y = -\sqrt{x - 1}. Suppose the solution did reach this branch at a point with x>ax > a, and let it be the first such point. It would arrive from below, so its slope there would be at least the slope of the isocline. The slope of the lower branch is −1/(2x−1)-1/(2\sqrt{x-1}) (from dy/dx=1/(2y)dy/dx = 1/(2y) with y=−x−1y = -\sqrt{x-1}), which for x>a=5/4x > a = 5/4 is larger than −1-1, because x−1>12\sqrt{x-1} > \tfrac12 there. But on the isocline m=−1m = -1 every solution has slope exactly −1-1, which is smaller. The two requirements contradict each other, so the solution never reaches the isocline for x>ax > a (observation 1):

The upper bound
y(x)<−x−1(x>a)y(x) < -\sqrt{x - 1} \qquad (x > a)
In words

y(x) less than minus the square root of x minus 1, end of root, (x greater than a)

Source: MIT 18.03 Problem Set 1, Part II, Problem 1(d)(i) (our own solution)

The solution ends up above the nullcline

The lower branch of the nullcline is y=−xy = -\sqrt x. Its slope −1/(2x)-1/(2\sqrt x) is negative. First, a solution above it stays above it: to cross it downward it would need a slope at most equal to the (negative) slope of the nullcline, but a solution crossing the nullcline has slope y2−x=0y^2 - x = 0. Second, suppose the solution is below the nullcline at some point and never reaches it. Below the nullcline y2>xy^2 > x, so the slope is positive and yy keeps increasing from that point on. But being below the nullcline also means y<−xy < -\sqrt x, which goes to −∞-\infty. A function that keeps increasing cannot stay below −x-\sqrt x for ever. So it does reach the nullcline, and from then on stays above (observation 2).

The lower bound
y(x)>−x(for large x)y(x) > -\sqrt{x} \qquad (\text{for large } x)
In words

y(x) greater than minus the square root of x ( for large x)

Source: MIT 18.03 Problem Set 1, Part II, Problem 1(d)(iii) (our own solution)

Squeeze

Combining the two bounds, for large xx

The squeeze
−x<y(x)<−x−1-\sqrt{x} < y(x) < -\sqrt{x-1}
In words

minus the square root of x less than y(x) less than minus the square root of x minus 1, end of root

Source: MIT 18.03 Problem Set 1, Part II, Problem 1(d) (our own solution)

The two bounds differ by x−x−1=1/(x+x−1)\sqrt x - \sqrt{x-1} = 1/(\sqrt x + \sqrt{x-1}), which goes to 00. So y(x)y(x) comes closer and closer to f(x)=−xf(x) = -\sqrt x, and it stays above it, whatever the value of y(a)y(a) was, as long as it was below bb. [MIT writes f(x)=−xf(x) = -\sqrt x "or indeed −x+m-\sqrt{x + m} for any mm": since x+m−x→0\sqrt{x + m} - \sqrt x \to 0, all of these are asymptotic to the same solutions. MIT then notes that for m<0m < 0 some solutions lie below −x+m-\sqrt{x + m} for some x>ax > a, so with those the comparison would depend on mm. With the plain −x-\sqrt x the answer is always "above".]

Check the result

A closer look at y=−x+u(x)y = -\sqrt x + u(x) with a small uu: putting it into y′=y2−xy' = y^2 - x gives u′≈12x−2x uu' \approx \dfrac{1}{2\sqrt x} - 2\sqrt x\,u, so u≈14x>0u \approx \dfrac{1}{4x} > 0. A numerical solver agrees (our own check): for starting values y(5/4)=−0.6,−1,−2,−4,−8y(5/4) = -0.6, -1, -2, -4, -8 the difference y(x)+xy(x) + \sqrt x at x=100x = 100 is 0.00250.0025 in every case, which is 1/(4⋅100)1/(4\cdot 100) to four decimal places. The solution lies above −x-\sqrt x by about 1/(4x)1/(4x), and the starting value no longer matters.

(e)3 points

Suppose a solution has a critical point at (c,d)(c, d): that is, y′(c)=0y'(c) = 0 and y(c)=dy(c) = d. What is the relationship between cc and dd? Give cc in terms of dd.

Hint

At a critical point the slope is zero. Which curve of the picture is the set of points where the slope is zero?

Solution

The idea. A critical point is a point where y′=0y' = 0, so it lies on the isocline m=0m = 0.

Put the point into the equation

At (c,d)(c, d) the equation reads y′=d2−cy' = d^2 - c, and the slope is zero:

Critical points lie on the nullcline
0=d2−c,c=d20 = d^2 - c, \qquad c = d^2
In words

0 equals d squared minus c, c equals d squared

Source: MIT 18.03 Problem Set 1, Part II, Problem 1(e) (our own solution)

All critical points of all solutions lie on the parabola x=y2x = y^2, the isocline m=0m = 0, which is the nullcline.

Check the result

At d=−1d = -1 the critical point is at c=1c = 1: the point (1,−1)(1, -1). The slope there is (−1)2−1=0(-1)^2 - 1 = 0. In the picture of part (a) this is a point of the lower branch of the parabola for m=0m = 0, y=−xy = -\sqrt x, where the line element is horizontal.

(f)3 points

In the mathlet all the critical points look like local maxima. Is that true? Use the equation to find y′′y'' at a critical point and then decide. The box asks for the value of y′′y'' there. Give your reasoning for the answer: it has no box and you mark it yourself.

Hint

Differentiate y′=y2−xy' = y^2 - x with respect to xx. The derivative of y2y^2 is 2y y′2y\,y'.

Solution

The idea. The second derivative test: at a point with y′=0y' = 0, a negative y′′y'' means a local maximum.

The second derivative

Differentiating the equation with respect to xx, with yy a function of xx:

The second derivative
y′′=2y y′−1y'' = 2y\,y' - 1
In words

y double prime equals 2 y y prime minus 1

Source: MIT 18.03 Problem Set 1, Part II, Problem 1(f) (our own solution)

At a critical point

There y′=0y' = 0, so y′′=−1<0y'' = -1 < 0, whatever the value of yy. Every critical point is therefore a strict local maximum, and a solution has at most one of them. [MIT gives two arguments: this one, and a picture argument that solutions with a critical point rise and then follow y=−xy = -\sqrt x downward.]

Check the result

In part (e) the critical point (1,−1)(1, -1) is on the nullcline. The slope on its left, in the region y2>xy^2 > x, is positive, and on its right, inside the parabola, negative: it rises and then falls, a maximum, as y′′=−1y'' = -1 says.

After: MIT 18.03 Problem Set 1, Part II, Problem 1

Problem 2#

Problem

Euler's method for y′ = 2x

20 points

Let y(x)y(x) be the solution of y′=2xy' = 2x with y(0)=0y(0) = 0. Use Euler's method with equal steps from x=0x = 0 to x=1x = 1. With nn steps the step size is h=1/nh = 1/n, the points are xk=k hx_k = k\,h, and each step is

One Euler step
yk+1=yk+h f(xk,yk)y_{k+1} = y_k + h\,f(x_k, y_k)
In words

y sub k plus 1 equals y sub k plus h f( x sub k, y sub k )

Source: MIT 18.03 Problem Set 1: Part II Solutions, Problems 0 to 3, Problem 2, p. 2

with f(x,y)=2xf(x, y) = 2x here.

MIT splits its points over the tasks as follows: 2 for y(1)y(1), 5 for each of n=2n = 2 and n=3n = 3, and 8 for the general nn. The split of the 8 between the general formula and the error is ours.

(a)2 points

What is y(1)y(1)?

Hint

The equation y′=2xy' = 2x needs only an antiderivative.

Solution

The idea. The right side does not contain yy, so this is an integral.

Integrate

An antiderivative of 2x2x is x2x^2, and y(0)=0y(0) = 0 fixes the constant:

The exact solution
y(x)=x2,y(1)=1y(x) = x^2, \qquad y(1) = 1
In words

y(x) equals x squared, y(1) equals 1

Source: MIT 18.03 Problem Set 1, Part II, Problem 2(a) (our own solution)

Check the result

y(0)=0y(0) = 0 and y′=2xy' = 2x, as required.

(b)5 points

Find the Euler approximation of y(1)y(1) with n=2n = 2 equal steps. Give it as a decimal.

Hint

The step size is h=1/2h = 1/2. The slope at the start is f(0,0)=0f(0, 0) = 0.

Hint

The first step goes from x0=0x_0 = 0 to x1=1/2x_1 = 1/2 with slope 2x02x_0. The second goes from x1=1/2x_1 = 1/2 to x2=1x_2 = 1 with slope 2x12x_1.

Solution

The idea. Each step uses the slope at the left end of its interval.

The two steps

With h=1/2h = 1/2: y0=0y_0 = 0 and x0=0x_0 = 0 give slope 00, so y1=0+12⋅0=0y_1 = 0 + \tfrac12 \cdot 0 = 0. At x1=12x_1 = \tfrac12 the slope is 2⋅12=12 \cdot \tfrac12 = 1, so

Euler with two steps
y2=y1+h⋅1=0+12⋅1=12y_2 = y_1 + h \cdot 1 = 0 + \tfrac12 \cdot 1 = \tfrac12
In words

y two equals y one plus h times 1 equals 0 plus one half times 1 equals one half

Source: MIT 18.03 Problem Set 1, Part II, Problem 2(a) (our own solution)

Check the result

The estimate 12\tfrac12 is below the exact value 11. That is right for a solution that curves upward: each step follows the tangent at its left end, and a convex curve lies above its tangents.

(c)5 points

Now find the Euler approximation of y(1)y(1) with n=3n = 3 equal steps. Give it as a decimal, to four decimal places.

Hint

h=1/3h = 1/3 and x0=0x_0 = 0, x1=13x_1 = \tfrac13, x2=23x_2 = \tfrac23. You need the slopes at these three points.

Solution

The idea. Same as before, with three steps.

The three steps

The slopes are 2xk2x_k: 00, 23\tfrac23 and 43\tfrac43. Each is multiplied by h=13h = \tfrac13:

Euler with three steps
y3=0+13⋅0+13⋅23+13⋅43=29+49=23y_3 = 0 + \tfrac13\cdot 0 + \tfrac13\cdot\tfrac23 + \tfrac13\cdot\tfrac43 = \tfrac29 + \tfrac49 = \tfrac23
In words

y three equals 0 plus one third times 0 plus one third times two thirds plus one third times four thirds equals two ninths plus four ninths equals two thirds

Source: MIT 18.03 Problem Set 1, Part II, Problem 2(a) (our own solution)

Check the result

23=0.6667\tfrac23 = 0.6667 lies between the two-step value 0.50.5 and the exact value 11: more steps give a better answer.

(d)5 points

Now let nn be any natural number. Find the Euler approximation yny_n of y(1)y(1) with nn equal steps, as a formula in nn. (MIT's hint: 1+2+⋯+(n−1)=n(n−1)/21 + 2 + \dots + (n-1) = n(n-1)/2.) Then say whether the approximations converge to y(1)y(1) as n→∞n \to \infty.

Hint

Write the sum of the steps: yn=∑k=0n−1h⋅2xky_n = \sum_{k=0}^{n-1} h \cdot 2x_k with xk=k hx_k = k\,h. Every term has the factor h2h^2.

Hint

Take out 2h22h^2: what remains is 0+1+2+⋯+(n−1)0 + 1 + 2 + \dots + (n-1), and MIT's hint gives its sum. Then put h=1/nh = 1/n.

Solution

The idea. Add up the nn steps and use the sum of the first n−1n - 1 whole numbers.

The sum

At the kk-th step, xk=k hx_k = k\,h and the slope is 2k h2k\,h, so the step adds 2k h22k\,h^2. With y0=0y_0 = 0,

Euler's approximation with n steps
yn=∑k=0n−12k h2=2h2 (0+1+⋯+(n−1))=2h2 n(n−1)2=n(n−1) h2y_n = \sum_{k=0}^{n-1} 2k\,h^2 = 2h^2\,\bigl(0 + 1 + \dots + (n-1)\bigr) = 2h^2\,\frac{n(n-1)}{2} = n(n-1)\,h^2
In words

y sub n equals the sum over k equals 0 of to the power n minus 1, end of power, 2 k h squared equals 2 h squared the quantity 0 plus 1 plus and so on plus the quantity n minus 1, equals 2 h squared n the quantity n minus 1, over 2 equals n the quantity n minus 1, h squared

Source: MIT 18.03 Problem Set 1, Part II, Problem 2(a) (our own solution)

Put h=1/nh = 1/n

The approximation of y(1)
yn=n(n−1)n2=n−1n=1−1ny_n = \frac{n(n-1)}{n^2} = \frac{n-1}{n} = 1 - \frac1n
In words

y sub n equals n the quantity n minus 1, over n squared equals the quantity n minus 1, all over n equals 1 minus 1 over n

Source: MIT 18.03 Problem Set 1, Part II, Problem 2(a) (our own solution)

As n→∞n \to \infty, 1n→0\dfrac1n \to 0, so yn→1=y(1)y_n \to 1 = y(1): the approximations do converge to the exact value.

Check the result

For n=2n = 2 the formula gives 12\tfrac12 and for n=3n = 3 it gives 23\tfrac23, the values of parts (b) and (c). For n=1n = 1 it gives 00: one step with slope f(0,0)=0f(0, 0) = 0 stays at 00.

(e)3 points

The lecture and the textbook claim that for small hh Euler's method has an error at most proportional to hh. The nn-step approximation has h=1/nh = 1/n. What is the exact error y(1)−yny(1) - y_n, as a formula in nn? Does it agree with the claim?

The box asks for the error. Whether it agrees with the claim is for you to mark.

Hint

You know y(1)y(1) from part (a) and yny_n from part (d). Subtract.

Solution

The idea. Subtract the approximation from the exact value.

The error

The error of Euler's method here
y(1)−yn=1−n−1n=1n=hy(1) - y_n = 1 - \frac{n-1}{n} = \frac1n = h
In words

y(1) minus y sub n equals 1 minus the quantity n minus 1, all over n equals 1 over n equals h

Source: MIT 18.03 Problem Set 1, Part II, Problem 2(b) (our own solution)

Does it agree with the claim?

Yes. The claim says the error is at most proportional to hh. Here it is exactly hh: the constant of proportionality is 1. The error halves when the step size halves, which is what a method of first order does. [MIT's solutions note that the error is "exactly hh".]

Check the result

With n=2n = 2 the error is 1−12=12=h1 - \tfrac12 = \tfrac12 = h, and with n=3n = 3 it is 1−23=13=h1 - \tfrac23 = \tfrac13 = h.

After: MIT 18.03 Problem Set 1, Part II, Problem 2

Problem 3#

Problem

A trust fund for a nephew

20 points

Scrooge McDuck wants to set up a trust fund for his nephew Don. His sure-fire investments earn interest at the constant rate II, measured in 1/years (so I=0.05I = 0.05 means 5 per cent per year), and he plans to pay out money to his spendthrift nephew at the constant rate qq dollars per year. Let x(t)x(t) be the value of the fund, in dollars, tt years after it is set up, and let the interest be added continuously.

(a)5 points

Model this by a differential equation. Use the symbols II and qq, not particular numbers. Give the right-hand side for x′x'. Explain your steps.

Hint

In a short time Δt\Delta t the fund gains interest on its present value, and loses the payments. Write the two changes separately.

Solution

The idea. The fund changes by the interest it earns minus what is paid out. Write that for a short time and take the limit.

The change in a short time

In a short interval from tt to t+Δtt + \Delta t the fund earns interest I x(t) ΔtI\,x(t)\,\Delta t and pays out q Δtq\,\Delta t:

Change of the fund in a short interval
x(t+Δt)−x(t)≈I x(t) Δt−q Δtx(t + \Delta t) - x(t) \approx I\,x(t)\,\Delta t - q\,\Delta t
In words

x of the quantity t plus capital delta t, minus x(t) is approximately I x(t) capital delta t minus q capital delta t

Source: MIT 18.03 Problem Set 1, Part II, Problem 3(a) (our own solution)

The differential equation

Divide by Δt\Delta t and let Δt→0\Delta t \to 0:

The differential equation of the trust fund
x′=I x−qx' = I\,x - q
In words

x prime equals I x minus q

Source: MIT 18.03 Problem Set 1, Part II, Problem 3(a) (our own solution)

Check the result

The units match: I xI\,x is (1/years) times dollars, and qq is dollars per year, which is also the unit of x′x'. A fund with no interest (I=0I = 0) just loses qq dollars every year: x′=−qx' = -q.

(b)5 points

Find the solution of this equation that starts with x(0)=x0x(0) = x_0 dollars. (MIT asks for the general solution, x=q/I+C eItx = q/I + C\,e^{It} with an arbitrary constant CC. We ask for it in terms of the starting value x0x_0, which is the same family with C=x0−q/IC = x_0 - q/I, and which has only one correct form.)

Hint

The equation is linear and also separable: dx/(Ix−q)=dtdx/(Ix - q) = dt. Integrate both sides. The left side gives 1Iln⁡∣Ix−q∣\dfrac1I\ln|Ix - q|.

Hint

After integrating, multiply by II, take the exponential, and remove the absolute value as in Problem 0. Solve for xx, and then use x(0)=x0x(0) = x_0.

Solution

The idea. Separate, integrate, remove the logarithm, then fix the constant with the starting value.

Separate and integrate

For I x≠qI\,x \ne q:

Separated form
dxI x−q=dt,1Iln⁡∣I x−q∣=t+c\frac{dx}{I\,x - q} = dt, \qquad \frac1I\ln|I\,x - q| = t + c
In words

d x over the quantity I x minus q, equals d t, 1 over I, times log the absolute value of I x minus q equals t plus c

Source: MIT 18.03 Problem Set 1, Part II, Problem 3(b) (our own solution)

Solve for x

Multiply by II, exponentiate, and remove the absolute value. The solution lost by dividing by I x−qI\,x - q is the constant solution x=q/Ix = q/I, and it is included again with a zero constant. This gives the general solution

The general solution
x(t)=qI+C eItx(t) = \frac{q}{I} + C\,e^{It}
In words

x(t) equals q over I plus capital C e to the power I t

Source: MIT 18.03 Problem Set 1, Part II, Problem 3(b) (our own solution)

Use the starting value

At t=0t = 0, x0=q/I+Cx_0 = q/I + C, so C=x0−q/IC = x_0 - q/I:

The solution with the starting value
x(t)=qI+(x0−qI)eItx(t) = \frac{q}{I} + \left(x_0 - \frac{q}{I}\right)e^{It}
In words

x(t) equals q over I plus the quantity x nought minus q over I, e to the power I t

Source: MIT 18.03 Problem Set 1, Part II, Problem 3(b) (our own solution)

Check the result

At t=0t = 0 it gives x0x_0. Differentiating, x′=I (x0−q/I) eItx' = I\,(x_0 - q/I)\,e^{It}, and I x−q=I (x0−q/I) eItI\,x - q = I\,(x_0 - q/I)\,e^{It}: the same, so the equation holds. If x0=q/Ix_0 = q/I the exponential term vanishes and xx stays at q/Iq/I.

(c)5 points

Now take I=0.05I = 0.05 per year. Uncle Scrooge wants to pay his nephew 1000 dollars per month for ever, while keeping the balance of the fund constant. Treat the payments as continuous, at the rate q=12 000q = 12\,000 dollars per year. How much must he put in? Give the amount in dollars.

Hint

A constant balance means x′=0x' = 0. Put that in the equation of part (a).

Solution

The idea. A constant balance means the interest exactly pays the payouts.

The constant solution

If x′=0x' = 0 then I x=qI\,x = q, so the balance is

The balance that stays constant
x=qI=12 0000.05=240 000 dollarsx = \frac{q}{I} = \frac{12\,000}{0.05} = 240\,000 \text{ dollars}
In words

x equals q over I equals 12 000 over 0.05 equals 240 000 dollars

Source: MIT 18.03 Problem Set 1, Part II, Problem 3(c) (our own solution)

Check the result

Interest on 240 000 dollars at 5 per cent per year is 12 000 dollars per year, exactly the payout. [MIT adds that with more than this the fund would still grow while paying.]

(d)5 points

But Scrooge wants to teach his nephew self-reliance, and so plans for the fund to run out of money in exactly twenty years, still paying 1000 dollars per month (q=12 000q = 12\,000 dollars per year, continuous, I=0.05I = 0.05 per year). How much must he put in at the start? Give the answer in dollars, to the nearest cent.

Hint

Use the solution of part (b) and require x(20)=0x(20) = 0. Solve for x0x_0.

Hint

With x(T)=0x(T) = 0 you can write x0−q/Ix_0 - q/I in terms of e−ITe^{-IT}. Then solve for x0x_0 and put in the numbers.

Solution

The idea. Choose the starting value so that the solution of part (b) is zero at T=20T = 20.

Require x(T) = 0

From part (b), 0=x(T)=qI+(x0−qI)eIT0 = x(T) = \dfrac{q}{I} + \left(x_0 - \dfrac{q}{I}\right)e^{IT}. Solve for x0x_0:

The starting fund that lasts exactly T years
x0=qI(1−e−IT)x_0 = \frac{q}{I}\left(1 - e^{-IT}\right)
In words

x nought equals q over I, times the quantity 1 minus e to the power minus I capital T

Source: MIT 18.03 Problem Set 1, Part II, Problem 3(d) (our own solution)

The number

With I T=0.05⋅20=1I\,T = 0.05 \cdot 20 = 1:

The initial funding
x0=240 000 (1−e−1)=240 000⋅0.632 120 56=151 708.93 dollarsx_0 = 240\,000\,(1 - e^{-1}) = 240\,000 \cdot 0.632\,120\,56 = 151\,708.93 \text{ dollars}
In words

x nought equals 240 000 the quantity 1 minus e to the power minus 1, equals 240 000 times 0.632 120 56 equals 151 708.93 dollars

Source: MIT 18.03 Problem Set 1, Part II, Problem 3(d) (our own solution)

That is about 63 per cent of the sum in part (c).

Check the result

The fund is smaller than the amount of (c), since it is allowed to run down. It is larger than 00, and a fund that earned no interest would need 20⋅12 000=240 00020 \cdot 12\,000 = 240\,000 dollars. A fund that does earn interest needs less, and 151 708.93 is less. For T→∞T \to \infty the formula gives back q/I=240 000q/I = 240\,000 of part (c). [As MIT does, we treat the payments as a continuous flow; actual monthly payments would change the cents.]

After: MIT 18.03 Problem Set 1, Part II, Problem 3

More practice: MIT's own solved exercises#

Part I of MIT's Problem Set 1 is worth 23 points at MIT and is not scored here. It lists routine exercises. Some come from the textbook of the course (Edwards and Penney), which is not openly licensed and is not used on this site, so they are not part of this page. The others come from MIT's Notes and Exercises, which is on MIT OpenCourseWare under the same licence as the rest of the course, with solutions. They are not rewritten here: open the exercises of section 1, first-order ODE's, try them, then compare with MIT's solutions.

An exercise number such as 1C-4 means section 1, group C, exercise 4; letters after it name its parts. MIT assigned these Notes exercises, day by day:

ForExercises in section 1 of the Notes
The recitation before Lecture 1: natural growth and separable equations, see separation of variables1A-5c
Lecture 1: direction fields and isoclines1C-1a, b, e
Lecture 2: Euler's method1C-4
Lecture 3: linear modelsnone from the Notes (two textbook exercises, not used here)

MIT's list also gives the sections of the textbook to read and further textbook exercises for the recitation and for Lectures 1 to 3; the textbook is not used on this site.

Symbols on this page

Show the 48 symbols used here
Δ\Delta capital delta.
A change or difference in a quantity, e.g. Δx = x₂ − x₁. Say it: “capital delta”.
∞\infty infinity.
Infinity: larger than any number. Say it: “infinity”.
≈\approx approximately equal.
Is approximately equal to. Say it: “is approximately”.
≥\ge greater than or equal.
Is greater than or equal to. Say it: “is greater than or equal to”.
≠\neq not equal.
Is not equal to. Say it: “is not equal to”.
→\to arrow.
Goes to (tends to), or becomes. Say it: “goes to”.
±\pm plus or minus.
Plus or minus: both signs, or an uncertainty (67.3 ± 1.2). Say it: “plus or minus”.
⋅\cdot dot.
Times (multiplication). Between two vectors: the dot product. Say it: “times”.
∫\int integral.
Integral: the sum of infinitely many small pieces, such as the area under a curve. Say it: “the integral of”.
∑\sum sum.
Sum: add up the terms over the range written below and above. Say it: “the sum of”.
lim⁡\lim limit.
Limit: the value approached as the variable written below approaches its target. Say it: “the limit”.
ln⁡\ln natural logarithm.
Natural logarithm (base e ≈ 2.718). Say it: “log”.
aa a.
Problem 0: a constant time added to t in the growth rate, in years. Problem 1: the x coordinate of the point where a solution touches the isocline m = −1. Say it: “a”.
cc c.
An arbitrary constant of integration (Problems 0 and 3). In Problem 1(e), the x coordinate of a critical point (c, d). Say it: “c”.
kk k.
The growth rate of the oryx population: the fractional change per year. In Problem 0 it fades with time, k(t) = k₀/(a + t)². Unit: 1/year. Say it: “k”.
TT T.
The time at which the fund is used up: 20 years in Problem 3(d). Unit: years. Say it: “capital T”.
xx x.
Problem 0: the oryx population, in thousands of animals. Problems 1 and 2: the horizontal coordinate (Euler's method runs from x = 0 to x = 1). Problem 3: the value of the trust fund, in dollars. Say it: “x”.
yy y.
The unknown function y(x). In Problem 1 it solves y′ = y² − x; in Problem 2, y′ = 2x with y(0) = 0. Say it: “y”.
tt t.
Time in years: since the start (Problem 0) and since the fund was set up (Problem 3). Unit: years. Say it: “t”.
dd d.
The y coordinate of a critical point (c, d) of a solution of y′ = y² − x. Say it: “d”.
nn n.
The number of equal steps of Euler's method, so that h = 1/n. Say it: “n”.
ee e.
Euler's number, e ≈ 2.718, the base of the exponential. Say it: “e”.
mm m.
The slope of an isocline: the constant value of y′ along it. Say it: “m”.
ff f.
Problem 1(d): the function that a solution comes closer and closer to as x grows. Problem 2: the right side f(x, y) of y′ = f(x, y). Say it: “f”.
CC C.
The arbitrary constant of the general solution. Say it: “capital C”.
bb b.
The y coordinate of the point (a, b) where a solution touches the isocline m = −1. Say it: “b”.
qq q.
The rate at which money is paid out of the trust fund, in dollars per year. Unit: dollars/year. Say it: “q”.
hh h.
The step size of Euler's method, h = 1/n. Say it: “h”.
y′y' y prime.
The derivative of y with respect to x: the slope of a solution. Say it: “y prime”.
x0x_{0} x nought.
The starting value: the oryx population at t = 0 (Problem 0), or the fund when it is set up (Problem 3). Say it: “x nought”.
y0y_{0} y nought.
The Euler approximation at the start: y₀ = 0. Say it: “y nought”.
uu u.
A small difference: the amount by which y differs from the curve y = √x (Problem 1b) or y = −√x (Problem 1d). Say it: “u”.
x1x_{1} x 1.
The first point of Euler's method after the start, x₁ = h. Say it: “x one”.
x2x_{2} x 2.
The second point of Euler's method after the start, x₂ = 2h. Say it: “x two”.
y1y_{1} y 1.
The Euler approximation after one step. Say it: “y one”.
y2y_{2} y 2.
The Euler approximation after two steps. Say it: “y two”.
x′x' x prime.
The rate of change with time: of the oryx population in thousands per year (Problem 0), or of the fund in dollars per year (Problem 3). Say it: “x prime”.
k0k_{0} k nought.
The constant in the growth rate k(t) = k₀/(a + t)². Unit: years. Say it: “k nought”.
y′′y'' y double prime.
The second derivative of y with respect to x. Say it: “y double prime”.
u′u' u prime.
The derivative of the small difference u with respect to x. Say it: “u prime”.
xnx_{n} x n.
The last point of Euler's method, x_n = 1. Say it: “x sub n”.
y3y_{3} y three.
The Euler approximation after three steps. Say it: “y three”.
II I.
The interest rate of the trust fund, per year (I = 0.05 means 5 per cent per year). Unit: 1/year. Say it: “I”.
yny_{n} y n.
The Euler approximation after n steps. Say it: “y sub n”.
xkx_{k} x k.
The k-th point of Euler's method, x_k = k h. Say it: “x sub k”.
yky_{k} y k.
The Euler approximation after k steps. Say it: “y sub k”.
yk+1y_{k+1} y k plus 1.
The Euler approximation after k + 1 steps. Say it: “y sub k plus 1”.
xn−1x_{n-1} x n minus 1.
The start of the last Euler step. Say it: “x sub n minus 1”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 48 words used here

Also used

direction field.
A picture of a differential equation: at many points, a short line with the slope the equation gives there. Explained in Direction fields, isoclines and integral curves.
Euler's method.
The simplest numerical way to follow a differential equation: step forward along the current slope, find the new slope, and repeat. Explained in Euler's method and better numerical methods.
first-order linear equation.
A differential equation with only the first derivative, in which the unknown and its derivative appear only to the first power, never multiplied together. Explained in First-order linear equations and integrating factors.
separation of variables.
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.
MIT.
Massachusetts Institute of Technology: the university in Cambridge, USA, whose free courses this site rewrites.
separable.
Of a first-order differential equation: one that can be rearranged with each variable on its own side and then integrated.
integrating factor.
A function an equation is multiplied by so that one side becomes an exact derivative; for a first-order linear equation, of a single product. Explained in First-order linear equations and integrating factors.
interval.
A stretch between two values or two moments; in maths, all the numbers between two end points. Explained in Time dilation, length contraction and the interval.
differential equation.
An equation that links an unknown function to its derivatives; solving it means finding the function. Explained in Circular motion dynamics: worked problems.
limit.
The value a quantity gets closer and closer to, as near as we like, as its input approaches some value, without having to reach it. Explained in Rates of change and area under a graph.
general solution.
The whole family of solutions of a differential equation, written with free constants that starting values or boundary conditions then fix. Explained in Differential equations and separation of variables.
antiderivative.
A function whose derivative is the given function; any two antiderivatives differ only by a constant. Explained in Differentials and antiderivatives.
with respect to.
Taking that variable as the one that changes: a derivative with respect to t measures change as t changes, others held fixed. Explained in Average value, weighted averages and probability.
integration.
Finding an integral: adding up very many small pieces, or finding an antiderivative. Explained in Differentials and antiderivatives.
differentiation.
Finding a derivative: working out how fast a function changes. Explained in The derivative: slope of the tangent line and rate of change.
isocline.
A curve along which a differential equation gives the same slope at every point. Explained in Direction fields, isoclines and integral curves.
line element.
A short line segment, drawn at a point, with the slope that a differential equation gives there. Explained in Direction fields, isoclines and integral curves.
parabola.
The U-shaped curve of y = ax² + bx + c, also the path of a thrown ball when air resistance is ignored. Explained in Quadratics and power laws.
separatrix.
A curve in phase space that divides orbits of one kind from orbits of another, such as swinging from going over the top. Explained in Action-angle variables: frequencies without solving the motion.
asymptote.
A straight line that a graph gets closer and closer to, without reaching it, as the graph heads off to infinity.
tangent.
A straight line that touches a curve at a point and runs in the same direction as the curve there. Explained in Angles, radians and trigonometry.
chain rule.
The rule for the derivative of a function of a function: multiply the derivative of the outer one by that of the inner one. Explained in Circular motion: polar coordinates, position and velocity.
graph.
The picture of a function: the curve y = f(x) for one variable, or the surface z = f(x, y) for two. Explained in Graphs, straight lines and slope.
critical point.
A constant solution of an equation such as dy/dt = f(y): a value where the rate of change is zero, also called an equilibrium. Explained in Autonomous equations, critical points and stability.
local maximum.
A point where a function is larger than at every nearby point, though it may be smaller than somewhere farther away. Explained in Tangent planes, critical points and least squares.
derivative.
The rate at which a function changes as its input changes: the slope of its graph at a point. Explained in Position and velocity in one dimension.
second derivative test.
A way to sort a critical point: if the second derivative there is positive it is a minimum; if negative, a maximum.
integral.
A sum of very many very small pieces, such as the area under a graph; it undoes taking a derivative. Explained in Rates of change and area under a graph.
convex.
Of a curve: bending upwards, so that it lies above its tangent lines; its second derivative is positive. Explained in Euler's method and better numerical methods.
converge.
To settle towards a definite finite value: an integral, series or sequence converges when its partial results approach a limit. Explained in Improper integrals.
proportional.
Of two quantities: always in the same ratio, so that doubling one doubles the other. Explained in Graphs, straight lines and slope.
continuous.
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.
linear.
The property that sums and multiples of solutions are again solutions, so the responses to separate inputs simply add. Explained in First-order linear equations and integrating factors.
logarithm.
The power to which a fixed base must be raised to give a number: log₁₀ 1000 = 3 because 10³ = 1000. Explained in Exponentials and logarithms.

Academic

recitation.
At MIT, a small class led by a teacher or assistant, where students go over problems and questions from the main lectures.
problem set.
A weekly sheet of exercises that students work through and hand in, to practise what the lectures taught.
on paper.
In theory or in a calculation, as opposed to in a real experiment or in reality.
significant.
Large enough to matter or to be noticed; in statistics, too large to put down to chance.
arbitrary.
Free to be chosen as one likes; any choice gives a correct result.
falls off.
Decreases as something grows, usually with distance.
numerically.
In terms of actual numbers rather than symbols; often worked out step by step, by computer, instead of from an exact formula.
blow up.
In maths, to grow without limit; to become infinite.
borderline.
On the boundary between two kinds of behaviour, belonging clearly to neither.
argument.
A chain of reasoning that leads to a conclusion; in maths also the input of a function, such as x in sin x.
error.
The difference between a measured or computed value and the true one; often how large that difference may be.
approximation.
Close to, but not exactly, the true value; an approximation is such a value or formula, chosen because it is simpler.
model.
A simplified description of a real system, usually in equations, that keeps what matters and leaves out the rest.
vanish.
To become zero; sometimes, of a fixed point or solution, to stop existing.

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).

Credits and license

This page is a rewritten explanation based on MIT 18.03 Problem Set 1 from MIT 18.03 Differential Equations (Spring 2010), taught by Prof. Arthur Mattuck and Prof. Haynes Miller, published on MIT OpenCourseWare under CC BY-NC-SA 4.0.

MIT and the instructors do not endorse this site. All diagrams and plots on this page are generated by this site. This page is licensed CC BY-NC-SA 4.0: you may share and adapt it for non-commercial use with attribution, under the same license.