Re:Always use [closed, open) intervals
by layer8 on Tuesday November 22, 2022 @09:09PM
(#33714242)
An open interval doesn’t include its boundaries. It’s like a room missing one or more walls, and which hence is “open” towards the respective side(s).
Imagine a series of adjacent boxes with shared walls, that you cut up. Depending on how you cut them up, each wall will stay with one of the boxes, which thus will remain “closed” on that side, while the other box who shared the same wall is now open on the side where you separated the boxes.
+———+———+
| | |
+———+———+
|
V
+———+ ———+
| | |
+———+ ———+
closed open
[0,1] (1,2]
Imagine a series of adjacent boxes with shared walls, that you cut up. Depending on how you cut them up, each wall will stay with one of the boxes, which thus will remain “closed” on that side, while the other box who shared the same wall is now open on the side where you separated the boxes.