Differential Equations Day 3 -- Initial Conditions and Intro to Modeling
Review
At this point we know:
- what a differential equation is
- how to visualize a single first order differential equation with slope fields -- and how to show slope fields in GeoGebra with
slopefield( )
- We know about one class of differential equations and how to solve them: first order separable differential equations.
Initial Conditions
An initial condition of a differential equation is a way of selecting a specific solution function from the infinite family of solutions of a differential equation. For example we can add an initial condition to the differential equation like so
To be clear: the initial condition is , and it means that the investigator (you) need to find a particular solution function amongst the infinite family represented by the general solution that returns a P value of 3 when t is equal to 0.
Visually, this means you are on the hunt for a solution function that passes through the point (0,3). Try to find it by sliding C in the applet below. You may have to zoom in on (0,3) to see how close you can get it! It's ok if you can't get C exactly correct.
Algebraic Method for Finding the Particular Solution
If a differential equation is stated with an initial condition, and the family of solutions has already been found, then it is an algebra 1 or 2 level task to find the particular solution.
For instance, let's revisit
We already know that
is an infinite family of solutions of the differential equation. In the applet above, it appeared that when C was about 1.1, that resulted in passing through (0,3). Let's use algebra to find the exact value of C.
The initial condition means that when t is 0, that P should be equal to 3. Algebraically this means
Just like we did geometrically above, we must find a value of c that makes this equation true. In other words, we must solve
for c. This is an algebraic task. It has nothing to do with calculus. Nonetheless, it isn't easy! First, notice that we MUST be in the positive of the +/- since 3 is positive, e only ever returns positive numbers.
This means that in the graph above, we know that we are looking in the realm of . Now, use the natural logarithm to solve an equation with the unknown in an exponent.
The natural log of e^(something) is just "something". So this simplifies to
And of course, 5*0 is 0, so really we're done!
The initial condition has specified the following specific solution:
Check it out in applet below. Check that when t is 0, that P is in fact 3 by typing P(0) in the input bar. The result should be 3.
Introduction to Differential Equations as Models
The final topic for today is realize that differential equations can be thought of as dynamic models of changing quantities. For instance, in a biological setting, we might know that the growth of the population of some bacteria per hour in an experiment is growing at a rate of 5 times the current population of bacteria.
Let's re-write this sentence a few times
"The growth of the population of some bacteria per hour in an experiment is growing at a rate of 5 times the current population of bacteria."
"The rate of change of a population is equal to 5 times the population."
"The derivative of P is equal to 5 times P."
Does this look familiar? I sure hope so! This is the differential equation we've been studying in this activity! There's nothing to do here at the moment, but notice that statements of how the growth of a quantity depend on the quantity (or an independent variable that also controls the quantity) are inherently differential equation models.
We'll be returning to this in it's own right in future classes.