Find the slope of the line that contains the points (-7, 2) and (-9, -8).
You asked:
Calculate the slope of the line passing through \(\left(-7, 2\right)\) and \(\left(-9, -8\right)\).
MathBot Answer:
\[ \text{slope} = 5 \]
The slope of the line through the two distinct points \((x_1, y_1)\) and \((x_2, y_2)\), where \(x_1 \ne x_2\), is given by the formula: \[\text{slope} = \frac{y_2 - y_1}{x_2 - x_1}\] Therefore: \[ \begin{aligned} \text{slope} &= \frac{y_2-y_1}{x_2-x_1} \\ &= \frac{ -8 - 2 }{ -9 - -7 } \\ &= \frac{ -10 }{ -2} \\ &= 5 \end{aligned} \]