To find the slope of the line that passes through the points (1, 4) and (-1, -2), you can use the slope formula:
\[ m = \frac{y_2 - y_1}{x_2 - x_1} \]
Where \((x_1, y_1)\) and \((x_2, y_2)\) are the coordinates of the two points. In this case, we have:
- \( (x_1, y_1) = (1, 4) \)
- \( (x_2, y_2) = (-1, -2) \)
Now plug these values into the formula:
\[ m = \frac{-2 - 4}{-1 - 1} \]
Calculating the numerator:
\[ -2 - 4 = -6 \]
Calculating the denominator:
\[ -1 - 1 = -2 \]
Now substitute back into the formula:
\[ m = \frac{-6}{-2} = 3 \]
Thus, the slope of the line is \(3\).