Logical connectives are words used to connect simple statements to form compound statements. In logic, there are five basic logical connectives:
Conjunction is used to express the relationship of "and".
Symbol: ∧
Example: p ∧ q means "p and q"
Truth condition: p ∧ q is true only when p is true and q is true
| p | q | p ∧ q |
|---|---|---|
| True | True | True |
| True | False | False |
| False | True | False |
| False | False | False |
Disjunction is used to express the relationship of "or".
Symbol: ∨
Example: p ∨ q means "p or q"
Truth condition: p ∨ q is true when p is true or q is true (or both are true)
| p | q | p ∨ q |
|---|---|---|
| True | True | True |
| True | False | True |
| False | True | True |
| False | False | False |
Negation is used to express the relationship of "not".
Symbol: ¬
Example: ¬p means "not p" or "p is not the case"
Truth condition: The truth value of ¬p is the opposite of the truth value of p
| p | ¬p |
|---|---|
| True | False |
| False | True |
Conditional is used to express the relationship of "if...then...".
Symbol: →
Example: p → q means "if p, then q"
Truth condition: p → q is false only when p is true and q is false
| p | q | p → q |
|---|---|---|
| True | True | True |
| True | False | False |
| False | True | True |
| False | False | True |
Biconditional is used to express the relationship of "if and only if".
Symbol: ↔
Example: p ↔ q means "p if and only if q"
Truth condition: p ↔ q is true when p and q have the same truth value
| p | q | p ↔ q |
|---|---|---|
| True | True | True |
| True | False | False |
| False | True | False |
| False | False | True |
Truth tables are tools for analyzing the truth conditions of compound statements.
Steps for constructing a truth table:
Truth table for "(p ∧ q) → r":
| p | q | r | p ∧ q | (p ∧ q) → r |
|---|---|---|---|---|
| True | True | True | True | True |
| True | True | False | True | False |
| True | False | True | False | True |
| True | False | False | False | True |
| False | True | True | False | True |
| False | True | False | False | True |
| False | False | True | False | True |
| False | False | False | False | True |
In today's course, we learned: