R is defined aas the relation on the set of all functions from $\mathbb{R}$ to $\mathbb{R}$.
$$ R: (f,g) \in R \iff f(x) \leq g(x), x \in \mathbb{R}$$
The question is, is R a relation of partial order? If yes, is it a relation of total order?
My answer:
It's reflexive since: $$(f,f) \in R \iff f(x) \leq f(x)$$ It's transitive: $$(f,g) \in R, (g,z) \in R \hookrightarrow (f,z) \in R$$
$$\iff f(x) \leq g(x), g(x) \leq z(x) \hookrightarrow f(x) \leq z(x)$$
It's antisymmetric:
$$(f,g) \in R, (g,f) \in R \hookrightarrow f=g$$ $$\iff f(x) \leq g(x), g(x) \leq f(x) \hookrightarrow f(x)=g(x)$$
Therefore, it's a relation of partial order.
Then the second part. For it to be a relation of total order it has to be a relation of partial order and also satisfy this condition:
$$\forall f,g \hookrightarrow \begin{cases}\text{either: } (f,g) \in R\\ \text{either: }(g,f) \in R \end{cases}$$
$$\iff \begin{cases}\text{either: } f(x) \leq g(x)\\ \text{either: }g(x) \leq f(x) \end{cases}$$
This is the part where I have doubts, because maybe a there are two functions $f$ and $g$, such that the intersection or their domains $D_f \cap D_g = \emptyset$, then they wouldn't be comparable by R. So is it not a relation of total order?
Thank you so much for your help!
(As a side note: does anyone know how to 'exclude' some text from latex, inside a latex construction, for example, where I wrote 'either', how could I make it so that it's not latex?)