We are particularly interested in how things change over time. In this module we look at two different kinds of models used to study the way things change over time -- continuous models and discrete models. Both are examples of Dynamical Systems -- systems that change over time.
We illustrate the ideas involved by looking at several models of the way in which the price of a particular product might change over time. These models involve three related quantities.

Notice the following.
The study of supply and demand and price changes is a wonderful opportunity to discuss functions and graphs in the classroom. Many students equate the idea of a function with the idea of a formula. When asked what a function is, they will reply -- "something like y = sin x." This concept of a function is very narrow. It is true that some functions can be described by formulas but this is the exception rather than the rule.
Ideally supply and demand are in balance -- manufacturers are making exactly the number of units that customers want to buy. The price at which this occurs is called the equilibrium price. Graphically, this is the price at which the supply function and the demand function intersect.

Many economists believe that the "correct" price for a product is the equilibrium price and that the marketplace will "find" this price. We will discuss several models for how this might happen later. For now we want to examine some consequences of this idea.
We begin by working with a very simple model in which both the supply function and the demand function are linear.
S(p) = 1000 p - 400 when p > $0.40 D(p) = 1000 - 500 p
We can often learn something from a little algebra. In this case we can
rewrite the supply function as
In this form we see that the supply really depends on the quantity
This function is shown in the graph below. Price is on the x-axis, which
runs from $0.00 to $5.00 and supply is on the y-axis, which
runs from 0 to 5,000.
This is exactly what you would expect if the manufacturing cost of the product
was $0.40 per unit. Then the profit per unit would be (p - 0.40).
Since profit is the money actually earned by producers, the amount they produce
depends more directly on their profit than on the selling price.
This gives us an idea for a whole family of supply functions that can help
us investigate questions about how the effects of inflation percolate through
an economy. These supply function are of the form
The parameter c represents the unit manufacturing cost for this
product. In our first example c was $0.40. The graph above is a
live Java applet. You can change the value of c by clicking along the
x-axis or by changing the value in the box and clicking the move button.
These kinds of questions are good examples of the kinds of questions we
can examine if we have a good model. This model is not very realistic but
it does illustrate the power of modeling.
where a, b, r, and c are constants. These problems
let students see some of the power of mathematics while they are learning to
work with linear functions.
Students may notice some interesting patterns when both the supply function
and the demand function are linear. They might ask whether these same
patterns work when either or both of the supply and demand functions are
not linear. Make up some problems with nonlinear supply and demand functions. Your problems should be motivated by the patterns that you notice
with linear supply and demand functions to see whether these same patterns
appear for nonlinear supply and demand functions as well. You can make up
problems that provide some interesting insights into prices and the percolation
of inflation and at the same time exercise very specific algebraic and
computer or graphing calculator skills. For example, if you were working with
quadratic functions you might work with demand functions like
This basic model can be a nice thread winding its way through the
curriculum demonstrating how as we learn more mathematics we are able to
learn more about our world.
The models we looked at above were static. They did not involve
changes over time. Now we want to consider dynamic models or
dynamical systems in which we look at how prices change over
time.
We begin by thinking about how supply, demand, and prices interact. Consider
the figure below.
S(p) = 1000 p - 400
= 1000 (p - 0.40)
S(p) = r (p - c)

Notice that when the price is below the equilibrium price the demand is higher than the supply. We call this situation excess demand. This usually happens when the price is below the equilibrium price. Under these circumstances prices will tend to rise because buyers will be competing with each other and sellers will realize that they can charge a bit more.
On the other hand when the price is above the equilibrium price the supply is greater than the demand. We call this situation excess supply. In this case price will tend to fall as sellers see the product sitting on their shelves and try to move it with sales and special promotions.
The key quantity is
This is called the excess demand function. Notice that it is positive when demand is greater than supply and negative when supply is great than demand. Thus, we expect prices to rise when the excess demand is positive and prices to fall when the excess demand is negative. The greater the absolute value of the excess demand the stronger the pressures causing prices to change.
Now we need to reflect a bit about the kind of product whose price we are investigating. We want to make a distinction between two kinds of products that require two different kinds of models.
with p1 representing the price for the first year, p2 representing the price for the second year, and so forth.
Because farm products often spoil and storage is expensive, each year's crop is distinct from the preceding and following year's crops. Farmers make their production decisions once a year and, thus, we think of time in one year increments. Many products behave in similar ways. For example, airlines need to make decisions about buying airplanes well in advance of when they plan to use them and airline seats are even more perishable than tomatoes. When an airplane takes off with an empty seat the revenue from that seat is lost forever. This perishability is one reason that farm prices and air fares vary so much.
In this situation we will look at a change equation of the form
where k is a positive constant. This simple model captures the ideas we discussed above. It tells us how to compute each year's price based on the supply and demand situation at the preceding year's price. When the demand is greater than the supply the price will rise and when the demand is lower than the supply the price will fall. The size of the constant k and the absolute value of the excess demand determine how much the price will rise or fall each year. The value of k is determined by the behavior of producers and consumers. In some markets people react very strongly and in others they react more slowly. Family farmers, for example, face very strong pressures -- they often borrow money in the spring to finance planting and expect to pay it back in the fall when they harvest their crops. If buyers aren't buying their crops they face very strong pressures to lower their prices and make at least enough money to pay off their debts.
and the way that prices change by a differential equation. Differential equations are sometimes called continuous dynamical systems. We will look at the differential equation
where k is a positive constant. The size of the constant k and the absolute value of the excess demand determine how fast the price will rise or fall. The value of k is determined by the behavior of producers and consumers.
All the problems in this set of problems look at the same supply and demand functions.
Use your computer algebra system window to help do these problems. In general, you will be expected to use your computer algebra system and window whenever it is appropriate without being specifically reminded.
In your CAS window you will work with numerical approximations for the solutions to initial value problems. If you know how to find the exact solutions, you should do so.
with k = 0.0002 and the initial condition p1 = 0.50 and describe what happens.
with k = 0.0002 and the initial condition p(0) = 0.50 and describe what happens.