Question Number 36011 by solihin last updated on 27/May/18
$$\mathrm{simplify}:\:\:'{interval}\:{number}' \\ $$$$\left(\mathrm{1},\mathrm{6}\right)\cup\left(\mathrm{3},\mathrm{7}\right) \\ $$
Commented by Rasheed.Sindhi last updated on 27/May/18
$$\mathrm{For}\:\mathrm{overlapping}\:\mathrm{intervals}\:\left({a},{b}\right)\:\&\:\left({c},{d}\right) \\ $$$$\left({a},{b}\right)\cup\left({c},{d}\right)=\left(\:\:\:\mathrm{min}\left({a},{c}\right)\:,\:\mathrm{max}\left({b},{d}\right)\:\:\:\right) \\ $$
Commented by Rasheed.Sindhi last updated on 27/May/18
$$\left(\mathrm{1},\mathrm{6}\right)\cup\left(\mathrm{3},\mathrm{7}\right)=\left(\mathrm{1},\mathrm{7}\right) \\ $$