Hand Calculations logo Hand Calculations All help pages ▾

Skew Lines Distance⚠ unverified

Geometry / Analytic · Shortest distance between two skew lines

Labeled diagram for Skew Lines Distance

Parameters

InputSymbolUnitDefaultDescription
x1x1m0Length
y1y1m0Length
z1z1m0Length
dx1d1xm1Length
dy1d1ym0Length
dz1d1zm0Length
x2x2m0Length
y2y2m1Length
z2z2m1Length
dx2d2xm0Length
dy2d2ym1Length
dz2d2zm0Length
OutputSymbolUnitDescription
ddmDistance

The science & history

Understanding the Parameters

How to Calculate

  1. Enter Length as x1 (default 0 m). Use the unit menu when you need a different unit.
  2. Enter Length as y1 (default 0 m). Use the unit menu when you need a different unit.
  3. Enter Length as z1 (default 0 m). Use the unit menu when you need a different unit.
  4. Enter Length as dx1 (default 1 m). Use the unit menu when you need a different unit.
  5. Enter Length as dy1 (default 0 m). Use the unit menu when you need a different unit.
  6. Enter Length as dz1 (default 0 m). Use the unit menu when you need a different unit.
  7. Enter Length as x2 (default 0 m). Use the unit menu when you need a different unit.
  8. Enter Length as y2 (default 1 m). Use the unit menu when you need a different unit.
  9. Enter Length as z2 (default 1 m). Use the unit menu when you need a different unit.
  10. Enter Length as dx2 (default 0 m). Use the unit menu when you need a different unit.
  11. Enter Length as dy2 (default 1 m). Use the unit menu when you need a different unit.
  12. Enter Length as dz2 (default 0 m). Use the unit menu when you need a different unit.
  13. Click Calculate. The card evaluates $d=|(P_2-P_1)\cdot(d_1\times d_2)|/|d_1\times d_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)

Analytic geometry replaces figures with equations. A point is a tuple of real numbers; the Euclidean distance is the $2$-norm of their difference. A line $ax+by+c=0$ is a level set of a linear function, so the distance from a point to the line is that function's value divided by the norm of its gradient. Conics are the quadratic curves; completing the square on $x^2+y^2+Dx+Ey+F=0$ yields a circle; $e = c/a$ classifies ellipse ($e<1$), parabola ($e=1$) and hyperbola ($e>1$). Polar coordinates $(r,\theta)$ are the Euclidean plane written in rotationally natural coordinates.

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: Distance 3D, Slope, Angle Between Two Lines, Point To Line Distance, Circle Radius From General Form, Parabola Latus Rectum, Ellipse Eccentricity, Ellipse Linear Eccentricity

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