Skip to main content
Mathematics LibreTexts

3.3: Equivalence and Implication

  • Page ID
    80506
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Consider two propositions generated by \(p\) and \(q\text{:}\) \(\neg (p \land q)\) and \(\neg p \lor \neg q\text{.}\) At first glance, they are different propositions. In form, they are different, but they have the same meaning. One way to see this is to substitute actual propositions for \(p\) and \(q\text{;}\) such as \(p\text{:}\) I've been to Toronto; and \(q\text{:}\) I've been to Chicago.

    Then \(\neg (p \land q)\) translates to “I haven't been to both Toronto and Chicago,” while \(\neg p \lor \neg q\) is “I haven't been to Toronto or I haven't been to Chicago.” Determine the truth values of these propositions. Naturally, they will be true for some people and false for others. What is important is that no matter what truth values they have, \(\neg (p \land q)\) and \(\neg p \lor \neg q\) will have the same truth value. The easiest way to see this is by examining the truth tables of these propositions.

    Table \(\PageIndex{1}\): Truth Tables for \(\neg (p\land q)\) and \(\neg p\lor \neg q\)

    \(p\) \(q\) \(\neg (p\land q)\0 \(\neg p\lor \neg q\)
    \(0\) \(0\) \(1\) \(1\)
    \(0\) \(1\) \(1\) \(1\)
    \(1\) \(0\) \(1\) \(1\)
    \(1\) \(1\) \(0\) \(0\)

    In all four cases, \(\neg (p \land q)\) and \(\neg p \lor \neg q\) have the same truth value. Furthermore, when the biconditional operator is applied to them, the result is a value of true in all cases. A proposition such as this is called a tautology.

    Tautologies and Contradictions

    Definition \(\PageIndex{1}\): Tautology

    An expression involving logical variables that is true in all cases is a tautology. The number 1 is used to symbolize a tautology.

    Example \(\PageIndex{1}\): Some Tautologies

    All of the following are tautologies because their truth tables consist of a column of 1's.

    1. \((\neg (p \land q))\leftrightarrow ( \neg p \lor \neg q)\text{.}\)
    2. \(\displaystyle p \lor \neg p\)
    3. \(\displaystyle (p \land q)\to p\)
    4. \(\displaystyle q\to (p\lor q)\)
    5. \(\displaystyle (p \lor q)\leftrightarrow (q \lor p)\)

    Definition \(\PageIndex{2}\): Contradiction

    An expression involving logical variables that is false for all cases is called a contradiction. The number 0 is used to symbolize a contradiction.

    Example \(\PageIndex{2}\): Some Contradictions

    \(p \land \neg p\) and \((p\lor q)\land (\neg p) \land (\neg q)\) are contradictions.

    Equivalence

    Definition \(\PageIndex{3}\): Equivalence

    Let \(S\) be a set of propositions and let \(r\) and \(s\) be propositions generated by \(S\text{.}\) \(r\) and \(s\) are equivalent if and only if \(r\leftrightarrow s\) is a tautology. The equivalence of \(r\) and \(s\) is denoted \(r \iff s\text{.}\)

    Equivalence is to logic as equality is to algebra. Just as there are many ways of writing an algebraic expression, the same logical meaning can be expressed in many different ways.

    Example \(\PageIndex{3}\): Some Equivalences

    The following are all equivalences:

    1. \((p \land q)\lor (\neg p \land q)\iff q\text{.}\)
    2. \(\displaystyle p \to q \iff \neg q \rightarrow \neg p\)
    3. \(p \lor q \iff q \lor p\text{.}\)

    All tautologies are equivalent to one another.

    Example \(\PageIndex{4}\): An Equivalence to \(1\)

    \(p\lor \neg p\iff 1\text{.}\)

    All contradictions are equivalent to one another.

    Example \(\PageIndex{5}\): An Equivalence to \(0\)

    \(p\land \neg p\iff 0\text{.}\)

    Implication

    Consider the two propositions:

    Table \(\PageIndex{2}\)

    \(x\): The money is behind Door A; and
    \(y\): The money is behind Door A or Door B

    Imagine that you were told that there is a large sum of money behind one of two doors marked A and B, and that one of the two propositions \(x\) and \(y\) is true and the other is false. Which door would you choose? All that you need to realize is that if \(x\) is true, then \(y\) will also be true. Since we know that this can't be the case, \(y\) must be the true proposition and the money is behind Door B.

    This is an example of a situation in which the truth of one proposition leads to the truth of another. Certainly, \(y\) can be true when \(x\) is false; but \(x\) can't be true when \(y\) is false. In this case, we say that \(x\) implies \(y\text{.}\)

    Consider the truth table of \(p \to q\text{,}\) Table 3.1.1. If \(p\) implies \(q\text{,}\) then the third case can be ruled out, since it is the case that makes a conditional proposition false.

    Definition \(\PageIndex{4}\): Implication

    Let \(S\) be a set of propositions and let \(r\) and \(s\) be propositions generated by \(S\text{.}\) We say that \(r\) implies \(s\) if \(r \to s\) is a tautology. We write \(r \Rightarrow s\) to indicate this implication.

    Example \(\PageIndex{6}\): Disjunctive Addition

    A commonly used implication called “disjunctive addition” is \(p \Rightarrow (p \lor q)\text{,}\) which is verified by truth table Table \(\PageIndex{3}\).

    Table \(\PageIndex{3}\): Truth Table to verify that \(p\Rightarrow (p\lor q)\)

    \(p\) \(q\) \(p\lor q\) \(p\to o\lor q\)
    \(0\) \(0\) \(0\) \(1\)
    \(0\) \(1\) \(1\) \(1\)
    \(1\) \(0\) \(1\) \(1\)
    \(1\) \(1\) \(1\) \(1\)

    If we let \(p\) represent “The money is behind Door A” and \(q\) represent “The money is behind Door B,” \(p \Rightarrow (p \lor q)\) is a formalized version of the reasoning used in Example \(\PageIndex{6}\). A common name for this implication is disjunctive addition. In the next section we will consider some of the most commonly used implications and equivalences.

    When we defined what we mean by a Proposition Generated by a Set, Definition 3.2.1, we didn't include the conditional and biconditional operators. This was because of the two equivalences \(p \to q \Leftrightarrow \neg p \lor q\) and \(p \leftrightarrow q \Leftrightarrow (p \land q) \lor (\neg p \land \neg q)\text{.}\) Therefore, any proposition that includes the conditional or biconditional operators can be written in an equivalent way using only conjunction, disjunction, and negation. We could even dispense with disjunction since \(p \lor q\) is equivalent to a proposition that uses only conjunction and negation.

    Universal Operation

    We close this section with a final logical operation, the Sheffer Stroke, that has the interesting property that all other logical operations can be created from it. You can explore this operation in Exercise \(\PageIndex{8}\)

    Definition \(\PageIndex{5}\): The Sheffer Stroke

    The Sheffer Stroke is the logical operator defined by the following truth table:

    Table \(\PageIndex{4}\): Truth Table for the Sheffer Stroke

    \(p\) \(q\) \(p\mid q\)
    \(0\) \(0\) \(1\)
    \(0\) \(1\) \(1\)
    \(1\) \(0\) \(1\)
    \(1\) \(1\) \(0\)

    Exercises

    Exercise \(\PageIndex{1}\)

    Given the following propositions generated by \(p\text{,}\) \(q\text{,}\) and \(r\text{,}\) which are equivalent to one another?

    1. \(\displaystyle (p \land r) \lor q\)
    2. \(\displaystyle p\lor (r\lor q)\)
    3. \(\displaystyle r \land p\)
    4. \(\displaystyle \neg r \lor p\)
    5. \(\displaystyle (p\lor q)\land (r\lor q)\)
    6. \(\displaystyle r\to p\)
    7. \(\displaystyle r \lor \neg p\)
    8. \(\displaystyle p\to r\)
    Answer

    \(a\Leftrightarrow e, d\Leftrightarrow f, g\Leftrightarrow h\)

    Exercise \(\PageIndex{2}\)

    1. Construct the truth table for \(x= (p \land \neg q) \lor (r \land p)\text{.}\)
    2. Give an example other than \(x\) itself of a proposition generated by \(p\text{,}\) \(q\text{,}\) and \(r\) that is equivalent to \(x\text{.}\)
    3. Give an example of a proposition other than \(x\) that implies \(x\text{.}\)
    4. Give an example of a proposition other than \(x\) that is implied by \(x\text{.}\)

    Exercise \(\PageIndex{3}\)

    Is an implication equivalent to its converse? Verify your answer using a truth table.

    Answer

    No. In symbolic form the question is: Is \((p\to q)\Leftrightarrow (q\to p)\text{?}\)

    \(\begin{array}{ccccc} p & q & p\to q & q\to p & (p\to q)\leftrightarrow (q\to p) \\ \hline 0 & 0 & 1 & 1 & 1\\ 0 & 1 & 1 & 0 & 0\\ 1 & 0 & 0 & 1 & 0 \\ 1 & 1 & 1 & 1 & 1 \\ \end{array}\)

    This table indicates that an implication is not always equivalent to its converse.

    Exercise \(\PageIndex{4}\)

    Suppose that \(x\) is a proposition generated by \(p\text{,}\) \(q\text{,}\) and \(r\) that is equivalent to \(p \lor \neg q\text{.}\) Write out the truth table for \(x\text{.}\)

    Exercise \(\PageIndex{5}\)

    How large is the largest set of propositions generated by \(p\) and \(q\) with the property that no two elements are equivalent?

    Answer

    Let \(x\) be any proposition generated by \(p\) and \(q\text{.}\) The truth table for \(x\) has 4 rows and there are 2 choices for a truth value for \(x\) for each row, so there are \(2\cdot 2\cdot 2\cdot 2=2^4\) possible propositions.

    Exercise \(\PageIndex{6}\)

    Find a proposition that is equivalent to \(p \lor q\) and uses only conjunction and negation.

    Exercise \(\PageIndex{7}\)

    Explain why a contradiction implies any proposition and any proposition implies a tautology.

    Answer

    \(0\to p\) and \(p\to 1\) are tautologies.

    Exercise \(\PageIndex{8}\)

    The significance of the Sheffer Stroke is that it is a “universal” operation in that all other logical operations can be built from it.

    1. Prove that \(p | q\) is equivalent to \(\neg (p \land q)\text{.}\)
    2. Prove that \(\neg p \Leftrightarrow p | p\text{.}\)
    3. Build \(\land\) using only the Sheffer Stroke.
    4. Build \(\lor\) using only the Sheffer Stroke.

    This page titled 3.3: Equivalence and Implication is shared under a CC BY-NC-SA 3.0 license and was authored, remixed, and/or curated by Al Doerr & Ken Levasseur via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.