Enter an equation or problem
Camera input is not recognized!

Truth table generator

Truth table generator

Learn more with Tiger

A truth table lists every possible combination of truth values for the variables in a logical expression and shows the resulting value of the expression for each combination. Truth tables are the standard method for determining whether a logical statement is always true (a tautology), always false (a contradiction), or sometimes true and sometimes false (contingent).

Logical Connectives

  • AND (p∧q): true only when both p and q are true
  • OR (p∨q): true when at least one of p or q is true
  • NOT (¬p): reverses the truth value
  • IMPLIES (p→q): false only when p is true and q is false
  • BICONDITIONAL (p↔q): true when both have the same truth value

Example

For the expression p∧(p→q) with two variables, the truth table has 22=4 rows:

When p=T,q=T: T∧T=T. When p=T,q=F: T∧F=F. When p=F: the result is F regardless of q, since F∧(anything)=F. This expression is contingent.

Why It Matters

  • Verifying logical arguments and proofs
  • Digital circuit design and Boolean algebra
  • Computer science: conditionals, Boolean expressions, and logic gates
  • Discrete mathematics and formal logic courses

Try It

Enter a logical expression like p AND (p -> q) or (A OR B) AND NOT C to generate the complete truth table with classification.