Ray
Definition: A line which starts at a point and goes off in a particular direction to infinity.
Try this Adjust the ray below by dragging an orange dot and see how the ray AB behaves. Point A is the ray's endpoint.
(If there is no image below, see support page.)
Flashlight showing light rays going off into the distance forever
Light rays go off
into the distance


One way to think of a ray is a line with only one end. A ray starts at a given point and goes off in a certain direction for ever, to infinity. The point where the ray starts is called (confusingly) the endpoint.

On its way to infinity it may pass through one or more other points. In the figure above, the ray starts at A and also passes through B.

Drawing a ray

You can draw a ray as a line that just goes off the edge of the page, as in the figure above. More commonly it shown as a line with an arrow head on one end as shown below. The arrow head means that the line goes off to infinity in that direction.
A ray, shown as as a line starting at a point with an arrow head indicating its continuation to infinity

Naming of rays

Rays are commonly named in two ways:
  1. By two points.
    In the figure at the top of the page, the ray would be called AB because starts at point A and passes through B on it's way to infinity. Recall that points are usually labelled with single upper-case (capital) letters. There is a symbol for this which looks like this: 
    AB
       This is read as "ray AB".  The arrow over the two letters indicates it is a ray, and the arrow direction indicates that A is the point where the ray starts.
  2. By a single letter.
    The ray above would be called simply "q". By convention, this is usually a single lower case (small) letter. This is normally used when the ray does not pass through another point.

Coordinate Geometry

In another branch of mathematics called coordinate geometry, the points that define a ray are located on the plane using their coordinates - two numbers that show where the point is positioned.
For more on this, see Ray definition (Coordinate Geometry).

Other line topics