Answer : The correct option is, (x-y+1=0)
Step-by-step explanation :
The general form for the formation of a linear equation is:
[tex](y-y_1)=m\times (x-x_1)[/tex] .............(1)
where,
x and y are the coordinates of x-axis and y-axis respectively.
m is slope of line.
First we have to calculate the slope of line.
Formula used :
[tex]m=\frac{(y_2-y_1)}{(x_2-x_1)}[/tex]
Here,
[tex](x_1,y_1)=(1,2)[/tex] and [tex](x_2,y_2)=(4,5)[/tex]
[tex]m=\frac{(5-2)}{(4-1)}[/tex]
[tex]m=\frac{3}{3}[/tex]
m = 1
Now put the value of slope in equation 1, we get the linear equation.
[tex](y-y_1)=m\times (x-x_1)[/tex]
[tex](y-2)=1\times (x-1)[/tex]
[tex](y-2)=(x-1)[/tex]
[tex]y-2=x-1[/tex]
Now rearranging the terms, we get:
[tex]y-x-1=0[/tex]
or,
[tex]x-y+1=0[/tex]
From the given options we conclude that the option (x-y+1=0) is an equation of the given line in standard form.
Hence, the correct option is, (x-y+1=0)