This online calculator finds and plots the equation of a straight line passing through the two given points. The calculator generates a step-by-step explanation of how to get the result.
To find equation of the line passing through points and ( ), we use formula:
Example:
Find the equation of the line determined by and .
Solution:
In this example we have: . So we have:
Multiply both sides with to get rid of the fractions.
In special case (when the equation of the line is:
Example 2:
Find the equation of the line determined by and .
Solution:
In this example we have: . Since , the equation of the line is:
You can see from picture on the right that in special case the line is parallel to y - axis.
Note: use above calculator to check the results.