Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

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,

share|improve this question
1  
What do you define as "one condition"? –  Alex Becker Jun 2 '12 at 21:57
2  
$\min(x,y) > c$? –  Henning Makholm Jun 2 '12 at 21:59
    
Please avoid "writing questions in the title". I have also reformatted the mathematical parts into $\LaTeX$ to improve readability. –  Asaf Karagila Jun 2 '12 at 22:02
    
@AsafKaragila Thanks –  Nison Maël Jun 2 '12 at 22:25
add comment

2 Answers

up vote 1 down vote accepted

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.

share|improve this answer
add comment

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 $

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.