{{ 'ml-label-loading-course' | message }}
{{ toc.name }}
{{ toc.signature }}
{{ tocHeader }} {{ 'ml-btn-view-details' | message }}
{{ tocSubheader }}
{{ 'ml-toc-proceed-mlc' | message }}
{{ 'ml-toc-proceed-tbs' | message }}
Lesson
Exercises
Recommended
Tests
An error ocurred, try again later!
Chapter {{ article.chapter.number }}
{{ article.number }}. 

{{ article.displayTitle }}

{{ article.intro.summary }}
Show less Show more expand_more
{{ ability.description }} {{ ability.displayTitle }}
Lesson Settings & Tools
{{ 'ml-lesson-number-slides' | message : article.intro.bblockCount }}
{{ 'ml-lesson-number-exercises' | message : article.intro.exerciseCount }}
{{ 'ml-lesson-time-estimation' | message }}
Method

Making a Truth Table

There are three steps to follow to make a truth table for a compound statement.
  1. Determine the number of columns of the truth table.
  2. Determine the number of rows of the table.
  3. Fill in the cells of the table.
Let and represent two different logical statements. Consider the following compound statement.
By making a truth table it can be determined for what values of and this statement is true and for what values it is false.
1
Determine the Number of Columns
expand_more

The number of columns of a truth table depends on the complexity of the statement. To determine this number, the compound statement must be broken down into simpler statements until the simplest statements are obtained. In this case, the compound statement is broken down until and are obtained.

The columns are formed by ordering each unique step of simplification from simplest to most complex. The last column of a truth table is always the original statement.

In this case, the truth table has six columns.

2
Determine the Number of Rows
expand_more
A truth table has as many rows as there are combinations of the truth values of the variables, which are also the simplest statements of the complex statement. In this case, the complex statement was broken down into two simplest statements.
Each of these statements can be either true (T) or false (F). Therefore, since there are four possible combinations for these truth values, the table will have four rows.
T T
T F
F T
F F

The general rule is that a truth table has rows, where is the number of variables.

3
Fill in the Cells
expand_more

The last step in making a truth table is to fill in the remaining empty cells, column by column. The first column that will be filled in is the negation of A negation has the opposite truth value than the original statement.

T
F
T
F

Similarly, the fourth column — the negation of — is completed.

T F
T F
F T
F T

The next column is the disjunction of and A disjunction is unless both statements are

T F
T T
F F
F T

Finally, the last column is the conjunction of and A conjunction is unless both statements are

T T F
T F F
F T T
F F T
Loading content