To find the equation of the line that passes through the points (4, 1) and (2, 3), we can follow these steps:
- Calculate the slope (m): The slope formula is given by:
- Use the point-slope form to find the equation: The point-slope form is:
m = (y2 – y1) / (x2 – x1)
Plugging in our points (x1, y1) = (4, 1) and (x2, y2) = (2, 3):
m = (3 – 1) / (2 – 4) = 2 / -2 = -1
y – y1 = m(x – x1)
Using the point (4, 1) and the slope we found (m = -1):
y – 1 = -1(x – 4)
Expanding this:
y – 1 = -x + 4
y = -x + 5
Thus, the equation of the line that passes through the points (4, 1) and (2, 3) is:
y = -x + 5