In geometry, a line segment is a part of a line that is bounded by two distinct end points, and contains every point on the line between its end points. Examples of line segments include the sides of a triangle or square. More generally, when the end points are both vertices of a polygon, the line segment is either an edge (of that polygon) if they are adjacent vertices, or otherwise a diagonal. When the end points both lie on a curve such as a circle, a line segment is called a chord (of that curve).
In real or complex vector spaces
for some vectors , in which case the vectors u and u + v are called the end points of L.
Sometimes one needs to distinguish between "open" and "closed" line segments. Then one defines a closed line segment as above, and an open line segment as a subset L that can be parametrized as
for some vectors .
In geometry, it is sometimes defined that a point B is between two other points A and C, if the distance AB added to the distance BC is equal to the distance AC. Thus in the line segment with endpoints A = (ax, ay) and C = (cx, cy) is the following collection of points:
- A line segment is a connected, non-empty set.
- If V is a topological vector space, then a closed line segment is a closed set in V. However, an open line segment is an open set in V if and only if V is one-dimensional.
- More generally than above, the concept of a line segment can be defined in an ordered geometry.
In an axiomatic treatment of geometry, the notion of betweenness is either assumed to satisfy a certain number of axioms, or else be defined in terms of an isometry of a line (used as a coordinate system).
Segments play an important role in other theories. For example, a set is convex if the segment that joins any two points of the set is contained in the set. This is important because it transforms some of the analysis of convex sets to the analysis of a line segment.
As a degenerate ellipse
A line segment can be viewed as a degenerate case of an ellipse in which the semiminor axis goes to zero, the foci go to the endpoints, and the eccentricity goes to one. As a degenerate orbit this is a radial elliptic trajectory.
- Interval (mathematics)
- Line (geometry)
- Line segment intersection, the algorithmic problem of finding intersecting pairs in a collection of line segments
- David Hilbert: The Foundations of Geometry. The Open Court Publishing Company 1950, p. 4
|Wikimedia Commons has media related to Line segment.|
|Look up line segment in Wiktionary, the free dictionary.|
- Line Segment at PlanetMath
- Definition of line segment With interactive animation
- Copying a line segment with compass and straightedge
- Dividing a line segment into N equal parts with compass and straightedge Animated demonstration