No history yet

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 pp, qq, and rr to stand in for entire propositions. So, we might say pp 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 pp is "It is sunny," then ¬p¬p means "It is not sunny."

Here’s how its truth is determined:

p¬p
TF
FT

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 pp is "It is cold" and qq is "It is snowing," then pqp ∧ q means "It is cold and it is snowing." This is only true if both conditions are met.

pqp ∧ q
TTT
TFF
FTF
FFF

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 pp is "She will study on Saturday" and qq is "She will study on Sunday," then pqp ∨ q 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."

pqp ∨ q
TTT
TFT
FTT
FFF

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 pqp → q means "If pp, then qq." An implication is only false when the first part (pp) is true and the second part (qq) 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 (pqp → q is false). In all other cases, the promise is kept.

pqp → q
TTT
TFF
FTT
FFT

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 pqp ↔ q means "pp if and only if qq." This is like a two-way street; it's the same as saying (pq)(qp)(p → q) ∧ (q → p). It's true only when pp and qq match.

pqp ↔ q
TTT
TFF
FTF
FFT

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: (pq)p(p ∧ q) → p. We need columns for our base propositions, pp and qq. Then we build up to the final expression, piece by piece.

pqp ∧ q(p ∧ q) → p
TTTT
TFFT
FTFT
FFFT

First, we list all combinations for pp and qq. Next, we figure out the truth value for the part in the parentheses, pqp ∧ q. Finally, we use the values from the 'pqp ∧ q' column and the 'pp' 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, (pq)p(p ∧ q) → p, is a tautology. Another simple one is p¬pp ∨ ¬p ("It is raining or it is not raining"), which must always be true.

Contradiction: A statement that is always false. The classic example is p¬pp ∧ ¬p ("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, pqp → q is a contingency because its truth depends on the values of pp and qq.

Quiz Questions 1/6

Which of the following is a proposition?

Quiz Questions 2/6

Let pp be 'You get an A' and qq be 'I will buy you pizza.' Under which circumstance is the implication pqp \rightarrow q false?

These concepts, from simple propositions to the analysis of truth tables, are the foundation for all logical reasoning.