Is it possible to test $x > c$ and $y > c$ using only one condition?

128 Views Asked by At

Is it possible to test $x > c$ and $y > c$ using only one condition?

If it's not possible within $(-\infty,+\infty)$, is it possible in $[0,1]$ ?

Thanks,

2

There are 2 best solutions below

0
On BEST ANSWER

You want to know if $\min\{x,y\}>c$.

We can write: $$\min\{x,y\} = \frac{x+y}2 - \frac{|x-y|}2$$

Now it is simple to verify if both $x,y$ are bigger than $c$ or not.

0
On

This is a job for universality

$\rm\: a < b,c \iff a < min\{b,c\}\ $

$\rm\: a\ \ |\ \ b,c \iff a\ \ |\ \ \gcd\{b,c\}$

$\rm\: a\subset b,c \iff a\subset \ b\ \cap\ c $