Subsection 5.6.1 The Shape of the Graph
To create a good model we first decide what kind of function to use. What sort of function has the right shape to describe the process we want to model? Should it be increasing or decreasing, or some combination of both? Is the slope constant or is it changing?
In Examples
5.6.1 and
5.6.3, we investigate how the shape of a graph illustrates the nature of the process it models.
Example 5.6.1.
Forrest leaves his house to go to school. For each of the following situations, sketch a possible graph of Forrest’s distance from home as a function of time.
Forrest walks at a constant speed until he reaches the bus stop.
Forrest walks at a constant speed until he reaches the bus stop; then he waits there until the bus arrives.
Forrest walks at a constant speed until he reaches the bus stop, waits there until the bus arrives, and then the bus drives him to school at a constant speed.
Solution.
-
The graph is a straight-line segment, as shown in figure (a). It begins at the origin because at the instant Forrest leaves the house, his distance from home is 0. (In other words, when \(t = 0, y = 0\text{.}\)) The graph is a straight line because Forrest has a constant speed. The slope of the line is equal to Forrest’s walking speed.
The first part of the graph is the same as part (a). But while Forrest waits for the bus, his distance from home remains constant, so the graph at that time is a horizontal line, as shown in figure (b). The line has slope \(0\) because while Forrest is waiting for the bus, his speed is \(0\text{.}\)
The graph begins like the graph in part (b). The last section of the graph represents the bus ride. It has a constant slope because the bus is moving at a constant speed. Because the bus (probably) moves faster than Forrest walks, the slope of this segment is greater than the slope for the walking section. The graph is shown in figure (c).
Checkpoint 5.6.2. Practice 1.
Erin walks from her home to a convenience store, where she buys some cat food, and then walks back home. Sketch a possible graph of her distance from home as a function of time.
The graphs in
Example 5.6.1 are portions of straight lines. We can also consider graphs that bend upward or downward. The bend is called the
concavity of the graph.
Example 5.6.3.
The two functions described in this example are both increasing functions, but they increase in different ways. Match each function to its graph and to the appropriate table of values.
The number of flu cases reported at an urban medical center during an epidemic is an increasing function of time, and it is growing at a faster and faster rate.
The temperature of a potato placed in a hot oven increases rapidly at first, then more slowly as it approaches the temperature of the oven.
\((1)\)
\(x\) |
\(0\) |
\(2\) |
\(5\) |
\(10\) |
\(15\) |
\(y\) |
\(70\) |
\(89\) |
\(123\) |
\(217\) |
\(383\) |
\((2)\)
\(x\) |
\(0\) |
\(2\) |
\(5\) |
\(10\) |
\(15\) |
\(y\) |
\(70\) |
\(219\) |
\(341\) |
\(419\) |
\(441\) |
Solution.
-
The number of flu cases is described by graph (A) and table (1). The function values in table (1) increase at an increasing rate. We can see this by computing the rate of change over successive time intervals.
\begin{gather*}
x = 0 \text{ to } x = 5: ~~~~~~~~m = \frac{\Delta y}{\Delta x}=\frac{123-70}{5-0} = 10.6\\
\\
x = 5\text{ to } x = 10:~~~~~~~~ m = \frac{\Delta y}{\Delta x}=\frac{217-123}{10-5} = 18.8\\
\\
x = 10 \text{ to } x = 15:~~~~~~~~m = \frac{\Delta y}{\Delta x}
=\frac{383 - 217}{15 - 10} = 33.2
\end{gather*}
The increasing rates can be seen inthe figure below; the graph bends upward as the slopes increase.
-
The temperature of the potato is described by graph (B) and table (2). The function values in table (2) increase, but at a decreasing rate.
\begin{gather*}
x = 0\text { to } x = 5:~~~~~~~~m =\frac{\Delta y}{\Delta x}=\frac{341-70}{5 - 0}= 54.2\\
\\
x = 5 \text{ to } x = 10:~~~~~~~~m =\frac{\Delta y}{\Delta x}=\frac{419 - 341}{10 - 5}= 15.6\\
\\
x = 10 \text{ to } x = 15:~~~~~~~~m =\frac{\Delta y}{\Delta x}=\frac{441 - 419}{15 - 10}= 4.4
\end{gather*}
The decreasing slopes can be seen in the figure below. The graph is increasing but bends downward.
A graph that bends upward is called concave up, and one that bends down is concave down.
Checkpoint 5.6.4. Practice 2.
Francine bought a cup of cocoa at the cafeteria. The cocoa cooled off rapidly at first, and then gradually approached room temperature. Which graph more accurately reflects the temperature of the cocoa as a function of time? Explain why. Is the graph you chose concave up or concave down?
Solution.
Graph (a): The graph has a steep negative slope at first, corresponding to an initial rapid drop in the temperature of the cocoa. The graph becomes closer to a horizontal line, corresponding to the cocoa approaching room temperature. The graph is concave up.
Checkpoint 5.6.5. QuickCheck 1.
Match each type of graph with its properties.
Increasing, concave up
Increasing, concave down
Decreasing, concave up
Decreasing, concave down
\(y\)-values decrease, slopes decrease
\(y\)-values decrease, slopes increase
\(y\)-values increase, slopes decrease
\(y\)-values increase, slopes increase
Subsection 5.6.2 Using the Basic Functions as Models
We have considered situations that can be modeled by linear or quadratic functions. In this section we’ll look at a few of the other basic functions.
Example 5.6.6.
Choose one of the eight basic functions to model each situation, and sketch a possible graph. \(~\alert{\text{[TK]}}~~\)
The number of board-feet, \(B\text{,}\) that can be cut from a Ponderosa pine is a function of the cube of the circumference, \(c\text{,}\) of the tree at a standard height.
The manager of an appliance store must decide how many coffee-makers to order every quarter. The optimal order size, \(Q\text{,}\) is a function of the square root of the annual demand for coffee-makers, \(D\text{.}\)
The loudness, or intensity, \(I\text{,}\) of the music at a concert is a function of the reciprocal of the square of your distance, \(d\text{,}\) from the speakers.
Solution.
-
\(\displaystyle B=kc^3\)
-
\(\displaystyle Q=k\sqrt{D}\)
-
\(\displaystyle I=\dfrac{k}{d^2}\)
Checkpoint 5.6.7. QuickCheck 2.
Which basic graph is concave down wherever it is defined?
\(\displaystyle f(x)=x^3\)
\(\displaystyle f(x)=\dfrac{1}{x}\)
\(\displaystyle f(x)=\sqrt[3]{x}\)
\(\displaystyle f(x)=\sqrt{x}\)
Checkpoint 5.6.8. Practice 3.
Choose one of the eight basic functions to model each situation, and sketch a possible graph.
The contractor for a new hotel is estimating the cost of the marble tile for a circular lobby. The cost, \(C\text{,}\) is a function of the square of the diameter, \(D\text{,}\) of the lobby.
Investors are deciding whether to support a windmill farm. The wind speed, \(v\text{,}\) needed to generate a given amount of power is a function of the cube root of the power, \(P\text{.}\)
The frequency, \(F\text{,}\) of the note produced by a violin string is a function of the reciprocal of the length, \(L\text{,}\) of the string.
Solution.
-
\(C=kD^2\text{,}\)
-
\(v=k\sqrt[3]{P}\text{,}\)
-
\(F=\dfrac{k}{L}\text{,}\)
The next Example illustrates an application of the function \(f(x)=\sqrt{x}\text{.}\)
Example 5.6.9.
The speed of sound is a function of the temperature of the air in kelvins. (The temperature, \(T\text{,}\) in kelvins is given by \(T = C + 273\text{,}\) where \(C\) is the temperature in degrees Celsius.) The table shows the speed of sound, \(s\text{,}\) in meters per second, at various temperatures, \(T\text{.}\)
\(T ~ (\degree K)\) |
\(0\) |
\(20\) |
\(50\) |
\(100\) |
\(200\) |
\(400\) |
\(T ~ (\text{m/sec})\) |
\(0\) |
\(89.7\) |
\(141.8\) |
\(200.6\) |
\(283.7\) |
\(401.2\) |
Plot the data to obtain a graph. Which of the basic functions does your graph most resemble?
Find a value of \(k\) so that \(s = kf(T)\) fits the data.
On a summer night when the temperature is \(20\degree\) Celsius, you see a flash of lightning, and 6 seconds later you hear the thunderclap. Use your function to estimate your distance from the thunderstorm.
Solution.
-
The graph of the data is shown below. The shape of the graph reminds us of the square root function, \(y = \sqrt{x}\text{.}\)
We are looking for a value of
\(k\) so that the function
\(f(T) = k \sqrt{T}\) fits the data. We substitute one of the data points into the formula and solve for
\(k\text{.}\) If we choose the point
\((100, 200.6)\text{,}\) we obtain
\begin{equation*}
200.6 = k \sqrt{100}
\end{equation*}
and solving for
\(k\) yields
\(k = 20.06\text{.}\) We can check that the formula
\(s = 20.06 \sqrt{T} \) is a good fit for the rest of the data points as well. Thus, we suggest the function
\begin{equation*}
f (T) = 20.06\sqrt{T}
\end{equation*}
as a model for the speed of sound.
-
First, we use the model to calculate the speed of sound at a temperature of \(20\degree\) Celsius. The Kelvin temperature is
\begin{equation*}
T = 20 + 273 = 293
\end{equation*}
so we evaluate \(s = f (T )\) for \(T = 293\text{.}\)
\begin{equation*}
f (293) = 20.06\sqrt{293}\approx 343.4
\end{equation*}
Thus, \(s\) is approximately 343.4 meters per second.
The lightning and the thunderclap occur simultaneously, and the speed of light is so fast (about 30,000,000 meters per second) that we see the lightning flash as it occurs. So if the sound of the thunderclap takes \(6\) seconds after the flash to reach us, we can use our calculated speed of sound to find our distance from the storm.
\begin{align*}
\text{distance} \amp= \text{speed} \times \text{time}\\
\amp = (343.4\text{ m/sec}) (6 \text{ sec}) = 2060.4 \text{ meters}
\end{align*}
The thunderstorm is 2060 meters, or about 1.3 miles, away.
Checkpoint 5.6.10. Practice 4.
The ultraviolet index (UVI) is issued by the National Weather Service as a forecast of the amount of ultraviolet radiation expected to reach Earth around noon on a given day. The data show how much exposure to the sun people can take before risking sunburn.
UVI |
\(2\) |
\(3\) |
\(4\) |
\(5\) |
\(6\) |
\(8\) |
\(10\) |
\(12\) |
Minutes to burn (more sensitive) |
\(30\) |
\(20\) |
\(15\) |
\(12\) |
\(10\) |
\(7.5\) |
\(6\) |
\(5\) |
Minutes to burn (more sensitive) |
\(150\) |
\(100\) |
\(75\) |
\(60\) |
\(50\) |
\(37.5\) |
\(30\) |
\(25\) |
Plot \(m\text{,}\) the minutes to burn, against \(u\text{,}\) the UVI, to obtain two graphs, one for people who are more sensitive to sunburn, and another for people less sensitive to sunburn. Which of the basic functions do your graphs most resemble?
For each graph, find a value of \(k\) so that \(m = k f(u)\) fits the data.
Solution.
-
The graphs resemble \(f(x) = \dfrac{1}{x}\text{.}\)
More sensitive: \(k = 60\text{,}\) Less sensitive: \(k = 300\)
Checkpoint 5.6.11. QuickCheck 3.
To decide which basic function might model a set of data, we can
plot the data.
look at the variables.
choose scales for the axes.
calculate the slope.
At this point, a word of caution is in order. There is more to choosing a model than finding a curve that fits the data. A model based purely on the data is called an empirical model. However, many functions have similar shapes over small intervals of their input variables, and there may be several candidates that model the data. Such a model simply describes the general shape of the data set; the parameters of the model do not necessarily correspond to any actual process.
In contrast, mechanistic models provide insight into the biological, chemical, or physical process that is thought to govern the phenomenon under study. Parameters derived from mechanistic models are quantitative estimates of real system properties. Here is what GraphPad Software has to say about modeling:
"Choosing a model is a scientific decision. You should base your choice on your understanding of chemistry or physiology (or genetics, etc.). The choice should not be based solely on the shape of the graph.
"Some programs . . . automatically fit data to hundreds or thousands of equations and then present you with the equation(s) that fit the data best. Using such a program is appealing because it frees you from the need to choose an equation. The problem is that the program has no understanding of the scientific context of your experiment. The equations that fit the data best are unlikely to correspond to scientifically meaningful models. You will not be able to interpret the best-fit values of the variables, and the results are unlikely to be useful for data analysis."
(Source: Fitting Models to Biological Data Using Linear and Nonlinear Regression, Motulsky & Christopoulos, GraphPad Software, 2003)
Subsection 5.6.3 The Absolute Value and Distance
The absolute value function is used to model problems involving distance. Recall that the absolute value of a number gives the distance from the origin to that number on the number line.
Checkpoint 5.6.12. QuickCheck 4.
To find the absolute value of a number, we can
change its sign.
subtract it from 0.
find its distance from 0.
square it.
We can find the distance from a number \(x\) to some point other than the origin, say \(a\text{,}\) by computing \(\abs{x - a}\text{.}\) For instance, the distance on the number line from \(x=-2\) to \(a=5\) is
\begin{equation*}
\abs{-2-5} = \abs{-7} = 7~ \text{units}
\end{equation*}
Distance and Absolute Value.
The distance between two points \(x\) and \(a\) is given by \(\abs{x - a}\text{.}\)
For example, the equation \(\abs{x - 2} = 6\) means "the distance between \(x\) and \(2\) is \(6\) units." The number \(x\) could be to the left or the right of \(2\) on the number line. Thus, the equation has two solutions, \(8\) and \(-4\text{,}\) as shown below.
Example 5.6.13.
Write each statement using absolute value notation. Illustrate the solutions on a number line.
\(x\) is three units from the origin.
\(p\) is two units from \(5\text{.}\)
\(a\) is within four units of \(-2\text{.}\)
Solution.
First, we restate each statement in terms of distance.
-
The distance between \(x\) and the origin is three units, or \(\abs{x} = 3\text{.}\) Thus, \(x\) can be \(3\) or \(-3\text{.}\)
-
The distance between \(p\) and \(5\) is two units, or \(\abs{p - 5} = 2\text{.}\) If we count two units on either side of \(5\text{,}\) we see that \(p\) can be \(3\) or \(7\text{.}\)
-
The distance between \(a\) and \(-2\) is less than four units, or \(\abs{a - (-2)} \lt 4\text{,}\) or \(\abs{a + 2} \lt 4\text{.}\) Count four units on either side of \(-2\text{,}\) to find \(-6\) and \(2\text{.}\) Then \(a\) is between \(-6\) and \(2\text{,}\) or \(-6 \lt a \lt 2\text{.}\)
Checkpoint 5.6.14. QuickCheck 5.
The notation \(|x-3|=5\) means
\(x\) is 3 units bigger than 5.
the distance between \(x\) and 5 is 3 units.
5 and 3 are \(x\) units apart.
the distance between \(x\) and 3 is 5 units.
Checkpoint 5.6.15. Practice 5.
Write each statement using absolute value notation; then illustrate the solutions on a number line.
\(x\) is five units away from \(-3\text{.}\)
\(x\) is at least six units away from \(4\text{.}\)
Solution.
-
\(\displaystyle \left|x+3\right|=5\)
-
\(\displaystyle \left|x-4\right|\ge 6\)
Subsection 5.6.5 Absolute Value Inequalities
We can also use graphs to solve absolute value inequalities. Look again at the graph of \(y = \abs{3x - 6}\) in figure (a) below.
Because of the V-shape of the graph, all points with \(y\)-values less than \(9\) lie between the two solutions of \(~\abs{3x - 6} = 9~\text{,}\) that is, between \(-1\) and \(5\text{.}\) Thus, the solutions of the inequality \(~\abs{3x - 6} \lt 9~\) are \(-1 \lt x \lt 5, \) as shown in figure (a).
On the other hand, to solve the inequality \(~\abs{3x - 6} \gt 9~\text{,}\) we look for points on the graph with \(y\)-values greater than \(9\text{.}\) In figure (b), we see that these points have \(x\)-values outside the interval between \(-1\) and \(5\text{.}\) In other words, the solutions of the inequality \(~\abs{3x - 6} \gt 9~\) are \(x \lt -1\) or \(x \gt 5\text{.}\)
Thus, we can solve an absolute value inequality by first solving the related equation.
Absolute Value Inequalities.
Suppose the solutions of the equation \(\abs{ax+b}=c\) are \(r\) and \(s\text{,}\) with \(r \lt s\text{.}\) Then
The solutions of
\(~\abs{ax+b} \lt c~\) are
\begin{equation*}
r \lt x \lt s
\end{equation*}
The solutions of
\(~\abs{ax+b} \gt c~\) are
\begin{equation*}
x \lt r ~~\text{ or }~~ x \gt s
\end{equation*}
Checkpoint 5.6.22. QuickCheck 8.
If \(|x-3| \gt 5\text{,}\) then
either \(x-3 \gt 5\) or \(x-3 \gt -5\text{.}\)
\(\displaystyle 5 \gt x-3 \gt -5\)
either \(x-3 \gt 5\) or \(x-3 \lt -5\text{.}\)
\(-5 \gt x-3 \lt 5\text{.}\)
Example 5.6.23.
Solve \(~\abs{4x - 15} \lt 0.01\)
Solution.
First, we solve the equation \(~\abs{4x - 15} = 0.01\text{.}\) There are two cases:
\begin{align*}
4x - 15 \amp = 0.01 \amp \text{or} \amp\amp 4x - 15 \amp= -0.01\\
4x \amp = 15.01 \amp\amp\amp 4x \amp = 14.99\\
x \amp = 3.7525 \amp\amp\amp x \amp= 3.7475
\end{align*}
Because the inequality symbol is \(\lt\text{,}\) the solutions of the inequality are between these two values: \(3.7475 \lt x \lt 3.7525\text{.}\) In interval notation, the solutions are \((3.7475, 3.7525)\text{.}\) \(~\alert{\text{[TK]}}~~\)
Checkpoint 5.6.24. Practice 8.
Solve the inequality \(|2x + 7| \lt 11\)
Solve the inequality \(|2x + 7| \gt 11\)
Solution.
\(\displaystyle (-9,2)\)
\(\displaystyle (-\infty,-9) \cup (2, \infty)\)