MHB Simplifying Logical Expressions [SOLVED]

Valtham
Messages
3
Reaction score
0
[SOLVED] Simplifying Expressions

Hello all I am a bit confused about the laws I am learning about right now and attempted some of my own exercises to understand them a bit.

I have the problem NOT(a < 20 AND (b < 10 OR b > 10)) and I need to simplify it.

From my understanding I can use DeMorgan's Law which then gives me the expression NOT a < 20 OR NOT(b < 10 OR b > 10). I can then use the Distributive Property to create the expression (NOT a < 20 OR NOT b < 10) AND (NOT a < 20 OR NOT b > 10).

What I am confused about is after I use DeMorgan's Law the first time is it correct to use the Distributive Law next? Or should I have used DeMorgan's Law again?
 
Last edited:
Physics news on Phys.org
Valtham said:
What I am confused about is after I use DeMorgan's Law the first time is it correct to use the Distributive Law next? Or should I have used DeMorgan's Law again?
You can't use the distributive law immediately after the first De Morgan's law. Distributivity requires that the expression has both a disjunction and a conjunction. So, first you need to convert NOT(b < 10 OR b > 10) into (NOT b < 10) AND (NOT b > 10) and then use distributivity. You indeed get (NOT a < 20 OR NOT b < 10) AND (NOT a < 20 OR NOT b > 10).

If < denoted the regular order, then I believe the simplest form of this is expression is a >= 20 OR b = 10.
 
Thanks for the reply. Makes total sense that I would have to use DeMorgan's Law again. I can see how you get a >= 20 OR b = 10, but what if the expression had been (NOT a < 20 AND NOT (b <= 10 OR b >= 15)). Using that expression the "simplified" version would be a >= 20 OR b >= 10 AND b <= 15. To me that expression hardly seems simplified, and all we did was remove the "NOT" connectives pretty much. What does "simplifying an expression" mean exactly? We weren't really given a precise definition other than an example that removes as many variables and connectives as possible.
 
Valtham said:
what if the expression had been (NOT a < 20 AND NOT (b <= 10 OR b >= 15)). Using that expression the "simplified" version would be a >= 20 OR b >= 10 AND b <= 15.
It should say, "... b > 10 AND b < 15." Also, usually AND is considered to have higher priority than OR, so omitting parentheses is OK, but unless this is an explicit convention in your course, it may still make sense to put parentheses around b > 10 AND b < 15 to remove any ambiguity.

Valtham said:
To me that expression hardly seems simplified, and all we did was remove the "NOT" connectives pretty much. What does "simplifying an expression" mean exactly? We weren't really given a precise definition other than an example that removes as many variables and connectives as possible.
There are different measures with respect to which simplification can be defined. Here the answer has 2 connectives vs 4 in the original expression, so in this sense it is simpler. On the other hand, the number of atomic propositions is the same. Informally, for me it is a little easier to understand a >= 20 than NOT a < 20. Also, b > 10 AND b < 15 is often abbreviated as 10 < b < 15, which makes it even simpler.
 
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Thread 'Detail of Diagonalization Lemma'
The following is more or less taken from page 6 of C. Smorynski's "Self-Reference and Modal Logic". (Springer, 1985) (I couldn't get raised brackets to indicate codification (Gödel numbering), so I use a box. The overline is assigning a name. The detail I would like clarification on is in the second step in the last line, where we have an m-overlined, and we substitute the expression for m. Are we saying that the name of a coded term is the same as the coded term? Thanks in advance.

Similar threads

Back
Top