Find the gradient that passes through the points (1,-2) and (4,7)
You asked:
Calculate the slope of the line passing through \(\left(1, -2\right)\) and \(\left(4, 7\right)\).
MathBot Answer:
\[ \text{slope} = 3 \]
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{ 7 - -2 }{ 4 - 1 } \\ &= \frac{ 9 }{ 3} \\ &= 3 \end{aligned} \]