Line Segment Example in Geometry

Charles Jul 17, 2026

A line segment, a fundamental concept in geometry, is a straight line with two distinct end points. Unlike a line, it has a definite length and extends indefinitely in both directions. Let's dive into the world of line segments, understanding them through examples and their diverse applications in geometry.

lines, lines and rays worksheet for students to learn how to draw them
lines, lines and rays worksheet for students to learn how to draw them

Line segments are ubiquitous in our daily life, from measuring tools to graphics and computer design. They are the building blocks of shapes and forms, serving as edges of polygons and paths in diagrams. But before we explore these applications, let's solidify our understanding of line segments with some foundational examples.

Lines, Line Segments, and Rays Game | Game | Education.com
Lines, Line Segments, and Rays Game | Game | Education.com

Identifying Line Segments

In geometry classes, we often use drawings or diagrams to illustrate line segments. As the name suggests, a line segment is a part of a line that connects two points. Here's a simple example:

an image of a geometric design with lines in the middle and one line at the top
an image of a geometric design with lines in the middle and one line at the top

"Draw a line segment with end points A (2, 3) and B (6, 5) on a Cartesian plane.", you might be asked. This line segment, AB, is defined by these two specific points, and is distinct from other potential line segments with different endpoints or lengths.

Defining a Line Segment

different angles and their corresponding lines
different angles and their corresponding lines

Mathematically, a line segment joining two points, say P(x1, y1) and Q(x2, y2), can be defined as the set of all points (x, y) such that x satisfies the equation of the straight line passing through P and Q, and y also satisfies the same equation.

For instance, the equation of a line through P and Q can be written as 'y - y1 = (y2 - y1) / (x2 - x1) * (x - x1)', provided the points are not on the same vertical line (x2 ≠ x1). Replacing 'y' with this expression gives you the equation of the line segment PQ.

Order of Endpoints Matters

Lines, Rays, and Line Segments Worksheets for 4th Grade Geometry Practice
Lines, Rays, and Line Segments Worksheets for 4th Grade Geometry Practice

In geometry, the order of the endpoints of a line segment is crucial. A line segment with endpoints A and B is not the same as that with endpoints B and A. These two line segments are opposites or reflections of each other across the midpoint of AB.

This order dictates the direction of the line segment. A line segment with endpoints (1, 2) and (5, 6)reads from left to right, while the segment with endpoints (5, 6) and (1, 2) reads from right to left.

Line Segment Properties

High School Geometry | Template Business
High School Geometry | Template Business

Now that we've discussed the definition and examples of line segments, let's look at some of their key properties:

Line segments are: 1. Discrete with two distinct endpoints, 2. Non-Collinear - they are not on the same line as their endpoints, and 3. Ordered - the order of their endpoints matters.

Lines, segments and rays | K5 Learning
Lines, segments and rays | K5 Learning
FREE Math Teaching Resources Taster Pack
FREE Math Teaching Resources Taster Pack
The Perpendicular Bisector of a Line Segment Worksheet (10Q)
The Perpendicular Bisector of a Line Segment Worksheet (10Q)
the worksheet for identifying lines and shapes
the worksheet for identifying lines and shapes
Lines, Rays and Line Segments Worksheets
Lines, Rays and Line Segments Worksheets
Midsegment of a Triangle
Midsegment of a Triangle
Geometry Vocabulary for Grade 4 📐 | Point, Ray, Line, Line segment,Parallel & Perpendicular Lines
Geometry Vocabulary for Grade 4 📐 | Point, Ray, Line, Line segment,Parallel & Perpendicular Lines
4th Grade Resources!!!
4th Grade Resources!!!
Points, Lines, Line segments, Rays and Planes Worksheets & Homework (Geometry )
Points, Lines, Line segments, Rays and Planes Worksheets & Homework (Geometry )

Length of a Line Segment

The length of a line segment, denoted by '|PQ|' or 'PQ', is the distance between its endpoints P and Q. It can be calculated using the distance formula: '√[(x2 - x1)² + (y2 - y1)²]'.

For instance, the length of the line segment P(1, 2) to Q(5, 6) is '√[(5 - 1)² + (6 - 2)²] = √[16 + 16] = 4√2 units'.

Midpoint of a Line Segment

The midpoint of a line segment is the point exactly in the middle of the line segment. Mathematically, if P(x1, y1) and Q(x2, y2) are the endpoints of a line segment, then its midpoint M is M((x1 + x2)/2, (y1 + y2)/2).

This property is used frequently in geometry problems, such as finding a third vertex of a triangle given the midpoint of one side and another vertex.

Line segments are the cornerstones of geometry, wielded by draftsmen, architects, and mathematicians alike. As we've explored in this article, they are defined by their endpoints, possess unique properties, and are vital to the understanding of many other geometric concepts.