๐๏ธโ๐จ๏ธFormal Logic I
Logical Operators
Study smarter with Fiveable
Get study guides, practice questions, and cheatsheets for all your subjects. Join 500,000+ students with a 96% pass rate.
Why This Matters
Logical operators are the fundamental tools for building, analyzing, and evaluating arguments in formal logic. You need to do more than recognize symbols like , , and . You need to understand how truth values flow through compound statements, when arguments are valid, and why certain logical relationships hold. These operators appear in every proof, every truth table, and every logical equivalence you'll encounter.
Each operator has a specific truth-functional behavior: its output depends entirely on the truth values of its inputs. That means you can mechanically determine the truth of any complex statement once you know how each operator works. Don't just memorize symbols and truth tables. Know what logical relationship each operator captures and when to apply each one in constructing or analyzing arguments.
Unary Operators: Transforming Single Propositions
Some operators work on just one proposition, transforming its truth value. Negation is the only standard unary operator, but it's foundational to everything else.
Negation (NOT)
- Symbol: or โ flips the truth value of any proposition (true becomes false, false becomes true)
- Truth-functional definition: is true if and only if is false
- Double negation equivalence: โ crucial for proofs and simplification
Conjunction and Disjunction: Combining Propositions
These binary operators combine two propositions based on whether both or at least one must be true. They represent the logical versions of "and" and "or" from everyday language.
Conjunction (AND)
- Symbol: or โ true only when both propositions are true
- Strictest binary operator: one false conjunct makes the whole conjunction false
- Commutativity: โ order doesn't matter for truth value
Disjunction (OR)
- Symbol: โ true when at least one proposition is true (inclusive OR)
- Default interpretation is inclusive: is true even when both and are true
- Key equivalence: โ connects disjunction to conjunction via De Morgan's Law
Compare: Conjunction vs. Disjunction โ both combine two propositions, but conjunction requires all inputs true while disjunction requires at least one. On truth tables, conjunction has one true row (T, T); disjunction has one false row (F, F). If you're thinking about necessary vs. sufficient conditions, conjunction typically expresses "both required."
Conditional Operators: Expressing Implication
Conditionals capture "if-then" relationships and are central to logical argumentation. The material conditional's truth conditions often trip students up โ focus on when it's false, not when it's true.
Conditional (IF-THEN)
- Symbol: or โ false only when the antecedent is true and the consequent is false
- Antecedent/consequent terminology: in , is the antecedent, is the consequent
- Vacuous truth: when the antecedent is false, the conditional is automatically true โ this is counterintuitive but essential
Think of it this way: is a promise that if happens, then will follow. The only way to break that promise is for to be true while is false. If never happens (is false), the promise was never tested, so it counts as kept.
Biconditional (IF AND ONLY IF)
- Symbol: or โ true when both propositions have the same truth value (both true or both false)
- Expresses equivalence: means and are logically interchangeable
- Decomposes to: โ the conjunction of both directions
Compare: Conditional vs. Biconditional โ the conditional only guarantees one direction ( is sufficient for ), while the biconditional guarantees both directions ( is necessary and sufficient for ). Exam questions often test whether you can identify when a biconditional is warranted versus a simple conditional.
Exclusive and Negated Operators: Special Cases
These operators handle scenarios where standard conjunction/disjunction don't capture the intended meaning. XOR distinguishes "one or the other but not both," while NAND and NOR negate the basic operators.
Exclusive OR (XOR)
- Symbol: or โ true when exactly one proposition is true, not both
- Differs from inclusive OR: is false when both and are true
- Equivalence: โ disjunction minus conjunction
This is the "or" you use in everyday life when you say "you can have soup or salad" (meaning pick one). Inclusive OR, by contrast, would allow you to have both.
NAND (NOT AND)
- Symbol: or โ true unless both propositions are true
- Functional completeness: NAND alone can express any logical operator โ it's a universal gate
- Equivalence: โ simply the negation of conjunction
NOR (NOT OR)
- Symbol: โ true only when both propositions are false
- Also functionally complete: like NAND, NOR can express any logical operator on its own
- Equivalence: โ the negation of disjunction
Compare: NAND vs. NOR โ both are negations of basic operators and both are functionally complete, but they have opposite "default" truth values. NAND is false only on (T, T); NOR is true only on (F, F). Understanding their truth tables helps with logical equivalence problems.
Quantifiers: Extending to Predicate Logic
Quantifiers move beyond propositional logic to express claims about domains of objects. They don't combine propositions the way connectives do โ they bind variables within predicates.
Universal Quantifier
- Symbol: โ asserts that a property holds for all elements in the domain
- Form: means "for every , is true"
- Falsified by one counterexample: a single element where fails makes false
Existential Quantifier
- Symbol: โ asserts that at least one element in the domain satisfies the property
- Form: means "there exists some such that is true"
- Negation relationship: โ "not all are" equals "some are not"
The reverse also holds: โ "there is no with property " equals "every lacks property ."
Compare: Universal vs. Existential Quantifier โ makes the strongest claim (every element), while makes the weakest (at least one). Their negations swap: negating "all are" gives "some aren't," and negating "some are" gives "none are." This relationship is heavily tested in predicate logic translations.
Quick Reference Table
| Concept | Examples |
|---|---|
| Unary operator | Negation () |
| Basic binary connectives | Conjunction (), Disjunction () |
| Conditional relationships | Conditional (), Biconditional () |
| Exclusive combinations | XOR () |
| Negated connectives | NAND (), NOR () |
| Functionally complete operators | NAND, NOR |
| Quantifiers | Universal (), Existential () |
| Only one true row (out of 4) | Conjunction (T,T), NOR (F,F) |
| Only one false row (out of 4) | Disjunction (F,F), NAND (T,T) |
Self-Check Questions
-
Which two operators are functionally complete, meaning each can express all other logical operators on its own?
-
Compare the truth conditions for and . Under what input combinations do they differ in truth value?
-
If is true and is false, what can you conclude about the truth values of and ?
-
How does negating a universal quantifier () relate to the existential quantifier? Write the equivalence and explain why it holds.
-
You need to express "at least one of the conditions must fail" using logical operators. Which operator(s) would you use, and how would you structure the expression?