Coordinate Geometry Formulas
Coordinate geometry uses a grid of (x, y) points to measure shapes with algebra. The three essential formulas — distance, midpoint, and slope — all come from two points, and the single interactive plane below computes every one of them at once as you drag.
One plane, three formulas
Drag a point, or click it and use the arrow keys. Coordinates snap to the grid.
Step-by-step substitution
- d = √((x₂−x₁)² + (y₂−y₁)²) = √((3−-3)² + (4−-1)²) = √(36 + 25) = 7.81
- M = ((x₁+x₂)/2, (y₁+y₂)/2) = ((-3+3)/2, (-1+4)/2) = (0, 1.5)
- m = (y₂−y₁)/(x₂−x₁) = (4−-1)/(3−-3) = 5/6 = 0.83
The core formulas
Section formula (ratio m : n)
The midpoint is the case m = n = 1.
Area of a triangle (shoelace)
Area from three vertices’ coordinates.
Worked example: area from coordinates
For the triangle with vertices (0, 0), (4, 0), and (0, 3), the shoelace formula gives A = ½|0(0 − 3) + 4(3 − 0) + 0(0 − 0)| = ½|12| = 6 square units — matching ½ · base · height = ½ · 4 · 3.
Frequently asked questions
What is coordinate geometry?
Coordinate geometry (analytic geometry) studies shapes using a coordinate plane and algebra. Points are (x, y) pairs, and formulas compute distance, midpoint, slope, and area directly from coordinates.
What are the main coordinate geometry formulas?
The core formulas are distance d = √((x₂−x₁)² + (y₂−y₁)²), midpoint M = ((x₁+x₂)/2, (y₁+y₂)/2), and slope m = (y₂−y₁)/(x₂−x₁). The section formula and the shoelace area formula extend them.
What is the section formula?
The section formula finds the point dividing a segment in ratio m : n: ((mx₂ + nx₁)/(m+n), (my₂ + ny₁)/(m+n)). The midpoint is the special case m = n = 1.