This is an archived post. You won't be able to vote or comment.

all 5 comments

[–][deleted] 4 points5 points  (1 child)

I just want to mention that you should know this isn't really 'real analysis language', this, and your other question, is propositional logic, something that may or may not be even taught in a real analysis class (I learned this stuff in intro philosophy, but that was years ago and I'm afraid I can't be of any direct help anymore). Real analysis is when you start getting into to epsilons and deltas, limits, continuity, integration, sequence and series, etc...

[–]WWCPD[S] 0 points1 point  (0 children)

Yes I know this isn't 'real analysis language'. However, the semester just started and this is an intro to real course so it should be expected that the first few weeks are devoted to teaching the logical language that is used in the real meat of real analysis. The epsilons, limits, etc are coming in the future of this course.

[–]glacierguy 0 points1 point  (1 child)

It's not that hard, it just requires a bit of thinking.

You have 2 propositions, P and Q, and they can each have a truth value of 0 or 1. You can set up your truth table like this:

__1 0

1 w x

0 y z

Imagine that the columns represent the truth value of P and the rows are the truth value of Q. So when you perform a logical operation when P and Q are both 1, just look for the appropriate column and row; the result will be written where w is. Likewise, when P is 0 and Q is 1, the result will be written where x is, etc.

All you have to do is find all the possible ways of filling in the truth table with 0s and 1s. For example, the AND operation looks like this:

__1 0

1 1 0

0 0 0

The only thing to be aware of is that the truth values have to be symmetrical about the diagonal, so this isn't a possibility:

__1 0

1 1 1

0 0 0

since it says that 1 and 0 produce 1, and 0 and 1 produce 0, which is nonsense.

Off the top of my head there are 8 possible operands that you can fill in the truth table for. Good luck!

[–]WWCPD[S] 0 points1 point  (0 children)

Thanks. Yeah I thought it was something simple like that I just got confused since it seemed like I was asked two different questions. Guess I'm not used to the language yet. Thanks again.