Work these on your own paper. Show enough of the reasoning that a reader
could follow it without you in the room.
1A loan, idealized
You take out a loan.
You make regular payments on the loan, but at the same time it is accumulating interest. Let's model this by a differential equation for the rate of change of your loan balance πΏ(π‘).
To write a differential equation we
think of the interest as compounding continuously at some rate, and of
your payments as flowing out continuously at the steady rate, rather than in monthly chunks.
(a)
Write a differential equation for the amount πΏ(π‘) you owe, in dollars,
with π‘ in years (define your own constants for interest and payment rates; and think about which one of these depends on the current size of the loan and which does not.)
Solution
Let π>0 be the annual interest rate (in inverse years) and π>0 the
payment rate (in dollars per year). Interest adds ππΏ dollars per year,
while payments remove π:
πΏβ²=ππΏβπ.
(b)
Without solving anything, read the sign of πΏβ² from your equation: for
which loan amounts is the debt shrinking, and for which is it growing? What happens at the border in-between?
Solution
Since π>0, the debt shrinks when 0<πΏ<π/π and grows when πΏ>π/π.
At πΏ=π/π, payments exactly cover the interest, so the balance stays
constant. The loan model stops when the debt reaches zero.
Verify that both functions solve π¦β²=π¦, and compute π(0) and π(0).
Solution
By the chain rule πβ²(π‘)=ππ +π‘=π(π‘), and since ππ is a constant,
πβ²(π‘)=ππ ππ‘=π(π‘). Both functions solve π¦β²=π¦, and
π(0)=ππ =π(0).
(b)
Check that the hypotheses of the existenceβuniqueness theorem hold at
every point.
Solution
Here πΉ(π‘,π¦)=π¦ and ππΉ/ππ¦=1 are continuous everywhere,
so through each point there passes exactly one local solution.
(c)
What does the theorem now force? State the algebraic identity you have
just proved.
Solution
The two functions solve the same equation from the same initial value.
Uniqueness makes them agree throughout their common domain, which is all
of β. Thus, for every π and π‘,
ππ +π‘=ππ ππ‘.
(d)
Run the same argument again to prove the law of logarithms: for a fixed
π >0, show that lnβ‘(π π‘) and lnβ‘π +lnβ‘π‘ solve the same
initial-value problem, and conclude that lnβ‘(π π‘)=lnβ‘π +lnβ‘π‘ for every
π‘>0.
Solution
Both functions have derivative 1/π‘ β the first by the chain rule,
π /(π π‘)=1/π‘ β so both solve π¦β²=1/π‘, whose right side and its
π¦-derivative are continuous for π‘>0. At π‘=1 they agree:
lnβ‘(π β 1)=lnβ‘π =lnβ‘π +lnβ‘1. Two solutions of the same equation
with the same value at π‘=1 must coincide, so lnβ‘(π π‘)=lnβ‘π +lnβ‘π‘
for every π‘>0.
3Drawing a slope field
Consider the equation
π¦β²=π¦2βπ‘.
(a)
Find every point where the equation prescribes slope zero, and describe
this set of points as a curve in the (π‘,π¦)-plane.
Solution
The slope is zero exactly when π‘=π¦2: a parabola through the origin,
opening in the positive π‘ direction.
(b)
On the region 0β€π‘β€4, β2β€π¦β€2, compute the prescribed slope
at each integer grid point and sketch the slope field. Your curve from the
previous part organizes the picture: which side of it has rising ticks,
and which falling?
Solution
The slope at each grid point is π¦2βπ‘:
π¦\π‘
0
1
2
3
4
2
4
3
2
1
0
1
1
0
β1
β2
β3
0
0
β1
β2
β3
β4
β1
1
0
β1
β2
β3
β2
4
3
2
1
0
Figure 1 The slope field at the integer grid points. The dashed parabola π‘=π¦2
marks slope zero.
Ticks rise to the left of the parabola (π‘<π¦2), fall to its right
(π‘>π¦2), and are horizontal on it.
(c)
Into your field, sketch the solutions starting from π¦(0)=2 and from
π¦(0)=0. Describe in a sentence or two how their fates differ.
Solution
The solution from π¦(0)=2 begins with slope 4 and climbs ever more
steeply. The solution
from π¦(0)=0 begins flat, then decreases above the lower branch
π¦=ββπ‘; numerically, π¦(4)ββ1.931. It follows that branch
without lying on it: zero-slope points form a guide, not a solution curve.
Figure 2 A wider view with a denser slope field and the two numerically computed
solutions. The marked points are (0,0) and (0,2); the dashed parabola
is π‘=π¦2.
4Solutions and impostors
In each part, decide whether the proposed function solves the
differential equation. Explain your reasoning.
(a)
The equation π¦β²=π¦+ππ‘, with the two candidates π¦=π‘ππ‘ and π¦=2ππ‘.
Solution
For π¦=π‘ππ‘, the product rule gives
π¦β²=ππ‘+π‘ππ‘=π¦+ππ‘,
so it is a solution. For π¦=2ππ‘, the left side is π¦β²=2ππ‘ while the
equation demands π¦+ππ‘=3ππ‘. These are never equal, so 2ππ‘ is not a
solution.
(b)
The system πβ²=π+π, πβ²=πβπ, with the two candidate pairs
π=ππ‘cosβ‘π‘, π=βππ‘sinβ‘π‘ and π=ππ‘, π=0.
so the pair solves both equations. The pair π=ππ‘, π=0 satisfies the
first equation, since πβ²=ππ‘=π+π, but fails the second: πβ²=0, while
the equation demands πβπ=βππ‘. A pair must satisfy both equations, so
this pair is not a solution.
Which of these are autonomous? Answer with a sentence each.
Solution
Rules (i) and (iii) are autonomous: their instructions depend only on the
current state, not on the time. Rule (ii) is not β the slope it
prescribes changes with π‘ even when π¦ stays the same.
(b)
For rule (ii): show that the state π¦=0 receives different instructions
at two different times. Explain why this makes a phase line for (ii)
impossible.
Solution
At π¦=0 the prescribed slope is 0+π‘=π‘: zero at π‘=0, and 2 at
π‘=2. A phase line has one point for the state π¦=0, and that single
point cannot carry both instructions at once. Only when the rule ignores
the clock can the time direction be projected away.
6A phase line
Consider the autonomous equation
π¦β²=π¦2β4.
(a)
Find every value of π¦ where the equation prescribes no motion, and draw
the phase line, with arrows determined by the sign of π¦2β4.
Solution
The rule vanishes at π¦=Β±2: two resting states. For π¦<β2 the sign
of π¦2β4 is positive, so the arrows point upward toward β2; for
β2<π¦<2 it is negative, so the arrows point downward toward β2; for
π¦>2 it is positive, and the arrows point upward, away from 2.
ββ2βββ2β
(b)
Using only your phase line, describe the entire future of the solution
starting at π¦(0)=0, and of the solution starting at π¦(0)=3.
Solution
From π¦(0)=0 the arrows point downward: the solution decreases,
approaching the resting value β2 but never arriving β reaching it
would put two solutions through the same point, which uniqueness
forbids. It stays between β2 and 0 and exists for every future time.
From π¦(0)=3, the solution increases without bound: it cannot settle at
a finite value where π¦2β4 is still positive. The phase line alone does
not tell us whether this happens in finite or infinite time.
7Choosing the right guess
(a)
Consider π‘2π¦β³=2π¦. First try the guess π¦=πππ‘ and explain why
no value of π can ever work. Then try a power, π¦=π‘π: find every
value of π that works, and verify the resulting solutions by
substitution.
Solution
Substituting π¦=πππ‘ gives
π‘2π2πππ‘=2πππ‘,
which would require π‘2π2=2 at every time π‘. No fixed π can
manage that: for πβ 0 the left side varies with π‘, and for π=0
it is zero.
so π(πβ1)=2, i.e. π2βπβ2=(πβ2)(π+1)=0: the powers π=2 and
π=β1. Directly, π‘2(π‘2)β³=2π‘2 and π‘2(1/π‘)β³=π‘2β 2/π‘3=2/π‘,
so π¦=π‘2 solves everywhere and π¦=1/π‘ solves away from π‘=0.
(b)
Consider π¦β²+π¦=π2π‘. Here an exponential is clearly the right shape β
but with a knob: try π¦=π΄π2π‘, and find the value of π΄ that makes
it a solution.
so the guess works exactly when π΄=13: the solution
π¦=13π2π‘.
8Separating variables
Solve each initial-value problem. State its domain: the largest interval
containing the initial time on which it solves the differential equation
(be careful about division by zero, logarithms of negative numbers, etc.).
(a)
π¦β²=βπ‘π¦, π¦(0)=2.
Solution
No constant function solves this equation, so there are no equilibria to
find. Separating,
so π‘2+π¦2 is constant: the solution curves are arcs of circles. The
initial condition gives π‘2+π¦2=4, and since π¦(0)=2>0 we take the
upper branch:
π¦=β4βπ‘2.
The largest interval containing 0 is (β2,2); at its endpoints the
solution reaches π¦=0, where the equation itself breaks down.
(b)
π¦β²=π‘π¦+π‘, π¦(0)=0.
Solution
Factoring the right side as π‘(π¦+1) shows the constant function
π¦β‘β1 is an equilibrium solution. Our initial condition is not
β1, so we may divide: