Line Equation Calculator
Result
Step-by-Step Solution
About Line Equations
A line in a coordinate plane can be represented by various equation forms, each with its own advantages for different situations.
Common Forms of Line Equations
Standard Form
$Ax + By = C$, where A, B, and C are constants and A and B are not both zero.
Slope-Intercept Form
$y = mx + b$, where m is the slope and b is the y-intercept.
Point-Slope Form
$y - y_1 = m(x - x_1)$, where m is the slope and $(x_1, y_1)$ is a point on the line.
Intercept Form
$\frac{x}{a} + \frac{y}{b} = 1$, where a is the x-intercept and b is the y-intercept.
Two-Point Form
$\frac{y - y_1}{y_2 - y_1} = \frac{x - x_1}{x_2 - x_1}$, where $(x_1, y_1)$ and $(x_2, y_2)$ are two points on the line.
Special Cases
- A horizontal line has the equation $y = b$, where b is the y-coordinate of any point on the line.
- A vertical line has the equation $x = a$, where a is the x-coordinate of any point on the line.
- The line passing through the origin has the equation $y = mx$ in slope-intercept form.