Not all tautologies are terribly useful, but we will use one family of tautologies again and again as we write proofs: logical equivalences. We have seen that the two statements
have the same truth tables; it only takes a moment to write down the table to convince yourself.
We could write this “have the same truth tables”-fact as follows:
\begin{align*}
(P \land Q) \iff (Q \land P) & \text{ is a tautology}
\end{align*}
Take a moment to parse this. The biconditional at the heart of the statement must be true, and a quick review of the biconditional tells us that both sides must be true at the same time and false at the same time — exactly what we want to express. This way of writing things is still cumbersome, and mathematicians will always seek out nicer notation if it is available.
Definition4.2.1.
We say that two statements \(R\) and \(S\) are logically equivalent when the statement \(R\iff S\) is a tautology. In this case we write \(R \equiv S\text{.}\)
Remark4.2.2.Equivalent and equal?
Note that some texts use “\(=\)” to denote logical equivalence, while this author much prefers “\(\equiv\)”. One can get into long debates as to whether or not “\(=\)” is equivalent to “\(\equiv\)” despite not being equal. And unfortunately there is no clean and well established convention in the mathematical community. You should, as a reader, recognise both (from context).
Another logical equivalence we’ve already seen (back in Section 2.4) is
where we have written this down with plenty of brackets to avoid potential ambiguities.
Logical equivalence becomes very useful when we are trying to prove things. If we start with a difficult statement \(R\text{,}\) and transform it into an easier and logically equivalent statement \(S\text{,}\) then a proof of \(S\) automatically gives us a proof of \(R\text{.}\)
Here is a list of useful logical equivalences which will be very handy for proving things as we continue in the text. These constitute our first important result and since we will use it frequently we should call it a theorem.
These can all be proved in a straightforward, but slightly tedious, manner by computing and comparing truth tables.
By chaining the logical equivalences in Theorem 3 together we can make new ones. For example, we can show the equivalence of the contrapositive as follows:
Example4.2.4.
Show that the contrapositive is logically equivalent to the original implication.
Remeber to be careful when we negating inequalities. The negation of \(a \lt b\) is \(a \geq b\text{,}\) and the negation of \(a \leq b\) is \(a \gt b\text{.}\)
This is actually a true statement (one we’ll prove soon), but we can negate it anyway. We’ll make use of the fact that if an integer is not odd, then it must be even (and vice-versa).
\begin{align*}
\neg( (x \text{ is odd}) \iff (x^2 \text{ is odd}) )
& \equiv
\Big( ( x \text{ is odd}) \land \neg (x^2 \text{ is odd} ) \Big)
\lor \Big( (x^2 \text{ is odd}) \land \neg (x \text{ is odd}) \Big)\\
& \equiv
\Big( (x \text{ is odd}) \land (x^2 \text{ is not odd}) \Big)
\lor \Big( (x^2 \text{ is odd}) \land (x \text{ is not odd}) \Big) \\
& \equiv
\Big( (x \text{ is odd}) \land (x^2 \text{ is even})\Big) \lor \Big( (x^2 \text{ is odd}) \land (x \text{ is even}) \Big)
\end{align*}
Oof! That is not so pretty.
We are ready for some more proofs, but first — there are some exercises for you.