Addition



Adding Intervals together is rather easy. To add Intervals together simply add the lowest X value together with the lowest Y value, then add the highest X value with the highest Y value.


X Values: [a,b]
Y Values: [c,d]



When calculating Intervals the X values are placed "on top of" the Y values. Also the lowest value of either the X of the Y is placed first in the set. When adding you are adding a+c and b+d.



X Values: [a,b]
Y Values: + [c,d]
Result: [e,f]



[1,3]
+ [2,4]
[3,7]