Author: Indigo Curnick
Date: 2025-04-28
This is part 3 of a series on sentential logic. You should read part 1 and part 2 first
Tautologies and Contradictions
A tautology is a logical statement which is always true. A contradiction is a logical statement that is always false. Consider
True | True |
False | True |
In other words, it does not matter what value
Consider now
True | False |
False | False |
No matter the value of
The main value of tautologies and contradictions to us now is that they can be used to remove certain elements from formulas. The laws are as follows
Tautology laws
Contradiction laws
So if we have the formula
Conditional and Biconditional Arguments
One of the problems mathematicians and philosophers have (and autistic people) is that in normal every day speech people do not literally say what they mean. Think about that Pink Floyd lyric: "If you don't eat your meat, you can't have any pudding". If you think about what this literally saying, it is simply saying that if you don't eat meat then you will not get dessert. However, there is an implication that if you do eat the meat, you will get dessert. Despite the fact that this was not actually said: in a very literal sense there is nothing at all in the original statement to imply that eating meat leads to dessert (I wonder if any lawyers have ever tried pulling a trick based on this?).
So what's going on? In formal logic to get around these problems we introduced the concept of iff (that's not a typo - if with two fs). If in logic is like a "one way" if - "if you don't eat meat, then you can't have dessert" (with no implication whatsoever that if you do eat meat, that you will have dessert). Iff is a "two-way" if. "Iff you don't eat your meat, then you can't have dessert" (while explicitly saying if you do eat meat, you can have dessert).
In other words, "iff
- if is represented by
- iff is represented by
The Conditional
So why do we need this? If you remember back to part 1 of this series, we started largely by analysing syllogisms, largely of the form like:
- If it is raining, then the ground will be wet
- It is raining
- The ground will be wet
So converting this into a more logical representation we have
Where
Let's try and analyse
Let's start by thinking about what it means. "If
So what about the other two combinations? Well if
Finally, what if
Therefore, our truth table looks like
True | True | True |
True | False | False |
False | True | True |
False | False | True |
Curiously, the truth table of
True | True | True |
True | False | False |
False | True | True |
False | False | True |
While this might not mesh very well with your every day intuition of what "if
Of course, we can also use De Morgan's law to show that
The next two ideas are sort of related: the converse and the contrapositive. And it is very important that you do not confuse them.
The converse of
The contrapositive ought not be confused with the converse because the contrapositive is equivalent to the original argument. The contrapositive of
Just to summarise this in a truth table
True | True | True | True | True |
True | False | False | True | False |
False | True | True | False | True |
False | False | True | True | True |
The Biconditional
We've already seen that
Since we know the truth table for
True | True | True |
True | False | False |
False | True | False |
False | False | True |
If we also use the contrapositive law which we've already seen then clearly
So if we look at an example of this in context, the phrase "the game will be cancelled iff it is either raining or snowing" can become
Necessary and Sufficient
We can relate the ideas we've explored so far to the English terms "necessary" and "sufficient". If we look at the conditional statements first.
Consider
is sufficient for- i.e. if
happens, that's enough to guarantee
- i.e. if
is necessary for- i.e. for
to happen, must happen
- i.e. for
((P \leftrightarrow Q\) is the combination of both. Now
Exercises
Change these!
- Convert the following sentences from English into logical symbol form
- If this gas either has an unpleasant smell or is not explosive, then it isn't hydrogen
- Having both a fever and a headache is a sufficient condition for George to go to the doctor
- Both having a fever and having a headache are sufficient conditions for George to go to the doctor
- If
, then a necessary condition for to be prime is that be odd
- Show that
is the same as - Show that
is equivalent to - Which of these statements tautologies, contradictions or neither? (You might like to use truth tables, or convert them into other logical forms)
You can find the solutions here, but try all the problems first!
References
Velleman, D. J. (2019) How to Prove It: A Structured Approach (3rd ed). Cambridge University Press
Stoll, R., R. (1968) Set Theory and Logic Dover Publications