Equation of a Line Calculator
Calculate the equation of a line in general form from two given points and visualize it.
Enter Two Points
Specify the coordinates of two distinct points to determine the equation of the line passing through them.
Point 1 (x₁, y₁)
Point 2 (x₂, y₂)
Equation of the Line (General Form)
Line Visualization
Understanding the Equation of a Line
In mathematics, the equation of a line represents all the points that lie on the line. The general form of a linear equation is Ax + By + C = 0, where A, B, and C are constants, and x and y are variables representing coordinates on a 2D plane.
To find the equation of a line, you typically need either two points on the line or a point and the slope. This tool uses two points, (x₁, y₁) and (x₂, y₂), to determine the coefficients A, B, and C. The formulas used are:
- A = y₂ - y₁
- B = x₁ - x₂
- C = -(Ax₁ + By₁)
After calculation, the equation is presented in the general form. You can use this tool to quickly find the equation and visualize the line, aiding in understanding linear equations in geometry and algebra.