Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store

Line Segment – Definition, Formula, Properties & Examples

Reviewed by:
ffImage
hightlight icon
highlight icon
highlight icon
share icon
copy icon
SearchIcon

What is the Difference Between a Line, Ray, and Line Segment?



The concept of line segment plays a key role in mathematics and is widely applicable to both real-life situations and exam scenarios.


What Is a Line Segment?

A line segment is defined as a part of a straight line that is enclosed between two fixed points, called endpoints. It is different from a line (which goes on forever), and a ray (which has one endpoint and keeps going in one direction). A line segment has a definite length and can be measured. You’ll find this concept applied in geometry, coordinate systems, polygons, and even in real-world objects (like the edge of a ruler or the side of a book).


Line Segment vs Line vs Ray

Feature Line Line Segment Ray
Length Infinite Finite, measurable Infinite (in one direction)
Endpoints No endpoints 2 endpoints 1 endpoint
Symbol AB (with arrows on both ends) AB̅ or \(\overline{AB}\) \(\overrightarrow{AB}\)
Example Road without end Edge of a ruler Sun’s ray

Line Segment Symbol and Naming

A line segment is named by its endpoints. For example, the segment joining point A to point B is written as AB̅ or \(\overline{AB}\). The bar above the letters shows it is a segment, not a line or ray.

  • Common symbols: AB̅, CD̅, or \(\overline{PQ}\)
  • Order of letters does not matter: \(\overline{AB}\) = \(\overline{BA}\)

Properties of Line Segments

  • Has a fixed and measurable length
  • Starts and ends at two distinct points (endpoints)
  • Can be drawn, measured, and compared
  • Forms the sides of polygons (triangles, rectangles, etc.)

Key Formula for Line Segment

When the coordinates of both endpoints are known, the length of a line segment can be determined using the distance formula:
\( \text{Length} = \sqrt{(x_{2} - x_{1})^2 + (y_{2} - y_{1})^2} \)
where (\(x_1, y_1\)) and (\(x_2, y_2\)) are the coordinates of the endpoints.


Cross-Disciplinary Usage

Line segments are important not just in Maths but also in Physics (for measuring distances and vectors), Computer Graphics (designing shapes), Engineering (construction drawing), and daily logical reasoning. Students preparing for JEE, NEET, or school olympiads will find this concept useful in various types of questions.


How to Measure a Line Segment

  1. Place a ruler so that its zero mark aligns exactly with one endpoint of the segment.
  2. Read the value on the ruler where the other endpoint falls—this is the segment’s length.
  3. Record the length using the correct units (cm, mm, inches, etc.).

For maximum accuracy, use a divider along with the ruler. Put one leg of the divider at the first endpoint and the other at the second endpoint, then compare against the ruler scale.


Step-by-Step Illustration: Example Problem

Let’s find the length of a line segment joining P(3, 4) and Q(2, 0):

1. List coordinates: \( x_1 = 3,\, y_1 = 4;\, x_2 = 2,\, y_2 = 0 \)

2. Use the formula: \( \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2} \)

3. Substitute values: \( \sqrt{(2-3)^2 + (0-4)^2} = \sqrt{(-1)^2 + (-4)^2} \)

4. Calculate: \( \sqrt{1 + 16} = \sqrt{17} \approx 4.12 \) units

Final Answer: The segment PQ has length ≈ 4.12 units.

Line Segment in Figures and Real Life

  • Sides of a triangle (AB, BC, CA)
  • Edges of a rectangle or polygon
  • Ruler’s edge
  • Border of a book, mobile screen, or table top
  • Road between two cities (on a simplified map)

Try These Yourself

  • Draw a line segment of 8 cm using a ruler and label its endpoints.
  • Find the length of the line segment joining (1, 2) and (5, 5).
  • Name all line segments that can be formed from the vertices of a square.
  • Draw and distinguish between a line, a ray, and a line segment in your notebook.

Frequent Errors and Misunderstandings

  • Confusing a line segment with a line or a ray
  • Measuring from the ruler’s edge rather than the zero mark
  • Misnaming segments (not showing the line over the name)
  • Forgetting units when writing the segment’s length

Relation to Other Concepts

The idea of a line segment is closely connected to topics like points, lines, and planes in geometry, types of angles, and polygons and triangles. Understanding line segments well will help you master area, perimeter, and even basics of coordinate geometry.


Classroom Tip

To quickly remember what a line segment is, think of a stick that starts and ends at two points. Vedantu’s teachers often use simple diagrams and ruler demonstrations during live classes for better understanding.


Quick Revision Table Line Line Segment Ray
Symbol AB (↔) AB̅ \(\overrightarrow{AB}\)
Length Not measurable Measurable Not measurable
Endpoints No Yes (2) Yes (1)

Wrapping It All Up

We explored line segment—from its definition, properties, formula, examples, and connections to other concepts. Remember, practice and visual understanding make this topic simple! For more related topics, live study help, and expert-led explanations, keep learning with Vedantu.


Useful Internal Links


FAQs on Line Segment – Definition, Formula, Properties & Examples

1. What is a line segment in Maths?

A line segment in Maths is a part of a straight line that is bounded by two distinct endpoints. Unlike a line, which extends infinitely in both directions, a line segment has a definite, measurable length.

2. How do you represent a line segment symbolically?

A line segment is symbolically represented by naming its two endpoints with an overline. For example, a line segment with endpoints A and B is written as   AB or  ‾AB‾.

3. How is a line segment different from a line and a ray?

The key differences are summarized below:

  • Line: Extends infinitely in both directions; has no endpoints; cannot be measured.
  • Line Segment: Has two definite endpoints; has a measurable length.
  • Ray: Has one endpoint and extends infinitely in one direction; cannot be measured.

4. What is the formula for finding the length of a line segment in coordinate geometry?

The distance formula is used to calculate the length of a line segment given the coordinates of its endpoints. If the endpoints are (x1, y1) and (x2, y2), the length is given by: D = √[(x2 - x1)² + (y2 - y1)²]

5. Give two real-life examples of a line segment.

Examples include: the edge of a book, a pencil, or the side of a table. These all represent finite, measurable lengths.

6. How do you measure a line segment using a ruler?

To measure a line segment with a ruler:

  1. Align the zero mark of the ruler with one endpoint of the line segment.
  2. Note the measurement on the ruler corresponding to the other endpoint of the line segment. This value represents the length of the line segment.

7. Can a line segment have more than two endpoints?

No, by definition, a line segment is defined by exactly two endpoints. Adding more endpoints would create multiple line segments.

8. What is the midpoint of a line segment?

The midpoint of a line segment is the point that divides the segment into two equal parts. Its coordinates are the average of the coordinates of the endpoints.

9. How are line segments used in the construction of polygons?

Polygons are closed two-dimensional shapes formed by joining line segments end-to-end. The line segments form the sides of the polygon.

10. What happens if you extend a line segment at one or both ends?

Extending a line segment at one end creates a ray. Extending it at both ends creates a line. The original line segment is then considered a part of the larger line or ray.

11. Is every diameter or edge in geometry a line segment?

Yes, in geometry, a diameter of a circle and an edge of a polygon are both examples of line segments because they are straight lines with two defined endpoints and a measurable length.

12. How can I compare the lengths of two line segments?

You can compare the lengths of two line segments using a ruler, a compass, or by directly comparing their lengths visually (though this method is less precise). The most accurate method is to measure each segment with a ruler and compare the numerical values obtained.