LearnViz Math
Intermediate ⛓ Discrete Math & Number Theory Topic 3 of 103

Truth Tables

List all truth assignments to evaluate compound statements.

Key idea

List all truth assignments to evaluate compound statements.

In depth

A truth table lists every combination of truth values for the variables and computes the truth of the whole expression. With n variables there are 2ⁿ rows. It is a complete, mechanical test.

Worked example

p → q is false only when p is true and q is false (row T, F); it is true in the other three rows.

Real-world uses

Common mistake

Missing rows, or forgetting that p → q is true when p is false.

How to learn this

  1. Read the key idea and say it in your own words.
  2. Work through the worked example, then try a similar problem.
  3. Use the interactive lesson’s visual and mini-quiz to check the pattern.

Frequently asked questions

What is Truth Tables?

List all truth assignments to evaluate compound statements. It is a topic at the intermediate level in Discrete Math & Number Theory.

Where is Truth Tables used in real life?

Real-world examples: Testing every input combination of a circuit or a security rule before deploying it.

What should I learn before Truth Tables?

Make sure you are comfortable with Logical Connectives, the previous topic in Discrete Math & Number Theory.

What is a common mistake with Truth Tables?

Missing rows, or forgetting that p → q is true when p is false.

How can I practise Truth Tables?

Open the interactive lesson, play with the visual, then answer the three-question mini-quiz. Getting two right marks the topic complete.

What comes after Truth Tables?

Move on to Tautologies and Contradictions next.

Related intermediate topics in Discrete Math & Number Theory