next up previous
Next: About this document ...

Math 3C, Midterm, Fall 2000


Calculus

Remember to show all your work for partial credit! Calculators are permitted but no books, notes or homework.
1.
(20 points) Match the direction fields in Figure 1 and the ODE's listed below.
(a)
$\dot x = \sin(t)\:\:\:$ Figure 1.3.8
(b)
$\dot x = -x + 1 \:\:\:$ Figure 1.3.12
(c)
$\dot x = x + t\:\:\:$ Figure 1.3.9
(d)
$\dot x = t - x\:\:\:$ Figure 1.3.11
(e)
$\dot x = \sin(x)\:\:\:$ Figure 1.3.10
2.
(10 points) Solve the ODE

\begin{displaymath}\dot x = \sin^2(t), \: \: x(0)=1.
\end{displaymath}

Solution:

\begin{displaymath}x(t) = \int (\frac{1}{2} - \frac{1}{2} \cos(2t))dt =
\end{displaymath}


\begin{displaymath}\frac{t}{2}-\frac{1}{4}\sin(2t) + C.
\end{displaymath}


x(0) = C = 1.

3.
(20 points) Use four steps and Euler's Method to find the solution of the ODE

\begin{displaymath}y\prime = x + y, \: \: y(0)=1,
\end{displaymath}

at x = 0.4. Estimate the error in your value of y(0.4).

Solution:

\begin{displaymath}h = {{x_4-x_0}\over n} = {{0.4 - 0}\over 4} = 0.1
\end{displaymath}

where n is the number of steps and h is the step size.

\begin{displaymath}y_{m+1} = y_m +f(x_m,y_m)h, \: \: y_0 =1,
\end{displaymath}


\begin{eqnarray*}y_1 &=& 1 + (0+1)0.1 = 1.1\\
y_2 &=& 1.1 + (0.1+1.1)0.1 = 1.22...
...2+1.22)0.1 = 1.362\\
y_4 &=& 1.362 + (0.3+1.362)0.1 = 1.5282\\
\end{eqnarray*}


The error is of the order

h2 = 0.01

Thus the approximation is

\begin{displaymath}y(0.4) \approx y_4 = 1.53,
\end{displaymath}

because the error tells us to carry only two significant digits.
4.
(10 points) Solve the ODE

\begin{displaymath}\dot x = x^2, \: \: x(0)=1.
\end{displaymath}

Solution:

\begin{displaymath}\frac{dx}{x^2} = dt,
\end{displaymath}


\begin{displaymath}\int \frac{dx}{x^2} = \int dt,
\end{displaymath}


\begin{displaymath}-\frac{1}{x} = t + C,
\end{displaymath}


\begin{displaymath}x = -\frac{1}{t+C},
\end{displaymath}


\begin{displaymath}x(0) = -\frac{1}{C}, \: \: \: C = -1.
\end{displaymath}


\begin{displaymath}x(t) = -\frac{1}{t-1}
\end{displaymath}

blows up to $\infty$ at t = 1.

How does the behaviour of the solution change if x(0) = -1?

If x(0) = -1, then C = 1, the solution becomes

\begin{displaymath}x = -\frac{1}{t+1}
\end{displaymath}

which just decays to 0 as $t \to \infty.$

5.
(40 points) Do the qualitative analysis of the population equation

\begin{displaymath}\dot p = p(p-1)(3-p),
\end{displaymath}

(a)
Find the stationary solutions.

p(p-1)(3-p) = 0,


p = 0, 1, 3.

(b)
Determine the stability of the stationary solutions.

f(p) = p(p-1)(3-p),


\begin{displaymath}\frac{df}{dp} = (p-1)(3-p)+p(3-p)- p(p-1)
\end{displaymath}


\begin{displaymath}f\prime(0) = -3 < 0, \: f\prime(1) = 2 > 0, \: f\prime(3) = -6 < 0.
\end{displaymath}

Thus 0 and 3 are stable stationary solutions and 1 is unstable.
(c)
Draw the extended phase portrait (in p and t space). See Figure 1.
  
Figure: The extended phase space.
\begin{figure}
\centerline{\epsfysize=3in
\epsfbox{3Cm.eps} }
\end{figure}

(d)
Determine what happens to populations with initial values, p(0) = 1/2, p(0) = 3/2, p(0) = 5, as $t \to \infty$.

Solution:

$p(0) = \frac{1}{2}$ decays to 0 as $t \to \infty$, the population becomes extinct. $p(0) = \frac{3}{2}$ and p(0) = 5 grow and decay respectively to the carrying capacity of the environment p = 3.



 
next up previous
Next: About this document ...
Bjorn Birnir
2000-11-11