The equation_straight_line function allows to calculate the equation of a straight line from the coordinates of two points with step by step calculation.
equation_straight_line online
In the plan, there is one and only one straight line through two points. In a system (O,`vec(i)`,`vec(j)`) of the plan, it is possible from the coordinates of two points to find the equation of a line from the coordinates of two points to find the equation of a line.
The equation_straight_line function is able to find the equation of a straight line from the coordinates of two points.
The function is able to determine the equation of a straight line through two points with different abscissa, but also the equation of a straight line through two points with the same abscissa.
For example, to calculate the equation of the straight line through the points A[3;0] and B[2;5] enter equation_straight_line(`[3;0];[2;5]`), after calculation the result `[y=15-5*x]` is returned.
For example, to calculate the equation of the straight line through the points A[3;2] et B[3;3] enter equation_straight_line(`[3;2];[3;4]`), after calculation the result `[x=3]` is returned.
In some cases the calculator after determining the equation of the straight line from two points will propose to draw straight line associated with this equation. For that, when it is possible, it is enough to click on the link which appears in the area of detail calculations.