This section will explore ideas around average rate of change and slope. To help us get started, letβs take a look at a context in which these ideas can be helpful.
Robert came home one day after school to a very hot house! When he got home, the temperature on the thermostat indicated that it was \(85\) degrees! Robert decided that was too hot for him, so he turned on the air conditioner. The table of values below indicate the temperature of his house after turning on the air conditioner.
Overall, the temperature of Robertβs house is decreasing (the air conditioner appears to be working!). Notice that in parts (a) and (b), the temperature decreased \(1.4\) degrees in \(2\) minutes.
Notice in ActivityΒ 3.1.2 that the temperature appears to be decreasing at a constant rate (i.e., the temperature decreased \(1.4\) degrees for every \(2\)-minute interval). Upon further investigation, you might have also noticed that the temperature decreased by \(0.7\) degrees every minute.
An average rate of change helps us to see and understand how a function is generally behaving. For example, in ActivityΒ 3.1.2 and ActivityΒ 3.1.5, we began to see how the temperature of Robertβs house was decreasing every minute the air conditioner was on. In other words, when looking at average rate of change, we are comparing how one quantity is changing with respect to something else changing.
The average rate of change of a function on a given interval measures how much the functionβs value changes per unit on that interval. For a function \(f(x)\) on the interval \([a,b]\text{,}\) it is calculated by the following expression:
Notice that to calculate the average rate of change over an interval \([a,b]\text{,}\) we are using the two endpoints of the interval, namely \((a,f(a))\) and \((b,f(b))\text{.}\)
What is the average rate of change on the interval \([-1,5]\text{?}\) Notice that you cannot see the point at \(x=5\text{.}\) How could you use the equation of the line to determine the \(y\)-value when \(x=5\text{?}\)
Notice in ActivityΒ 3.1.13, the average rate of change was the same regardless of which interval you were given. But in ActivityΒ 3.1.11, the average rate of change was not the same across different intervals.
The slope of a line is a constant that represents the direction and steepness of the line. For a linear function, the slope never changes - meaning it has a constant average rate of change.
The steepness of a line depends on the vertical and horizontal distances between two points on the line. Use the graph below to compare the steepness, or slope, of the two lines.
The line \(y=g(x)\) (the red line). The slope of \(y=g(x)\) is \(4\) and the slope of \(y=f(x)\) (the blue line) is \(\dfrac{1}{2}\text{.}\) Because \(4\) is larger than \(\dfrac{1}{2}\text{,}\) the line \(y=g(x)\) (the red line) is steeper.
The steepness, or slope, of a line can be found by the change in \(y\) (the vertical distance between two points on the line) divided by the change in \(x\) (the horizontal distance between two points on the line). Slope can be calculated as "rise over run."
Slope is a way to describe the steepness of a line. The red line in ActivityΒ 3.1.16 has a larger value for itβs slope than the blue line. Thus, the red line is steeper than the blue line.
Now that we know how to find the slope (or steepness) of a line, letβs look at other properties of slope. Use the graph below to answer the following questions.
Although both slopes have the same steepness \((\dfrac{1}{2})\text{,}\) one line has a positive slope (\(y=f(x)\) , the blue line) and the other line has a negative slope (\(y=g(x)\text{,}\) the green line).
Notice in ActivityΒ 3.1.18 that the slope does not just indicate how steep a line is, but also its direction. A negative slope indicates that the line is decreasing (from left to right) and a positive slope indicates that the line is increasing (from left to right).
We can calculate slope (\(m\)) by finding the change in \(y\) and dividing by the change in \(x\text{.}\) Mathematically, this means that when given \((x_{1},y_{1})\) and \((x_{2}, y_{2})\text{,}\)
In ActivityΒ 3.1.22, there were slopes that were \(0\) and undefined. When a line is vertical, the slope is undefined. This means that there is only a vertical distance between two points and there is no horizontal distance. When a line is horizontal, the slope is \(0\text{.}\) This means that the line never rises vertically, giving a vertical distance of zero.