If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Interactive graph article

Excerpt from "lines, line segments, and rays review". Includes INTERACTIVE GRAPH widget only. 

What are lines and line segments and rays?

A line extends forever in both directions, like this:
A line segment is just part of a line. It has two endpoints, like this:
A ray starts at one point and continues on forever in one direction, like this:
Want to learn more about lines, line segments, and rays? Check out this video.
Drag the lines so one line goes through points A and D, and the other line goes through points B and C.

Want to join the conversation?