2

Write the expression (p^ ~q) ^ r, using only the operators v and ~.

The question meant the ^ operator with v operator?

sudl
  • 55

2 Answers2

3

No, we can not just replace the $\wedge$ with a $\vee$. This would be wrong because they are not the same thing.

We have: $$(p \wedge \sim q) \wedge r$$ We need to convert this to OR and NOT somehow. Conversions between AND and OR are done with De Morgan's Law: $$\sim (u \wedge v) \iff \sim u \vee \sim v$$ Using this, we can take the negation of both sides to find that: $$u \wedge v \iff \sim (\sim u \vee \sim v)$$ Now, where ever you see a $\wedge$, you can use this formula by substituting the appropriate $u$ and $v$ to convert the expression into something with only $\sim$ and $\vee$. Good luck!

Noble Mushtak
  • 18,402
  • 28
  • 44
2

Hint: $(p \wedge \neg q) \wedge r = \neg (\neg((p \wedge \neg q) \wedge r))$. It's all De Morgan's laws from there.

P.S. Since I'm going to guess you don't know De Morgan's laws, there is a master mathematician who know's just about everything. His name is Google.

Dane Bouchie
  • 1,282