Ray (Coordinate Geometry)

Definition: A line which starts at a point with given coordinates, and goes off in a particular direction to infinity, possibly through a second point.
Try this Adjust the ray below by dragging an orange dot and see how the ray AB behaves. You can also drag the origin point at (0,0).

A ray is a line that starts at a given point and goes off for ever in some direction. It may pass through another point as it does so. This is the same as the definition of a Ray in ordinary plane geometry, the only difference being that we know the coordinates of the points involved. The naming conventions are also the same.

Things to try

  1. In the above diagram, press reset. The ray AB has an endpoint A at (53,7) and passes through point B at (53,20) on its way to infinity.
  2. Drag A, B or the origin point and construct various other rays to get a feel for the concept.

See also the definition of a Ray in plane geometry.

While you are here..

... I have a small favor to ask. Over the years we have used advertising to support the site so it can remain free for everyone. However, advertising revenue is falling and I have always hated the ads. So, would you go to Patreon and become a patron of the site? When we reach the goal I will remove all advertising from the site.

It only takes a minute and any amount would be greatly appreciated. Thank you for considering it!   – John Page

Become a patron of the site at

Other Coordinate Geometry topics