What a truth-table does is to show how the truth-value of a complex WFF depends on the truth-values of its component WFFs. So what are truth-values?
In SL there are only two truth-values : T and F, which stands for truth and falsity. To say that a statement has truth-value T is just to say that it is true. To say that its truth-value is F is to say that it is false. Notice that in SL we assume the principle of bivalence : a WFF either has truth-value T or F. Some systems of logic (e.g. fuzzy logic) reject the principle of bivalence. Notice also that some logic or engineering textbooks use "1" and "0" in place of "T" and "F".
Let us now look at the truth-table of each of the sentential connectives.
|
Consider the statement "whales are mammals."
Let us use the sentence-letter "P" to translate this statement.
(We can of course use any sentence letter we want.) This just means we are now taking the symbol "P" to have the same meaning as "whales are mammals." But suppose you disagree with the statement. Then you might express your disagreement by saying things like :
The truth-table on the left is the truth-table for the negation sign. It shows that when you have a WFF and you add the negation sign in front of it to make a new WFF, you end up with a WFF that has the opposite truth-value. In other words, this is how you should read the truth-table : We use the symbol "φ" in the table to stand for any WFF. So the table tells us that when "P" is true, "~P" is F, and when "(Q&~R)" is F, "~(Q&~R)" is T, etc. |
|
Now consider these two statements : "it is raining" and "it is hot". Each of them can be either true or false independently of the other, so in terms of their truth-values there are four different possibilities :
In sentential logic we can translate this complex conjunction using "&" to conjoin the two conjuncts. The truth-table on the left shows how the truth-value of a conjucntion depends on the truth-values of the conjuncts, just as in the example we have looked at. The first row of truth-values tells us that when the first and second conjuncts are true, the whole WFF is true. The other three rows tell us that the conjunction is false in all other situations. |
|
The disjunction symbol "∨" is usually used to translate "or". The truth-table on the left tells us that a disjunction is false when both disjuncts are false. Otherwise it is always true. Notice that the first row tells us that the disjunction is true when both disjuncts are true. In other words, if "(P∨Q)" is used to translate "Either Peter will leave, or Amie will leave.", and it turns out that they both leave, then the whole complex statement is still true. There are two things to be said if you think this is counter-intuitive. First, one might say that a better translation of "(P∨Q)" is "Either P or Q (or both)." Second, it is arguable that there are certain uses in ordinary language where "either ___ or ___" is considered to be false even when the disjuncts are considered to be true. For example, when ordering from a set menu in a restaurant you might be told that you can either have the salad or you can have the soup, but presumably it is understood that you cannot have both! Here the statement is better understood as "either P or Q (but not both)." These two senses of "or" are called inclusive-or and exclusive-or respectively. The disjunctive sign "∨" in SL should always be understood in the inclusive sense. To express "P or Q" in the exclusive sense one might use the WFF "((P∨Q)&~(P&Q))" instead. This is an example of how formal logic can actually help us understand better the linguistic usages of natural languages. In this web site, you should take "or" to mean inclusive-or, unless otherwise indicated. |
| Suppose you are at a party, and you are wondering if your friend, Jane, is around. You asked another friend, and he replies, "Jane is at the party if and only if Matthew is at the party." If you accept this statement as true, what can you conclude from it? Of course this statement on its own does not tell you whether Jane is here or not. But it does tell you that if she is here, then Matthew is also here, and if one of them is not at the party, then the other person is absent as well. This sense of "if and only if" (or "iff") is captured in the truth-table on the left. |
|
The arrow sign is often translated as "If ... then ...". Its truth-table is probably the most difficult one to understand among the ones you have seen so far. Perhaps it will be easier to remember the truth-table the following way. Suppose you make a conditional statement such as "If I have lots of money then I shall be happy." Under what condition will this statement be false? Obviously, your statement is false if you have a lot of money but still you are not happy. In other words, when the antecedent is true and the consequent is false, the whole conditional statement is false. This is exactly what the second row of the truth-table says. Just remember that the conditional is true in all other situations.
This explanation is not quite the full and correct account of why the truth-table of "→" should look the way it does. We shall provide the full explanation in a separate tutorial in a different section. |
SL03.7 Exercises|
Question #2a Look at the animation on the right carefully for at least five seconds.
Suppose we use "P" to mean the lightbulb on the left is on, and "Q" to mean the lightbulb on the right is on. Which of the following WFF is always true of the situation shown in the animation? Click the answer that you think is correct:
|
|
Question #2b Is "(P→Q)" always true in the animation on the right? Yes or no? [Show answer] |
|
Question #2c How about this one on the left?
Which is the correct WFF?
|
[Show answer]
- If "(P∨Q)" is true, either "P" is false or "Q" is false.
- If "(P&Q)" is false, then "P" is false and "Q" is also false.
- Whenever "(P∨Q)" is true, "(Q→P)" is also true.
- In order for "(P→Q)" to be true, "Q" must be true.

- All squares are red if and only if all squares are green. [Show answer]
- If there is no red square, then there is a triangle. [Show answer]
- Either there is a green circle, or there are no yellow squares. [Show answer]
Be careful that you write accurately rather than much.

Erasmus