To calculate the slope of a line:
\[ \text{slope} = \frac{y_2 - y_1}{x_2 - x_1} \]
Where:
The slope of a line, also known as the gradient, represents the rate of change in the y-coordinate with respect to the x-coordinate. It is calculated as the "rise" over the "run," which describes how steep the line is. A higher slope value indicates a steeper line, while a lower slope value indicates a shallower line.
Assume the following coordinates:
**Step 1:** Calculate \( Y_2 - Y_1 \)
\[ Y_2 - Y_1 = 7 - 3 = 4 \]
**Step 2:** Calculate \( X_2 - X_1 \)
\[ X_2 - X_1 = 5 - 2 = 3 \]
**Step 3:** Calculate the slope
\[ \text{slope} = \frac{4}{3} \approx 1.33 \]
The slope is approximately 1.33.
Assume the following coordinates:
**Step 1:** Calculate \( Y_2 - Y_1 \)
\[ Y_2 - Y_1 = 2 - 1 = 1 \]
**Step 2:** Calculate \( X_2 - X_1 \)
\[ X_2 - X_1 = 4 - 1 = 3 \]
**Step 3:** Calculate the slope
\[ \text{slope} = \frac{1}{3} \approx 0.33 \]
The slope is approximately 0.33.