Like the title says:
$$ x \in \Bbb R : x \in [x_{min}, x_{max}] $$ $$ y \in \Bbb R : y \in [y_{min}, y_{max}] $$
What is the range of:
$$ x \over y $$
?
I find this hard to reason about because the division is discontinuous.
I can identify up to 49 different combinations of possibilities that I would need to analyze one by one... 7 for each variable: the cases where the variable is entirely negative, negative or 0, exactly 0, 0 or positive, entirely positive, from negative to positive.
For instance let's take the four cases where neither $x$ nor $y$ pass by 0, are somewhat simple:
$$ x_{max} \lt 0 \wedge y_{max} \lt 0 \Rightarrow [{x_{min} \over y_{max}}, {x_{max} \over y_{min}}] $$
$$ x_{min} \gt 0 \wedge y_{min} \gt 0 \Rightarrow [{x_{max} \over y_{min}}, {x_{min} \over y_{max}}] $$
$$ x_{max} \lt 0 \wedge y_{min} \gt 0 \Rightarrow [{x_{min} \over y_{min}}, {x_{max} \over y_{max}}] $$
$$ x_{min} \gt 0 \wedge y_{max} \lt 0 \Rightarrow [{x_{max} \over y_{max}}, {x_{min} \over y_{min}}] $$
These are probably the simplest cases, since they're away from the discontinuity of the division. Yet I'm getting lost with the signs. And many many more cases are still missing.
I assumed this might have been a standard question in interval arithmetic. So I was hoping there could be a simple precooked solution.
I also showed the range I computed for some of these cases. But I'm pretty sure something is wrong as I'm getting lost with the signs...
I don't know if my approach is the correct one, but it'd be tough to find the solution this way. I was hoping this might have been a common question in interval arithmetic, so maybe there was a simple solution?
– Helloer Jan 09 '22 at 18:03