maths.freeDiscrete Math & Logic › 2. Logic › Equivalent Statements

Equivalent Statements

Determine whether two statements are logically equivalent using a truth table.

Learning Objectives

After completing this section, you should be able to:

  1. Determine whether two statements are logically equivalent using a truth table.
  2. Compose the converse, inverse, and contrapositive of a conditional statement

Determine Logical Equivalence

Two statements, \(p\) and \(q\), are logically equivalent when \(p↔q\) is a valid argument, or when the last column of the truth table consists of only true values. When a logical statement is always true, it is known as a tautology. To determine whether two statements \(p\) and \(q\) are logically equivalent, construct a truth table for \(p↔q\) and determine whether it valid. If the last column is all true, the argument is a tautology, it is valid, and \(p\) is logically equivalent to \(q\); otherwise, \(p\) is not logically equivalent to \(q\).

Determining Logical Equivalence with a Truth Table

Try it.

Create a truth table to determine whether the following compound statements are logically equivalent.

  1. \(p\to q;\) \(\sim p\to \ \sim q\)
  2. \(p\to q;\) \(\sim p∨q\)
Solution
  1. Construct a truth table for the biconditional formed by using the first statement as the hypothesis and the second statement as the conclusion, \((p\to q)↔(\sim p\to \ \sim q).\)
    \(p\)\(q\)\(p\to q\)\(\sim p\)\(\sim q\)\(\sim p\to \ \sim q\)\((p\to q)↔(\sim p\to \ \sim q)\)
    TTTFFTT
    TFFFTTF
    FTTTFFF
    FFTTTTT

    Because the last column it not all true, the biconditional is not valid and the statement \(p\to q\) is not logically equivalent to the statement \(\sim p\to \ \sim q\).

  2. Construct a truth table for the biconditional formed by using the first statement as the hypothesis and the second statement as the conclusion, \((p\to q)↔(\sim p∨q).\)
    \(p\)\(q\)\(p\to q\)\(\sim p\)\(\sim p∨q\)\((p\to q)↔(\sim p∨q)\)
    TTTFTT
    TFFFFT
    FTTTTT
    FFTTTT

    Because the last column is true for every entry, the biconditional is valid and the statement \(p\to q\) is logically equivalent to the statement \(\sim p∨q\). Symbolically, \(p\to q\ ≡\ \sim p∨q.\)

Compose the Converse, Inverse, and Contrapositive of a Conditional Statement

The converse, inverse, and contrapositive are variations of the conditional statement, \(p\to q.\)

  • The converse is if \(q\) then \(p\), and it is formed by interchanging the hypothesis and the conclusion. The converse is logically equivalent to the inverse.
  • The inverse is if \(\sim p\) then \(\sim q\), and it is formed by negating both the hypothesis and the conclusion. The inverse is logically equivalent to the converse.
  • The contrapositive is if \(\sim q\) then \(\sim p\), and it is formed by interchanging and negating both the hypothesis and the conclusion. The contrapositive is logically equivalent to the conditional.

The table below shows how these variations are presented symbolically.

ConditionalContrapositiveConverseInverse
\(p\)\(q\)\(\sim p\)\(\sim q\)\(p\to q\)\(\sim q\to \ \sim p\)\(q\to p\)\(\sim p\to \ \sim q\)
TTFFTTTT
TFFTFFTT
FTTFTTFF
FFTTTTTT
Writing the Converse, Inverse, and Contrapositive of a Conditional Statement

Try it.

Use the statements, \(p\): Harry is a wizard and \(q\): Hermione is a witch, to write the following statements:

  1. Write the conditional statement, \(p\to q\), in words.
  2. Write the converse statement, \(q\to p\), in words.
  3. Write the inverse statement, \(\sim p\to \ \sim q\), in words.
  4. Write the contrapositive statement, \(\sim q\to \ \sim p\), in words.
Solution
  1. The conditional statement takes the form, “if \(p\), then \(q\),” so the conditional statement is: “If Harry is a wizard, then Hermione is a witch.” Remember the ifthen … words are the connectives that form the conditional statement.
  2. The converse swaps or interchanges the hypothesis, \(p\), with the conclusion, \(q\). It has the form, “if \(q\), then \(p\).” So, the converse is: "If Hermione is a witch, then Harry is a wizard."
  3. To construct the inverse of a statement, negate both the hypothesis and the conclusion. The inverse has the form, “if \(\sim p\), then \(\sim q\),” so the inverse is: "If Harry is not a wizard, then Hermione is not a witch."
  4. The contrapositive is formed by negating and interchanging both the hypothesis and conclusion. It has the form, “if \(\sim q\), then \(\sim p\)," so the contrapositive statement is: "If Hermione is not a witch, then Harry is not a wizard."

Condensed — the full section is in OpenStax Contemporary Mathematics.

Key Concepts

  • Two statements \(p\) and \(q\) are logically equivalent if the biconditional statement, \(p↔q\) is a valid argument. That is, the last column of the truth table consists of only true values. In other words, \(p↔q\) is a tautology. Symbolically, \(p\) is logically equivalent to \(q\) is written as: \(p≡q.\)
  • A logical statement is a tautology if it is always true.
  • To be valid a local argument must be a tautology. It must always be true.
  • Know the variations of the conditional statement, be able to determine their truth values and compose statements with them.
  • The converse of a conditional statement, if \(p\) then \(q\), is the statement formed by interchanging the hypothesis and conclusion. It is the statement if \(q\) then \(p\).
  • The inverse of a conditional statement if formed by negating the hypothesis and the conclusion of the conditional statement.
  • The contrapositive negates and interchanges the hypothesis and the conclusion.
    ConditionalContrapositiveConverseInverse
    \(p\)\(q\)\(\sim p\)\(\sim q\)\(p\to q\)\(\sim q\to \sim p\)\(q\to p\)\(\sim p\to \sim q\)
    TTFFTTTT
    TFFTFFTT
    FTTFTTFF
    FFTTTTTT
  • The conditional statement is logically equivalent to the contrapositive.
  • The converse is logically equivalent to the inverse.
  • Know how to construct and use truth tables to determine whether statements are logically equivalent.

Practice (4)

Try each one on paper first. Reveal the answer to check; verified ones can be opened in the solver for every step.

  1. Create a truth table to determine whether the following compound statements are logically equivalent.

    1. \(p\to q;\) \(\sim p\to \ \sim q\)
    2. \(p\to q;\) \(\sim p∨q\)
    เปิดเผยคำตอบ
    1. Construct a truth table for the biconditional formed by using the first statement as the hypothesis and the second statement as the conclusion, \((p\to q)↔(\sim p\to \ \sim q).\)
      \(p\)\(q\)\(p\to q\)\(\sim p\)\(\sim q\)\(\sim p\to \ \sim q\)\((p\to q)↔(\sim p\to \ \sim q)\)
      TTTFFTT
      TFFFTTF
      FTTTFFF
      FFTTTTT

      Because the last column it not all true, the biconditional is not valid and the statement \(p\to q\) is not logically equivalent to the statement \(\sim p\to \ \sim q\).

    2. Construct a truth table for the biconditional formed by using the first statement as the hypothesis and the second statement as the conclusion, \((p\to q)↔(\sim p∨q).\)
      \(p\)\(q\)\(p\to q\)\(\sim p\)\(\sim p∨q\)\((p\to q)↔(\sim p∨q)\)
      TTTFTT
      TFFFFT
      FTTTTT
      FFTTTT

      Because the last column is true for every entry, the biconditional is valid and the statement \(p\to q\) is logically equivalent to the statement \(\sim p∨q\). Symbolically, \(p\to q\ ≡\ \sim p∨q.\)

  2. Use the statements, \(p\): Harry is a wizard and \(q\): Hermione is a witch, to write the following statements:

    1. Write the conditional statement, \(p\to q\), in words.
    2. Write the converse statement, \(q\to p\), in words.
    3. Write the inverse statement, \(\sim p\to \ \sim q\), in words.
    4. Write the contrapositive statement, \(\sim q\to \ \sim p\), in words.
    เปิดเผยคำตอบ
    1. The conditional statement takes the form, “if \(p\), then \(q\),” so the conditional statement is: “If Harry is a wizard, then Hermione is a witch.” Remember the ifthen … words are the connectives that form the conditional statement.
    2. The converse swaps or interchanges the hypothesis, \(p\), with the conclusion, \(q\). It has the form, “if \(q\), then \(p\).” So, the converse is: "If Hermione is a witch, then Harry is a wizard."
    3. To construct the inverse of a statement, negate both the hypothesis and the conclusion. The inverse has the form, “if \(\sim p\), then \(\sim q\),” so the inverse is: "If Harry is not a wizard, then Hermione is not a witch."
    4. The contrapositive is formed by negating and interchanging both the hypothesis and conclusion. It has the form, “if \(\sim q\), then \(\sim p\)," so the contrapositive statement is: "If Hermione is not a witch, then Harry is not a wizard."
  3. Use the conditional statement, “If all dogs bark, then Lassie likes to bark,” to identify the following.

    1. Write the hypothesis of the conditional statement and label it with a \(p\).
    2. Write the conclusion of the conditional statement and label it with a \(q\).
    3. Identify the following statement as the converse, inverse, or contrapositive: “If Lassie likes to bark, then all dogs bark.”
    4. Identify the following statement as the converse, inverse, or contrapositive: “If Lassie does not like to bark, then some dogs do not bark.”
    5. Which statement is logically equivalent to the conditional statement?
    เปิดเผยคำตอบ
    1. The hypothesis is the phrase following the if. The answer is \(p\): All dogs bark. Notice, the word if is not included as part of the hypothesis.
    2. The conclusion of a conditional statement is the phrase following the then. The word then is not included when stating the conclusion. The answer is: \(q\): Lassie likes to bark.
    3. “Lassie likes to bark” is \(q\) and “All dogs bark” is \(p\). So, “If Lassie likes to bark, then all dogs bark,” has the form “if \(q\), then \(p\),” which is the form of the converse.
    4. “Lassie does not like to bark” is \(\sim q\) and “Some dogs do not bark” is \(\sim p\). The statement, “If Lassie does not like to bark, then some dogs do not bark,” has the form “if \(\sim q\), then \(\sim p\),” which is the form of the contrapositive.
    5. The contrapositive \(\sim q\to \ \sim p\) is logically equivalent to the conditional statement \(p\to q.\)
  4. Assume the conditional statement, \(p\to q:\) “If Chadwick Boseman was an actor, then Chadwick Boseman did not star in the movie Black Panther” is false, and use it to answer the following questions.

    1. Write the converse of the statement in words and determine its truth value.
    2. Write the inverse of the statement in words and determine its truth value.
    3. Write the contrapositive of the statement in words and determine its truth value.
    เปิดเผยคำตอบ
    1. The only way the conditional statement can be false is if the hypothesis, \(p\): Chadwick Boseman was an actor, is true and the conclusion, \(q\): Chadwick Boseman did not star in the movie Black Panther, is false. The converse is \(q\to p,\) and it is written in words as: “If Chadwick Boseman did not star in the movie Black Panther, then Chadwick Boseman was an actor.” This statement is true, because false \(\to\) true is true.
    2. The inverse has the form “\(\sim p\to \ \sim q.\)” The written form is: “If Chadwick Boseman was not an actor, then Chadwick Boseman starred in the movie Black Panther.” Because \(p\) is true, and \(q\) is false, \(\sim p\) is false, and \(\sim q\) is true. This means the inverse is false \(\to\) true, which is true. Alternatively, from Question 1, the converse is true, and because the inverse is logically equivalent to the converse it must also be true.
    3. The contrapositive is logically equivalent to the conditional. Because the conditional is false, the contrapositive is also false. This can be confirmed by looking at the truth values of the contrapositive statement. The contrapositive has the form “\(\sim q\to \ \sim p\).” Because \(q\) is false and \(p\) is true, \(\sim q\) is true and \(\sim p\) is false. Therefore, \(\sim q\to \ \sim p\) is true \(\to\) false, which is false. The written form of the contrapositive is “If Chadwick Boseman starred in the movie Black Panther, then Chadwick Boseman was not an actor.”

Symbols used here

n!
factorial
n × (n−1) × … × 1; the number of orderings of n things. 0! = 1.
\binom{n}{k}
binomial coefficient, "n choose k"
Number of k-element subsets of n things: n!/(k!(n−k)!).
\sum_{k=1}^{n} a_k
summation
Add a_k for k = 1 up to n.
x \in A,\ A \subseteq B
element of, subset
x belongs to A; every element of A is in B.
A \cup B,\ A \cap B,\ A \setminus B
union, intersection, difference
In either; in both; in A but not B.
\emptyset,\ |A|
empty set, cardinality
The set with no elements; the number of elements of A.
\forall,\ \exists
for all, there exists
Quantifiers: every x; at least one x.
\neg,\ \wedge,\ \vee,\ \Rightarrow,\ \Leftrightarrow
not, and, or, implies, iff
Logical connectives.
\blacksquare\ \text{or}\ \square
end of proof (halmos)
Marks the point where the statement has been established.
a \equiv b \pmod n
congruent modulo n
n divides a − b; a and b have the same remainder.
O(n^2),\ \Theta,\ \Omega
big-O notation
Grows no faster than n² (up to a constant), for large n.
a \bmod n
remainder
What is left after dividing a by n.

How to: Equivalent Statements

  1. Determine whether two statements are logically equivalent using a truth table.
  2. Compose the converse, inverse, and contrapositive of a conditional statement
  3. Construct a truth table for the biconditional formed by using the first statement as the hypothesis and the second statement as the conclusion,
  4. Construct a truth table for the biconditional formed by using the first statement as the hypothesis and the second statement as the conclusion,
  5. The converse is if
  6. The inverse is if
  7. The contrapositive is if
  8. Write the conditional statement,

Questions people ask

What makes mathematics "discrete"?

It deals with separate, countable objects — integers, graphs, statements — rather than continuous quantities. No limits, no infinitesimals; instead induction, counting and logic.

How does a proof by induction work?

Show the statement for the first case, then show that whenever it holds for n it holds for n + 1. Like dominoes: the first falls, and each knocks over the next.

ลองดูสิ

Parts of this page are adapted from OpenStax Contemporary Mathematics (CC BY-NC-SA 4.0). Condensed and re-explained here; errors are ours.

เพิ่มเติมใน Discrete Math & Logic