
In geometry, a line segment is a part of a line that is bounded by two 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).
If
V
R
C
L
V,
L
L
L=\{u+tv\midt\in[0,1]\}
for some vectors
u,v\inV
u
u+v
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
L=\{u+tv\midt\in(0,1)\}
for some vectors
u,v\inV
An alternative, equivalent, definition is as follows: A (closed) line segment is a convex hull of two points.
V
V.
V
V
In geometry, the segment addition postulate states that if B is between A and C, then segment AB + segment BC = segment AC.
----