Motivating Questions
What is a differential equation and what information can it tell us?
How do differential equations arise in the world around us?
What do we mean by a solution to a differential equation?
What is a differential equation and what information can it tell us?
How do differential equations arise in the world around us?
What do we mean by a solution to a differential equation?
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 we would like to have an algebraic description of the function. Unfortunately, this is too much to ask in some situations, but you are still be able to make accurate approximations. However, for this chapter we will stick to cases in which we can find an explicit solution to a differential equation.
A differential equation is an equation that describes the derivative, or derivatives, of a function that is unknown to us. For instance, the equation
describes the derivative of a function \(y(x)\) that is unknown to us.
Many important examples of differential equations involve quantities that change in time; the independent variable in our discussion will frequently be time \(t\text{.}\) For example, the differential equation
describes an objects position (given by \(s(t)\)) as a function of time.
If we know the velocity and the starting position of a moving object, we will be able to find its position at any later time.
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 are a type of "crystal ball."
The position of a moving object is given by the function \(s(t)\text{,}\) where \(s\) is measured in feet and \(t\) in seconds. Assume that the object has velocity given by \(v(t) = 4t + 1\) feet per second.
How much does the position change over the time interval \([0,4]\text{?}\)
Does this give you enough information to determine \(s(4)\text{,}\) the position at time \(t=4\text{?}\) If so, what is \(s(4)\text{?}\) If not, what additional information would you need to know to determine \(s(4)\text{?}\)
Suppose you are told that the object's initial position \(s(0) = 7\) ft. Determine \(s(2)\text{,}\) the object's position 2 seconds later.
If we know that \(s(0) = 7\) ft. can we find an equation for \(s(t)\text{?}\)
What does the quantity \(\int_0^4 (4t+1)dt\) represent in this problem?
36 feet
No, we need to know where the object started.
\(s(2)=17\text{.}\)
\(s(t)=2t^2+t+7\)
We can find the total change in the position of the object by integrating the equation for velocity over the interval \([0,4]\text{.}\) That is
Therefore, the position changes by 36 feet over the interval \([0,4]\text{.}\)
Simply knowing how much the position has changed on the interval \([0,4]\) does not tell us where the object is. In order to know where the object is located we must also know where the object started.
We can find the total change in the position of the object by integrating the equation for velocity over the interval \([0,2]\text{.}\) That is
Therefore, the position changes by 10 feet over the interval \([0,2]\text{.}\) Since we know that \(s(0)=7\text{,}\) we can say that \(s(2)=7+10=17\) ft.
Note that
Since \(s(0) = 7\) ft, it is reasonable to use \(s(0)\) to "find" the constant \(C\text{.}\) That is, we can say that \(7=2(0)^2+0+C\) which means \(C=7\text{.}\) Therefore, the position of the object at anytime is given by the equation \(s(t)=2t^2+t+7\text{.}\)
A differential equation describes the derivative, or derivatives, of a function that is unknown to us. By a solution to a differential equation, we simply mean a function that satisfies this description.
For instance, the first differential equation we looked at is
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, it is straightforward to check whether it is a solution or not. Before we demonstrate, 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
and
Therefore, \(x=3\) is indeed a solution.
We will do the same thing with differential equations. Consider the differential equation
Let's ask whether \(v(t) = 3 - 2e^{-0.5t}\) is a solution^{2}At this time, don't worry about why we chose this function.. Using this formula for \(v\text{,}\) observe first that
and
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.
Consider the differential equation
Which of the following functions are solutions of this differential equation?
\(v(t) = 1.5t - 0.25t^2\text{.}\)
\(v(t) = 3 + 2e^{-0.5t}\text{.}\)
\(v(t) = 3\text{.}\)
\(v(t) = 3 + Ce^{-0.5t}\) where \(C\) is any constant.
Calculate \(\frac{dv}{dt}\) and compare that with \(1.5 - 0.5v\) to see if the quantities are equal.
\(v(t) = 1.5t - 0.25t^2\) is not a solution to the given DE.
\(v(t) = 3 + 2e^{-0.5t}\) is a solution to the given DE.
\(v(t) = 3\) is a solution to the given DE.
\(v(t) = 3 + Ce^{-0.5t}\) is a solution to the given DE for any choice of \(C\text{.}\)
Since \(v(t) = 1.5t - 0.25t^2\text{,}\) \(\frac{dv}{dt} = 1.5 - 0.5t\text{.}\) We observe that for this choice of \(v\text{,}\) \(1.5 - 0.5v = 1.5 - 0.5(1.5t - 0.25t^2) = 1.5 - 0.75t + 0.125t^2 \ne 1.5 - 0.5t = \frac{dv}{dt}\text{,}\) and thus \(v(t) = 1.5t - 0.25t^2\) is not a solution to the given differential equation.
Since \(v(t) = 3 + 2e^{-0.5t}\text{,}\) \(\frac{dv}{dt} = 2e^{-0.5t}(-0.5) = -e^{-0.5t}\text{.}\) Hence, for this choice of \(v\text{,}\) \(1.5 - 0.5v = 1.5 - 0.5(3+2e^{-0.5t}) = 1.5 - 1.5 - e^{-0.5t} = -e^{-0.5t} = \frac{dv}{dt}\text{.}\) Therefore \(v(t) = 3 + 2e^{-0.5t}\) is a solution to the given differential equation.
Since \(v(t) = 3\text{,}\) \(\frac{dv}{dt} = 0\text{.}\) Hence, for this choice of \(v\text{,}\) \(1.5 - 0.5v = 1.5 - 0.5(3) = 1.5 - 1.5 = 0 = \frac{dv}{dt}\text{.}\) Therefore \(v(t) = 3\) is a solution to the given differential equation.
Since \(v(t) = 3 + Ce^{-0.5t}\) (where \(C\) is a constant), \(\frac{dv}{dt} = Ce^{-0.5t}(-0.5) = -0.5C e^{-0.5t}\text{.}\) Hence, for this choice of \(v\text{,}\) \(1.5 - 0.5v = 1.5 - 0.5(3+Ce^{-0.5t}) = 1.5 - 1.5 - 0.5Ce^{-0.5t} = -0.5Ce^{-0.5t} = \frac{dv}{dt}\text{.}\) Therefore \(v(t) = 3 + Ce^{-0.5t}\) is a solution to the given differential equation for any choice of \(C\text{.}\)
This example shows us something interesting. Notice that the differential equation has infinitely many solutions, which are parametrized by the constant \(C\) in \(v(t) = 3+Ce^{-0.5t}\text{.}\) In Figure5.26, we see the graphs of these solutions for a few values of \(C\text{,}\) as labeled.
Notice 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.
If we are given a differential equation and an initial value for the unknown function, we say that we have an initial value problem. For instance,
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.
This demonstrates the following important general property of initial value problems.
Initial value problems that are well behaved
have exactly one solution, which exists in some interval around the initial point.
We won't worry about what well behaved
means it is a technical condition that will be satisfied by all the differential equations we consider.
A differential equation is simply an equation that describes the derivative(s) of an unknown function.
Physical principles, as well as some everyday situations, often describe how a quantity changes, which lead to differential equations.
A solution to a differential equation is a function whose derivatives satisfy the equation's description. Differential equations typically have infinitely many solutions, parametrized by the initial values.