Sign In
[ (p⇒ q) ∧ p ] ⇒ q
This can also be written as follows.
To determine the number of columns in the truth table, the compound statement can be broken down
into simpler statements until the simplest statements p and q are obtained.
The columns are formed by ordering each unique step of simplification from the simplest to the most complex. The last column of a truth table is always the original statement.
| p | q | p⇒ q | (p⇒ q) ∧ p | [ (p⇒ q) ∧ p ] ⇒ q |
|---|---|---|---|---|
In this case, the truth table has six columns.
A truth table has as many rows as there are combinations of truth values of the variables. Those combinations are the simplest statements that make up the complex statement. In this case, the complex statement was broken down into two simplest statements. Simplest Statements p and q 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.
| p | q | p⇒ q | (p⇒ q) ∧ p | [ (p⇒ q) ∧ p ] ⇒ q |
|---|---|---|---|---|
| T | T | |||
| T | F | |||
| F | T | |||
| F | F |
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 conditional statement (p⇒ q). A conditional statement is false only when the hypothesis is true and the conclusion false.
| p | q | p⇒ q | (p⇒ q) ∧ p | [ (p⇒ q) ∧ p ] ⇒ q |
|---|---|---|---|---|
| T | T | T | ||
| T | F | F | ||
| F | T | T | ||
| F | F | T |
The next column is the conjunction (p⇒ q) ∧ p. A conjunction is false unless both statements are true.
| p | q | p⇒ q | (p⇒ q) ∧ p | [ (p⇒ q) ∧ p ] ⇒ q |
|---|---|---|---|---|
| T | T | T | T | |
| T | F | F | F | |
| F | T | T | F | |
| F | F | T | F |
Similarly to the third column, the last column is a conditional statement.
| p | q | p⇒ q | (p⇒ q) ∧ p | [ (p⇒ q) ∧ p ] ⇒ q |
|---|---|---|---|---|
| T | T | T | T | T |
| T | F | F | F | T |
| F | T | T | F | T |
| F | F | T | F | T |
The law may sound more complicated than it actually is. For example, consider the following two statements that are both true.
According to the Law of Detachment, it can be concluded that Diego lives on the West Coast.