Hand Calculations logo Hand Calculations All help pages ▾

Distance 2D⚠ unverified

Geometry / Plane · Distance between two points in the plane

Labeled diagram for Distance 2D

Parameters

InputSymbolUnitDefaultDescription
x1x1m0x of first point
y1y1m0y of first point
x2x2m3x of second point
y2y2m4y of second point
OutputSymbolUnitDescription
ddmDistance

The science & history

Understanding the Parameters

How to Calculate

  1. Enter x of first point as x1 (default 0 m). Use the unit menu when you need a different unit.
  2. Enter y of first point as y1 (default 0 m). Use the unit menu when you need a different unit.
  3. Enter x of second point as x2 (default 3 m). Use the unit menu when you need a different unit.
  4. Enter y of second point as y2 (default 4 m). Use the unit menu when you need a different unit.
  5. Click Calculate. The card evaluates $d = \sqrt{(x_2-x_1)^2+(y_2-y_1)^2}$ and shows the result in the declared output unit; Result in (when present) converts that number.

The Science: A Rigorous Derivation (Approaching a Proof)

Plane Euclidean geometry is the geometry of the flat plane: points, lines, polygons and circles with the parallel postulate. Lengths add along a path; areas are the unique translation-invariant measure that assigns $1$ to the unit square. The Pythagorean theorem is the metric; trigonometry enters as soon as an angle is known, because $\sin$ and $\cos$ are the ratios that convert an angle into a length ratio.

Every formula in this family is a consequence of those two facts (additivity of length/area, and the Pythagorean metric) plus similarity of triangles. Sector and segment formulae additionally use the radian definition of angle, $\theta = s/r$.

Dimensional check. The declared output unit is m; ToolBox evaluates the formula in SI (radians internally for every trigonometric call) and python-calc converts to the unit on the card.

History and Development

Related Concepts: Triangle Perimeter, Rectangle Perimeter, Regular Polygon Perimeter, Circle Circumference, Triangle Third Angle, Polygon Interior Angle Sum, Regular Polygon Interior Angle, Complementary Angle

← Back to the workspace  ·  All help pages  ·  Getting started