Answer:
x - y + 1 = 0
Step-by-step explanation:
The equation of a line in general form is
Ax + By + C = 0 ( A is a positive integer and B, C are integers )
Obtain the equation in slope- intercept form
y = mx + c ( m is the slope and c the y- intercept )
Calculate m using the slope formula
m = (y₂ - y₁ ) / (x₂ - x₁ )
with (x₁, y₁ ) = (4, 5) and (x₂, y₂ ) = (1, 2)
m = [tex]\frac{2-5}{1-4}[/tex] = [tex]\frac{-3}{-3}[/tex] = 1, thus
y = x + c ← is the partial equation
To find c substitute either of the 2 points into the partial equation
Using (1, 2), then
2 = 1 + c ⇒ c = 2 - 1 = 1
y = x + 1 ← equation in slope- intercept form
Subtract y from both sides
0 = x - y + 1, that is
x - y + 1 = 0 ← in general form