# find equation of a straight line from two points

Calculus in processing ... please wait
The equation straight line calculator allows to calculate the equation of a straight line from the coordinates of two points with step by step calculation.
equation_straight_line([3;1];[2;5]) returns  [y=13-4*x]

### Find equation of a straight line from two points

The equation straight line calculator allows to calculate the equation of a straight line from the coordinates of two points with step by step calculation.

# Find the equation of a straight line from two points

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 calculator allows to find the equation of a straight line (of the form y=ax+b) from the coordinates of two points by specifying the calculation steps.

This calculator 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.

## Equation of a straight line from two points of different abscissa

This example shows how to calculate the equation of the line that passes through the points of coordinates A[3;0] and B[2;5] , after calculation the result [y=15-5*x] is returned.

## Equation of a line from two points with the same abscissa

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.

## Graph a straight line from two points

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.

#### Syntax :

equation_straight_line(point1;point2)

#### Examples :

equation_straight_line([3;1];[2;5]) returns  [y=13-4*x]

See also
List of related calculators :
Other resources