Sign In
Let p and q represent two different logical statements. Consider the following compound statement. p∨ q By making a truth table it can be determined for what values of p and q this statement is true and for what values it is false. There are three steps to follow to make a truth table for a compound statement.
Create one column for each simple statement and for each intermediate compound statement needed to build the original statement. Order the columns from simplest to most complex, with the original statement in the final column.
| p | q | p∨ q |
|---|---|---|
Therefore, this truth table has three columns.
| p | q | p∨ q |
|---|---|---|
| T | T | |
| T | F | |
| F | T | |
| F | F |
The general rule is that a truth table has 2^n rows, where n is the number of variables.
| p | q | p∨ q |
|---|---|---|
| T | T | T |
| T | F | T |
| F | T | T |
| F | F | F |