This online calculator creates the equation of a line
passing through two points and in two-dimensional or three-dimensional space. A step by step solution is also available. To get started, you need to enter your task data into the calculator.
For simplicity, let's consider a two-dimensional case. Let's say we are given two points and . Требуется составить уравнение прямой, проходящей через эти точки.
Let us recall that the canonical equation of a line passing through these points has the form:
Transform this expression:
Open the brackets:
Transfer the terms with to the left side of the equality, and the remaining terms to the right:
Divide both parts of the equality by :
Simplifying, we get the equation of a line passing through points and :
It is worth noting that the equation of a line can also be written in parametric form ():
Our calculator performs all the necessary calculations online and plots the resulting line (in the two-dimensional case). Moreover, you can enter not only numbers, but also symbolic expressions into the calculator.