Difference Between Ray, Line and Line Segment — With Diagrams

easy CBSE NCERT Class 6 Chapter 4 4 min read

Difference Between Ray, Line and Line Segment

Question

What is the difference between a ray, a line, and a line segment? Give real-life examples of each.

Solution — Step by Step

All three — ray, line, and line segment — are straight. The key difference is about endpoints and length.

Step 1: Line Segment

A line segment is a straight path between two fixed points. It has:

  • Two endpoints (a definite start and a definite end)
  • A measurable length (we can measure it with a ruler)
  • It does not extend beyond either endpoint

Name: We call it by its two endpoints. The segment from A to B is called AB.

Real-life examples:

  • The edge of a ruler
  • A side of your notebook
  • A length of rope stretched between two poles
  • The boundary lines of a football field

Step 2: Ray

A ray is a straight path that starts at one fixed point and extends infinitely in one direction. It has:

  • One endpoint (called the starting point or initial point)
  • It extends infinitely in one direction only
  • It has no definite length (it goes on forever)

Name: We name a ray by its starting point first, then any other point it passes through. Ray starting at A and passing through B is called Ray AB.

Real-life examples:

  • A torch or flashlight beam (starts at the bulb, goes forward indefinitely)
  • A laser pointer beam
  • A sunbeam entering a room through a window
  • The path of a ball that is thrown and never stops

Step 3: Line

A line is a straight path that extends infinitely in both directions. It has:

  • No endpoints at all
  • It extends infinitely to the left and right
  • It has no definite length

Name: We name a line by any two points on it. The line through P and Q is called line PQ. We can also call it line l.

Real-life examples:

  • The horizon (the line where the sky meets the sea or land — it stretches in both directions)
  • Imagining a railway track extended forever in both directions
  • The x-axis or y-axis on a graph

Line Segment AB: A ——————— B (Two endpoints, finite length)

Ray AB: A ——————— B ————→ (One endpoint at A, extends forever beyond B)

Line PQ: ←——————— P ——— Q ———————→ (No endpoints, extends forever both ways)

Summary Table

FeatureLine SegmentRayLine
Number of endpoints210
Extends infinitelyNoOne directionBoth directions
Can be measuredYesNoNo
ExampleEdge of bookTorch beamHorizon

Why This Works

Think of it as a spectrum:

  • A line segment is the most “bounded” — it has two ends and a fixed length.
  • A ray is “half-bounded” — it has one fixed end but goes on forever in one direction.
  • A line is completely “unbounded” — no fixed ends, extends forever in both directions.

A ray is like half a line. If you start at a point and draw in both directions, you get a line. If you draw in only one direction, you get a ray. If you draw a piece between two points, you get a line segment.

Here is a simple way to remember: think of the word “ray” — like a ray of sunshine from the sun. The sun is the starting point (one endpoint), and the ray goes on forever. A line segment is like a piece of string — it has two ends. A line is like the equator on a globe — it wraps around (conceptually it has no ends).

Common Mistake

Mistake 1: Saying ray AB and ray BA are the same. They are NOT the same. Ray AB starts at A and goes past B and beyond. Ray BA starts at B and goes past A and beyond. They point in opposite directions!

Mistake 2: Saying a line has two endpoints “very far away.” A line has NO endpoints. We draw arrows at both ends of a line to show it extends forever. If something has two endpoints, it is a line segment, no matter how long.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next