Skip to main content

Section 1.1 Sensitivity to change

Calculus is often described as the mathematics of change. Many quantities in the world change in tandem with each other:
  • The pressure of a gas depends on its temperature and volume.
  • The demand for a product depends on its price.
  • The daily calorie intake needed by an organism depends on its mass.
  • The speed of a car depends on the pressure applied to the gas pedal.
  • The growth of a bacterial population depends on the amount of nutrients available.
  • The amount of traffic congestion depends on the number of cars on the road.
  • The brightness of a lamp depends on the electrical power supplied to it.
  • The time for a computer to sort a list depends on the number of items in the list.
To understand these relationships, we need a way to quantify how sensitive one quantity is to changes in another: if we change one variable by a small amount, how much does another variable change in response?

Subsection Introduction to sensitivity

Imagine you’re adjusting the volume knob in two different cars: your own car and your friend’s car. Let \(V\) be the volume of the music in decibels (dB), and let \(x\) be the number of millimeters you turn the knob to the right from the minimum-volume position. (More precisely, it’s how many millimeters you turn the outer edge of the knob.)
Suppose that in both cars, the volume ranges from \(0\) dB at the minimum setting up to \(80\) dB at the maximum setting. In your car, turning the knob \(40\) mm to the right brings the volume from \(0\) dB to \(80\) dB. In your friend’s car, however, you only have to turn the knob \(20\) mm to go from \(0\) dB to \(80\) dB. Hence the volume knob in your friend’s car is more sensitive.
We can quantify the sensitivity by calculating how many decibels the volume increases per millimeter of turning the knob. In your car, the volume increases from \(0\) dB to \(80\) dB when you turn the knob by \(40\) mm, so the sensitivity is
\begin{equation*} \frac{80\text{ dB}}{40\text{ mm}}=2\text{ dB per mm}\text{.} \end{equation*}
Meanwhile, in your friend’s car, the volume increases from \(0\) dB to \(80\) dB when you turn the knob by \(20\) mm, so the sensitivity is
\begin{equation*} \frac{80\text{ dB}}{20\text{ mm}}=4\text{ dB per mm}\text{.} \end{equation*}
Hence the volume in your friend’s car is more sensitive to changes in the knob position.
We can also visualize the sensitivity by looking at a graph. Suppose the blue line represents the volume in your car, while the red line represents the volume in your friend’s car.
The equation of the line for your car is \(V=2x\text{,}\) and the equation for your friend’s car is \(V=4x\text{.}\) Notice that the sensitivity is the slope of each line:
  • For your car, the sensitivity is \(2\) dB/mm.
  • For your friend’s car, the sensitivity is \(4\) dB/mm.
Hence, a steeper slope represents a more sensitive relationship between the variables.

Subsection Sensitivity of nonlinear functions

In the example above, the volume of the sound system was a linear function of the position of each knob, which means that the sensitivity was the same no matter which two points we chose to calculate it between. But what if we analyze a situation where the relationship is nonlinear?
Imagine you’re selling tickets for a small concert you’re organizing at your university. You’re currently charging \(\$3.00\) per ticket, but you wonder whether you should increase the price. You wonder, how sensitive would your revenue be to a change in the price?
Based on some market research, you find that the revenue \(R\) that you earn (in thousands of dollars) can be modeled by the function
\begin{equation*} R = 4p - 0.25p^2\text{,} \end{equation*}
where \(p\) is the price (in dollars) that you charge for each ticket. To emphasize that the revenue is a function of the price, we can also write this as
\begin{equation*} R(p) = 4p - 0.25p^2\text{.} \end{equation*}

Aside

For example, at the current price of \(\$3.00\text{,}\) we have
\begin{align*} R(3) \amp = 4\cdot 3 - 0.25\cdot 3^2\\ \amp = 9.75\text{ thousand dollars}\text{,} \end{align*}
so the revenue is \(\$9,\!750\text{.}\)
The graph of revenue according to price is shown below.
Notice the nonlinear shape of the graph of the revenue function:
  • At a price of \(\$0.00\text{,}\) you of course earn no revenue, since you’re not charging anything for tickets.
  • As the price begins to increase, your revenue increases as well, reaching a maximum of \(R=16\) (that is, \(\$16,\!000\)) when you charge \(\$8.00\) per ticket.
  • After the price exceeds \(\$8.00\text{,}\) the revenue starts to decrease, until at a price of \(\$16.00\text{,}\) consumers are no longer willing to buy tickets, and once again you earn no revenue.
Now, suppose you’re currently charging \(\$3.00\text{,}\) and you decide to raise the price to \(\$5.00\text{;}\) that is, the change in price (\(\Delta p\)) is
\begin{align*} \Delta p \amp = p\tsub{final} - p\tsub{init}\\ \amp = 5 - 3\\ \amp = 2 \text{ dollars charged}\text{.} \end{align*}
Then the resulting change in revenue (\(\Delta R\)) would be
\begin{align*} \Delta R \amp = R\tsub{final} - R\tsub{init}\\ \amp = R(5) - R(3)\\ \amp = (4\cdot 5 - 0.25\cdot 5^2) - (4\cdot 3 - 0.25\cdot 3^2)\\ \amp = 13.75 - 9.75\\ \amp = 4 \text{ thousand dollars earned}\text{.} \end{align*}
Hence the sensitivity of the revenue to this change in price is
\begin{align*} \frac{\Delta R}{\Delta p} \amp = \frac{R(5) - R(3)}{5 - 3}\\ \amp = \frac{4\text{ thousand dollars earned}}{2\text{ dollars charged}}\\ \amp = 2\text{ thousand dollars earned per dollar charged}\text{.} \end{align*}

Definition 1. Sensitivity between two points.

If \(y=f(x)\text{,}\) then the sensitivity of \(f\) between the points \(x=a\) and \(x=b\) is defined as
\begin{equation*} \frac{\Delta y}{\Delta x} = \frac{f(b) - f(a)}{b - a}\text{.} \end{equation*}
That is, the sensitivity is the ratio of the change in the output to the change in the input over that interval. We often say this out loud as ‘the sensitivity of \(y\) to the change in \(x\text{.}\)
We will also use the notation \(\dfrac{\Delta f}{\Delta x}\text{.}\)
However, notice that since our graph is nonlinear, the sensitivity would be different if we had chosen a different pair of points.

Activity 1.

Use this same process to find the sensitivity when the ticket price changes:
How do these sensitivites compare to the sensitivity we calculated above when the ticket price changes from \(\$3\) to \(\$5\text{?}\) What do you notice about the relationship between the sensitivity and the shape of the graph?

Subsection Sensitivity at a point

Our calculation of the sensitivity above was somewhat coarse: since the graph of \(R(p)\) is curved, the slope gets gradually steeper as we go along the curve. In other words, our calculation seems to mix together several sensitivities.
If we want a more fine-grained measurement, a natural idea is to look at smaller changes in price. Here’s what happens if we use a change in price of \(\Delta p=0.1\) dollars:
\begin{align*} \frac{\Delta R}{\Delta p} \amp = \frac{R(3.1) - R(3)}{3.1-3}\\ \amp = \frac{0.2475\text{ thousand dollars earned}}{0.1\text{ dollars charged}}\\ \amp = 2.475\text{ thousand dollars earned per dollar charged}\text{.} \end{align*}

Activity 2.

Estimate the sensitivity of the revenue to the following changes \(\Delta p\) (assuming an initial price of \(p\tsub{init}=3\) dollars). What do you notice about the values you get?
(e)
\(\Delta p=-0.001\) dollars
Over smaller and smaller changes, the graph looks more and more like a straight line, and the slope between the two points appears to approach a particular value, which seems to be around \(2.5\) thousand dollars earned per dollar charged. (We’ll soon learn how to find this value exactly, without having to do so many calculations.)
Now, let’s ask a bold question: what if we could zoom in ‘infinitely close’ to the point \((3,9.75)\text{?}\)
If we could do this, we might imagine that the graph of \(R(p)\) would be indistinguishable from a perfectly straight line at that point. So if we could somehow choose two points that are ‘infinitely close’ to each other, then the ratio of the infinitesimal (infinitely small) changes would be the slope of that line:
We call these infinitely small changes differentials, and we represent them with a lowercase \(\mathrm{d}\text{:}\) in this case, we would write \(\dd{p}\) to denote an infinitesimal change in price, and \(\dd{R}\) to denote the corresponding infinitesimal change in revenue. The ratio of these differentials would then be written
\begin{equation*} \dv{R}{p}\text{.} \end{equation*}
We will call this the sensitivity at the single point where \(p=3\) dollars.

Definition 2. Sensitivity at a point.

If \(y=f(x)\text{,}\) the sensitivity of \(f\) at the point \(x=a\) is (for the time being) defined as
\begin{equation*} \dv{y}{x}\approx\frac{f(b)-f(a)}{b-a} \end{equation*}
where \(b\) is ‘infinitely close’ to \(a\text{.}\) This definition is currently somewhat vague, as we have not defined what it means to be ‘infinitely close.’ We’ll make this definition more precise later.
We will also use the notation \(\DS\dv{f}{x}\) for this sensitivity.
When we want to emphasize that the sensitivity is being evaluated at a particular point \(x=a\text{,}\) we will write \(\eval{\DS\dv{y}{x}}_{x=a}\) or \(\eval{\DS\dv{f}{x}}_{x=a}\text{.}\)
Now, you might be a bit skeptical of this idea of using ‘infinitely small’ changes. If so, you’re in good company! This idea of using infinitesimal quantities has long been a controversial topic in mathematics. On one hand, infinity is notoriously difficult to get a handle on — just how small is ‘infinitely small’ anyway? On the other hand, allowing ourselves to work with these infinitesimal ideas has helped us solve a lot of tricky problems throughout history. By developing calculus, we’ll be able to find a way to make these intuitive-but-somewhat-vague arguments more precise; this will enable us to confidently use them to describe real-world phenomena in a variety of applied contexts.

Activity 3.

Use this same process to estimate \(\eval{\DS\dv{R}{p}}_{p=5}\) and \(\eval{\DS\dv{R}{p}}_{p=9}\text{.}\) How does the sensitivity of revenue to changes in price compare at these different prices?

Subsection Interpreting sensitivity

We can get some useful information about how the revenue changes with respect to the price by looking at the slope of the graph at each point:
  • On the left side of the graph (when \(p \lt 8\)), the sensitivity \(\DS\dv{R}{p}\) is positive. This means that increasing the price would lead to an increase in revenue, and decreasing the price would lead to a decrease in revenue.
  • On the right side of the graph (when \(p \gt 8\)), the sensitivity \(\DS\dv{R}{p}\) is negative. This means that increasing the price would lead to a decrease in revenue, and decreasing the price would lead to an increase in revenue.
So looking at the sign of the sensitivity can tell us the direction in which our function responds to changes.
We can also use the sensitivity to estimate how much the revenue will change to a small change in price. For example, suppose that at a price of \(\$9.00\text{,}\) we know that the sensitivity is
\begin{equation*} \eval{\DS\dv{R}{p}}_{p=9} = -0.5\text{ thousand dollars earned per dollar charged}\text{.} \end{equation*}
Now suppose we want to raise the price from \(\$9.00\) to \(\$9.10\text{.}\) Since the sensitivity \(\DS\dv{R}{p}\) is supposed to be the ratio of ‘infinitely small’ changes, we can write:
\begin{equation*} \dfrac{\Delta R}{\Delta p} \approx \DS\dv{R}{p} \end{equation*}
Then we can rearrange the terms to get
\begin{equation*} \Delta R \approx \DS\dv{R}{p}\cdot \Delta p\text{.} \end{equation*}
Substituting what we know, we have
\begin{align*} \Delta R \amp \approx -0.5\cdot 0.10\\ \amp = -0.05\text{ thousand dollars} \end{align*}
Hence if we increase the price from \(\$9.00\) to \(\$9.10\text{,}\) we can estimate that the revenue will decrease by approximately \(\$50.00\text{.}\)
In this case, we can explicitly calculate the actual change in revenue to see how good our estimate is. We have
\begin{align*} \Delta R \amp = R(9.1) - R(9)\\ \amp = 15.6975 - 15.75\\ \amp = -0.0525\text{ thousand dollars}\text{.} \end{align*}
So our estimate of a \(\$50.00\) decrease in revenue was pretty close to the actual decrease of about \(\$52.50\text{.}\) However, computing the actual decrease required we compute the revenue at two different prices, and for a different change in price, we’d need to compute a new revenue every single time. On the other hand, using the sensitivity at a point lets us make lots of quick estimates of how the revenue will change in response to small changes in price without having to recompute the revenue every time.

Activity 4.

Suppose that we decide to decrease the price from \(\$9.00\) to \(\$8.95\text{.}\) How much would we estimate the revenue to change? Would it increase or decrease? Use the sensitivity at \(p=9\) to justify your answer.

Exercises Exercises

1.

In this exercise, you’ll interpret the sign of the sensitivity for various real-world contexts. For each one, determine whether the sensitivity should be positive, negative, or zero, and explain your answer. (Think: if you increase the independent variable, what would you expect to happen to the dependent variable?) Also give the units for the sensitivity.
(a)
\(\DS\dv{B}{P}\text{,}\) where \(B=\) the brightness of a lamp (measured in lumens) and \(P=\) the electrical power supplied to the lamp (measured in watts)
(b)
\(\DS\dv{S}{D}\text{,}\) where \(S=\) the strength of a wireless signal (in bars) and \(D=\) the distance from the signal source (in meters)
(c)
\(\DS\dv{T}{t}\text{,}\) where \(T=\) the temperature (in degrees Fahrenheit) of a baked potato and \(t=\) the number of minutes for which the potato is left to bake in the oven
(d)
\(\DS\dv{t}{T}\text{,}\) where \(t=\) the number of minutes it takes to fully bake a potato (i.e. to get it to reach a desired temperature) and \(T=\) the temperature (in degrees Fahrenheit) of the oven
(e)
\(\DS\dv{C}{h}\text{,}\) where \(C=\) the number of calories in a candy bar and \(h=\) the elevation (in feet) of the candy bar above sea level

2.

Suppose \(y=3x-2\text{,}\) so \(y\) is a linear function of \(x\text{.}\)
(a)
Find the sensitivity of \(y\) to various changes in \(x\) by completing the following table.
\(x=a\) \(x=b\) \(\Delta x\) \(\Delta y\) \(\dfrac{\Delta y}{\Delta x}\)
\(1\) \(2\)
\(1\) \(1.1\)
\(1\) \(1.01\)
\(1\) \(0.99\)
(b)
What do you notice about the values you get for the sensitivity in each case?
(c)
What does \(\DS\dv{y}{x}\text{,}\) the sensitivity of \(y\text{,}\) seem to be at the point \(x=1\text{?}\)
(d)
What would be the sensitivity of \(y\) at the point \(x=2\text{?}\) Why?
(e)
What can you conclude about the sensitivity of \(y=mx+b\) at any point \(x=a\text{?}\) Why?

3.

It can be shown that in the ticket example, the quantity demanded of tickets (the number of tickets that consumers are willing to buy, measured in thousands of tickets) is a function of the price, given by \(x(p)=4-0.25p\text{.}\) The revenue is then given by
\begin{align*} R(p) \amp = p \cdot x(p) \\ \amp = p \cdot (4-0.25p) \\ \amp = 4p - 0.25p^2 \text{.} \end{align*}
(a)
Find \(\DS\dv{x}{p}\text{,}\) the sensitivity of the quantity demanded to changes in price, including correct units.
(b)
Interpret the value and the sign of the \(\DS\dv{x}{p}\) in the context of the problem.
(c)
Suppose you raise the price from \(\$3.00\) to \(\$3.10\text{.}\) What will happen to the number of tickets people are willing to buy?

4.

Suppose \(y=5\text{,}\) so \(y\) is a constant function of \(x\text{.}\) That is, no matter what the value of \(x\) is, the value of \(y\) is always \(5\text{.}\)
(a)
What will \(\DS\dv{y}{x}\) be at any point \(x=a\text{?}\) Why?
(b)
What does the graph of \(y=5\) look like? How does this graph help you understand the sensitivity of \(y\) to changes in \(x\text{?}\)
(c)
If we rewrite \(y\) as \(0x+5\text{,}\) how does this help you understand the sensitivity of \(y\) to changes in \(x\text{?}\)
(d)
If \(y=k\) is a constant function of \(x\text{,}\) where \(k\) is any constant, what will the sensitivity of \(y\) be at any point \(x=a\text{?}\) Why?

5.

Suppose \(y=x^2\text{,}\) so \(y\) is a quadratic function of \(x\text{.}\)
(a)
Estimate \(\DS\dv{y}{x}\) at the point \(x=1\) by computing the ratios of small changes in the input and output. As the intervals get smaller and smaller, what number does the sensitivity seem to be approaching?
(b)
Repeat the above exercise to estimate \(\DS\dv{y}{x}\) at the points \(x=2\) and \(x=3\text{.}\) What do you notice about the values you get for the sensitivity at these different points?
(c)
Without doing any calculations, what do you think the sensitivity of \(y=x^2\) will be at the point \(x=0\text{?}\) Why?
(d)
Conjecture a formula for \(\DS\dv{y}{x}\) at any point \(x=a\text{.}\) Why do you think this formula is correct?

6. Extra practice.

Estimate \(\DS\dv{y}{x}\) for each of the following graphs at the given points by computing the ratios of small changes in the input and output. As the intervals get smaller and smaller, what number do the sensitivities seem to be approaching?
(a)
\(y=x^3\text{,}\) at \(x=-2\) and \(x=-1\)
(b)
\(y=\sqrt{x}\text{,}\) at \(x=9\) and \(x=12\)
(c)
\(y=\dfrac{1}{x}\text{,}\) at \(x=3\) and \(x=7\)
(d)
\(y=x^2-5x+4\text{,}\) at \(x=1\) and \(x=4\)

7.

Suppose the temperature in the Pacific Ocean can be described by the function \(T(\ell)\text{,}\) where \(T\) is the temperature in degrees Celsius and \(\ell\) is the latitude in degrees.
(a)
Suppose that \(T(60)=10\text{.}\) Explain what this means in context, including correct units.
(b)
Suppose that we also know that \(\eval{\DS\dv{T}{\ell}}_{\ell=60}=-0.5\text{.}\) Explain what this means in context, including correct units.
(c)
Estimate \(T(62)\) and \(T(59)\) using the sensitivity at \(\ell=60\text{.}\)

8.

The profit earned by a company can be defined as the revenue (the money it brings in) minus the costs (the money it spends). The graph below shows \(P(x)\text{,}\) the profit (in thousands of dollars) earned by a company as a function of \(x\text{,}\) the number of units produced (in hundreds of units).
(a)
For which values of \(x\) does \(P(x)\) appear to be positive? What about negative? Explain how you can tell from the graph. What do these values mean practically for the company?
(b)
What are the units of \(\DS\dv{P}{x}\text{?}\)
(c)
For which values of \(x\) does \(\DS\dv{P}{x}\) appear to be positive? What about negative? Explain how you can tell from the graph. What do these values mean practically for the company?
(d)
Based on the graph, about how many units should the company produce in order to maximize profit, and what is that maximum profit? What is \(\DS\dv{P}{x}\) at that point?

9.

A car is driven along a fixed 100-mile route. The table below shows the total amount of energy \(E\) used for the trip as a function of the car’s speed \(v\text{.}\) Here \(v\) is measured in miles per hour and \(E\) is measured in kilowatt-hours.
\(v \text{ (mph)}\) \(45\) \(50\) \(55\) \(60\) \(65\)
\(E \text{ (kWh)}\) \(32.4\) \(31.0\) \(30.6\) \(30.9\) \(31.8\)
(a)
Estimate \(\eval{\DS\dv{E}{v}}_{v=52}\) and explain its meaning in context, including correct units.
(b)
Use your estimate of \(\eval{\DS\dv{E}{v}}_{v=52}\) to estimate the total energy used at \(v=56\) mph.
(c)
Suppose we know that the energy usage is minimized when \(v=55\) mph. What would you expect the value of \(\DS\dv{E}{v}\) to be at that speed? Explain.

10.

How does the sensitivity of \(y=f(x)\) from \(x=a\) to \(x=b\) compare to its sensitivity from \(x=b\) to \(x=a\text{?}\) Explain.