Docsity

Solutions to Math 2280-2 Practice Exam 1: Differential Equations and Population Dynamics, Exams of Mathematics

Toggle sidebar
bg1
Name.........................................................................................
I.D. number................................................................................
Math 2280-2
Practice Exam 1
February 12, 2001
SOLUTIONS
This exam is closed-book and closed-note. You may use a scientific calculator, but not one which is
capable of graphing or of solving differential or linear algebra equations. In order to receive full or
partial credit on any problem, you must show all of your work and justify your conclusions. There
are 100 points possible, and the point values for each problem are indicated in the right-hand margin.
Good Luck!
1) Consider the differential equation
=
dP
dt −+ −P24P3
which models a certain population problem.
1a) Find the equilibrium solutions.
The right side equals -(P^2 - 4P + 3) = -(P-3)(P-1), so the equilibrium solutions (constant solutions to
the differential equation) are P=3 and P=1. (5 points)
1b) Sketch the slope field for this differential equation. Onto the slope field sketch graphs of the
solutions to the three initial value problems with P(0)=0, P(0)=2, P(0)=4. (You don’t need formulas for
the solutions to make the sketches!) (8 points)
> restart:
with(DEtools):
> deqtn:=diff(P(t),t)=-P(t)^2+4*P(t)-3;
:= deqtn =
∂
∂
t()Pt−+ −()Pt24()Pt3
> DEplot(deqtn,P(t),t=0..5,P=-3..5,{[P(0)=0],[P(0)=2],
[P(0)=4]},arrows=line,color=black, linecolor=black,
stepsize=.2, dirgrid=[30,30]);
pf3
pf4
pf5

Partial preview of the text

Download Solutions to Math 2280-2 Practice Exam 1: Differential Equations and Population Dynamics and more Exams Mathematics in PDF only on Docsity!

Name......................................................................................... I.D. number................................................................................

Math 2280-

Practice Exam 1

February 12, 2001

SOLUTIONS

This exam is closed-book and closed-note. You may use a scientific calculator, but not one which is capable of graphing or of solving differential or linear algebra equations. In order to receive full or partial credit on any problem, you must show all of your work and justify your conclusions. There are 100 points possible, and the point values for each problem are indicated in the right-hand margin. Good Luck!

  1. Consider the differential equation

=

dP dt − P^ +^ −

2 4 P 3

which models a certain population problem.

1a) Find the equilibrium solutions. The right side equals -(P^2 - 4P + 3) = -(P-3)(P-1), so the equilibrium solutions (constant solutions to the differential equation) are P=3 and P=1. (5 points)

1b) Sketch the slope field for this differential equation. Onto the slope field sketch graphs of the solutions to the three initial value problems with P(0)=0, P(0)=2, P(0)=4. (You don’t need formulas for the solutions to make the sketches!) (8 points)

restart: with(DEtools): deqtn:=diff(P(t),t)=-P(t)^2+4*P(t)-3; deqtn :=∂ =

t P( )^ t^ −P^ ( )^ t^ +^ −

(^2 4) P( ) t 3

DEplot(deqtn,P(t),t=0..5,P=-3..5,{[P(0)=0],[P(0)=2], [P(0)=4]},arrows=line,color=black, linecolor=black, stepsize=.2, dirgrid=[30,30]);

2

4

P(t)

(^1 2) t 3 4 5

1c) Which of the equilibrium solutions are stable? Which are unstable? (4 points) P=3 is stable, P=1 is unstable.

1d) Give a population model which leads to differential equations of this type. Be as precise as you can, so that you can account for the signs of all three terms on the right-hand side of the differential equation. (3 points) This could be a logistic equation with harvesting, since dP/dt = -P^2 + 4P = P(4-P) is a logistic DE, with carrying population 4 (units). In the case of our DE, we would be harvesting 3 units of population per time unit, leading to DP/dt = P(P-4) -3.

1e) Find a explicit solution to the initial value problem for this differential equation, with P(0)=2. Verify that your limiting population agrees with what your sketch predicted in part 1b). (15 points)

DP

( P −3 () P − 1 ) − dt Do partial fractions: =

( P −3 () P − 1 ) −

P − 3

P − 1

Integrate:

e = ( .01 t ) 

t x( )^ t^ .01^ x( )^ t^^15 e

( .01 t )

Integrate: e = ( .01 t ) x ( ) t 1500.000000 e + ( .01 t ) C solve for x: x( ) t = 1500 + C e ( −.01 t ) Solve for C with initial value x(0)=0: 0 = 1500 + C C =- x( ) t = 1500 − 1500 e ( −.01 t )

2c) What is the limiting amount of salt as t approaches infinity? (5 points) As t-> infinity the exponential term dies out and we get 1500 pounds as the limiting amount. We expect this because we expect the limiting concentration to be the inflow concentration of 0.1 pounds/gallon, and there are 15,000 gallons in the tank.

3a) Consider the differential equation

    • =

d^2 x dt^2

dx dt^5 x^^0 Find the general solution to this differential equation. If this was modeling a spring problem, what kind of damping would we have? (15 points) The characteristic polynomial is p( ) r = r^2 + 4 r + 5 which has roots -2 + I , -2 − I Thus the general solution is

x( ) t = e ( − 2 t ) ( A cos( ) t + B sin( ) t ) Since the roots were complex, this is an underdamped system.

3b) Solve the initial value problem for the differential equation above, for x(0)=2, Dx(0)=-2. (10 points)

dx dt e

( − 2 t ) ( − 2 A cos( ) t − 2 B sin( ) t − A sin( ) t + B cos( ) t ) Plugging in initial data yields 2 = A -2 =− 2 A + B which has solution A = 2

B = 2

So our solution is x( ) t = e ( − 2 t ) ( 2 cos( ) t + 2 sin( ) t )

3c) Write your solution to 3b) in the form of a time-varying amplitude times cos(wt-a). (10 points) We use the right triangle with horizontal displacement A, vertical displacement B. Then the hypotenuse is C, and the angle between C and A is alpha. So we have C=2*sqrt(2) and alpha is the arctan of 1, ie Pi/4.

x( ) t = 2 2 e ( − 2 t )  

Cos t −^1  4 π

  1. We know that any expression

A cos( ω t ) + B sin( ω t ) Can be rewritten as C cos( ω t −α) And you probably memorized the formulas for this exam.

4a) Use the addition angle formula for cosine to rederive the formulas for C and alpha in terms of A and B. (5 points)

Ccos(omegat-alpha)=C(cos(omegat)cos(alpha)+sin(omegat)sin(a lpha)); C cos( ω t −α) = C ( cos( ω t )cos( α) +sin( ω t )sin( α)) So, equating coefficeints we deduce that Ccos(alpha)=A; C*sin(alpha)=B; C cos( α) = A C sin( α) = B This leads to the ABC triangle discussed in class and above, i.e. C = A^2 + B^2 cos( α) =

A

C

sin( α) =

B

C

4b) Find C and alpha so that

sin( ) t + 2 cos( ) t − 2 =

cos t +^1  4 π^ C^ cos(^ t^ −α) (5 points) sin( ) t + 2 cos( ) t − 2 =

cos( ) t  −  

Cos^1  4 π^ sin( )^ t^

Sin^1  4 π^ C^ Cos(^ t^ −α)

dg dy^2 e

y

g = 2 e y^ + C and our solutions are implicitly given by x^2 + 3 y x + 2 e y^ = C END!