Midterm1 - Practice Solutions
Midterm1 - Practice Solutions
Midterm1 - Practice Solutions
′
y y
y = −ry 1 − 1−
T K
where r > 0 and 0 < T < K are positive constants.
(a) What are the equilibrium solutions of the ODE?
(b) Sketch the phase line of the ODE for y ≥ 0. Determine the stability of
the equilibria in (a).
(c) Suppose that y(t) satisfies the initial condition y(0) = y0 . For what values
of y0 > 0 does the population approach extinction and for what values of y0
does the species approach its maximum sustainable population as t → ∞.
Solution
1
2. Suppose that for certain continuous functions p(t), g(t) the functions
y1 (t), y2 (t) are solutions of the ODEs
(a) Give an expression for the general solution y(t) of the ODE
y ′ + p(t)y = 3g(t)
Solution
2
3. (a) Find the solution of the initial value problem
y ′ = y ln y, y(0) = e.
Solution
At t = 0, we have y = e, so
C = ln(ln e) = ln 1 = 0.
y ′ = y(ln y)n
with initial data y(0) = y0 > 1 goes to infinity in finite time for any n > 1.
3
4. (a) Solve the initial value problem
y ′ + y = t, y(0) = 1.
(b) Find the time t at which the solution attains its minimum value.
Solution
y(t) = t − 1 + 2e−t .
t = ln 2.
This critical point corresponds to a local minimum of y(t) since y ′′ (ln 2) >
0, and it is a global minimum since y ′ (t) < 0 for t < ln 2 and y ′ (t) > 0
for t > ln 2.
4
5. (a) Solve the initial value problem
(b) For what initial values y0 is the solution y(t) defined for all −∞ < t < ∞?
Solution
ey = sin t + C.
Imposing the initial condition (this can be done now or after solving
for y), we get
C = ey0 .
The solution for y is therefore
y0 > 0.
5
6. (a) Find all equilibria of the ODE
y2 − 1
y′ = .
y2 + 1
(b) Sketch the phase line, and determine the stability of the equilibria you
found in (a).
(c) Sketch the graph versus t of the solution y(t) that satisfies the initial
condition y(0) = 0.
Solution
y2 − 1
f (y) = 2 ,
y +1