You are probably familiar with the notion of comparison shopping. To decide which dish soap is the better buy, we compute the unit price, or price per ounce, for each bottle. The unit price for Velvolux is
The Velvolux costs less per ounce, so it is the better buy. By computing the price of each brand for the same amount of soap, it is easy to compare them.
We compute the growth rate for each strain of wheat. Growth rate is expressed as a ratio, \(\dfrac{\text{centimeters}}{\text{days}}\text{,}\) or centimeters per day. The growth rate for Hybrid A is
By computing the growth of each strain of wheat seedling over the same unit of time, a single day, we have a basis for comparison. In this case, the ratio \(\dfrac{\text{centimeters}}{\text{day}}\) measures the rate of growth of the wheat seedlings.
Delbert traveled \(258\) miles on \(12\) gallons of gas, and Francine traveled \(182\) miles on \(8\) gallons of gas. Compute the ratio \(\dfrac{\text{miles}}{\text{gallon}}\) for each car. Whose car gets the better gas mileage?
The weight of \(12\) gallons of gasoline is \(67.5\) pounds, and the weight of \(5\) gallons of water is \(41.6\) pounds. Compute the ratio \(\dfrac{\text{pounds}}{\text{gallon}}\) for each liquid. Which liquid weighs more per gallon?
In Practice 1, the ratio \(\dfrac{\text{miles}}{\text{gallon}}\) measures the rate at which each car uses gasoline. By computing the mileage for each car for the same amount of gas, we have a basis for comparison. We can use this same idea, finding a common basis for comparison, to measure the steepness of an incline.
Imagine you are an ant carrying a heavy burden along one of the two paths shown below. Which path is more difficult? Most ants would agree that the steeper path is more difficult.
But what exactly is steepness? It is not merely the gain in altitude, because even a gentle incline will reach a great height eventually. Steepness measures how sharply the altitude increases. An ant finds the second path more difficult, or steeper, because it rises 5 feet while the first path rises only 2 feet over the same horizontal distance.
Which is steeper, Stony Point trail, which climbs 400 feet over a horizontal distance of 2500 feet, or Lone Pine trail, which climbs 360 feet over a horizontal distance of 1800 feet?
Lone Pine trail is steeper, because it has a vertical gain of 0.20 foot for every foot traveled horizontally. Or, in more practical units, Lone Pine trail rises 20 feet for every 100 feet of horizontal distance, whereas Stony Point trail rises only 16 feet over a horizontal distance of 100 feet.
Which is steeper, a staircase that rises \(10\) feet over a horizontal distance of \(4\) feet, or the steps in the football stadium, which rise \(20\) yards over a horizontal distance of \(12\) yards?
To compare the steepness of the two trails in Example 1.103, it is not enough to know which trail has the greater gain in elevation overall. Instead, we compare their elevation gains over the same horizontal distance. Using the same horizontal distance provides a basis for comparison. The two trails are illustrated below as lines on a coordinate grid.
\begin{equation*}
\frac{\text{change in elevation}}{\text{change in horizontal position}}
\end{equation*}
appears on the graphs as
\begin{equation*}
\frac{\text{change in }y\text{-coordinate}}{\text{change in }x\text{-coordinate}}
\end{equation*}
For example, as we travel along the line representing Stony Point trail, we move from the point \((0, 0)\) to the point \((2500, 400)\text{.}\) The \(y\)-coordinate changes by \(400\) and the \(x\)-coordinate changes by \(2500\text{,}\) giving the ratio \(0.16\) that we found in Example 1.103. We call this ratio the slope of the line.
As we move along the line from \(A\) to \(B\text{,}\) the \(y\)-coordinate changes by \(3\) units, and the \(x\)-coordinate changes by \(4\) units. The slope of the line is thus
\begin{equation*}
\frac{\text{change in }y\text{-coordinate}}{\text{change in }x\text{-coordinate}}=\frac{3}{4}
\end{equation*}
The slope of a line is a number. It tells us how much the \(y\)-coordinates of points on the line increase when we increase their \(x\)-coordinates by 1 unit. For instance, the slope \(\dfrac{3}{4}\) in Example 1.105 means that the \(y\)-coordinate increases by \(\dfrac{3}{4}\) unit when the \(x\)-coordinate increases by 1 unit. For increasing graphs, a larger slope indicates a greater increase in altitude, and hence a steeper line.
We use a shorthand notation for the ratio that defines slope,
\begin{equation*}
\frac{\text{change in }y\text{-coordinate}}{\text{change in }x\text{-coordinate}}
\end{equation*}
The symbol \(\Delta\) (the Greek letter delta) is used in mathematics to denote change in. In particular, \(\Delta y\) means change in \(y\)-coordinate, and \(\Delta x\) means change in \(x\)-coordinate. We also use the letter \(m\) to stand for slope. With these symbols, we can write the definition of slope as follows.
The Great Pyramid of Khufu in Egypt was built around 2550 B.C. It is 147 meters tall and has a square base 229 meters on each side. Calculate the slope of the sides of the pyramid, rounded to two decimal places.
The Kukulcan Pyramid at Chichen Itza in Mexico was built around 800 A.D. It is \(24\) meters high, with a temple built on its top platform, as shown below.
The square base is 55 meters on each side, and the top platform is 19.5 meters on each side. Calculate the slope of the sides of the pyramid. Which pyramid is steeper, Kukulcan or the Great Pyramid in the previous Example?
The horizontal change \(\Delta x\) is half the difference between the sides of the base and of the top platform: \(\Delta x=\frac{1}{2}(55-19.5)= 17.75\text{,}\) so the slope is \(m=\dfrac{\Delta y}{\Delta x}= \dfrac{24}{17.75} \approx 1.35\text{,}\) which is greater than 1.28. Kukulcan is steeper.
So far, we have only considered examples in which \(\Delta x\) and \(\Delta y\) are positive numbers, but they can also be negative.
\begin{equation*}
\Delta x = \begin{cases}
\text{positive if } x \text{ increases (move to the right)}\\
\text{negative if } x \text{ decreases (move to the left)}\\
\end{cases}
\end{equation*}
\begin{equation*}
\Delta y = \begin{cases}
\text{positive if } y \text{ increases (move up)}\\
\text{negative if } y \text{ decreases (move down)}~~~~~~~~~\\
\end{cases}
\end{equation*}
Compute the slope of the line that passes through the points \(P(-4, 2)\) and \(Q(5, -1)\) shown in at right. Illustrate \(\Delta y\) and \(\Delta x\) on the graph.
As we move from the point \(P(-4, 2)\) to the point \(Q(5, -1)\text{,}\) we move \(3\) units down, so \(\Delta y = -3\text{.}\) We then move \(9\) units to the right, so \(\Delta x = 9\text{.}\)Thus, the slope is
\begin{equation*}
m = \frac{\Delta y}{\Delta x}=\frac{-3}{9}=\frac{-1}{3}
\end{equation*}
\(\Delta y\) and \(\Delta x\) are labeled on the graph.
We can move from point to point in either direction to compute the slope. The line graphed in Example 1.111decreases as we move from left to right and hence has a negative slope.
The slope is the same if we move from point \(Q\) to point \(P\) instead of from \(P\) to \(Q\text{,}\) as shown at right. In that case, our computation looks like this:
\begin{equation*}
m = \frac{\Delta y}{\Delta x}=\frac{3}{-9}=\frac{-1}{3}
\end{equation*}
\(\Delta y\) and \(\Delta x\) are labeled on the graph.
Practice 5 illustrates an important property of lines: They have constant slope. No matter which two points we use to calculate the slope, we will always get the same result. We will see later that lines are the only graphs that have this property.
We can think of the slope as a scale factor that tells us how many units \(y\) increases (or decreases) for each unit of increase in \(x\text{.}\) Compare the lines shown below.
Observe that a line with positive slope increases from left to right, and one with negative slope decreases. What sort of line has slope \(m = 0\text{?}\)
In Example 2, we graphed the equation \(~C = 5 + 3t~\) showing the cost of a bicycle rental in terms of the length of the rental. The graph is reproduced at right. We can choose any two points on the line to compute its slope. Using points \(P\) and \(Q\) as shown, we find that
\begin{equation*}
m = \frac{\Delta C}{\Delta t}= \frac{9}{3}=3
\end{equation*}
If we increase the length of the rental by 3 hours, the cost of the rental increases by 9 dollars. The slope gives the rate of increase in the rental fee, 3 dollars per hour. In general, we can make the following statement.
Depending on the variables involved, this rate might be interpreted as a rate of growth or a rate of speed. A negative slope might represent a rate of decrease or a rate of consumption. The slope of a graph can give us valuable information about the variables.
We have defined the slope of a line to be the ratio \(m = \dfrac{\Delta y}{\Delta x}\) as we move from one point to another on the line. So far, we have computed \(\Delta y\) and \(\Delta x\) by counting squares on the graph, but this method is not always practical. All we really need are the coordinates of two points on the graph.
Now consider a specific example. The line through the two points \(P_1 (2, 9)\) and \(P_2 (7,-6)\) is shown at left. We can find \(\Delta x\) by subtracting the \(x\)-coordinates of the points:
\begin{equation*}
\Delta x = 7 - 2 = 5
\end{equation*}
In general, we have
\begin{equation*}
\Delta x = x_2 - x_1
\end{equation*}
and similarly
\begin{equation*}
\Delta y = y_2 - y_1
\end{equation*}
It will also be useful to write the slope formula with function notation. Recall that \(f (x)\) is another symbol for \(y\text{,}\) and, in particular, that \(y_1 = f (x_1)\) and \(y_2 = f (x_2)\text{.}\) Thus, if \(x_2 \ne x_1\text{,}\) we have this formula.
On his \(512\)-mile round trip to Las Vegas and back, Corey needed \(16\) gallons of gasoline. He used \(13\) gallons of gasoline on a \(429\)-mile trip to Los Angeles. On which trip did he get better fuel economy?
Grimy Gulch Pass rises \(0.6\) miles over a horizontal distance of \(26\) miles. Bob’s driveway rises \(12\) feet over a horizontal distance of \(150\) feet. Which is steeper?
Which is steeper, the truck ramp for Acme Movers, which rises \(4\) feet over a horizontal distance of \(9\) feet, or a toy truck ramp, which rises \(3\) centimeters over a horizontal distance of \(7\) centimeters?
Residential staircases are usually built with a slope of \(70\%\text{,}\) or \(\dfrac{7}{10}\text{.}\) If the vertical distance between stories is \(10\) feet, how much horizontal space does the staircase require?
A straight section of highway in the Midwest maintains a grade (slope) of \(4\%\text{,}\) or \(\dfrac{1}{25}\text{,}\) for \(12\) miles. How much does your elevation change as you travel the road?
A spring is suspended from the ceiling. The table shows the length of the spring, in centimeters, as it is stretched by hanging various weights from it.
What familiar number does the slope turn out to be? (Hint: Draw a picture of one of the squares and use the Pythagorean theorem to compute its diagonal.)
Geologists can measure the depth of the ocean at different points using a technique called echo-sounding. Scientists on board a ship send a pulse of sound toward the ocean floor and measure the time interval until the echo returns to the ship. The speed of sound in seawater is about \(1500\) meters per second.
Niagara Falls was discovered by Father Louis Hennepin in 1682. In 1952, much of the water of the Niagara River was diverted for hydroelectric power, but until that time erosion caused the Falls to recede upstream by \(3\) feet per year.
The Falls were formed about \(12,000\) years ago during the end of the last ice age. How far downstream from their current position were they then? (Give your answer in miles.)
Geologists calculate the speed of seismic waves by plotting the travel times for waves to reach seismometers at known distances from the epicenter. The speed of the wave can help them determine the nature of the material it passes through. The graph shows a travel-time graph for P-waves from a shallow earthquake.
Energy (supplied by heat) is required to raise the temperature of a substance, and it is also needed to melt a solid substance to a liquid. The table shows data from heating a solid sample of stearic acid. Heat was applied at a constant rate throughout the experiment. (Source: J. A. Hunt and A. Sykes, 1984)
The graph shows the average air temperature as a function of altitude. (Figure (b) is an enlargement of the indicated region of Figure (a).) (Source: Ahrens, 1998)
In Problems 53–56, evaluate the function at \(x = a\) and \(x = b\text{,}\) and then find the slope of the line segment joining the two corresponding points on the graph. Illustrate the line segment on a graph of the function.
In Problems 57–62, find the coordinates of the indicated points, then write an algebraic expression using function notation for the indicated quantity.
In Problems 63–66, find the coordinates of the indicated points on the graph of \(y = f (x)\) and write an algebraic expression using function notation for the slope of the line segment joining points \(P\) and \(Q\text{.}\)