Propositions and Compound Statements
A proposition is a declarative sentence that is either true or false, but not both. It has a definite truth value.
Examples of propositions:
Not propositions:
The truth value of a proposition is either:
Propositions can be combined using logical operators to form compound statements.
The negation of a proposition reverses its truth value.
If is true, then is false.
| p | ¬p |
|---|---|
| T | F |
| F | T |
The conjunction is true only if both and are true.
| p | q | p ∧ q |
|---|---|---|
| T | T | T |
| T | F | F |
| F | T | F |
| F | F | F |
The disjunction is true if at least one of or is true.
| p | q | p ∨ q |
|---|---|---|
| T | T | T |
| T | F | T |
| F | T | T |
| F | F | F |
True only if exactly one of , is true.
| p | q | p ⊕ q |
|---|---|---|
| T | T | F |
| T | F | T |
| F | T | T |
| F | F | F |
"If , then "
The implication is false only when is true and is false.
| p | q | p → q |
|---|---|---|
| T | T | T |
| T | F | F |
| F | T | T |
| F | F | T |
"p if and only if q"
True when both have the same truth value.
| p | q | p ↔ q |
|---|---|---|
| T | T | T |
| T | F | F |
| F | T | F |
| F | F | T |
Truth tables help determine the truth value of compound statements for all possible truth values of their components.
Example:
| p | q | ¬p | p ∨ q | (p ∨ q) ∧ ¬p |
|---|---|---|---|---|
| T | T | F | T | F |
| T | F | F | T | F |
| F | T | T | T | T |
| F | F | T | F | F |
Two statements are logically equivalent if they always have the same truth value. Denoted as
Examples:
Tautology: A statement that is always true.
Example:
Contradiction: A statement that is always false.
Example:
Contingency: A statement that is sometimes true and sometimes false depending on the truth values of its components.
Need the next topic?
Open this section to load past papers