Skip to main content
Logo image

Precalculus JumpStart

Section 5.4 Slope and Rates of Change

Linear equations can provide simple models of real-life scenarios. The essential feature of a linear model is a constant rate of change determined by the slope of the line.

Example 5.9. Linear Model of Data.

Researchers collected data on the number of hours students studied for an important professional certification exam. They performed a common statistical technique called linear regression to establish a best-fit linear model of the data and found the linear relationship
\begin{equation*} S = 4.5H + 40, \end{equation*}
where \(H\) is the number of hours studied and \(S\) is the predicted score on the exam.
For each hour of studying, the model predicts an increased score of \(4.5\) points. This rate of change of \(4.5\) points per hour is seen graphically in the steepness or slope of the graph of the line.

Definition 5.10. Slope of a Line.

The slope \(m\) of a line in the coordinate plane is the ratio of the change in \(y\) over the change in \(x\) between any two different points on the line.
Precisely, suppose \(\mathcal{P}(x_1,y_1)\) and \(\mathcal{Q}(x_2,y_2)\) are two points on a line with \(x_1 \neq x_2\text{.}\) Then
\begin{equation} m = \left(\text{slope}\right) = \frac{\text{change in $y$}}{\text{change in $x$}} = \frac{y_2-y_1}{x_2-x_1} = \frac{\Delta y}{\Delta x} = \frac{\text{rise}}{\text{run}}\tag{5.5} \end{equation}
The symbol \(m\) is commonly used for the slope of a line. The vertical change in \(y\) is often called the rise and is denoted \(\Delta y\text{,}\) where the Greek letter "delta" is used to indicate change (difference). Similarly, horizontal change in \(x\) is often called the run and is denoted \(\Delta x\text{.}\)

Example 5.11. Finding the Slope.

Find the slope of the line between the two points \((-2,8)\) and \((10,4)\)
Solution.
Compute rise over run from the given points, being sure to maintain the correct order when subtracting:
\begin{equation*} m = \frac{\Delta y}{\Delta x} = \frac{4-8}{10-(-2)} = \frac{-4}{12} = -\frac{1}{3}. \end{equation*}
The slope is negative, indicating that an increase of \(3\) unitsin the \(x\)-coordinate will result in a decrease of \(1\) unitin the \(y\)-coordinate.

Horizontal and Vertical Lines.

The graph of a linear equation of the form \(y=k\) is a horizontal line and its slope is zero. This is because a change in \(x\) results in no change in \(y\text{.}\) On the other hand, a linear equation of the form \(x=h\) is a vertical line and its slope is undefined. This is because the change in the \(x\)-coordinates between any two points on the line is zero and we must never divide by zero.

Example 5.12. Horizontal and Vertical Lines.

The line \(y=-1\) is horizontal with slope \(m=0\text{,}\) while the line \(x=2\) is vertical with undefined slope.