A simple way to prove that the union of non-disjoint intervals is an interval?

371 Views Asked by At

Let $\mathcal{I}$ and $\mathcal{J}$ be intervals. Prove that if $\mathcal{I} \cap \mathcal{J} \neq \varnothing$ then $\mathcal{I} \cup \mathcal{J}$ is an interval.

I could prove it by cases but the proof is extremly extense and i want to know how to prove it in a shorter or more simple way.

1

There are 1 best solutions below

0
On BEST ANSWER

Asserting that $I\cup J$ is an interval means that if $a,b\in I\cup J$ and $c\in\mathbb R$ are such that $a<c<b$, then $c\in I\cup J$. Of course, if $a,b\in I$ or $a,b\in J$, this is trivial. We can assum WLOG that $a\in I$ and $b\in J$. Take $d\in I\cap J$.

  1. If $d=c$, there's nothing to prove.
  2. If $d<c$ then, since $d,b\in J$ and $J$ is an interval, $c\in J\subset I\cup J$.
  3. If $d>c$ then, since $d,a\in I$ and $I$ is an interval, $c\in I\subset I\cup J$.