To write the equation of a line that passes through two points, you can use the two-point form of a line equation. The basic steps are as follows:
- Identify the points: In this case, the points are (1, 3) and (2, 2).
- Calculate the slope (m): The slope formula is
m = (y_2 - y_1) / (x_2 - x_1)
. Substituting the values from the points:
m = (2 - 3) / (2 - 1) = -1.
- Use the point-slope form of the equation: The point-slope form is given by
y - y_1 = m(x - x_1)
. You can use either point for this calculation. Using the point (1, 3):
y - 3 = -1(x - 1).
- Simplify the equation: Distributing the slope and rearranging gives:
y - 3 = -x + 1
y = -x + 4.
Thus, the equation of the line that passes through the points (1, 3) and (2, 2) is y = -x + 4.