A ray is a part of a line that begins at a particular point (called the endpoint) and extends endlessly in one direction. A ray is also called half-line.

A ray is named based on the direction in which it extends.
A ray is named with its endpoint in the first place, followed by the direction in which its moving.
In the example shown below, P is the endpoint and Q is the point towards which the ray extends. So, the ray PQ is represented as:

Look at another example. This ray will be called QP as it starts at Q and extends towards P. So, the ray QP is represented as:


Step 1: The definition of a ray states that "A ray is a part of a line that begins at a particular point (called the endpoint) and extends endlessly in one direction."
Step 2: As per the defition of a ray, among the figures given only Figure 2 represents a ray
Q1: Which of the following correctly represents a ray starting at point A and extending through point B?
Q2: Which of the following best describes a ray?
Q: Does a ray have a finite length?
A: No, a ray extends infinitely in one direction from its endpoint.
Q: Is ray AB the same as ray BA?
A: No, the order matters. Ray AB starts at point A and extends through point B, while ray BA starts at point B and extends through point A. They are different rays unless A and B are the same point.