
In three-dimensional geometry, skew lines are two lines that do not intersect and are not parallel. A simple example of a pair of skew lines is the pair of lines through opposite edges of a regular tetrahedron. Two lines that both lie in the same plane must either cross each other or be parallel, so skew lines can exist only in three or more dimensions. Two lines are skew if and only if they are not coplanar.

General position
If four points are chosen at random uniformly within a unit cube, they will almost surely define a pair of skew lines. After the first three points have been chosen, the fourth point will define a non-skew line if, and only if, it is coplanar with the first three points. However, the plane through the first three points forms a subset of measure zero of the cube, and the probability that the fourth point lies on this plane is zero. If it does not, the lines defined by the points will be skew.
Similarly, in three-dimensional space a very small perturbation of any two parallel or intersecting lines will almost certainly turn them into skew lines. Therefore, any four points in general position always form skew lines.
In this sense, skew lines are the "usual" case, and parallel or intersecting lines are special cases.
Formulas
Testing for skewness
Nearest points
Expressing the two lines as vectors:
The cross product of and
is perpendicular to the lines.
The plane formed by the translations of Line 2 along contains the point
and is perpendicular to
.
Therefore, the intersecting point of Line 1 with the above-mentioned plane, which is also the point on Line 1 that is nearest to Line 2 is given by
Similarly, the point on Line 2 nearest to Line 1 is given by (where )
Distance
The nearest points and
form the shortest line segment joining Line 1 and Line 2:
The distance between nearest points in two skew lines may also be expressed using other vectors:
Here the 1×3 vector x represents an arbitrary point on the line through particular point a with b representing the direction of the line and with the value of the real number determining where the point is on the line, and similarly for arbitrary point y on the line through particular point c in direction d.
The cross product of b and d is perpendicular to the lines, as is the unit vector
The perpendicular distance between the lines is then
(if |b × d| is zero the lines are parallel and this method cannot be used).
More than two lines
Configurations
A configuration of skew lines is a set of lines in which all pairs are skew. Two configurations are said to be isotopic if it is possible to continuously transform one configuration into the other, maintaining throughout the transformation the invariant that all pairs of lines remain skew. Any two configurations of two lines are easily seen to be isotopic, and configurations of the same number of lines in dimensions higher than three are always isotopic, but there exist multiple non-isotopic configurations of three or more lines in three dimensions. The number of nonisotopic configurations of n lines in R3, starting at n = 1, is
- 1, 1, 2, 3, 7, 19, 74, ... (sequence A110887 in the OEIS).
Ruled surfaces
An affine transformation of this ruled surface produces a surface which in general has an elliptical cross-section rather than the circular cross-section produced by rotating L around L'; such surfaces are also called hyperboloids of one sheet, and again are ruled by two families of mutually skew lines. A third type of ruled surface is the hyperbolic paraboloid. Like the hyperboloid of one sheet, the hyperbolic paraboloid has two families of skew lines; in each of the two families the lines are parallel to a common plane although not to each other. Any three skew lines in R3 lie on exactly one ruled surface of one of these types.
Gallucci's theorem
If three skew lines all meet three other skew lines, any transversal of the first set of three meets any transversal of the second set.
Skew flats in higher dimensions
In higher-dimensional space, a flat of dimension k is referred to as a k-flat. Thus, a line may also be called a 1-flat.
Generalizing the concept of skew lines to d-dimensional space, an i-flat and a j-flat may be skew if i + j < d. As with lines in 3-space, skew flats are those that are neither parallel nor intersect.
In affine d-space, two flats of any dimension may be parallel. However, in projective space, parallelism does not exist; two flats must either intersect or be skew. Let I be the set of points on an i-flat, and let J be the set of points on a j-flat. In projective d-space, if i + j ≥ d then the intersection of I and J must contain a (i+j−d)-flat. (A 0-flat is a point.)
In either geometry, if I and J intersect at a k-flat, for k ≥ 0, then the points of I ∪ J determine a (i+j−k)-flat.
See also
- Distance between two parallel lines
- Petersen–Morley theorem
References
- Weisstein, Eric W., "Line-Line Distance", MathWorld
- Viro, Julia Drobotukhina; Viro, Oleg (1990), "Configurations of skew lines" (PDF), Leningrad Math. J. (in Russian), 1 (4): 1027–1050, archived from the original (PDF) on 2021-11-09, retrieved 2006-10-24. Revised version in English: arXiv:math.GT/0611374
- Hilbert, David; Cohn-Vossen, Stephan (1952), Geometry and the Imagination (2nd ed.), Chelsea, pp. 13–17, ISBN 0-8284-1087-9
- Coxeter, H. S. M. (1969), Introduction to Geometry (2nd ed.), John Wiley & Sons, p. 257
- G. Gallucci (1906), "Studio della figura delle otto rette e sue applicazioni alla geometria del tetraedro ed alla teoria della configurazioni", Rendiconto dell'Accademia della Scienza Fisiche e Matematiche, 3rd series, 12: 49–79
- DuPré, Arthur M.; Kass, Seymour (1992-07-01). "Distance and Parallelism Between Flats in R^n" (pdf). p. 9. doi:10.1016/0024-3795(92)90252-6. Retrieved 2025-01-30.
External links
- Weisstein, Eric W., "Skew Lines", MathWorld
In three dimensional geometry skew lines are two lines that do not intersect and are not parallel A simple example of a pair of skew lines is the pair of lines through opposite edges of a regular tetrahedron Two lines that both lie in the same plane must either cross each other or be parallel so skew lines can exist only in three or more dimensions Two lines are skew if and only if they are not coplanar Rectangular parallelepiped The line through segment AD and the line through segment B1B are skew lines because they are not in the same plane General positionIf four points are chosen at random uniformly within a unit cube they will almost surely define a pair of skew lines After the first three points have been chosen the fourth point will define a non skew line if and only if it is coplanar with the first three points However the plane through the first three points forms a subset of measure zero of the cube and the probability that the fourth point lies on this plane is zero If it does not the lines defined by the points will be skew Similarly in three dimensional space a very small perturbation of any two parallel or intersecting lines will almost certainly turn them into skew lines Therefore any four points in general position always form skew lines In this sense skew lines are the usual case and parallel or intersecting lines are special cases FormulasPQ the shortest distance between two skew lines AB and CD is perpendicular to both AB and CD Testing for skewness V 16 det a bb cc d displaystyle V frac 1 6 left det left begin matrix mathbf a mathbf b mathbf b mathbf c mathbf c mathbf d end matrix right right Nearest points Expressing the two lines as vectors Line 1 v1 p1 t1d1 displaystyle text Line 1 mathbf v 1 mathbf p 1 t 1 mathbf d 1 Line 2 v2 p2 t2d2 displaystyle text Line 2 mathbf v 2 mathbf p 2 t 2 mathbf d 2 The cross product of d1 displaystyle mathbf d 1 and d2 displaystyle mathbf d 2 is perpendicular to the lines n d1 d2 displaystyle mathbf n mathbf d 1 times mathbf d 2 The plane formed by the translations of Line 2 along n displaystyle mathbf n contains the point p2 displaystyle mathbf p 2 and is perpendicular to n2 d2 n displaystyle mathbf n 2 mathbf d 2 times mathbf n Therefore the intersecting point of Line 1 with the above mentioned plane which is also the point on Line 1 that is nearest to Line 2 is given by c1 p1 p2 p1 n2d1 n2d1 displaystyle mathbf c 1 mathbf p 1 frac mathbf p 2 mathbf p 1 cdot mathbf n 2 mathbf d 1 cdot mathbf n 2 mathbf d 1 Similarly the point on Line 2 nearest to Line 1 is given by where n1 d1 n displaystyle mathbf n 1 mathbf d 1 times mathbf n c2 p2 p1 p2 n1d2 n1d2 displaystyle mathbf c 2 mathbf p 2 frac mathbf p 1 mathbf p 2 cdot mathbf n 1 mathbf d 2 cdot mathbf n 1 mathbf d 2 Distance The nearest points c1 displaystyle mathbf c 1 and c2 displaystyle mathbf c 2 form the shortest line segment joining Line 1 and Line 2 d c1 c2 displaystyle d Vert mathbf c 1 mathbf c 2 Vert The distance between nearest points in two skew lines may also be expressed using other vectors x a lb displaystyle mathbf x mathbf a lambda mathbf b y c md displaystyle mathbf y mathbf c mu mathbf d Here the 1 3 vector x represents an arbitrary point on the line through particular point a with b representing the direction of the line and with the value of the real number l displaystyle lambda determining where the point is on the line and similarly for arbitrary point y on the line through particular point c in direction d The cross product of b and d is perpendicular to the lines as is the unit vector n b d b d displaystyle mathbf n frac mathbf b times mathbf d mathbf b times mathbf d The perpendicular distance between the lines is then d n c a displaystyle d mathbf n cdot mathbf c mathbf a if b d is zero the lines are parallel and this method cannot be used More than two linesConfigurations A configuration of skew lines is a set of lines in which all pairs are skew Two configurations are said to be isotopic if it is possible to continuously transform one configuration into the other maintaining throughout the transformation the invariant that all pairs of lines remain skew Any two configurations of two lines are easily seen to be isotopic and configurations of the same number of lines in dimensions higher than three are always isotopic but there exist multiple non isotopic configurations of three or more lines in three dimensions The number of nonisotopic configurations of n lines in R3 starting at n 1 is 1 1 2 3 7 19 74 sequence A110887 in the OEIS Ruled surfaces A fibration of projective space by skew lines on nested hyperboloids An affine transformation of this ruled surface produces a surface which in general has an elliptical cross section rather than the circular cross section produced by rotating L around L such surfaces are also called hyperboloids of one sheet and again are ruled by two families of mutually skew lines A third type of ruled surface is the hyperbolic paraboloid Like the hyperboloid of one sheet the hyperbolic paraboloid has two families of skew lines in each of the two families the lines are parallel to a common plane although not to each other Any three skew lines in R3 lie on exactly one ruled surface of one of these types Gallucci s theorem If three skew lines all meet three other skew lines any transversal of the first set of three meets any transversal of the second set Skew flats in higher dimensionsIn higher dimensional space a flat of dimension k is referred to as a k flat Thus a line may also be called a 1 flat Generalizing the concept of skew lines to d dimensional space an i flat and a j flat may be skew if i j lt d As with lines in 3 space skew flats are those that are neither parallel nor intersect In affine d space two flats of any dimension may be parallel However in projective space parallelism does not exist two flats must either intersect or be skew Let I be the set of points on an i flat and let J be the set of points on a j flat In projective d space if i j d then the intersection of I and J must contain a i j d flat A 0 flat is a point In either geometry if I and J intersect at a k flat for k 0 then the points of I J determine a i j k flat See alsoDistance between two parallel lines Petersen Morley theoremReferencesWeisstein Eric W Line Line Distance MathWorld Viro Julia Drobotukhina Viro Oleg 1990 Configurations of skew lines PDF Leningrad Math J in Russian 1 4 1027 1050 archived from the original PDF on 2021 11 09 retrieved 2006 10 24 Revised version in English arXiv math GT 0611374 Hilbert David Cohn Vossen Stephan 1952 Geometry and the Imagination 2nd ed Chelsea pp 13 17 ISBN 0 8284 1087 9 Coxeter H S M 1969 Introduction to Geometry 2nd ed John Wiley amp Sons p 257 G Gallucci 1906 Studio della figura delle otto rette e sue applicazioni alla geometria del tetraedro ed alla teoria della configurazioni Rendiconto dell Accademia della Scienza Fisiche e Matematiche 3rd series 12 49 79 DuPre Arthur M Kass Seymour 1992 07 01 Distance and Parallelism Between Flats in R n pdf p 9 doi 10 1016 0024 3795 92 90252 6 Retrieved 2025 01 30 External linksWeisstein Eric W Skew Lines MathWorld