Distance and Section in the Plane
Distance and Section in the Plane are the two foundational metric formulas of coordinate geometry: the distance formula gives the straight-line length between two points from their coordinates, and the section formula gives the coordinates of a point dividing a line segment in a given ratio. Both follow directly from the Pythagorean theorem and similar triangles. They apply throughout analytic geometry, vector algebra, computer graphics, and physics. Systematized by René Descartes (1637) and used by every student of coordinate geometry since.
Coordinates turn the plane into a grid of numbers. Once a point is a pair , horizontal and vertical separations become subtractions (, ), the Pythagorean theorem converts those separations into a straight-line distance, and proportional reasoning (similar triangles) lets us weight coordinates to find any dividing point. Distance is "Pythagoras in coordinates"; section is "weighted average in coordinates."
Formal Statement
Let and be points in the Cartesian plane. The distance between them is the length of the straight segment joining them:
Derivation hint: Form a right triangle with horizontal leg and vertical leg ; apply the Pythagorean theorem to the hypotenuse . Symbols: are the coordinates of the first point; of the second; is the resulting length, in the same units as the coordinate axes.
A useful special case is the distance from the origin to a point :
Derivation hint: Set in equation [1].
Let divide the segment joining and internally in the ratio , meaning with between and . Then the coordinates of are:
Derivation hint: Drop perpendiculars from , , to the -axis; the resulting similar triangles give , then solve for (and likewise ). Symbols: and are positive numbers giving the ratio of the two parts; the part nearer to carries the weight on . Note the cross-pattern: multiplies the second point's coordinates.
The midpoint of segment is the special case :
Derivation hint: Substitute into equation [3].
If divides externally in the ratio (so lies on the line but outside the segment, with measured with opposite signs), then:
Derivation hint: Replace the ratio by in the internal formula [3], since external division reverses the sign of one directed segment.
The centroid of a triangle with vertices , , is the average of the three vertices:
Derivation hint: The centroid divides each median in ratio from the vertex; apply the section formula [3] with to the vertex and the opposite midpoint.
Why It Holds / Derivation
Step 1. Take points and . Construct the point — directly below or above and level with — so that forms a right triangle with the right angle at .
Step 2. The horizontal leg runs from to at the same height, so its length is .
Step 3. The vertical leg runs from to at the same -value, so its length is .
Step 4. By the Pythagorean theorem, . The squares remove the need for absolute-value signs.
Step 5. Taking the non-negative square root gives equation [1].
∎Step 1. Let lie on with . Drop perpendiculars from , , to the -axis, meeting it at , , .
Step 2. Lines , , are all vertical, hence parallel. By the basic proportionality theorem, the parallels cut the transversal and the -axis in equal ratios: .
Step 3. Therefore , giving .
Step 4. Expand: , so , hence .
Step 5. Repeating with perpendiculars to the -axis gives . Together these give equation [3].
∎The French philosopher and mathematician introduced the system of coordinates in La Géométrie (1637), an appendix to his Discourse on Method. By labeling points with number pairs, Descartes made it possible to study curves through equations and lengths through arithmetic — the move that created analytic geometry. The distance and section formulas are immediate consequences of his framework, though Descartes himself wrote in a less symbolic notation than ours. The Cartesian plane bears his Latinized name, Cartesius.
Building Intuition
Think of going from to as a walk on a city grid. You can only count blocks east-west () and blocks north-south (). The distance formula answers: "If instead of walking the streets I could fly straight, how far is it?" — and the answer is the diagonal hypotenuse of the right triangle the two legs make. For the section formula, picture a tug-of-war on the segment. The ratio is how strongly each end pulls. Equilibrium lands the point closer to the stronger pull. Crucially the heavier weight sits on the far endpoint : a split puts three-quarters of the way to , because three parts of the journey are behind and one ahead. The midpoint is the perfectly balanced case — just average the coordinates.
Worked Examples
Given: and , coordinates in metres.
Find: the distance .
Step 1 — horizontal separation: .
Step 2 — vertical separation: .
Step 3 — apply equation [1]:
Step 4 — evaluate: .
(This is a 5–12–13 Pythagorean triple, a clean integer result.)
Given: and ; point divides internally in ratio .
Find: the coordinates of , and verify with the midpoint as a check.
Step 1 — identify weights: (on ), (on ), so .
Step 2 — x-coordinate via equation [3]:
Step 3 — y-coordinate:
Check: should be two-thirds of the way from to . The midpoint of is , and lies beyond it toward — consistent with the heavier pull at . ✓
Common Misconceptions
A frequent error is writing — putting on the first point. The formula uses the cross-pattern: the weight (the first number in the ratio ) multiplies the coordinates of the second point . Reason: a larger means is larger, so sits farther from and nearer to , which requires to be weighted more heavily. Always re-derive from " near ⟹ big weight on ."
Two slips ruin the distance formula. First, some students compute without squaring; that is the grid (taxicab) distance, not the straight-line distance. Second, some stop at and forget the final square root. The correct chain is: subtract, square, add, then take the square root.
One might guess that the distance from to equals . The actual straight-line distance is , not 7. The value 7 is the path length along the axes (3 across, then 4 up). The gap (7 vs. 5) is exactly why "as the crow flies" beats walking the grid — and it shows distance is governed by Pythagoras, never by plain addition of separations.
Connections
The distance formula is the two-dimensional shadow of the Pythagorean Theorem and generalizes directly to three dimensions as , and to the abstract notion of a Metric Space. The section formula is a special case of the Vector Position Formula: , linking it to Vectors in the Plane and to the Convex Combination of two points. The centroid formula [6] feeds into Coordinate Geometry of Triangles and the study of Lines in the Plane, where the same coordinates determine slopes and equations.
Real-World Applications
Historical Development
Subtleties & Limits
The distance and section formulas as stated assume a flat, Euclidean plane with perpendicular axes and equal unit scales. Several subtleties deserve thought. (1) Non-Euclidean settings: on the surface of a sphere (the Earth), straight-line "chord" distance differs from the geodesic (great-circle) distance, and equation [1] is only a local approximation. (2) Oblique axes: if the coordinate axes are not perpendicular, the distance formula acquires extra cross terms involving the angle between them. (3) The external division degenerate case: when in equation [5], the denominator and the "external dividing point" runs off to infinity — geometrically the point that would divide externally in ratio is the point at infinity in the direction of , a notion made rigorous in projective geometry. (4) Choice of metric: the Euclidean distance is one of infinitely many valid metrics; the taxicab () and Chebyshev () distances obey the metric axioms too, and which distance is "right" depends entirely on the problem.
See Also
Pythagorean Theorem · Cartesian Coordinate System · Equation of a Circle · Vectors in the Plane · Coordinate Geometry of Triangles · Midpoint Formula · Metric Spaces