Distance, Midpoint & Line Equation
Coordinate geometry turns pairs of points (x1, y1) and (x2, y2) into segment lengths, midpoints, linear equations, and orthogonal bisectors used across Algebra, Geometry, and Calculus.
Technical Reference & Equations
- Euclidean Distance Formula:
d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}(d: straight-line segment length between P1(x1, y1) and P2(x2, y2).) - Midpoint Formula:
M = \left(\frac{x_1 + x_2}{2},\; \frac{y_1 + y_2}{2}\right)(M: exact geometric center of segment P1P2.) - Slope & Slope-Intercept Form:
m = \frac{y_2 - y_1}{x_2 - x_1}, \quad y = mx + b, \quad m_{\perp} = -\frac{1}{m}(m: slope (rise over run), b: y-intercept, m_perp: perpendicular bisector slope.)
Related Geometry Calculators
- Right Triangle & Pythagorean Theorem: Solve 90-degree triangles for missing legs, hypotenuse, acute angles, SOH-CAH-TOA ratios, area, and altitude to the hypotenuse.
- Quadratic Equation & Parabola: Solve ax² + bx + c = 0 for real or complex roots, discriminant Δ, vertex form, and symmetry on a live parabola plot.
- Circle Equation, Arc Length & Sector: Compute arc length, sector area, chord length, circular segment area, and standard circle equation (x - h)² + (y - k)² = r².
- Conic Sections: Ellipse & Hyperbola: Plot horizontal and vertical ellipses and hyperbolas with exact foci, eccentricity, vertices, latus rectum, and asymptote slopes.
- Linear Regression & Correlation: Ordinary least squares best-fit line, R², Pearson r, RMSE, and residual scatter plot.
- 3D Vector Dot, Cross & Projection: Compute dot product, cross product, angle, and projection on a 3D isometric vector plot.