Unit 4 · Topic 4.3

Rates outside motion

Builds on reading a derivative in context and the product, quotient and chain rules. 12 minutes.

  1. Example 1Choose the quantity whose rate is needed
  2. Example 2Calculate the contextual derivative
  3. Example 3Interpret a signed rate with units
  4. Example 4Separate amount, average rate, and instantaneous rate

A derivative measures how fast any quantity changes as another one changes. If \(y=f(x)\), the derivative \(\frac{dy}{dx}=f'(x)\) is the instantaneous rate of change of \(y\) with respect to \(x\). This topic shows how to choose the rate that a question needs, compute it from a model, and keep it apart from amounts and averages.

The rate of one quantity with respect to another

The graph of the cost C in dollars of baking n loaves, for n from 0 to 200: a curve that starts at 0, bends upward and reaches 600 dollars at 200 loaves. An orange point on the curve, at 100 loaves to start, carries an orange tangent line. Under the tangent, a triangle has a faint horizontal run of 50 loaves to the right of the point and an orange vertical side from the end of the run up to the tangent. The horizontal axis is numbered 50 to 200 in loaves, and a button numbers it 1 to 4 in hours instead. Another button adds a chalk line from the origin to the point of the curve at 100 loaves, which is less steep than the tangent there.

Figure 1The curve shows the cost \(C\), in dollars, of baking \(n\) loaves, and the orange tangent at the orange point has slope \(\cy{C'(n)}\). Under it, a triangle has a faint run of 50 loaves and an orange rise. The second button adds a chalk line through the points at 0 and 100 loaves. When the two lines are parallel, both show two short marks.

In Figure 1, the curve shows the cost \(C\), in dollars, of the ingredients, energy and wages for baking \(n\) loaves in a day:

\[C(n)=n+0.01n^2,\qquad n\ge 0\]

The cost depends on the number of loaves, so \(C\) is the dependent variable and \(n\), the quantity it depends on, is the independent variable. The model gives a cost for every \(n\ge 0\), not only for whole loaves, and as a polynomial it is differentiable. By the power rule, the orange tangent at the point has slope \(\cy{C'(n)}=1+0.02n\). This slope is the rate of change of the cost with respect to the number of loaves, which economists call the marginal cost.

A rate is in units of the dependent variable per unit of the independent variable (topic 4.1), here dollars per loaf. A complete reading names the input with its unit, the quantity, the direction from the sign, and the size with its units. At 100 loaves, the cost increases at 3 dollars per loaf. A negative rate would mean that the quantity decreases as the input increases.

The bakery bakes 50 loaves an hour, so \(n=50t\) after \(t\) hours. Under the tangent, a triangle has a faint run of 50 loaves, one hour of baking, and an orange rise to the tangent. The rise is the slope times the run, \(50\,C'(n)\) dollars, or 150 dollars at 100 loaves.

Use the first button under Figure 1 to number the horizontal axis in hours. The curve, the tangent and the triangle stay in place, because \(n=50t\) matches each number of loaves with one time. The run now measures 1 hour, so at 100 loaves the tangent rises 150 dollars per hour. The chain rule (topic 3.1) gives the same rate:

\[\frac{dC}{dt}=\frac{dC}{dn}\cdot\frac{dn}{dt}=3\cdot 50=150\]

In the product, dollars per loaf times loaves per hour leaves dollars per hour. The same cost has one rate for each independent variable.

To choose a rate, find the quantity whose rate the question asks for, the dependent variable. The independent variable is the quantity it is measured against, named by words such as “with respect to”, “as … increases” or “for each”. If the model uses another input, connect the inputs with the chain rule, as \(n=50t\) connects loaves and hours.

Quantities built from changing parts

Many quantities are products or quotients of others. A revenue is a price times a number sold, and a concentration is the mass of a substance divided by the volume that holds it. When both parts change, use the product rule or the quotient rule (topics 2.8 and 2.9).

For salt in water, the concentration is \(c=\frac{m}{V}\), where the mass \(m\) and the volume \(V>0\) are differentiable functions of time. With primes for rates with respect to time, the quotient rule gives

\[\frac{dc}{dt}=\frac{m'V-mV'}{V^2}=\frac{m'}{V}-\frac{mV'}{V^2}\]

The first term is the rate if only the mass changed, and the second is the rate if only the volume changed. When water flows into a tank that holds salt, \(V'>0\) and \(m>0\), so the second term is negative. The concentration can then fall while salt is added.

Substitute the values at the instant after you differentiate. A value substituted first is a constant, whose derivative is 0.

A rate, an amount and an average

A rate at one input is often confused with an amount or an average. In Figure 1, the cost \(C(100)=200\) dollars is an amount, the height of the curve at 100 loaves. The marginal cost \(C'(100)=3\) dollars per loaf is the rate at the single input 100.

The average rate of change of \(f\) from \(a\) to \(b\) is \(\frac{f(b)-f(a)}{b-a}\) (topic 2.1). Use the second button under Figure 1 to show the chalk line through the points at 0 and 100 loaves. Its slope is the average rate of change of the cost over the first 100 loaves:

\[\frac{C(100)-C(0)}{100-0}=\frac{200}{100}=2\]

Because \(C(0)=0\), this average is also the cost per loaf of those loaves. It has the units of the marginal cost, but it describes all 100 loaves. The marginal cost describes the input 100 alone, where the tangent is steeper. Move the point to the left until both lines show two short marks. There they are parallel, and the rate equals the average.

The 101st loaf costs \(C(101)-C(100)=3.01\) dollars. The interval from 100 to 101 is one loaf long, so the average rate over it is 3.01 dollars per loaf. Averages over shorter intervals from 100 approach \(C'(100)\) (topic 2.1), and this one is one cent per loaf away. In general, if \(f'\) changes little between \(a\) and \(a+1\), then \(f(a+1)-f(a)\approx f'(a)\), the rate times one unit.

Example 1

Choose the quantity whose rate is needed

The air pressure \(h\) kilometers above sea level is \(P=100e^{-h/8}\) kilopascals. A balloon is \(h=2t\) kilometers high \(t\) hours after its launch. When the balloon is 24 kilometers high, find the rate of change of the air pressure with respect to height, and the rate of change of the air pressure around the balloon with respect to time.

Solution

In both rates, the dependent variable is the pressure. The first rate measures it against height, so it is \(dP/dh\), in kilopascals per kilometer. The exponential is differentiable for every \(h\), and the chain rule, with inner derivative \(-\frac18\), gives

\[\begin{aligned}\frac{dP}{dh}&=-12.5\,e^{-h/8}\\\left.\frac{dP}{dh}\right|_{h=24}&=-12.5\,e^{-3}=-\frac{12.5}{e^3}\end{aligned}\]

The second rate measures the pressure against time, so it is \(dP/dt\), in kilopascals per hour. The height increases at \(dh/dt=2\) kilometers per hour, so by the chain rule

\[\begin{aligned}\frac{dP}{dt}&=\frac{dP}{dh}\cdot\frac{dh}{dt}\\&=-\frac{12.5}{e^3}\cdot 2=-\frac{25}{e^3}\end{aligned}\]

At 24 kilometers, the pressure decreases at \(\frac{12.5}{e^3}\) kilopascals per kilometer of height. Around the rising balloon, it decreases at \(\frac{25}{e^3}\) kilopascals per hour.

Example 2

Calculate the contextual derivative

Salt water flows into a tank. At \(t\) minutes after the flow begins, the tank holds \(m(t)=40+3t\) grams of salt dissolved in \(V(t)=10+2t\) liters of water. Find the rate of change of the concentration of salt in the tank at \(t=5\). Indicate units of measure.

Solution

The concentration is the mass of salt divided by the volume of water, \(c(t)=\frac{m(t)}{V(t)}\) grams per liter, and both parts change with \(t\). For \(t\ge 0\), \(V(t)>0\), so the quotient rule applies, with \(m'(t)=3\) and \(V'(t)=2\):

\[\begin{aligned}c'(t)&=\frac{3(10+2t)-(40+3t)\cdot 2}{(10+2t)^2}\\&=-\frac{50}{(10+2t)^2}\end{aligned}\]

At \(t=5\), the volume is 20 liters, so

\[c'(5)=-\frac{50}{20^2}=-\frac18\]

At \(t=5\), the concentration of salt in the tank is decreasing at \(\frac18\) gram per liter per minute, although salt flows in.

Example 3

Interpret a signed rate with units

A person's heart rate \(t\) minutes after the end of a workout is \(H(t)=60+(10-t)^2\) beats per minute, for \(0\le t\le 10\). Find \(H'(4)\). Using correct units, explain the meaning of \(H'(4)\) in the context of the problem.

Solution

The model is a polynomial, so it is differentiable. The chain rule, with inner derivative \(-1\), gives

\[\begin{aligned}H'(t)&=-2(10-t)\\H'(4)&=-2\cdot 6=-12\end{aligned}\]

A reading of \(H'(4)\) names the instant, the quantity, the direction and the size with its units. The heart rate is in beats per minute and the time is in minutes, so \(H'(4)\) is in beats per minute per minute. It is negative, so the heart rate is decreasing. Four minutes after the workout, the heart rate is decreasing at 12 beats per minute per minute.

Example 4

Separate amount, average rate, and instantaneous rate

A theater sells \(q\) tickets to a show at a price of \(30-0.01q\) dollars each, so its revenue is \(R(q)=q\,(30-0.01q)\) dollars, for \(0\le q\le 2000\). Find \(R(500)\), the average rate of change of \(R\) over \(0\le q\le 500\), and \(R'(500)\). Explain what each value means.

Solution

At 500 tickets, the price is \(30-5=25\) dollars, so 500 tickets bring in an amount of

\[R(500)=500\cdot 25=12\,500\ \text{dollars}\]

Over the first 500 tickets, the average rate of change of the revenue is

\[\frac{R(500)-R(0)}{500-0}=\frac{12\,500}{500}=25\]

dollars per ticket. Because \(R(0)=0\), this average is also the revenue per ticket, which is the price. The polynomial \(R(q)=30q-0.01q^2\) has the derivative \(R'(q)=30-0.02q\), which economists call the marginal revenue. At \(q=500\), it is \(30-10=20\), so the revenue increases at 20 dollars per ticket, and a 501st ticket adds about 20 dollars.

Each example is one of the four skills of topic 4.3 in Which & Why: AP Calculus.