Login
📚 Contemporary Mathematics
Chapters ▾
⇩ Download ▾

2.4 Truth Tables for the Conditional and Biconditional

A laptop screen shows coding.
Figure 2.11 If-then statements use logic to execute directions.If-then statements use logic to execute directions. (credit: “Coding” by Carlos Varela/Flickr, CC BY 2.0)

Learning Objectives

After completing this section, you should be able to:

  1. Use and apply the conditional to construct a truth table.
  2. Use and apply the biconditional to construct a truth table.
  3. Use truth tables to determine the validity of conditional and biconditional statements.

Computer languages use if-then or if-then-else statements as decision statements:

For example, the following representation of computer code creates an if-then-else decision statement:

Check value of variable i.

If i<1, then print "Hello, World!" else print "Goodbye".

In this imaginary program, the if-then statement evaluates and acts on the value of the variable i. For instance, if i=0, the program would consider the statement i<1 as true and “Hello, World!” would appear on the computer screen. If instead, i=3, the program would consider the statement i<1 as false (because 3 is greater than 1), and print “Goodbye” on the screen.

In this section, we will apply similar reasoning without the use of computer programs.

Use and Apply the Conditional to Construct a Truth Table

A conditional is a logical statement of the form if p, then q. The conditional statement in logic is a promise or contract. The only time the conditional, pq, is false is when the contract or promise is broken.

For example, consider the following scenario. A child’s parent says, “If you do your homework, then you can play your video games.” The child really wants to play their video games, so they get started right away, finish within an hour, and then show their parent the completed homework. The parent thanks the child for doing a great job on their homework and allows them to play video games. Both the parent and child are happy. The contract was satisfied; true implies true is true.

Now, suppose the child does not start their homework right away, and then struggles to complete it. They eventually finish and show it to their parent. The parent again thanks the child for completing their homework, but then informs the child that it is too late in the evening to play video games, and that they must begin to get ready for bed. Now, the child is really upset. They held up their part of the contract, but they did not receive the promised reward. The contract was broken; true implies false is false.

So, what happens if the child does not do their homework? In this case, the hypothesis is false. No contract has been entered, therefore, no contract can be broken. If the conclusion is false, the child does not get to play video games and might not be happy, but this outcome is expected because the child did not complete their end of the bargain. They did not complete their homework. False implies false is true. The last option is not as intuitive. If the parent lets the child play video games, even if they did not do their homework, neither parent nor child are going to be upset. False implies true is true.

The truth table for the conditional statement below summarizes these results.

pqpq
TTT
TFF
FTT
FFT

Use and Apply the Biconditional to Construct a Truth Table

The biconditional, pq, is a two way contract; it is equivalent to the statement (pq)(qp). A biconditional statement, pq, is true whenever the truth value of the hypothesis matches the truth value of the conclusion, otherwise it is false.

The truth table for the biconditional is summarized below.

pqpq
TTT
TFF
FTF
FFT

Key Concepts

  • The conditional statement, if p then q, is like a contract. The only time it is false is when the contract has been broken. That is, when p is true, and q is false.
    Conditional
    pqpq
    TTT
    TFF
    FTT
    FFT
  • The biconditional statement, p if and only if q, it true whenever p and q have matching true values, otherwise it is false.
    Biconditional
    pqpq
    TTT
    TFF
    FTF
    FFT
  • Know how to construct truth tables involving conditional and biconditional statements.
  • Use truth tables to analyze conditional and biconditional statements and determine their validity.

Video

Adapted from Contemporary Mathematics by OpenStax (openstax.org), licensed under CC BY-NC-SA 4.0. Changes were made. License: CC-BY-NC-SA-4.0.