# find equation of a straight line from two points

## Calculus equation_straight_line

Calculus in processing ... please wait

### Function : equation_straight_line

#### Summary :

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

# 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 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.

## Equation of a straight line from two points of different 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.

## 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.

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.

#### Syntax :

equation_straight_line(point1;point2)

#### Examples :

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

Calculate online with equation_straight_line (find equation of a straight line from two points)