# ray

Rays on the real line. A ray on the real line $\mathbb{R}$ is just an open set of the form $(p,\infty)$, or $(-\infty,p)$. A ray is also called a half line, or an open ray, to distinguish the notion of a closed ray, which includes its endpoint.

Properties Suppose $p,q\in\mathbb{R}$ and $p\leq q$.

• $(p,\infty)\cap(q,\infty)=(q,\infty)$.

• $(p,\infty)\cup(q,\infty)=(p,\infty)$.

• $(p,\infty)\cap(-\infty,q)=(p,q)$ if $p\neq q$, and $\varnothing$ if $p=q$.

• $(-\infty,p)\cap(q,\infty)=\varnothing$.

• $(p,\infty)\cup(-\infty,q)=\mathbb{R}$ if $p\neq q$, and $\mathbb{R}-\{p\}$ if $p=q$.

• $(-\infty,p)\cup(q,\infty)=\mathbb{R}-[p,q]$ if $p\neq q$, and $\mathbb{R}-\{p\}$ if $p=q$.

Rays in a general Euclidean space. Let $\ell$ be a line in $\mathbb{R}^{n}$ and let $p$ be a point lying on the $\ell$. We may parameterize $\ell=\ell(t)$ (parameter $t\in\mathbb{R}$) so that $\ell(0)=p$. An (open) ray $\rho$ lying on $\ell$ with endpoint $p$ is the set of points

 $\rho=\{r\mid r=\ell(t),t>0\}.$

If the inequality $t>0$ is relaxed to $t\geq 0$ in the above expression, then we have a closed ray. Note that if the inequality above were changed to $t<0$ instead, we end up again with a ray lying on $\ell$ and endpoint $p$. It is a ray because we can reparameterize $\ell$ by using the parameter $s=-t$ instead, so that

 $\{r\mid r=\ell(t),t<0\}=\{r\mid r=\ell(s),s>0\}.$

The difference between the two rays is that they point in the opposite directions. Therefore, in general, a ray can be characterized by

• a line,

• a point lying on the line, and

• a direction on the line.

Rays in an ordered geometry: Given two distinct points $p,q$ in an ordered geometry $(A,B)$ ($A$ is the underlying incidence geometry (http://planetmath.org/IncidenceGeometry) and $B$ is the strict betweenness relation defined on the points of $A$). The set

 $\overline{pq}\cup\{q\}\cup\{r\mid q\in\overline{pr}\},$

where $\overline{st}$ denotes the open line segment with endpoints $s$ and $t$, is called the (open) ray generated by $p$ and $q$ emanating from $p$. It is denoted by $\overrightarrow{pq}$. $p$ in $\overrightarrow{pq}$ is called the source or the end point of the ray. A closed ray generated by $p$ and $q$ with endpoint $p$ is the set $\overrightarrow{pq}\cup\{p\}$.

Properties.

• for any point $r\in\overrightarrow{pq}$, $\overrightarrow{pr}=\overrightarrow{pq}$.

• $\overrightarrow{pq}\cup\overrightarrow{qp}=\overleftrightarrow{pq}$ and $\overrightarrow{pq}\cap\overrightarrow{qp}=\overline{pq}$. We say that a ray lies on a line if all of the points in the ray are incident with the line. Also, a line segment lies on a ray if it is a subset of the ray.

• The opposite ray of $\rho=\overrightarrow{pq}$ is defined to be

 $\overrightarrow{qp}-\overline{pq}-\{q\}.$

It is denoted by $-\rho$.

• The opposite ray $-\rho$ of a ray $\rho$ is ray. Suppose $\rho=\overrightarrow{pq}$. Then $\rho$ has the property that

1. (a)

$\rho\cap(-\rho)=\varnothing$ and

2. (b)

$\rho\cup(-\rho)=\overleftrightarrow{pq}-\{p\}$.

Conversely, given a ray $\rho=\overrightarrow{pq}$, any ray $\rho^{\prime}$ satisfying the above two properties (replacing $-\rho$ by $\rho^{\prime}$) is the opposite ray of $\rho$.

• Given any point $p$ on a line $\ell$, there are exactly two rays lying on $\ell$ with endpoint $p$. Furthermore, $p$ is between $q$ and $r$ in $\ell$ iff $q$ and $r$ lie on opposite rays on $\ell$.

• Given any two rays $\rho$ and $\varrho$, exactly one of the following holds:

1. (a)

$\rho\cap\varrho=\varnothing$,

2. (b)

$\rho\cap\varrho=$ a line segment, or

3. (c)

$\rho\cap\varrho=$ a ray.

It is not hard to see that in the last case, one ray is included in the other, and their intersection is the “smaller” of the two rays. In the first two cases, the two rays are said to be (pointing) in the opposite direction. In the last case, the two are said to be in the same direction. Opposite rays are clearly pointing in the opposite direction.

• An equivalence relation can be defined on the set of all rays lying on a line $\ell$ by whether they are pointing in the same direction or not. Thus, the set of all rays lying on $\ell$ can be partitioned into two subsets $R$ and $R^{\prime}$, so that if $\rho,\varrho\in R$ (or $R^{\prime}$), then they are pointing in the same direction; and if $\rho\in R$ and $\varrho\in R^{\prime}$ are pointing in the opposite direction.

• Pick one of the two subsets from above, say $R$. Define $\leq$ on $R$ by $\rho\leq\varrho$ if $\rho\subseteq\varrho$. Then $\leq$ is a linear order on $R$. This $\leq$ induces a linear order $\leq_{\ell}$ on the line $\ell$ in the following way: $p\leq_{\ell}q$ if the corresponding rays $\rho,\varrho\in R$, with endpoints $p$ and $q$ respectively, we have $\rho\leq\varrho$. This is one way to define a linear ordering on a line $\ell$. An alternative, but equivalent way of defining a linear ordering on a line in an ordered geometry can be found in the entry under ordered geometry.

• Note that in defining $\leq$, we could have used $R^{\prime}$ instead of $R$. This is an example of the duality of linear ordering.

## References

• 1 D. Hilbert, Foundations of Geometry, Open Court Publishing Co. (1971)
• 2 K. Borsuk and W. Szmielew, Foundations of Geometry, North-Holland Publishing Co. Amsterdam (1960)
• 3 M. J. Greenberg, Euclidean and Non-Euclidean Geometries, Development and History, W. H. Freeman and Company, San Francisco (1974)
Title ray Ray 2013-03-22 15:28:36 2013-03-22 15:28:36 CWoo (3771) CWoo (3771) 8 CWoo (3771) Definition msc 51G05 half line open ray BetweennessInRays closed ray opposite ray