Foundations of Propositional Logic
Introduction to Propositional Logic
The Building Blocks of Logic
At the heart of logic is the idea of a proposition. A proposition is a statement that can be definitively labeled as either true or false. It's a clear declaration about the state of the world.
For example, "Paris is the capital of France" is a true proposition. "The moon is made of cheese" is a false proposition.
Commands, questions, and opinions are not propositions because they can't be assigned a simple true or false value. "What's for dinner?" isn't true or false. Neither is "Go clean your room." Logic needs firm ground to stand on, and propositions provide that solid footing.
To make things simpler, we use letters like , , and to stand in for entire propositions. So, we might say represents "It is raining."
Connecting Ideas
Rarely do we deal with single propositions in isolation. We combine them to form more complex thoughts. In logic, we use five special symbols called logical connectives to link propositions together.
Negation
noun
The opposite of a proposition. If a proposition is true, its negation is false, and vice versa. It's like saying "not."
We use the symbol for negation. If is "It is sunny," then means "It is not sunny."
Here’s how its truth is determined:
| p | ¬p |
|---|---|
| T | F |
| F | T |
Next, we have connectives that join two propositions.
Conjunction
noun
Connects two propositions with "and." The combined statement is true only if both individual propositions are true.
The symbol for conjunction is . If is "It is cold" and is "It is snowing," then means "It is cold and it is snowing." This is only true if both conditions are met.
| p | q | p ∧ q |
|---|---|---|
| T | T | T |
| T | F | F |
| F | T | F |
| F | F | F |
Disjunction
noun
Connects two propositions with "or." The combined statement is true if at least one of the individual propositions is true.
The symbol for disjunction is . If is "She will study on Saturday" and is "She will study on Sunday," then means "She will study on Saturday or she will study on Sunday." This is true if she studies on Saturday, or on Sunday, or on both days. This is an "inclusive or."
| p | q | p ∨ q |
|---|---|---|
| T | T | T |
| T | F | T |
| F | T | T |
| F | F | F |
Now for two slightly trickier connectives.
Implication
noun
An "if-then" statement. It connects a hypothesis (the "if" part) to a conclusion (the "then" part).
We use the symbol for implication. The statement means "If , then ." An implication is only false when the first part () is true and the second part () is false. Think of it as a broken promise. If you get an A (p is true) and I don't buy you pizza (q is false), then I broke my promise ( is false). In all other cases, the promise is kept.
| p | q | p → q |
|---|---|---|
| T | T | T |
| T | F | F |
| F | T | T |
| F | F | T |
That last part can seem strange. If the first part is false, the implication is true. If you don't get an A, my promise is not broken whether I buy you pizza or not. The condition for the promise was never met.
Finally, the strongest connection.
Biconditional
noun
An "if and only if" statement. It asserts that two propositions have the exact same truth value; they are either both true or both false.
The symbol is . The statement means " if and only if ." This is like a two-way street; it's the same as saying . It's true only when and match.
| p | q | p ↔ q |
|---|---|---|
| T | T | T |
| T | F | F |
| F | T | F |
| F | F | T |
Mapping the Truth
The little tables we've been using are called truth tables. They are a powerful tool for analyzing complex logical statements. A truth table systematically lists every possible combination of truth values for the simple propositions and shows the resulting truth value for the compound statement.
Let's build one for a more complex statement: . We need columns for our base propositions, and . Then we build up to the final expression, piece by piece.
| p | q | p ∧ q | (p ∧ q) → p |
|---|---|---|---|
| T | T | T | T |
| T | F | F | T |
| F | T | F | T |
| F | F | F | T |
First, we list all combinations for and . Next, we figure out the truth value for the part in the parentheses, . Finally, we use the values from the '' column and the '' column to determine the truth value of the final implication.
Notice the final column. It's always true! This tells us something special about the statement.
The final column of a truth table allows us to classify any logical statement into one of three categories.
Tautology: A statement that is always true, no matter the truth values of its components. Our example, , is a tautology. Another simple one is ("It is raining or it is not raining"), which must always be true.
Contradiction: A statement that is always false. The classic example is ("It is raining and it is not raining"). This statement can never be true.
Contingency: A statement that can be either true or false, depending on the truth values of its components. Most logical statements we encounter are contingencies. For example, is a contingency because its truth depends on the values of and .
Which of the following is a proposition?
Let be 'You get an A' and be 'I will buy you pizza.' Under which circumstance is the implication false?
These concepts, from simple propositions to the analysis of truth tables, are the foundation for all logical reasoning.