Lines, Line Segments and Rays
Lines, line segments, and rays are the basic building blocks of geometry. Every shape you see — triangles, rectangles, circles — is made up of these elements.
In Class 5, you will learn to identify, name, and differentiate between a line, a line segment, and a ray. You will also learn about their properties and how they appear in the world around us.
Understanding these concepts is essential before studying angles, triangles, and other geometric figures.
What is Lines, Line Segments and Rays - Class 5 Maths (Geometry)?
Line: A line is a straight path that extends endlessly in both directions. It has no endpoints. It is represented with arrows on both ends.
Notation: A line through points A and B is written as AB (with a double-arrow above it, or written as "line AB").
Line Segment: A line segment is a part of a line that has two definite endpoints. It has a fixed length that can be measured.
Notation: A line segment with endpoints P and Q is written as PQ (with a bar above it, or "segment PQ").
Ray: A ray starts at one point (called the starting point or endpoint) and extends endlessly in one direction. It has one endpoint and one arrow.
Notation: A ray starting at point O and passing through A is written as OA (with a single arrow above it, or "ray OA"). The starting point is always written first.
Lines, Line Segments and Rays Formula
Line = No endpoints, extends both ways (infinite length)
Line Segment = Two endpoints, fixed length
Ray = One endpoint, extends one way (infinite in one direction)
Comparison Table:
| Property | Line | Line Segment | Ray |
|---|---|---|---|
| Endpoints | None | Two | One (starting point) |
| Length | Infinite (cannot be measured) | Fixed (can be measured) | Infinite in one direction |
| Symbol at ends | Arrows on both sides | Dots on both sides | Dot on one end, arrow on other |
| Representation | ←——→ | ●——● | ●——→ |
Types and Properties
- Straight line: Goes in one direction without bending.
- Curved line: Bends and changes direction (not part of this topic).
Special relationships between lines:
- Parallel lines: Two lines that never meet, no matter how far they are extended. They are always the same distance apart. Example: railway tracks.
- Intersecting lines: Two lines that cross each other at one point. The point where they meet is called the point of intersection.
- Perpendicular lines: Two lines that intersect at a right angle (90°). Example: the corner of a book.
Naming conventions:
- Lines are named using any two points on them: line AB or line PQ.
- Line segments are named by their endpoints: segment CD.
- Rays are named with the starting point first: ray OA (starts at O, passes through A).
Solved Examples
Example 1: Identifying a Line, Segment, and Ray
Problem: Look at the three figures below and identify each:
←———A————B———→
C●————————●D
E●————————→F
Solution:
Step 1: The first figure has arrows on both ends → Line AB
Step 2: The second figure has two endpoints (dots) → Line Segment CD
Step 3: The third figure has one endpoint and one arrow → Ray EF
Answer: Line AB, Line Segment CD, and Ray EF.
Example 2: Measuring a Line Segment
Problem: Measure the line segment PQ if P is at 0 cm and Q is at 7.5 cm on a ruler.
Solution:
Step 1: Length of PQ = Position of Q − Position of P
Step 2: Length = 7.5 − 0 = 7.5 cm
Answer: Line segment PQ = 7.5 cm
Example 3: Naming a Ray Correctly
Problem: A ray starts at point M and passes through point N. How do we name it?
Solution:
Step 1: The starting point of a ray is always written first.
Step 2: The ray starts at M and goes through N.
Answer: It is named Ray MN (not Ray NM, because M is the starting point).
Example 4: Real-Life Example — Line
Problem: Give a real-life example of a line.
Solution:
Step 1: A line extends infinitely in both directions.
Step 2: In real life, nothing truly extends forever, but we imagine it.
Step 3: A straight road that stretches as far as you can see in both directions represents a line.
Answer: A straight road, railway track (imagined to go on forever), or a laser beam pointing both ways represent lines.
Example 5: Real-Life Example — Line Segment
Problem: Give three real-life examples of a line segment.
Solution:
A line segment has two fixed endpoints and a measurable length.
- The edge of a ruler
- The side of a cricket pitch boundary
- The edge of a book
Answer: The edge of a ruler, the side of a cricket pitch, and the edge of a book are all line segments.
Example 6: Real-Life Example — Ray
Problem: Give real-life examples of a ray.
Solution:
A ray has one fixed starting point and extends endlessly in one direction.
- A torch beam: starts at the torch and extends outward
- Sun rays: start at the sun and travel outward
- An arrow shot from a bow: starts at the bow and goes forward
Answer: Torch light, sunlight, and a shot arrow represent rays.
Example 7: How Many Line Segments in a Triangle?
Problem: How many line segments form a triangle?
Solution:
Step 1: A triangle has 3 sides.
Step 2: Each side is a line segment (it has two endpoints — the vertices).
Answer: A triangle is formed by 3 line segments.
Example 8: Counting Line Segments Between Points
Problem: Three points A, B, and C are on a line (not in a straight line — they form a triangle). How many line segments can be drawn?
Solution:
Step 1: List all possible pairs: AB, BC, AC
Step 2: Each pair forms one line segment.
Step 3: Total = 3 line segments
Answer: 3 line segments can be drawn: AB, BC, and AC.
Example 9: Difference Between Ray AB and Ray BA
Problem: Are Ray AB and Ray BA the same?
Solution:
Step 1: Ray AB starts at point A and extends through B and beyond.
Step 2: Ray BA starts at point B and extends through A and beyond.
Step 3: They go in opposite directions.
Answer: No, Ray AB and Ray BA are different rays. They have different starting points and extend in opposite directions.
Example 10: Word Problem — School Fence
Problem: Dev's school playground is rectangular. Aman walks along one side that is 50 m long. What geometric figure does the side of the playground represent?
Solution:
Step 1: The side has a definite start point and end point (two corners of the rectangle).
Step 2: Its length is 50 m — a fixed, measurable distance.
Step 3: A path with two endpoints and fixed length = line segment.
Answer: The side of the playground is a line segment of 50 m.
Real-World Applications
Where do we see lines, line segments, and rays?
- Lines: The horizon (appears to extend both ways), latitude and longitude lines on a globe.
- Line Segments: Edges of a table, sides of a book, boundary of a cricket pitch, the hands of a clock at any moment.
- Rays: Torch light, sunlight, laser pointers, arrows.
- In geometry: Triangles, rectangles, and all polygons are made of line segments. Angles are formed by two rays with a common endpoint.
- Maps: Roads between two cities are represented as line segments. A highway extending in one direction from a city is like a ray.
Key Points to Remember
- A line extends infinitely in both directions and has no endpoints.
- A line segment has two endpoints and a definite, measurable length.
- A ray has one starting point and extends infinitely in one direction.
- A line segment is part of a line. A ray is also part of a line.
- When naming a ray, always write the starting point first (Ray PQ means P is the start).
- Ray AB and Ray BA are different — they point in opposite directions.
- An angle is formed when two rays share a common starting point (vertex).
- Parallel lines never meet. Perpendicular lines meet at 90°.
Practice Problems
- Define a line, a line segment, and a ray in your own words.
- A ray starts at point X and passes through point Y. Write its name.
- How many line segments are in a rectangle?
- Give two real-life examples each for a line, a line segment, and a ray.
- Are Ray PQ and Ray QP the same? Explain.
- Four points A, B, C, D are such that no three are on the same line. How many line segments can be drawn joining them?
- Identify the line, line segment, and ray: (a) edge of a desk, (b) laser beam from one end, (c) a straight road stretching in both directions.
- How many rays can be drawn from a single point?
Frequently Asked Questions
Q1. What is the difference between a line and a line segment?
A line has no endpoints and extends infinitely in both directions. A line segment has two endpoints and a fixed, measurable length. A line segment is a part of a line.
Q2. What is the difference between a ray and a line segment?
A ray has one endpoint (starting point) and extends infinitely in one direction. A line segment has two endpoints and a fixed length. A ray is longer than any line segment because it goes on forever.
Q3. Can we measure a line?
No. A line extends infinitely in both directions, so its length is infinite and cannot be measured. Only a line segment has a measurable length.
Q4. Why is the starting point written first when naming a ray?
The starting point (endpoint) tells where the ray begins. Writing it first makes it clear which direction the ray goes. Ray AB starts at A and goes through B, while Ray BA starts at B and goes through A — they are different.
Q5. How many line segments can be drawn through two points?
Exactly one. Two points determine one unique line segment. However, infinite lines can pass through a single point.
Q6. What is a point?
A point is an exact position or location. It has no length, width, or height. It is represented by a dot and named with a capital letter (e.g., point A). Points are used to define lines, segments, and rays.
Q7. How are angles related to rays?
An angle is formed by two rays that share a common starting point (called the vertex). The two rays are the arms of the angle. For example, Ray OA and Ray OB starting at point O form angle AOB.
Q8. What are collinear points?
Collinear points are points that lie on the same straight line. For example, if points A, B, and C all lie on the same line, they are collinear.
Q9. How many rays can be drawn from a single point?
Infinite rays can be drawn from a single point, because the ray can extend in any direction — up, down, left, right, or at any angle.
Q10. Do two lines always intersect?
No. If two lines are parallel, they never intersect — they stay the same distance apart forever. Lines that are not parallel will eventually intersect at exactly one point.










