Points, Lines, Line Segments and Rays: Definitions and Examples
A point names an exact position in space. A line extends without end in both directions, a line segment has two endpoints and a fixed length, and a ray starts at one endpoint and extends forever in one direction. Arrow marks and endpoint dots show which object is being represented.
You have likely seen number lines, which use a straight line with arrowheads to place mathematical values in order. In geometry, points, lines, line segments and rays form the basic building blocks of all mathematical figures.
What are points, lines, line segments and rays?
Each of these foundational geometric objects has a specific definition and mathematical purpose.
- Point: A point is an exact mathematical location. It has no length, width, or thickness. We represent it with a single dot and name it with a capital letter, such as point .
- Line: What is a line in geometry? A line is a perfectly straight path that extends infinitely in both opposite directions. It has no thickness and no endpoints.
- Line Segment: A line segment is a bounded part of a line. Because it connects two fixed endpoints, it has a definite, measurable length.
- Ray: A ray is a part of a line that begins at one single endpoint and extends forever in one direction.

Compare endpoints and direction
The most important difference between a line, a line segment and ray is the number of endpoints. An endpoint fixes the geometric object in place, while an arrowhead shows that the path continues forever.

Use geometry names and symbols
Geometry line symbols help us write mathematical names clearly and quickly. When naming these objects, we use the capital letters of their points and draw a small matching symbol above them.
- Lines: Use any two points on the line. A line passing through and is written as or .
- Line Segments: Use the two fixed endpoints. A line segment bounded by and is written as or .
- Rays: The order of the letters changes a ray's direction! Always write the endpoint first. A ray starting at and passing through must be written as .
Find the objects in diagrams
In complex diagrams, you will often see lines crossing each other. You can find multiple line segments and rays hidden inside a single straight line.

When lines cross, they form intersecting lines. Lines that intersect at exact right angles, or lines that never intersect at all, are studied together as parallel and perpendicular lines. A single straight line containing three points , , and contains the line , the line segments , , and , and rays such as and .
Use objects to build shapes and angles
Points, lines, line segments and rays connect to form more complex mathematical structures.
- Angles: When two rays share the exact same endpoint, they form an angle. The shared endpoint becomes the vertex. You will explore this relationship more deeply when you study angles in geometry.
- Shapes: When three or more line segments connect end-to-end to close a completely flat space, they form two-dimensional shapes such as triangles, squares, and pentagons.

Worked examples
Practicing with specific examples helps clarify the differences between these geometric objects.
Example 1: Matching real objects to mathematical models
Question: Which geometric object best models the straight edge of a ruler, and why?
Method:
- Identify the properties of the real object.
- The edge of a ruler has a starting corner and an ending corner.
- Match these properties to the geometric definitions. An object with two fixed ends is a line segment.
Answer: A line segment, because it has a fixed length and two endpoints.
Check: A line and a ray extend forever, but a ruler has a measurable length. The line segment is the correct model.
Example 2: Naming rays correctly
Question: A ray starts at point , passes through point , and continues forever. How must it be written using geometry line symbols?
Method:
- Identify the single endpoint of the ray. The fixed starting point is .
- Identify the direction point. The ray passes through .
- Write the endpoint first, then the direction point, and place a right-pointing arrow symbol above them.
Answer: .
Check: Reversing the letters to would describe a ray starting at and passing through , which points in the opposite direction.
Example 3: Identifying objects in a diagram

Question: In the diagram above, identify one line, one line segment, and one ray using correct symbols.
Method:
- Find a straight path with arrows on both ends. The path through and extends infinitely in both directions.
- Find a path bounded by two points. The section directly between and has two endpoints.
- Find a path starting at one point and extending infinitely. The path starting at and passing through has one arrow.
Answer: One line is . One line segment is . One ray is .
Check: The symbol has two arrows, is finite, and has one endpoint at and one arrow. The definitions match the drawn diagram perfectly.
Common mistakes
Watch out for these common errors when drawing and naming geometric figures.
- Confusing a line with a line segment: A line extends forever, but a line segment has a fixed length. You cannot measure the length of a line.
- Ignoring the order of letters in a ray: The ray and the ray are not the same object. Always name the single starting endpoint first.
- Leaving off the arrows: When drawing a line or a ray, you must draw the arrowheads. Without arrowheads, the figure you have drawn is only a line segment.
Frequently asked questions
These answers resolve common questions about foundational geometric objects.
What is a line in geometry?
A line is a perfectly straight, one-dimensional path that extends infinitely in opposite directions. Because it never ends, it cannot be measured and has no fixed length.
Can a line segment and ray be part of the same line?
Yes. A single line contains infinitely many line segments and rays. Any two points on a line form a line segment, and any single point on a line can serve as the exact endpoint for a ray.
How are points used on a coordinate plane?
On a coordinate grid, a point names an exact mathematical location using an ordered pair of numbers, such as . Points placed on a grid can be connected to draw line segments and shapes.
Practice questions

Which geometric object is shown in the image above?
How many endpoints does a line segment have?
Infinite
If you draw a straight mathematical path that starts at point and passes through point without ever stopping, what have you drawn?
Line
Line segment
Ray
Ray
Ray
A student draws a line passing through points and , but forgets to draw the arrowheads on the ends. What geometric object has the student actually drawn?
A point
A line
A line segment
A ray
A line segment

How many distinct line segments can be named using only the three points , , and shown on the straight line above?
