Processing math: 100%

Fall 2000 Exam Question 2

Hello everyone. In this video, we're going to talk about the Fall 2000 exam question 2. It's a two-part question, part a is the following:

Question Part a): Let P and Q be statements. Define the statement PQ by the following truth table:

P Q PQ
T T F
T F T
F T T
F F T

Show that pQ is equivalent to the statement ¬(PQ).

This is the definition of PQ, that is what this question is saying. So it's just like we defined and and and all of those things. We use a truth table to define them.

Solution

So the way this question is set up, it's clearly set up to try to be solved using a truth table, so I'm going to solve part a with a truth table. So creating a truth table yields the following:

P Q PQ PQ ¬(PQ)
T T F T F
T F T F T
F T T F T
F F T F T

So since the third and the fifth columns are the same, the two headings so PQ and ¬(PQ), are logically equivalent and we're done. That's what we wanted to show, okay? That's part a).

Question Part b): Is PQ equivalent to (PQ)(QP)?

Now the most natural way to solve this one, again, is to use a truth table, but I get bored of truth tables very quickly, so let's try to do this a different way.

So this is part b) of a problem, so I'm going to use part a) that PQ¬(PQ), and I'm going to rearrange this and hope that this is equivalent to PQ. So I'm going to use a sequence of logical equivalences to reduce this, and so what are we going to get?

(PQ)(QP)(¬(PQ))(¬(QP))By Part (a)

So I just simplified PQ and QP using part a).

Now I'm going to use DeMorgan's Laws and distribute the negation in there.

(PQ)(QP)(¬(PQ))(¬(QP))By Part (a)(¬P¬Q)(¬Q¬P)By DeMorgan's Laws

So now I have the simplified version, now again I have the operators, so what does that say? Well this is now my P, (¬P¬Q), and this is now my Q, (¬Q¬P), and I'm going to plug that into part a) again.

(PQ)(QP)(¬(PQ))(¬(QP))By part (a)(¬P¬Q)(¬Q¬P)By DeMorgan's Laws¬((¬P¬Q)(¬Q¬P))By part (a)

So that's again just by part a), it looks complicated but it really is just part a). Just with a couple of more terms. Now the next part of this it's going to be DeMorgan's Law one more time.

(PQ)(QP)(¬(PQ))(¬(QP))By part (a)(¬P¬Q)(¬Q¬P)By DeMorgan's Laws¬((¬P¬Q)(¬Q¬P))By part (a)¬(¬P¬Q)¬(¬Q¬P)By DeMorgan's Laws(PQ)(QP)By DeMorgan's Laws(PQ)(PQ)

Well if I have AA, then that's just A, right? So if I make A=PQ, well it's the same thing, so the doesn't matter.

(PQ)(QP)(¬(PQ))(¬(QP))By part (a)(¬P¬Q)(¬Q¬P)By DeMorgan's Laws¬((¬P¬Q)(¬Q¬P))By part (a)¬(¬P¬Q)¬(¬Q¬P)By DeMorgan's Laws(PQ)(QP)By Demorgan's Laws(PQ)(PQ)PQ

So the question is PQ(PQ)(QP), the answer is yes. The logical equivalences show this.

Again you can use a table to do this. that is perfectly fine. It's tedious. again, but it can be done. It's probably simpler than this, but I want to give you a little bit of variety since this is supposed to be a final exam review, so you should have a little bit of practice with logical equivalences, and you should have a little bit of practice with the table, okay? So that’s fantastic stuff. Hopefully you enjoy this video and good luck.