Lably
Skip to content

Line segment

Part of a straight line that is bounded by two distinct end points

  • 6 min read
  • 8 chapters

Related on Lably

Through Geometry, Line (geometry) and Point (geometry)

Examples of line segments include the sides of a triangle or square. More generally, when both of the segment's end points are vertices of a polygon or polyhedron, the line segment is either an edge (of that polygon or polyhedron) if they are adjacent vertices, or 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

If V is a vector space over ⁠R⁠ or ⁠C,⁠ and L is a subset of V, then L is a line segment if L can be parameterized as

L={u+tv∣t∈[0,1]}

for some vectors u,v∈V where v is nonzero. The endpoints of L are then the vectors u and u + v.

Sometimes, one needs to distinguish between "open" and "closed" line segments. In this case, one would define a closed line segment as above, and an open line segment as a subset L that can be parametrized as

L={u+tv∣t∈(0,1)}

for some vectors u,v∈V.

Equivalently, a line segment is the convex hull of two points. Thus, the line segment can be expressed as a convex combination of the segment's two end points.

In geometry, one might define point B to be between two other points A and C, if the distance |AB| added to the distance |BC| is equal to the distance |AC|. Thus in ⁠R2,⁠ the line segment with endpoints A=(ax,ay) and C=(cx,cy) is the following collection of points:

{(x,y)∣(x−cx)2+(y−cy)2+(x−ax)2+(y−ay)2=(cx−ax)2+(cy−ay)2}.

Sign in to keep reading

7 more chapters are free with a Lably account.

More in Geometry