Intervals

Common interval notation uses brackets. However, brackets are used for function application in Mathematica, and it would mess up the entire system to redefine this. Even the lexical analyzer of Mathematica relies on this fact and is completely puzzled if expressions like "]3,5]" would occur. Therefore, intervals must be written in the form

[Graphics:Intervalsgr2.gif][Graphics:Intervalsgr1.gif]

where the first two arguments are the interval bounds and the third argument is one of Closed, RightOpen, LeftOpen, or Open determining the type of interval.

[Graphics:Intervalsgr2.gif][Graphics:Intervalsgr3.gif]
[Graphics:Intervalsgr2.gif][Graphics:Intervalsgr4.gif]

[Graphics:Intervalsgr2.gif][Graphics:Intervalsgr5.gif]
[Graphics:Intervalsgr2.gif][Graphics:Intervalsgr6.gif]

[Graphics:Intervalsgr2.gif][Graphics:Intervalsgr7.gif]
[Graphics:Intervalsgr2.gif][Graphics:Intervalsgr8.gif]

[Graphics:Intervalsgr2.gif][Graphics:Intervalsgr9.gif]
[Graphics:Intervalsgr2.gif][Graphics:Intervalsgr10.gif]

Note, however, that the palette contains buttons in the bracket notation!