Models are simplified abstract representations of something of interest. Airplane and automobile manufacturers create scale models to test aerodynamics in wind tunnels. Architects build models of future projects, whether a physical mock-up or a computerized 3-d representation, to see how plan will fit together and give clients a vision of what they will get. The models do not need to include every detail of the actual object of interest, just those details that are relevant to the purpose of the model.

Scientists also regularly use models. Physicists use high energy collisions of extremely fast particles to create conditions that they expect are comparable to the moments immediately after the big bang. A biologist may use mice from a well-controlled population as a model to study cancer, considering its biology to mimic that of humans at some level of approximation. A climatologist might use a computational model where a computer program tracks changes in the makeup of the air, pollutant levels and air and ocean temperatures according to known and assumed interactions.

Subsection1.5.1Mathematical Models

A mathematical model is an abstract representation of measurable phenomena that is characterized through mathematical equations. Recall that we think of a system as the collection of all possible measurements associated with the objects and environment involved in the phenomenon. Each quantity is a state variable, even if we do not have a physical way to obtain the measurement. When the phenomenon is considered under a single environmental condition, the measurements relating to that condition which do not change are called state parameters. From a mathematical perspective, both state variables and state parameters are variables.

Many laws of science are described using mathematical equations that relate state variables. These equations are examples of mathematical models. Knowing the value of one state variable, we can use the model to predict the value of other variables. Often the equations involve additional coefficients or constants. These constants are called model parameters.

Example1.5.1

In thermodynamics, the ideal gas law is described as an equation

\begin{equation*}
PV = nRT.
\end{equation*}

This law relates the state variables of a contained volume of a gas according to pressure \(P\text{,}\) volume \(V\text{,}\) absolute temperature \(T\text{,}\) and quantity \(n\) (moles) of the gas. If the temperature and quantity of the gas is held constant, we think of only \(P\) and \(V\) as state variables and \(n\) and \(T\) as state parameters. The other variable, \(R\text{,}\) is a model parameter and is called the ideal gas constant because the same value is used for every gas. This model helps scientists and engineers understand the expected behavior of gases in different settings.

Have you microwaved a container with the lid attached and let it cool? As the temperature decreases, the quantity on the right side of the equation \(nRT\) decreases. This means that the product \(PV\) must also decrease to remain in balance. For a sturdy container, the volume will be constant meaning the pressure inside decreases creating vacuum suction. The lid will be much harder to remove. If the container is not rigid, the volume itself might decrease, such as water bottle that collapses on itself.

However, the value of the law is not just general arguments like those made above. It is a precise mathematical relationship about actual quantities. This allows very specific predictions about measurements. For some gases, the predictions do not work properly. These gases must have properties that make them deviate from the law, and that makes these gases particularly interesting. Scientists can then study their properties and develop corrected models that take those properties into account.

Example1.5.2

Hooke's law,

\begin{equation*}
F=-kx,
\end{equation*}

is an equation describing the strength of a force exerted by a stiff spring based on how far it is stretched or compressed. The state variables are the force exerted by the spring \(F\) and the displacement of the end of the spring from its equilibrium position \(x\text{.}\) The model parameter \(k\) determines the strength of the spring. The negative sign in the equation indicates that the force and the displacement are in opposite directions.

Using known forces, we can measure the displacement of the spring and estimate the value of the model parameter \(k\text{.}\) Once the parameter is known, the model allows us to know the force required for every displacement. This is how a force scale can be created.

Subsection1.5.2Dynamic Models

Calculus allows us to study how variables change in relationship to one another. We are often interested in how variables change with respect to time. Calculus provides a way of thinking about a rate of change as a new variable that relates covarying quantities. This variable is called the derivative.

Consider driving in a car along a road. At each instant in time, the car has a location on the road which might be measured according to mileage markings. The natural state variables are the position, say \(D\) (for distance), and the time, \(t\text{.}\) The distance moved is related to the time spent moving according to the speed or velocity of the car. A common formula relating these variables is often learned as “distance equals rate times time.” However, this formula only works when the rate is constant and the car has the same speed at all times.

In reality, the rate changes as we drive. The velocity \(V\) which measures how fast we are moving is another state variable. Calculus introduces the derivative of the car's position with respect to time, written \(\frac{dD}{dt}\text{,}\) and allows us to know that the velocity and the derivative measure the same thing,

\begin{equation*}
V = \frac{dD}{dt}\text{.}
\end{equation*}

Dynamic models are mathematical models that consider models or equations for how variables change. Calculus, using the concepts of rates of change and derivatives, provides the language for describing these models.

To help think about this, consider another physical example, that of a sink being filled with water. At each instant in time, the sink has a different state. The state can be characterized by possible measurements at that time, which might include the height of water in the sink, the volume of water in the sink, the rate of water flowing into the sink from the spigot, and the rate of water flowing out of the sink through the drain. More sophisticated problems might also involve the water temperature or the dilution of some substance or chemical in the water.

The diagram shown in Figure 1.5.3 illustrates the system and shows some of these variables. We let \(t\) represent the elapsed time from the start of our experiment and the time of the state's observation. We also use \(V\) to represent the volume of water, \(h\) to represent the height of the water in the sink, \(F_{\hbox{in}}\) to represent the rate of water flowing in, and \(F_{\hbox{out}}\) to represent the rate of water flowing out.

We might consider a situation in which the spigot has water flowing at a constant rate. In this case, the variable \(F_{\hbox{in}}\) is never changing; we could call this a state parameter instead of a state variable. A diagram can often help summarize this information.

Because water is flowing in and out of the sink, the volume of water in the sink is a dynamic variable. Unless the rates of water flowing in and out are the same, the volume will be changing. The derivatives \(\frac{dV}{dt}\) and \(\frac{dh}{dt}\) are additional state variables, the rate of change of the volume and the rate of change of the height, respectively. We obtain an equation by recognizing that the total rate of change will always be equal to the sum of the rate of water flowing in and subtracting the rate of water flowing out. This allows us to write a general dynamic model equation

Different models can be formed by establishing model equations relating the flow rates with other state variables. For example, the rate at which water drains might change depending on how much water there is in the sink, which could be measured by either the volume \(V\) or the height \(h\) of water in the sink. An experiment might be performed to measure \(F_{\text{out}}\) at different heights of water in the sink. We might then formulate a model equation based on our data. For example, we might discover from this experiment that the rate of water flowing out is proportional to the volume in the sink, \(F_{\hbox{out}} = \alpha V\) for some model parameter \(\alpha\text{.}\) Using this model equation and substitution, our dynamic model would become

\begin{equation*}
\frac{dV}{dt} = F_{\hbox{in}} - \alpha V.
\end{equation*}

A dynamic model involving a derivative is called a differential equation.

Subsection1.5.3Where Are We Going?

Our aim in studying calculus is to understand the mathematical meaning of the derivative or rate of change. There are two primary branches of calculus. Integral calculus studies how we use a known rate of change for a quantity to compute the overall change in that quantity. For example, integral calculus answers the question: “Knowing the velocity of a car at every instant between two moments, how would we compute how far the car has traveled between those moments?” Differential calculus studies how to use the relationship between two variables to find the rate of change of one with respect to the other. For the example of the car, this would address the question: “If we knew exactly where the car was at each instant of time, how would we compute its velocity?” Ultimately, both of these questions will rely on a mathematical tool at the heart of calculus, namely limits.

In this text, we will first study discrete dynamic models first using sequences to develop our conceptual understanding. We previously learned that the number line represents a continuum of real numbers. Calculus concerns functions that are defined on intervals from this continuum. Suppose we have a system where we can record the state after manipulating an independent state variable to a specified value. We can not physically record all possible states because that variable has infinitely many possibilities. Instead, we might increase the value of the control variable by a predetermined increment and record the state and then repeat this process. This use of an increment to change an independent variable is what we mean by a discrete model. Often the independent variable is time, and the discrete model represents the state of the system at equally spaced increments of time.

A sequence can often be described directly by a formula. Such an explicit representation of a sequence will be analogous to how we describe functions using formulas. We can also represent a sequence by describing a pattern in how terms are found. One of the most common representations is by describing the increments, or values added, to get each term. The process of using increments to find a sequence is analogous to the calculus concept. The reverse process is also possible, to take a given sequence and compute the increments. Knowing formulas for the increments allows us to analyze the properties of the original sequence. This reverse process is analogous to the calculus concept of differentiation.

As you work through this text, make note of these overarching concepts and their relationships. Understanding the concepts of sequences, including the properties of their increments, will help you make better sense of the concepts of calculus. You should also focus on how calculus extends the ideas we learn about sequences. In addition, we will explore how both discrete sequences and functions defined on intervals can be used in modeling.

Subsection1.5.4Summary

Mathematical models are equations that relate state variables. Constants in these equations are called parameters.

Scientific laws relating measurable quantities are described using equations.

Calculus explores the relationship between quantities and their rates of change, known as derivatives.

Sequences will provide motivating examples and concepts for studying calculus.

SubsectionExercises

1

An isolated population can only change due to births and deaths. Consider state variables \(P\) (total number of individuals), \(B\) (rate of births as number of individuals born per year), \(D\) (rate of deaths as number of individuals who die per year), and time \(t\) (in years). Explain the meaning for the dynamic model

\begin{equation*}
\frac{dP}{dt} = B - D.
\end{equation*}

2

Chemical reactions occur when molecules interact and form new compounds. Chemical equations describe these reactions. For example, the generic chemical equation

describes a reaction where one molecule of \(A\) and two molecules of \(B\) change into one molecule of \(C\) and one molecule of \(D\text{.}\) The reaction rate \(R_1\) measures how many of such reactions occur per unit time. The number of molecules of \(B\) will be decreasing due to this reaction at a rate \(2 R_1\) while the number of molecules of \(C\) will be increasing at the rate \(R_1\text{.}\)

with reaction rates \(R_1\) and \(R_2\text{,}\) respectively. Suppose \(N_A\) is the state variable measuring the number of molecules of \(A\text{,}\) and similarly for \(N_B\text{,}\) \(N_C\text{,}\) etc. Explain the meaning of each of the following dynamic models.

\(\displaystyle \frac{dN_A}{dt} = -R_1 + R_2\)

\(\displaystyle \frac{dN_B}{dt} = -2R_1\)

\(\displaystyle \frac{dN_C}{dt} = R_1 - R_2\)

Understanding how the rates depend on the concentration of the reactants is a fundamental question of chemistry.

3

Newton's second law of physics, \(F=ma\text{,}\) is a model relating the net force \(F\) acting on an object of mass \(m\) that results in an acceleration \(a\text{.}\) Acceleration is actually the rate of change of velocity \(v\) with respect to time \(t\text{.}\) If the only force acting on the body is a spring that obeys Hooke's law, then Newton's law results in an equation

\begin{equation*}
-kx = m \frac{dv}{dt}.
\end{equation*}

Explain how this equation matches what was described.