Docsity

Practice Problems for Midterm Exam - Mathematical Modeling | MATH 442, Exams of Mathematics

Toggle sidebar
bg1
M442 Practice Problems for Midterm Exam
1. Suppose a set of ndata points {(xk, yk)}n
k=1 appears to arise from the relation
y=a+b
x.
Use the method of least squares to find approximate values for the parameters aand b.
2. The Malthusian model for population growth is given by
dp
dt =rp;p(0) = p0.
2a. Explain the rationale for a model of this form.
2b. Given the world population data p(1900) = 1.6 billion, p(1950) = 2.5 billion, and
p(2000) = 6.1 billion, use the central difference derivative approximation to estimate a value
for r.
2c. Determine the world population in 2020, according to your model.
3. Consider the second-derivative approximation
f′′(x)∼
=f(x+h)−2f(x) + f(x−h)
h2.
Find the order of this approximation (the power of hassociated with its error).
4. An object is shot straight upward with initial velocity v. Ignoring air resistance, and
assuming gravity is the only force acting on the object, use dimensional analysis to determine
the general form (i.e., the form up to a multiplicative constant) for the greatest height the
object achieves. Discuss whether or not your result makes sense physically.
5. Use the method of dimensional analysis to determine a general form for the period Pof a
pendulum of length lreleased from rest at an angle θwith the vertical. Ignore air resistance,
and note that the angle θbetween the pendulum and the vertical is dimensionless.
6. Suppose Mgrams of a certain heart medication is injected into a patient at time 0, and
that while the drug is beneficial for the heart it is detrimental to the liver. Assume the rates
at which blood flows in and out of the heart are respectively rI(t) and rO(t), and that the
rates at which blood flows in and out of the liver are respectively RI(t) and RO(t), and that
the initial volume of blood in the heart is VHwhile the initial volume of blood in the liver
is VL. Take the initial volume of blood in the entire body, including both the heart and the
liver to be fixed at V. Finally, assume that whenever the drug is present in the heart it is
absorbed out of the bloodstream with rate rHwhile whenever the drug is present in the liver
it is absorbed out of the bloodstream with rate rL. Assume that if the medication is not in
either the heart or the liver then it is not absorbed out of the bloodstream. Write down a
system of ODE that models the number of grams absorbed into the patient’s heart at time
tand also the number of grams absorbed into the patient’s liver at time t.
1
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Practice Problems for Midterm Exam - Mathematical Modeling | MATH 442 and more Exams Mathematics in PDF only on Docsity!

M442 Practice Problems for Midterm Exam

  1. Suppose a set of n data points {(xk, yk)}nk=1 appears to arise from the relation

y = a +

b x

Use the method of least squares to find approximate values for the parameters a and b.

  1. The Malthusian model for population growth is given by

dp dt

= rp; p(0) = p 0.

2a. Explain the rationale for a model of this form.

2b. Given the world population data p(1900) = 1.6 billion, p(1950) = 2.5 billion, and p(2000) = 6.1 billion, use the central difference derivative approximation to estimate a value for r.

2c. Determine the world population in 2020, according to your model.

  1. Consider the second-derivative approximation

f ′′(x) ∼=

f (x + h) − 2 f (x) + f (x − h) h^2

Find the order of this approximation (the power of h associated with its error).

  1. An object is shot straight upward with initial velocity v. Ignoring air resistance, and assuming gravity is the only force acting on the object, use dimensional analysis to determine the general form (i.e., the form up to a multiplicative constant) for the greatest height the object achieves. Discuss whether or not your result makes sense physically.
  2. Use the method of dimensional analysis to determine a general form for the period P of a pendulum of length l released from rest at an angle θ with the vertical. Ignore air resistance, and note that the angle θ between the pendulum and the vertical is dimensionless.
  3. Suppose M grams of a certain heart medication is injected into a patient at time 0, and that while the drug is beneficial for the heart it is detrimental to the liver. Assume the rates at which blood flows in and out of the heart are respectively rI (t) and rO(t), and that the rates at which blood flows in and out of the liver are respectively RI (t) and RO(t), and that the initial volume of blood in the heart is VH while the initial volume of blood in the liver is VL. Take the initial volume of blood in the entire body, including both the heart and the liver to be fixed at V. Finally, assume that whenever the drug is present in the heart it is absorbed out of the bloodstream with rate rH while whenever the drug is present in the liver it is absorbed out of the bloodstream with rate rL. Assume that if the medication is not in either the heart or the liver then it is not absorbed out of the bloodstream. Write down a system of ODE that models the number of grams absorbed into the patient’s heart at time t and also the number of grams absorbed into the patient’s liver at time t.
  1. Write down an ODE model for the chemical reaction described below.

2NO

k 1 ⇋ k− 1

N 2 O 2

N 2 O 2 + O 2

k 2 ⇋ k− 2

2NO 2.

  1. The West Nile Virus is carried predominately by birds and mosquitoes: When an infected mosquito bites a susceptible bird, the virus remains in the bird’s blood for two or three days, long enough to infect a great number of mosquitoes. Taking into account four variables— number of uninfected mosquitoes, m(t), number of infected mosquitoes, n(t), number of uninfected birds, b(t), and number of infected birds, c(t)—develop a model for the spread of West Nile Virus through a population of birds and mosquitoes. While you should assume mosquitoes are born and die, since the time horizon researchers are primarily concerned with is, say, one summer, you should consider the total bird population (b(t) + c(t)) to be fixed.

9a. Consider the motion of a simple pendulum for which a bob with mass m hangs at the end of a rigid rod of length l. Assuming physical air resistance (i.e., assuming that the force due to air resistance is proportional to the speed squared) write down a model for the motion of this pendulum.

9b. Find all equilibrium points for your model for (7a) and classify each as (linearly) stable or unstable.

  1. Answer the following questions regarding the system of differential equations

dy 1 dt

= y 2 dy 2 dt

= y 1 y 2.

10a. Find all equilibrium points for this system.

10b. Write down the phase plane equation for this system and find its general solution.

10c. Sketch three different integral curves for this system and place directional arrows on each.

10d. Determine the behavior as t → ∞ for solutions starting from the following points: (0, 0), (0, 1), and (0, −1).

10e. Determine whether each equilibrium point for this problem is stable or unstable.

  1. Find the Jacobian matrix associated with the following ODE system:

y 1 ′ = y 1 y 2 − y 3 y 2 ′ = 2y 1 − y 2 y 3 y 3 ′ = y 1 − y 2 − y 32.

  1. Suppose an object with constant mass m moves under the influence of three forces, one that acts in a direction opposite to tangent of the object’s motion (such as air resistance)

(Note. It’s also possible to solve this by setting X = (^1) x , and using y = a + bX, and the steps in that case are essentially identical to the ones carried out here.)

2a. The rate of population growth is assumed to be proportional to the current population size.

2b. The central difference approximation is

p′(t) ≈

p(t + h) − p(t − h) 2 h

In this case h = 50 and we have

p′(1950) ≈

p(2000) − p(1900) 2(50)

so

r ≈

p(1950)

p′(1950) =

= .018 s−^1.

2c. Taking the most recent data point as our initial value we have

p(t) = 6. 1 e.018(t−2000),

from which we compute p(2020) = 6. 1 e.018(20)^ = 8. 7433.

  1. By Taylor expansion, we have

f (x + h) =f (x) + f ′(x)h +

f ′′(x) 2

h^2 +

f ′′′(x) 3!

h^3 +

f ′′′′(x) 4!

h^4 + O(h^5 )

f (x − h) =f (x) − f ′(x)h +

f ′′(x) 2

h^2 −

f ′′′(x) 3!

h^3 +

f ′′′′(x) 4!

h^4 + O(h^5 ).

Computing directly,

f (x + h) − 2 f (x) + f (x − h) =f ′′(x)h^2 +

f ′′′′(x) 12

h^4 + O(h^5 ).

Dividing by h^2 we have at last,

f (x + h) − 2 f (x) + f (x − h) h^2

= f ′′(x) + O(h^2 ),

order 2.

  1. In this case it’s clear that the variables of dependence are g and v so that

h = h(g, v) = kgavb,

with dimensions L = LaT −^2 aLbT −b.

The dimensions equations are

L : 1 = a + b T : 0 = − 2 a − b.

Adding these equations, we find a = −1, which gives b = 2. We can conclude

h = k

v^2 g

This makes sense because greater inital speeds will cause the object to rise higher while greater gravitational force will reduce the maximum height.

  1. In this case, the three variables of dependence are g, l, and the initial angle θ 0. Since θ 0 is dimensionless, we only have two dimensions in the problem (length and time), and consequently the simple method fails. We proceed, then, with dimensionless products

π = π(g, l, θ 0 , P ) = galbθc 0 P d,

from which we have the dimension equation

1 = LaT −^2 aLbT d.

We find

0 = a + b 0 = − 2 a + d.

We have two equation and four unknowns, which means we have two degrees of freedom. For π 1 , choose d = 1 and c = 0, so that a = 12 and b = −^12. This gives π 1 =

√ (^) g l P^. For^ π^2 , the easiest thing is to observe that since θ 0 has no dimension, we can choose π 2 = θ 0. By Buckingham’s theorem there exists some function f so that our equation can be written in the form f (π 1 , π 2 ) = 0,

and motivated by the Implicit Function Theorem, we expect that there should exist some function φ so that this equation can be solved as

π 1 = φ(π 2 ).

We have, then, √ g l

P = φ(θ 0 ) ⇒ P =

l g

φ(θ 0 ).

(Notice that this agrees with our lecture notes, in which case we used Hamilton’s method to find φ as a complete elliptic integral.)

First equation: The term k 1 m denotes the birth of mosquitoes, with birth rate faster than death rate; the term −k 2 mc denotes uninfected mosquitoes infected by biting infected birds. Second equation: The term k 2 mc again denotes uninfected mosquitoes becoming infected; the term −k 3 n denotes the death rate of infected mosquitoes (no infected mosquitoes are born). Third equation: The term −k 4 bn denotes uninfected birds being infected by mosquitoes; the term k 5 c denotes the rate at which birds quit carrying the virus (2-3 days) and consequently become uninfected. Fourth equation: The term k 4 bn again denotes the number of birds becoming infected; −k 5 c denotes the loss of infected birds when they cease carrying the virus. Observe that it’s clear from the last two equations that (^) dtd (b(t) + c(t)) = 0.

9a. The diagram for this situation is the same as the one we drew in class, except we now add a force due to resistance that points in the direction opposing motion. Here, since position is measured as arclength s = ly, where y is the angle from vertical, that means

FAIR = −b|v|v = −bl^2 |

dy dt

dy dt

The model becomes y′′^ = −

g l

sin y − bl^2 |y′|y′.

9b. In order to find the equilibrium points, we write this as a first order system with y 1 = y and y 2 = y′, so that

y′ 1 = y 2

y′ 2 = −

g l

sin y 1 − bl^2 |y 2 |y 2.

The equilibrium points are (±nπ, 0), n = 0, 1 , 2 ,... , of which we need only consider the relevant two (0, 0) and (π, 0). The Jacobian matrix associated with this system is

f^ ~ ′(ˆy 1 , yˆ 2 ) =

−g l cos ˆy 1 − 2 bl^2 |yˆ 2 |

For the point (0, 0) this becomes

f^ ~ ′(0, 0) =

−g l 0

with corresponding linear system

dz 1 dt

= z 2 dz 2 dt

g l

z 1 ,

which is precisely the same as the system obtained for this equilibrium point in the absence of damping. We know from our analysis in class that this leads to elliptical orbits and a stable equilibrium point.

Similarly, for the point (π, 0) we have

f^ ~ ′(π, 0) =

g l 0

which is precisely the same as the system obtained for this equilibrium point in the absence of damping. We know from our analysis in class that this leads to hyperbolic orbits and an unstable equilibrium point.

10a. In order to find the equilibrium points, we need only solve the algebraic system

yˆ 2 = 0 yˆ 1 yˆ 2 = 0,

from which we see that any point (ˆy 1 , 0) is an equilibrium point (i.e., the entire horizontal axis).

10b. The phase plane equation is

dy 2 dy 1

y 1 y 2 y 2

= y 1 ,

so that

y 2 =

y 12 + C,

parabolas opening upward.

10c.

10d. Since (0, 0) is an equilibrium point, if the system starts at this point it will remain at this point. Starting at the point (1, 0) the system will follow a parabola out to (+∞, +∞). The interesting case is (0, −1), for which the phase plane equation becomes

y 2 =

y^21 − 1.

Since this corresponds with a parabola that opens upward from the point (0, −1), its trajec- tory will hit the horizontal axis, at which point it will stop since each point on the horizontal axis is an equilibrium point. At this point y 2 = 0, so y 1 = ±

  1. According to the trajectory direction, we see that the system approaches (−