# Don't understand the and or thing

• September 18th 2012, 03:04 AM
sekaiyoma
Don't understand the and or thing
Hi, I would like to know the reason why

( x <= n) ^ (x < n) ) is equivalent to (x <= n)

Because I think if n = 7

then first one can have value up to x = 7

but x < n can only have value up to x = 6

so since it is narrow the commonalities can exist up to x = 6...

so I thought it was (x < n) but the answer says ( x <= n ) let me know..
• September 18th 2012, 04:12 AM
emakarov
Re: Don't understand the and or thing
You are right. (x <= n) /\ (x < n) is equivalent to (x < n), not (x <= n).
• September 18th 2012, 06:07 AM
Plato
Re: Don't understand the and or thing
Quote:

Originally Posted by sekaiyoma
Hi, I would like to know the reason why
( x <= n) ^ (x < n) ) is equivalent to (x <= n)

What is the meaning of ( x <= n) ^ (x < n)?.

If it is set notation $(-\infty,n)\cap(-\infty,n]=(-\infty,n)$ then they not equivalent.
So what does it mean?
• September 18th 2012, 08:31 AM
sekaiyoma
Re: Don't understand the and or thing
as always, emakarov's interpretation is correct. ^ stands for AND (logic) Thanks emakarov! the answer is wrong!