Skip to main content
Mathematics LibreTexts

1.4: Tautologies and contradictions

  • Page ID
    83400
  • \( \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}}\)

    Definition: Tautology

    a logical statement that is always true for all possible truth values of its variable substatements

    Definition: Logically True Statement

    synonym for tautology

    Example \(\PageIndex{1}\): Basic tautologies

    1. \(p \rightarrow p\text{.}\)
    2. \(p \leftrightarrow p\text{.}\)
    3. Law of the Excluded Middle: \(p \lor \neg p \text{.}\)

    Verification:

    \(p\) \(\neg p\) \(p \lor \neg p\)
    \(T\) \(F\) \(T\)
    \(F\) \(T\) \(T\)

    The table verifies that the statement is a tautology as the last column consists only of \(T\) values.

    1. Law of Contradiction: \(\neg (p \land \neg p)\text{.}\)

    Verification:

    \(p\) \(\neg p\) \(p \land \neg p\) \(\neg (p \land \neg p)\)
    \(T\) \(F\) \(F\) \(T\)
    \(F\) \(T\) \(F\) \(T\)

    The table verifies that the statement is a tautology as the last column consists only of \(T\) values.

    Example \(\PageIndex{2}\): Not a tautology

    Is \(p \lor p\) a tautology? No, since it is false when \(p\) is false.

    Definition: Contradiction

    a statement that must always be false, regardless of the truth values of its variable substatements

    Definition: Logically False Statement

    synonym for contradiction

    Example \(\PageIndex{3}\): Contradiction

    Negation of a tautology is always a contradiction (and negation of a contradiction is always a tautology).

    Statement \((p \lor \neg p) \rightarrow (q \land \neg q)\) is a contradiction:

    \(p\) \(q\) \(\neg p\) \(\neg q\) \(p \lor \neg p\) \(q \land \neg q\) \((p \lor \neg p) \rightarrow (q \land \neg q)\)
    \(T\) \(T\) \(F\) \(F\) \(T\) \(F\) \(F\)
    \(T\) \(F\) \(F\) \(T\) \(T\) \(F\) \(F\)
    \(F\) \(T\) \(T\) \(F\) \(T\) \(F\) \(F\)
    \(F\) \(F\) \(T\) \(T\) \(T\) \(F\) \(F\)

    The table verifies that the statement is a contradiction as the last column consists only of \(F\) values.

    Example \(\PageIndex{4}\): Conditional versus contradiction

    Implication \(A\rightarrow B\) can only be a contradiction if \(A\) is a tautology and \(B\) is a contradiction.

    Theorem \(\PageIndex{1}\): Substitution Rule

    Suppose \(A\) is a logical statement involving substatement variables \(p_1, p_2, \dotsc, p_m\text{.}\) If \(A\) is logically true or logically false, then so is every statement obtained from \(A\) by replacing each statement variable \(p_i\) by some logical statement \(B_i\text{,}\) for every possible collection of logical statements \(B_1, B_2, \dotsc, B_m\text{.}\)

    Example \(\PageIndex{5}\): Using the Substitution Rule

    1. We know \(p \lor \neg p\) is a tautology, therefore so is

      \begin{equation*} (q \rightarrow (r \land \neg s)) \lor \neg (q \rightarrow (r \land \neg s)) \end{equation*}

      using substitution \(p = (q \rightarrow (r \land \neg s))\text{.}\)

    2. We know \((p \lor \neg p) \rightarrow (q \land \neg q)\) is a contradiction, therefore so are

      \begin{gather*} (p \lor \neg p) \rightarrow (p \land \neg p) \qquad \text{(by } p = p \text{, } q = p \text{),}\\ ((r \lor s) \lor \neg (r \lor s)) \rightarrow (q \land \neg q) \qquad \text{(by } p = r \lor s \text{, } q = q \text{),}\\ (r \land (s \leftrightarrow t)) \lor \neg (r \land (s \leftrightarrow t)) \rightarrow (t \land \neg t) \qquad \text{(by } p = r \land (s \leftrightarrow t) \text{, } q = t \text{).} \end{gather*}

    In mathematics, we often wish to prove that a condition \(A \rightarrow B\) is actually a tautology. (See Chapter 6.)

    Definition: Logically Implies

    if the conditional \(A \rightarrow B\) is a tautology, we say that \(A\) logically implies \(B\)

    Definition: \(A \Rightarrow B\)

    notation for logical implication

    Example \(\PageIndex{6}\): Logical Implication

    1. If \(A = p\) and \(B = p \lor q\text{,}\) then \(A \Rightarrow B\text{.}\)
    2. If \(A = p \land q\) and \(B = p\text{,}\) then \(A \Rightarrow B\text{.}\)

    Remark \(\PageIndex{1}\)

    As we will see in Chapter 6, verifying logical implications in mathematical contexts is one of the main tasks of mathematical proof. And to verify a logical implication \(A \Rightarrow B\text{,}\) we want to focus on the idea of conditional as expressing “If \(A\) is true then \(B\) is true,” and we really don't want to concern ourselves with what happens in the case that \(A\) is false. Here is where our “default” values in the rows of the truth table for the conditional \(A \rightarrow B\) where \(A\) is false help out — as the conditional \(A \rightarrow B\) is automatically true when \(A\) is false, regardless of the truth value of \(B\text{,}\) we really only need to consider what happens when \(A\) is true to verify \(A \Rightarrow B\text{.}\)


    This page titled 1.4: Tautologies and contradictions is shared under a GNU Free Documentation License 1.3 license and was authored, remixed, and/or curated by Jeremy Sylvestre via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.