# Section4.5Functions Defined by Their Rates¶ permalink

When we learned about definite integrals, we learned that the definite integral $\displaystyle \int_a^b f(x) \, dx$ computes the total change in a quantity that depends on $x$ when $x$ changes from $a$ to $b$ and where $f(x)$ represents the rate of change of that quantity with respect to $x$. We have worked from an intuitive idea of rate of change with respect to time using concepts like velocity being the rate of change of position or flow rates (as in gallons per minute) as being the rate of change of volume with respect to time. We are now preparing to learn more specifically what we mean by rate of change, namely introducing the concept of the derivative.

# Subsection4.5.1Describing Function Behavior

One of the consequences of the properties of definite integrals is that we can describe certain behaviors of a quantity in terms of the properties of the rate of change. For sequences, we learned that the properties of a sequence are determined from the increments. That is, a sequence is

• increasing when its increments are positive,

• decreasing when its increments are negative,

• concave up when its increments are increasing,

• concave down when its increments are decreasing.

(See Theorem 3.4.7 and Definition 3.4.9.) We learned analogous properties of functions defined by an accumulation of changes defined by a rate of change. That is, for a quantity $Q$ with a rate of change $R$:

• $Q$ is increasing when its rate of change is $R$ is positive,

• $Q$ is decreasing when its rate of change $R$ is negative.

(See Theorem 4.4.5.) We define concavity for functions analogously.

##### Definition4.5.1Concavity of Functions

A quantity $Q$ that is a function of an independent variable $x$ with a corresponding rate of change $R$ that is itself a function of $x$ has concavity that is determined by whether the rate is increasing or decreasing. Suppose that $I=(a,b)$ is an interval.

• $Q$ is concave up on $I$ if $R$ is increasing on $I$.

• $Q$ is concave down on $I$ if $R$ is decreasing on $I$.

Concavity is closely related to the concept of acceleration (by which we also include the idea of deceleration). A constant rate of change leads to a linear relation. On a graph, this is a straight line. Concavity refers to a rate of change that is itself changing. This is acceleration. In physics, acceleration is caused by a force, so we can think of concavity as the effect on an object in the presence of a force.

Suppose that a quantity has a positive rate of change (increasing) and is also concave up (an increasing rate of change). This would be like a car moving forward (positive rate) with a rocket pushing it forward (positive acceleration). The result would be that the car continues to go faster (increasing rate), covering ever increasing distances per unit time. A graph of the position would be rising (increasing) and bending up (concave up).

Next, suppose that a quantity has a positive rate of change (increasing) but is concave down (a decreasing rate of change). This would be like a car moving forward (positive rate) but with a rocket in reverse (negative acceleration). The car would still be moving forward, but the rocket is slowing it down. A graph of position in this case would be rising (increasing) but bending down (concave down).

If the rocket continues to exert a negative force, there will be a moment when all of the forward momentum is gone and then the car begins to go backwards. Consequently, we learn that a quantity that is concave down can switch from increasing to decreasing. Graphically, this is exactly what a parabola that opens down does. However, if the rocket is gradually reduced, we might be able to slow the car down without ever changing direction.

Similar behaviors might be described for negative rates of change. This would correspond to a car that is already going backwards. Being concave up (increasing rate of change) corresponds to a positive acceleration (rocket force), which in this case is opposite the motion and would serve to slow the car down maybe to the point of reversing direction. Graphically, this corresponds to a dropping graph that is bending up (moving toward flat). Being concave down (decreasing rate of change) corresponds to negative acceleration (rocket force) which now is the same direction as the motion. This would cause the car to speed up (in the negative direction). Graphically, being concave down corresponds to a graph that is bending down and growing ever steeper.

##### Example4.5.5

Suppose $V$ measures the volume of water (liters) in a container and that $V$ is a function of time $t$ (minutes) such that the rate of change (liters per minute) is also a function of time defined by \begin{equation*}\frac{dV}{dt} = R(t) = 10-0.25t.\end{equation*} Describe the behavior of $V$ and sketch a representative graph.

Solution

Definite integrals allow us to compute the change in a quantity when we know the rate of change. We are now turning our attention to the reverse question. If we know how to describe the quantity itself as a function of time, how do we find its corresponding rate of change? That rate of change is called the derivative.

# Subsection4.5.2Introduction to Differential Equations

The rate of change or derivative of a quantity $Q$ with respect to an independent variable $x$ is itself another variable in the state of the system. It is often the case for physical and biological systems that there is a relationship between $Q$ and its derivative $\displaystyle \frac{dQ}{dx}$. When expressed as an equation, such a relationship is called a differential equation. A function for which the differential equation is satisfied is called a solution.

##### Example4.5.8

A population $P$ is a function of time $t$. The derivative $\frac{dP}{dt}$ is the rate of change of the population, which consists of the birth rate (total births per unit time) and death rate (total deaths per unit time). When each of these rates is proportional to the population size, we have Malthusian growth and can write the differential equation \begin{equation*}\frac{dP}{dt} = b \cdot P - d \cdot P\end{equation*} where $b$ is the per capita birth rate and $d$ is the per capita death rate. If we write $r=b-d$ to define a per capita net growth rate $r$, then the differential equation simplifies to \begin{equation*}\frac{dP}{dt} = r P.\end{equation*}

##### Example4.5.9

In physics, Newton's second law of motion is usually written as its equation $F=ma$, which says that the total force acting on a body is always equal to the mass of that body times the acceleration of the body. Because acceleration is the rate of change of velocity, \begin{equation*}a=\frac{dv}{dt},\end{equation*} Newton's law is actually a differential equation if we can compute the force.

Consider a falling object with mass $m$. Gravity is a downward force acting on the body with gravitational force $F_g = -mg$ where $g$ is the constant acceleration due to gravity. In the absence of other forces (no air resistance), the differential equation from Newton's law would be written \begin{equation*}F_g = ma \quad \Leftrightarrow \quad -mg = m\frac{dv}{dt} \quad \Leftrightarrow \quad \frac{dv}{dt} = -g.\end{equation*}

If there is air resistance, the resulting force is itself usually a function of the velocity of the object passing through the air, $F_a = f(v)$. Experimentally, it has been found that many objects follow a square law, that the air resistance is proportional to the square of the velocity. Because air resistance is always in opposition to motion, $F_a$ must have the opposite sign as $v$. So we have \begin{equation*}F_a = - \gamma v |v| = \begin{cases} -\gamma v^2, & v \ge 0 \\ +\gamma v^2, & v \lt 0. \end{cases}\end{equation*} Consequently, the differential equation of a falling object with air resistance is \begin{equation*} F=ma \quad \Leftrightarrow \quad F_a+F_g=m \frac{dv}{dt} \quad \Leftrightarrow \quad -\gamma v|v| - m g = m \frac{dv}{dt}.\end{equation*}

Knowing a differential equation can often allow us to understand much of the behavior of the system of interest simply by determining when the rate is predicted to be positive and negative. Reasoning through concavity can be a little more difficult. We will focus on the case where the differential equation only involves the quantity $y$ and its derivative $\frac{dy}{dx}$ but does not involve the independent variable $x$. Such an equation is called an autonomous differential equation.

Values where an autonomous rate function $f(y)=0$ are called equilibrium solutions because the value of $y$ will never change if it has that value. That is, $y$ will be a constant function that satisfies the differential equation.

We often summarize the behavior of an autonomous differential equation using a phase line. A phase line is a number line representing the dependent quantity $y$. We mark the equilibrium solutions, where $f(y)=0$, on the line. Between these points, we draw arrows representing whether $y$ is increasing or decreasing between those points. If we also know where the rate $f(y)$ reaches extreme values, we mark the location of those extreme rate points on the number line as well to represent inflection points.

The behavior of the dependent quantity then depends on where its initial value starts. If the initial value is at an equilibrium, then the dependent variable has the same constant value for all values of the independent variable. Otherwise, the function will be either increasing or decreasing, moving toward or away from equilibrium solutions.

##### Example4.5.11

Consider an autonomous differential equation \begin{equation*}\frac{dy}{dx} = f(y)\end{equation*} where the rate function $f(y)$ is illustrated below. Create a phase line and use it to sketch expected shapes for solutions representing initial values in the different regions identified in the phase line.

Solution