In previous chapters, we have seen that a function’s derivative tells us the rate at which the function is changing. The Fundamental Theorem of Calculus helped us determine the total change of a function over an interval from the function’s rate of change. For instance, an object’s velocity tells us the rate of change of that object’s position. By integrating the velocity over a time interval, we can determine how much the position changes over that time interval. If we know where the object is at the beginning of that interval, we have enough information to predict where it will be at the end of the interval.
In this chapter, we introduce the concept of differential equations. A differential equation is an equation that provides a description of a function’s derivative, which means that it tells us the function’s rate of change. Using this information, we would like to learn as much as possible about the function itself, ideally including an algebraic description of the function. As we’ll see, this may be too much to ask in some situations, but we will still be able to make accurate approximations.
The position of an object moving along a line is given by the function \(s(t)\text{,}\) where \(s\) is measured in feet and \(t\) in seconds. We determine that the velocity is \(v(t) = 4t + 1\) feet per second.
If, in addition to knowing the velocity function is \(v(t) = 4t+1\text{,}\) we know the initial position \(s(0)\text{,}\) how many possibilities are there for \(s(t)\text{?}\)
As many important examples of differential equations involve quantities that change over time, the independent variable in our discussion will frequently be time \(t\text{.}\) In the preview activity, we considered the differential equation
Because differential equations describe the derivative of a function, they give us information about how that function changes. Our goal will be to use this information to predict the value of the function in the future; in this way, differential equations provide us with something like a crystal ball.
This innocuous statement is really a differential equation. Let’s translate: \(A(t)\) will be amount of money you have in your account at time \(t\text{.}\) The rate at which your money grows is the derivative \(\frac{dA}{dt}\text{,}\) and we are told that this rate is \(0.03 A\text{.}\) This leads to the differential equation
This differential equation has a slightly different feel than the previous equation \(\frac{ds}{dt} = 4t+1\text{.}\) In the earlier example, the rate of change depends only on the independent variable \(t\text{,}\) and we may find \(s(t)\) by integrating the velocity \(4t+1\) (with respect to \(t\)). In the banking example, however, the rate of change depends on the dependent variable \(A\text{,}\) so we’ll need some new techniques in order to find \(A(t)\text{.}\)
Express the following statements as differential equations. In each case, you will need to introduce notation to describe the important quantities in the statement, so be sure to clearly state what your notation means.
You have a bank account that continuously earns 4% interest every year. At the same time, you withdraw money continually from the account at the rate of $1000 per year.
A cup of hot chocolate is sitting in a 70\(^\circ\) room. The temperature of the hot chocolate cools continuously by 10% of the difference between the hot chocolate’s temperature and the room temperature every minute.
A can of cold soda is sitting in a 70\(^\circ\) room. The temperature of the soda warms continuously at the rate of 10% of the difference between the soda’s temperature and the room’s temperature every minute.
Subsection7.1.3Differential equations in the world around us
Differential equations give a natural way to describe phenomena we see in physical reality. For instance, physical principles are frequently expressed as a description of how a quantity changes. A good example is Newton’s Second Law, which says:
For instance, when gravity acts on an object near the earth’s surface, it exerts a force equal to \(mg\text{,}\) the mass of the object times the gravitational constant \(g\text{.}\) We therefore have
\begin{align*}
ma \amp= mg, \text{ or}\\
\frac{dv}{dt} \amp= g\text{,}
\end{align*}
where \(v\) is the velocity of the object, and \(g = 9.8\) meters per second squared. Notice that this physical principle does not tell us what the object’s velocity is, but rather how the object’s velocity changes.
In this activity, we consider information about the velocity of objects falling through the atmosphere: a skydiver in part (a), followed by a meteorite in part (b).
Begin with the skydiver’s velocity \(v\) given by the graph at left below, which shows how \(v\) changes as \(t\) changes. Use this graph to find the rate of change \(dv/dt\) at the points where the velocity is \(v=0.5, 1.5, 2.0\text{,}\) and \(2.5\text{.}\) Note particularly that several key slopes are provided for you on the given graph.
Then, on the axes provided, plot the values of the derivative \(dv/dt\) as a function of velocity. Think carefully about this: we are focusing on how we can connect the velocity \(v\) to the resulting value of \(dv/dt\text{.}\) For example, in the velocity graph at left, we observe from one of the points that when \(v = 2\text{,}\)\(dv/dt = 0.5\text{.}\)
While the skydiver fell faster and faster, the meteorite falls slower and slower through the atmosphere, as shown in the graph at right. Note the scale on the vertical axis: since the velocity is always greater than \(v = 3\text{,}\) we only show \(v\) values from \(3\) to \(6\text{.}\) Reasoning similarly to part (a), use the given graph of the meteorite’s velocity to find the rate of change \(dv/dt\) at the points where the velocity is \(v=3.5,4.0,4.5\text{,}\) and \(5.0\text{.}\) Plot the appropriate resulting points on the same axes used in part (a).
You should find that all of the points you plotted on the axes in (a) lie on a line. Remember that these points show how \(dv/dt\) depends on \(v\text{.}\) Write the equation of this line, being careful to use proper notation for the quantities on the horizontal and vertical axes.
Use the differential equation you found in (c) to determine the values of the velocity for which the velocity increases. Write a sentence to explain your thinking.
Finally, determine the value(s) of the velocity for which the velocity remains constant. What do these values mean in the overall context of this activity?
The point of this activity is to demonstrate how differential equations model processes in physical reality. In this example, two factors influence the velocities: gravity and wind resistance. The differential equation describes how these factors influence the rate of change of the velocities.
A differential equation describes one or more derivatives of a function that is unknown to us. By a solution to a differential equation, we mean simply a function that satisfies this description.
which describes an unknown function \(s(t)\text{.}\) We may check that \(s(t) =
2t^2+t\) is a solution because it satisfies this description. Notice that \(s(t) = 2t^2+t+4\) is also a solution.
If we have a candidate for a solution to a differential equation, it is straightforward to check whether the function is a solution or not. Before we demonstrate how, let’s consider the same issue in a simpler context. Suppose we are given the equation \(2x^2 - 2x = 2x+6\) and asked whether \(x=3\) is a solution. To answer this question, we could rewrite the variable \(x\) in the equation with the symbol \(\Box\text{:}\)
To determine whether \(x=3\) is a solution, we can investigate the value of each side of the equation separately when the value \(3\) is placed in \(\Box\) and see if indeed the two resulting values are equal. Doing so, we observe that
Let’s ask whether \(v(t) = 3 - 2e^{-0.5t}\) is a solution (for now, don’t worry about why we chose this function; we will learn some techniques for finding solutions to differential equations soon). Using this formula for \(v\text{,}\) observe first that
Since \(\frac{dv}{dt}\) and \(1.5 - 0.5v\) agree for all values of \(t\) when \(v = 3-2e^{-0.5t}\text{,}\) we have indeed found a solution to the differential equation.
This activity shows us something interesting. As shown by the function in part (d) of the activity, we see that the differential equation \(\frac{dv}{dt} = 1.5 - 0.5v\) has infinitely many solutions, which are parametrized by the constant \(C\) in \(v(t) = 3+Ce^{-0.5t}\text{.}\)
Observe further that the value of \(C\) is connected to the initial value of the velocity \(v(0)\text{,}\) since \(v(0) = 3+C\text{.}\) In other words, while the differential equation describes how the velocity changes as a function of the velocity itself, this is not enough information to determine the velocity uniquely: we also need to know the initial velocity. For this reason, differential equations will typically have infinitely many solutions, one corresponding to each initial value. We have seen this phenomenon before: given the velocity of a moving object \(v(t)\text{,}\) we cannot uniquely determine the object’s position function unless we also know its initial position.
In Figure 7.1.1, we see the graphs of several different solutions to the differential equation \(\frac{dv}{dt} = 1.5 - 0.5v\) for a few values of \(C\text{,}\) as labeled.
is an initial value problem. In this problem, we know the value of \(v\) at one time and we know how \(v\) is changing. Consequently, there should be exactly one function \(v\) that satisfies the initial value problem.
To close this section, we note that differential equations may be classified based on certain characteristics they may possess. You may see many different types of differential equations in a later course in differential equations. For now, we would like to introduce a few terms that are used to describe differential equations.
A solution to a differential equation is a function whose derivative(s) satisfy the equation’s description. Differential equations typically have infinitely many solutions, parametrized by the initial values.
Match the graphs below with the following descriptions by indicating the graph corresponding to each description in the answer blank to the left of the description. (Note that because this is a matching question, it does not show which parts are incorrect.)
Fill in the missing values in the table given if you know that \(dy/dt=0.6 y\text{.}\) Assume the rate of growth given by \(dy/dt\) is approximately constant over each unit time interval and that the initial value of \(y\) is \(5\text{.}\)
Suppose that \(T(t)\) represents the temperature of a cup of coffee set out in a room, where \(T\) is expressed in degrees Fahrenheit and \(t\) in minutes. A physical principle known as Newton’s Law of Cooling tells us that
Supposes that \(T(0)=105\text{.}\) What does the differential equation give us for the value of \(\frac{dT}{dt}\vert_{T=105}\text{?}\) Explain in a complete sentence the meaning of these two facts.
Verify that \(T(t) = 75 + 30e^{-t/15}\) is the solution to the differential equation with initial value \(T(0) = 105\text{.}\) What happens to this solution after a long time?
where \(k\) is the spring constant, a constant that depends on the properties of the spring in the scale. After you put the bananas in the scale, you (cleverly) observe that the height of the bananas is given by \(h(t) = 4\sin(3t)\text{.}\) What is the value of the spring constant?
Suppose that the population of a particular species is described by the function \(P(t)\text{,}\) where \(P\) is expressed in millions. Suppose further that the population’s rate of change is governed by the differential equation