Subtraction



Subtracting Intervals is much like adding Intervals. To subtract Intervals simply subtract the lowest X value by the highest Y value, then subtract the highest X value by the lowest 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 subtracting you are subtracting a-d and b-c.



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



[1,3]
- [2,4]
[-3,1]