What is the difference between a ray and a line segment?

Answer 1

John Bishop

A ray is a part of a line that starts at a specific point and extends infinitely in one direction. In contrast, a line segment is a part of a line that is bounded by two distinct end points, having a definite length. Thus, a ray has one endpoint and extends infinitely, while a line segment has two endpoints and a finite length.