HOW IT WORKS
Two-point slope, angle & line equation formulas
Given two distinct Cartesian points (x₁, y₁) and (x₂, y₂), the slope measures the rate of vertical change (rise) per unit of horizontal change (run).
Slope (m) & Angle (θ)
Divide the change in y by the change in x when Δx ≠ 0:
m = (y₂ − y₁) ÷ (x₂ − x₁) · θ = arctan(m)Slope-Intercept Equation
Solve for the y-intercept b using either point:
b = y₁ − m·x₁ · y = mx + bDistance & Midpoint
Segment length and center coordinate between the two points:
d = √(Δx² + Δy²) · Midpoint = ((x₁+x₂)/2, (y₁+y₂)/2)