# Section1.1Modeling with Differential Equations¶ permalink

Calculus tells us that the derivative of a function measures how the function changes. An equation relating a function to one or more of its derivatives is called a differential equation. The subject of differential equations is one of the most interesting and useful areas of mathematics. We can describe many interesting natural phenomena that involve change using differential equations. In addition, the theory of the subject has broad and important implications.

We begin our study of ordinary differential equations by modeling some real world phenomena. For a particular situation that we might wish to investigate, our first task is to write an equation (or equations) that best describes the phenomenon. Suppose that we wish to study how a population $P(t)$ grows with time $t\text{.}$ We might make the assumption that a constant fraction of population is having offspring at any particular time. If we also assume that the population has a constant death rate, the change in the population $\Delta P$ during a small time interval $\Delta t$ will be \begin{equation*} \Delta P \approx k_{\text{birth}} P(t) \Delta t - k_{\text{death}} P(t) \Delta t, \end{equation*} where $k_{\text{birth}}$ is the fraction of the population having offspring during the interval and $k_{\text{death}}$ is the fraction of the population that dies during the interval. Equivalently, we can write \begin{equation*} \frac{\Delta P}{ \Delta t} \approx k P(t), \end{equation*} where $k = k_{\text{birth}} - k_{\text{death}}\text{.}$ Since the derivative of $P$ is \begin{equation*} \frac{dP}{dt} = \lim_{\Delta t \to 0} \frac{\Delta P}{ \Delta t}, \end{equation*} the rate of change of the population is proportional to the size of the population, or $$\frac{dP}{dt} = kP.\label{equation-firstlook01-exponential}\tag{1.1}$$

The equation \begin{equation*} \frac{dP}{dt} = kP \end{equation*} is one of the simplest differential equations that we will consider. The equation tells us that a population grows in proportion to its current size. It is not too difficult to see that $P(t) = Ce^{kt}$ is a solution to this equation, where $C$ is an arbitrary constant. Indeed, if we differentiate $P(t)\text{,}$ we obtain \begin{equation*} \frac{d}{dt} P(t) = kCe^{kt} = kP(t). \end{equation*} In addition, if we know the value of $P(t)\text{,}$ say when $t = 0\text{,}$ we can also determine the value of $C\text{.}$ For example, if the population at the time $t = 0$ is $P(0) = P_0\text{,}$ then \begin{equation*} P_0 = P(0) = Ce^{k \cdot 0} = C \end{equation*} or $P(t) = P_0 e^{kt}\text{.}$ The differential equation \begin{align*} P'(t) & = k P(t),\\ P(0) & = P_0 \end{align*} is an example of an initial value problem, and we say that $P(0) = P_0$ is an initial condition. Since the solution to equation (1.1) is $P(t) = Ce^{kt}\text{,}$ and we say that the population grows exponentially.

As an example, suppose that $P(t)$ is a population of a colony of bacteria at time $t\text{,}$ whose initial population is 1000 at $t = 0\text{,}$ where time is measured in hours. Then \begin{equation*} 1000 = P(0) = C e^0 = C, \end{equation*} and our solution becomes $P(t) = 1000e^{kt}\text{.}$ If the population grows at three percent per hour, then \begin{equation*} 1030 = P(1) = 1000 e^k, \end{equation*} after one hour. Consequently, \begin{equation*} k = \ln 1.03 \approx 0.0296 \end{equation*} and the solution to our initial value problem is \begin{equation*} P(t) = 1000e^{0.0296 t}. \end{equation*} Of course, it is important to realize that this is only a model. If $t$ is small, our model might be reasonably accurate. However, if we let $t$ be very large, our colony of bacteria could very well exceed the mass of the earth.

The growth rate of a population need not be positive. For example, Japan has experienced negative growth in recent years. 1  The equation $dP/dt = kP$ can also be used to model such phenomena such as radioactive decay and compound interest—topics which we will explore later.

To summarize, we say that the expression $x(t) = Ce^{kt}$ is a general solution of the equation $x' = kx\text{,}$ and $x(t) = x_0 e^{kt}$ is a particular solution to the differential equation. The general solution to our equation $x(t) = Ce^{kt}$ graphs as an infinite family of curves, which we will call integral curves or solution curves (Figure 1.1).

Not all populations grow exponentially; otherwise, a bacteria culture in a petri dish would grow unbounded and soon be much larger than the size of the laboratory. To see what happens if there are limiting factors to population growth, let us consider the population of fish in a children's trout pond. The number of trout will be limited by the available resources, food supply, and spawning habitat. A small population of fish might grow exponentially if the pond is large and food is abundant, but the growth rate will decline as the population increases and the availability of resources declines. We can use the logistic equation to model population growth in a resource limited environment. 2

To see how the logistic model works, let us try to adjust our model of exponential growth to account for the limited resources of the pond. We will make the following assumptions.

• If the population of trout is small and there are abundant resources, the rate of growth will be approximately exponential, \begin{equation*} \frac{dP}{dt} \approx kP. \end{equation*}
• If $N$ is the maximum population of trout that the pond can support, then any population larger than $N$ will decrease. In other words, \begin{equation*} \frac{dP}{dt} \lt 0 \end{equation*} for $P \gt N\text{.}$ We say that $N$ is the carrying capacity for the population.

Our assumptions suggest that we might try an equation of the form \begin{equation*} \frac{dP}{dt} = k f(P) P, \end{equation*} where $f(P)$ is a function of $P$ that is close to 1 if the population is small, but negative if the population is greater than $N\text{.}$ The simplest function satisfying these conditions is \begin{equation*} f(P) = \left( 1 - \frac{P}{N} \right). \end{equation*} Thus, the logistic population model is given by the differential equation \begin{equation*} \frac{dP}{dt} = k \left( 1 - \frac{P}{N} \right) P. \end{equation*}

##### Example1.2

Suppose we have a pond will support 1000 fish, and the initial population is 100 fish. In order to determine the number of fish in the lake at any time $t\text{,}$ we must solve the initial value problem \begin{align*} \frac{dP}{dt} & = k \left( 1 - \frac{P}{1000} \right) P\\ P(0) & = 100. \end{align*} It is easy to verify that \begin{equation*} P(t) = \frac{1000}{9e^{-kt} + 1} \end{equation*} is the solution to our initial value problem. 3

If we differentiate $P\text{,}$ we will obtain the righthand side of the differential equation, \begin{align*} \frac{dP}{dt} & = \frac{d}{dt} \left(\frac{1000}{9e^{-kt} + 1}\right)\\ & = 1000 k \frac{9e^{-kt}}{(9e^{-kt} + 1)^2}\\ & = k \frac{9e^{-kt}}{(9e^{-kt} + 1)} \cdot \frac{1000}{9e^{-kt} + 1}\\ & = k \frac{(9e^{-kt} + 1) - 1}{(9e^{-kt} + 1)} \cdot \frac{1000}{9e^{-kt} + 1}\\ & = k \left( 1 - \frac{1000}{1000(9e^{-kt} + 1)}\right) \frac{1000}{9e^{-kt} + 1}\\ & = k \left( 1 - \frac{P}{1000} \right) P, \end{align*} and certainly $P(0) = 100\text{.}$ In addition, if we know that the population is 200 fish after one year, then \begin{equation*} 200 = P(1) = \frac{1000}{9e^{-k} + 1} \end{equation*} and we can determine that \begin{equation*} k = \ln\left( \frac{9}{4}\right) \approx 0.8109. \end{equation*} Consequently, the solution to our intial-value problem is \begin{equation*} P(t) = \frac{1000}{9e^{-0.8109 t} + 1}. \end{equation*} The graph of our solution certainly fits the situation that we are modeling (Figure 1.3).

Of course, we have not allowed for the possibility that children will be catching fish in our pond. We will examine how fishing affects our model in Section 1.7.

Sometimes it is necessary to consider the second derivative when constructing a mathematical model. Suppose that we have a mass lying on a flat, frictionless surface and that this mass is attached to one end of a spring with the other end of the spring attached to a wall. We denote the spring displacement by $x\text{.}$ If $x \gt 0\text{,}$ then the spring is stretched. If $x \lt 0\text{,}$ the spring is compressed. If $x = 0\text{,}$ then the spring is in a state of equilibrium (Figure 1.4). If we pull on the mass, then the mass will oscillate back and forth across the table.

We can construct a differential equation that models our oscillating mass. First, we must consider the restorative force on the spring. We will make the assumption that this force depends on the displacement of the spring, $F(x)\text{.}$ Using Taylor's Theorem from calculus, we can expand $F$ to obtain \begin{align*} F(x) & = F(0) + F'(0) x + \frac{1}{2} F''(0) x^2 + \cdots\\ & = -k x + \frac{1}{2} F''(0) x^2 + \cdots, \end{align*} where $F'(0) = -k$ and $F(0) = 0\text{.}$ If the displacement is not too large, then $x^n$ will be small for $n \geq 2\text{,}$ and we can ignore higher ordered terms. Thus, we can consider the restorative force on the spring to be proportional to displacement of the spring from its equilibrium length, \begin{equation*} F = -kx. \end{equation*} This equation is known as is Hooke's Law. We can test this law experimentally, and it is reasonably accurate if the displacement of the spring, $x\text{,}$ is not too large.

By Newton's second law of motion, the force on the mass must be \begin{equation*} F = ma = m \frac{d^2 x}{dt^2} = m x''. \end{equation*} Setting the two forces equal, we have a second order differential equation, \begin{equation*} mx'' = -kx, \end{equation*} which describes our oscillating mass. The spring-mass system is an example of a harmonic oscillator.

Suppose that we have a spring-mass system where $m =1$ and $k = 1\text{.}$ If the initial velocity of the spring is one unit per second and the initial position is at the equilibrium point, then we have the following initial value problem, \begin{align*} x'' + x & = 0\\ x(0) & = 0\\ x'(0) & = 1. \end{align*} Since $x''(t) = - x(t)$ for both the sine and cosine functions, we might guess that a general solution of our differential equation has the form \begin{equation*} x(t) = A \cos t + B \sin t. \end{equation*} Noting that \begin{equation*} x'(t) = -A \sin t + B \cos t, \end{equation*} and using our initial conditions, we can determine that $A = 0$ and $B = 1$ or \begin{equation*} x(t) = \sin t. \end{equation*} The graph of the position of the mass as a function of time is given in Figure 1.5.

Now let us add a damping force to our system. For example, we might add a dashpot, a mechanical device that resists motion, to our system. Think of a dashpot as the small cylinder that keeps your screen door from slamming shut. The simplest assumption would be to take the damping force of the dashpot to be proportional to the velocity of the mass, $x'(t)\text{.}$ Thus, we have will have an additional force, \begin{equation*} F = -b x' \end{equation*} acting on our mass, where $b \gt 0\text{.}$ Our new equation for the spring-mass system is \begin{equation*} mx'' = -bx' - kx. \end{equation*} or \begin{equation*} mx'' + bx' + kx = 0, \end{equation*} where $m\text{,}$ $b\text{,}$ and $k$ are all positive constants. If we let $m = 1\text{,}$ $b = 3\text{,}$ and $k = 2\text{,}$ then we would have an oscillating mass governed by the equation \begin{equation*} x'' + 3x' + 2x = 0. \end{equation*} We will learn how to solve equations of the form $ax'' + bx' + cx = 0$ in Chapter 4, but let us assume that the solution is of the form $x(t) = e^{rt}$ for now. Then \begin{align*} x'' + 3x' + 2x & = r^2 e^{rt} + 3 r e^{rt} + 2 e^{rt}\\ & = e^{rt}(r^2 + 3r +2)\\ & = e^{rt}(r+2)(r+1)\\ & = 0. \end{align*} Since $e^{rt}$ is never zero, it must be the case that $r = -2$ or $r = -1$ if $x(t) = e^{rt}$ is to be a solution to our equation. Thus, we might guess that \begin{equation*} x(t) = A e^{-t} + B e^{-2t} \end{equation*} is a general solution to our equation. If the initial velocity of our mass is one unit per second and the initial position is zero, then we have the initial value problem \begin{align*} x'' + 3x' + 2 x & = 0\\ x(0) & = 0\\ x'(0) & = 1. \end{align*} Using the fact that $x'(t) = -A e^{-t} -2 B e^{-2t}\text{,}$ our initial conditions give us the following system of linear equations, \begin{align*} A + B & = 0\\ -A -2B & = 1. \end{align*} Thus, $A = 1$ and $B = -1\text{,}$ and our spring-mass system is modeled by the function \begin{equation*} x(t) = e^{-t} - e^{-2t}. \end{equation*} Notice that the additional damping negates any oscillation in the system. In this case, we say that the system is over-damped (Figure 1.6).

Of course, if we have a very strong spring and only add a small amount of damping to our spring-mass system, the mass would continue to oscillate, but the oscillations would become progressively smaller. In other words, our system would be under-damped. For example, our spring-mass system might be described by the initial value problem \begin{align*} x'' + 2x' + 50 x & = 0\\ x(0) & = 0\\ x'(0) & = 1. \end{align*} It is easy to verify that \begin{equation*} x(t) = \frac{1}{7} e^{-t} \sin 7t \end{equation*} is a solution to the initial value problem (Figure 1.7).

We will explore harmonic oscillators and second-order differential equations more fully in Chapter 4.

Some situations require more than one differential equation to model a particular situation. We might use a system of differential equations to model two interacting species, say where one species preys on the other. 4  For example, we can model how the population of Canadian lynx (lynx canadienis) interacts with a the population of snowshoe hare (lepus americanis) (see https://www.youtube.com/watch?v=ZWucOrSOdCs).

We have good historical data for the populations of the lynx and snowshoe hare from the Hudson Bay Company. This large Canadian retail company, which owns and operates a large number of retail stores in North America and Europe, including Galeria Kaufhof, Hudson's Bay, Home Outfitters, Lord & Taylor, and Saks Fifth Avenue, was originally founded in 1670 as a fur trading company. The Hudson Bay Company kept accurate records on the number of lynx pelts that were bought from trappers from 1821 to 1940. The company noticed that the number of pelts varied from year to year and that the number of lynx pelts reached a peak about every ten years [11]. The ten year cycle for lynx can be best understood using a system of differential equations.

The primary prey for the Canadian lynx is the snowshoe hare. We will denote the population of hares by $H(t)$ and the population of lynx by $L(t)\text{,}$ where $t$ is the time measured in years. We will make the following assumptions for our predator-prey model.

• If no lynx are present, we will assume that the hares reproduce at a rate proportional to their population and are not affected by overcrowding. That is, the hare population will grow exponentially, \begin{equation*} \frac{dH}{dt} = aH. \end{equation*}
• Since the lynx prey on the hares, we can argue that the rate at which the hares are consumed by the lynx is proportional to the rate at which the hares and lynx interact. Thus, the equation that predicts the rate of change of the hare population becomes \begin{equation*} \frac{dH}{dt} = aH - bHL. \end{equation*} We are thinking of $HL$ as the number of possible interactions between the lynx and the hare populations.
• If there is no food, the lynx population will decline at a rate proportional to itself, \begin{equation*} \frac{dL}{dt} = -cL. \end{equation*}
• The lynx receive benefit from the hare population. The rate at which lynx are born is proportional to the number of hares that are eaten, and this is proportional to the rate at which the hares and lynx interact. Consequently, the growth rate of the lynx population can be described by \begin{equation*} \frac{dL}{dt} = -cL + dHL. \end{equation*}

We now have a system of differential equations that describe how the two populations interact, \begin{align*} \frac{dH}{dt} & = aH - bHL,\\ \frac{dL}{dt} & = -cL + dHL. \end{align*} We will learn how to analyze and solve systems of differential equations in subsequent chapters; however, we will give a graphical solution in Figure 1.8 to the system \begin{align*} \frac{dH}{dt} & = 0.4H - 0.01HL,\\ \frac{dL}{dt} & = -0.3L + 0.005HL. \end{align*} Notice that the predator population, $L\text{,}$ begins to grow and reaches a peak after the prey population, $H$ reaches its peak. As the prey population declines, the predator population also declines. Once the predator population is smaller, the prey population has a chance to recover that the cycle begins again. 5

# Subsection1.1.5Modeling the HIV-1 Virus¶ permalink

The interaction of the HIV-1 virus with the body's immune system can be modeled by a system of differential equations similar to a predator-prey system. After an individual is infected with the HIV-1 virus, the amount of the virus in the bloodstream rises dramatically and the person will often suffer from flu-like symptoms. However, these symptoms will disappear after a period of weeks or months as the body begins to manufacture antibodies against the virus. Tests have been developed to determine the presence of HIV-1 antibodies. If a individual has such antibodies, then they are said to be HIV-1 positive. Once infected with the HIV-1 virus, it can be years before an HIV-positive patient exhibits the full symptoms of AIDS. The body's immune system fights the HIV-1 virus with white blood cells. The CD4-positive T-helper cells, a specific type of white blood cell, is especially important since it helps other cells fight the virus. However, the HIV-1 virus can destroy CD4-positive T-helper cells.

We can develop a system of differential equations to better understand the dynamics of the HIV-1 virus [20]. Let $V = V(t)$ be the population of the HIV-1 virus at time $t\text{.}$ We will assume that the virus concentration is governed by the following differential equation, \begin{equation*} \frac{dV}{dt} = P - cV. \end{equation*} The first term, $P$ is some function of $t$ that determines the rate at which new viral particles are created. The term $-cV$ is the death rate for the virions. If someone discovers a drug that blocks the creation of new HIV-1 virions, then $P$ would be zero and the virions would clear the body at the following rate, \begin{equation*} \frac{dV}{dt} = - cV, \end{equation*} and $V(t) = V_0 e^{-ct}\text{,}$ where $V_0$ is the initial viral population.

Now let us consider a model for the concentration of $T = T(t)$ of (uninfected) CD4-positive T-helper cells, \begin{equation*} \frac{dT}{dt} = s + pT\left(1 - \frac{T}{T_{\text{max}}} \right) - d_T T. \end{equation*} The constant $s$ represents the rate at which T cells are created from sources in the body, such as the thymus. New CD4-positive T-helper cells can also be created from the proliferation of existing CD4-positive T-helper cells, and the second term in the equation represents the logistic growth of the T cells, where $p$ is the maximum proliferation rate and $T_{\text{max}}$ is the T cell population density where proliferation ceases. Finally, $d_T$ is the death rate of the T cells.

Like the influenza virus, the HIV-1 virus is an RNA virus. An RNA virus cannot reproduce on its own and must use the DNA from a host cell. To do this, the virus attaches itself to a CD4-positive T-helper cell and injects its RNA into the cell. This way the virus can use the T cell's DNA to replicate itself using a process called reverse transcription, where a DNA copy of the virus's RNA is made. New virus particles are created, and the T cell eventually bursts releasing the virions into the body. If we let $T^*$ be the concentration of infected T cells, we can model this process with the following system of equations, \begin{align*} \frac{dT^*}{dt} & = kTV - \delta T^*\\ \frac{dV}{dt} & = N \delta T^* - cV, \end{align*} where $\delta$ is the rate of loss of the virus producing T cells and $N$ is the number of virions produced per infected T cell during its lifetime. The term $kTV$ tells us the rate at which the HIV-1 virus infects T cells. This is the same idea as modeling how predators interact with prey in a predator-prey model. Thus, our complete model becomes \begin{align*} \frac{dT}{dt} & = s + pT\left(1 - \frac{T}{T_{\text{max}}} \right) - d_T T - kTV\\ \frac{dT^*}{dt} & = kTV - \delta T^*\\ \frac{dV}{dt} & = N \delta T^* - cV. \end{align*}

One class of drugs that HIV infected patients receive are reverse transcriptase (RT) inhibitors. RT inhibitors block the action of reverse transcription and prevent the virus from duplicating. If one could find the perfect RT inhibitor, then $k =0$ and our system becomes \begin{align*} \frac{dT}{dt} & = s + pT\left(1 - \frac{T}{T_{\text{max}}} \right) - d_T T\\ \frac{dT^*}{dt} & = - \delta T^*\\ \frac{dV}{dt} & = N \delta T^* - cV. \end{align*} Unfortunately, no one has discovered a perfect RT inhibitor, so we will need to modify the system to account for the effectiveness of the RT inhibitor. We can accomplish this by adding an effectiveness factor, $1 - \eta\text{,}$ to the $kVT$ term. Our system now becomes \begin{align*} \frac{dT}{dt} & = s + pT\left(1 - \frac{T}{T_{\text{max}}} \right) - d_T T - k(1 - \eta)TV\\ \frac{dT^*}{dt} & = k(1 - \eta)TV - \delta T^*\\ \frac{dV}{dt} & = N \delta T^* - cV. \end{align*} If $\eta = 1\text{,}$ then the RT inhibitor is completely effective. On the other hand, if $\eta = 0\text{,}$ then the RT inhibitor is completely ineffective. We now have a model for how the HIV-1 virus interacts we the immune system. Researchers can use data to estimate the parameters and see exactly what types of solutions are possible.

Technology can prove very useful when studying differential equations. Software packages such Maple, Mathematica, and Matlab each have their advantages and disadvantages. We will use Sage, a readily available open source computer algebra system, as our choice of software. Sage can be run on an individual computer or over the Internet on a server. You can even access Sage from your smart phone. For our purposes, Sage cells are embedded into the textbook, so there is nothing to install on your computer. Simply, evaluate the cell. You can even change the preloaded commands in the cell if you wish. For example, let us evaluate the derivative of $f(x) = x^2 \cos x\text{.}$

We can use Sage to plot functions. For example, we can plot the function $f(x) = x^2 \cos x$ as well as its derivative on the same graph.

We can use Sage to solve differential equations. Suppose that we wish to solve the initial value problem \begin{align*} \frac{dP}{dt} & = kP\\ P(0) & = 1000. \end{align*} We can use the following commands.

We will provide abundant examples of how to use Sage to solve and analyze differential equations throughout the book, and we encourage the reader to experiment by altering the Sage commands inside the individual Sage cells. If you make a mistake, you can simply reload the webpage and start again.

The reader will find plenty of resources to learn how to use Sage. A good place to start is http://www.sagemath.org/help.html or [1]. Although we will be using Sage as the technology of choice, this book can be read independently of Sage. Finally, we would like to emphasize once again that the reader who chooses not to use some sort of technology will be at a disadvantage.

# Subsection1.1.7Some Questions for Thought¶ permalink

In this section we have provided a general notion of what a differential equation is as well as several modeling situations where differential equations are useful; however, we have left many questions unanswered. First, we need a more rigorous definition of a differential equation. What is the proper way to define a system of differential equations? Does a differential equation or a system of differential equations always have a solution? Are solutions to differential equations unique? If a unique solution to a differential equation exists, can we find it? If it is not possible to find a precise solution algebraically, can we estimate the solution numerically? If neither is possible, can we still say anything useful about the solution? Of course, other questions will come to mind as we continue our study of differential equations.

• A differential equation is an equation relating a function to one or more of its derivatives.
• An initial value problem is a differential equation \begin{equation*} \frac{dx}{dt} = f(t,x), \end{equation*} where the initial condition, $x(t_0) = x_0\text{,}$ is specified.
• A population that is not affected by overcrowding can be modeled by the differential equation $P' = kP$ and is said to grow exponentially.
• A population that must compete for limited resources can be modeled by the logistic equation, \begin{equation*} \frac{dP}{dt} = k \left( 1 - \frac{P}{N} \right) P, \end{equation*} where $N$ is the carrying capacity of the population.
• Some phenomenon, such as the relationship between a population of predators and a population of prey, are best modeled by systems of differential equations.
• The three principle steps in modeling any phenomenon with differential equations are:

• Discovering the differential equation or equations that best describe a specified physical situation.

• Finding—either exactly or approximately—the appropriate solution of the equation or equations.

• Interpreting the solution in terms of the phenomenon.

##### 1

Verify that $y(t) = 3e^{-2t}$ is a solution to the differential equation $y' = -2y$

##### 2

Verify that $y(t) = Ce^{-t}$ is a solution to the differential equation $y' + y = 0\text{.}$ Determine $C$ if $y(0) = 3\text{.}$

##### 3

1. Verify that $y(t) = 2/(1 + Ce^{-2t})$ is a solution to the differential equation $y' = y(2 - y)\text{.}$
2. Sketch solution curves for $C = 1, 2, \ldots, 5\text{.}$
3. Verify that $y = 0$ is a solution to the differential equation in part (a). Can you find a value for $C$ such that \begin{equation*} y(t) = \frac{2}{1 + Ce^{-2t}} = 0? \end{equation*}
##### 4

Write a differential equation that models a population $P\text{,}$ where $P$ changes at a rate proportional to the square root of $P\text{.}$

##### 5

We can modify the logistic growth model to account for a threshold population. That is, if the population of a species drops below a certain level, the species is endanger of extinction. Consider the case of the black rhinoceros, once the most numerous of all rhinoceros species and now critically endangered. The black rhino, native to eastern and southern Africa, was estimated to have a population of about 100,000 around 1900. Because of hunting, habitat changes, competing species, and most of all illegal poaching, the number of black rhinos today is estimated to be below 3000. If the wild population becomes too low, the animals may not be able to find suitible mates and the black rhino will become extinct. There must be a minimum population for the species to continue. Suppose the this minimum or threshold population for the black rhino is 1000 animals and that remaining habitant in Africa will support no more that 20,000 rhinos.

1. For what values of $P$ is the rhino population increasing? What can be said about the value of $dP/dt$ for these values of $P\text{?}$
2. For what values of $P$ is the rhino population decreasing? What can be said about the value of $dP/dt$ for these values of $P\text{?}$
3. For what values of $P$ is the rhino population in equilibrium? What can be said about the value of $dP/dt$ for these values of $P\text{?}$
4. Find a differential equation that models the population of rhinos at time $t\text{.}$
##### 6

Given the equation $x' + p x = q(t)\text{,}$ where $p$ is a constant and $q(t)$ is a continuous function defined on an interval $I\text{,}$ show that \begin{equation*} x(t) = Ce^{-at} + e^{-at} \int_{t_0}^t e^{as}b(s) \, ds \end{equation*} is a solution of this equation, where $c$ is any constant and $t_0 \in I\text{.}$

Carbon 14 is a radioactive isotope of carbon, the most common isotope of carbon being carbon 12. Carbon 14 is created when cosmic ray bombardment changes nitrogen 14 to carbon 14 in the upper atmosphere. The resulting carbon 14 combines with atmospheric oxygen to form radioactive carbon dioxide, which is incorporated into plants by photosynthesis. Animals acquire carbon 14 by eating plants. When an animal or plant dies, it ceases to take on carbon 14, and the amount of isotope in the organism begins to decay into the more common carbon 12. Carbon 14 has a very long half-life, about 5730 years. That is, given a sample of carbon 14, it will take 5730 years for half of the sample will decay to carbon 12. The long half-life is what makes carbon 14 dating is very useful in dating objects from antiquity.

1. Consider at sample of material that contains $A(t)$ atoms of carbon 14 at time $t\text{.}$ During each unit of time a constant fraction of the radioactive atoms will spontaneously decay into another element or a different isotope of the same element. Thus, the sample behaves like a population with a constant death rate and a zero birth rate. Make use of the model of exponential growth to construct a differential equation that models radioactive decay for carbon 14.
2. Solve the equation that you proposed in (a) to find an explicit formula for $A(t)\text{.}$
3. The Chauvet-Pont-d'Arc Cave in the Ardèche department of southern France contains some of the best preserved cave paintings in the world. Carbon samples from torch marks and from the paintings themselves, as well as from animal bones and charcoal found on the cave floor, have been used to estimate the age of the cave paintings. If a particular sample taken from the Cauvet Cave contains 2% of the expected cabon 14, what is the approximate age of the sample?
##### 8

Consider the following predator-prey systems of differential equations \begin{align*} \frac{dx}{dt} \amp = -\frac{x}{2} + \frac{xy}{2 + y},\\ \frac{dy}{dt} \amp = y(1 - y) - \frac{xy}{2 + y}. \end{align*}

1. Which equation models the prey population and which equation models the predator population?
2. How does the prey population grow if there are no predators present?
3. What happens if there are a lot of prey present?

# Subsection1.1.10An Introduction to Sage¶ permalink

Write an introduction to Sage.