Find the slope of the line that contains the two given points.
(a) \((5,2)\text{,}\) \((-3,2)\) Β Β Β Β (b) \((2,5)\text{,}\) \((5,7)\) Β Β Β Β (c) \((-7,2)\text{,}\) \((-7,-6)\)
Solution:
\begin{equation*}
\text{slope} = \frac{y_2-y_1}{x_2-x_1} = \frac{2-2}{-3-5}=\frac{0}{-8} =0
\end{equation*}
The line is horizontal with equation \(y=2.\)
\begin{equation*}
\text{slope} = \frac{y_2-y_1}{x_2-x_1} = \frac{7-5}{5-2}=\frac{2}{3} \quad \quad \quad
\end{equation*}
(c) The \(x\)-coordinates are the same so the slope is undefined. The line is vertical with equation \(x=-7\text{.}\)



