












Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!













STUDY NOTES
Updated August 23, 2026
Use this table to recognize the main logical operations and equivalence notation quickly; the detailed rules and truth tables follow. Concept Notation Read as Rule Logical equivalenc e s ≡ r s is logically equivalent to r s and r match for every truth assignment Negation (^) ¬p not p p is false Conjunction (^) p ∧ q p and q both p and q are true Disjunction (^) p ∨ q p or q at least one is true, including both Exclusive or p ⊕ q p or q, but not both exactly one is true Conditional p → q if p, then q unless p is true and q is false Bicondition al p ↔ q p if and only if q p and q have the same truth value Argument conclusion ∴ c therefore c c is the proposed conclusion Key equivalence laws Law Equivalence Memory cue De Morgan's first law ¬(p ∨ q) ≡ (¬p ∧ ¬q) Negate each part and change ∨ to ∧ De Morgan's second law ¬(p ∧ q) ≡ (¬p ∨ ¬q) Negate each part and change ∧ to ∨
Equivalence methods Compare truth-table result columns, or transform one proposition into the other by substituting known equivalent expressions. Quantifier symbols Symbol Read as Truth condition ∀x P(x) for every x, P(x)^ P(x) holds for every domain element ∃x P(x) there exists an x such that P(x) P(x) holds for at least one domain element De Morgan's laws: what the negation changes Law type Equivalences What switches Propositional De Morgan's laws ¬(p ∨ q) ≡ ¬p ∧ ¬q ¬(p ∧ q) ≡ ¬p ∨ ¬q The connector: ∨ ↔ ∧ Quantified De Morgan's laws ¬∀x P(x) ≡ ∃x ¬P(x) ¬∃x P(x) ≡ ∀x ¬P(x) The quantifier: ∀ ↔ ∃ Document roadmap Section Main purpose
Priority Operation Symbol 3 Disjunction (or)^ ∨ Watch for Fill variable columns from the right: T/F, then TT/FF, then TTTT/FFFF. Put variables on the left and the final result on the right.
Core idea: Negation is a unary logical operation because it acts on one proposition. Key point: The negation of p is written ¬p and is read as 'not p.' Key point: Negation reverses a proposition's truth value: if p is true then ¬p is false, and if p is false then ¬p is true. Key point: The truth table for negation has two rows because p has two possible truth values. Example: Truth table for ¬p: when p is T, ¬p is F; when p is F, ¬p is T. Truth table: negation p ¬p T F F T
Core idea: The symbol ∧ denotes the conjunction operation. Key point: The compound proposition p ∧ q is read as 'p and q.' Key point: The conjunction p ∧ q is true exactly when both p and q are true; it is false otherwise. Truth table: conjunction p q p ∧ q T T T T F F F T F F F F
Core idea: A logical conjunction may be expressed in English using 'and,' 'but,' 'although,' or 'despite the fact that.' Key point: Contrast words such as 'but' and 'although' do not change the conjunction's truth condition: both component propositions must be true. Example: The symbolic conjunction p ∧ h can be written as: p and h; p, but h; despite the fact that p, h; or although p, h. Common English structures that express p ∧ h Logical form English example p and h The sauce looks disgusting and tastes delicious. p, but h The sauce looks disgusting, but tastes delicious. Despite p, h Despite looking disgusting, the sauce tastes delicious. Although p, h Although the sauce looks disgusting, it tastes delicious.
Core idea: The symbol ∨ denotes the disjunction operation. Key point: The compound proposition p ∨ q is read as 'p or q.' Key point: The disjunction p ∨ q is true when p is true, q is true, or both are true. Key point: The disjunction p ∨ q is false only when both p and q are false. Watch for Mistaking logical disjunction for exclusive or and treating p ∨ q as false when both p and q are true. Truth table: inclusive disjunction p q p ∨ q T T T T F T F T T F F F
Key point: A compound proposition using the conditional operation is called a conditional proposition and may be called a conditional statement when expressed in English. Key point: In p → q, p is the hypothesis and q is the conclusion. Example: If there is a traffic jam today, then I will be late for work. Example: Truth table for p → q: T,T gives T; T,F gives F; F,T gives T; F,F gives T. Watch for Treating p → q as false whenever the hypothesis p is false; a conditional with a false hypothesis is true in this truth table. Watch for Reversing the roles of p and q: p is the hypothesis and q is the conclusion. Truth table: conditional p q p → q T T T T F F F T T F F T
Equivalent forms: If p, then q; if p, q; q if p; p implies q; q whenever p; p only if q; p is sufficient for q; and q is necessary for p all express p → q. Watch the direction For p → q, p is sufficient for q, q is necessary for p, and p only if q. By contrast, p if q reverses the direction and means q → p. English expressions that preserve the direction p → q Logical form English example If p, then q If you mow Mr. Smith's lawn, then he will pay you. If p, q If you mow Mr. Smith's lawn, he will pay you. q if p Mr. Smith will pay you if you mow his lawn. p implies q Mowing Mr. Smith's lawn implies that he will pay you. q whenever p Mr. Smith will pay you whenever you mow his lawn. p only if q You will mow Mr. Smith's lawn only if he pays you.
Logical form English example p is sufficient for q Mowing Mr. Smith's lawn is sufficient for him to pay you. q is necessary for p Mr. Smith's paying you is necessary for you to mow his lawn.
Transformation key: Converse: swap p and q. Inverse: negate both without swapping. Contrapositive: swap p and q and negate both. Statements related to p → q Form Symbolic statement Rain and game example Original (^) p → q If it is raining today, then the game will be cancelled. Converse (^) q → p If the game is cancelled, then it is raining today. Contrapositive (^) ¬q → ¬p If the game is not cancelled, then it is not raining today. Inverse (^) ¬p → ¬q If it is not raining today, then the game will not be cancelled.
Core idea: The symbol ↔ denotes the biconditional operation, so p ↔ q is read as 'p if and only if q.' Key point: The biconditional p ↔ q is true when p and q have the same truth value and false when they have different truth values. Key point: The abbreviation 'iff' means 'if and only if.' Key point: The biconditional p ↔ q can be expressed as 'p is necessary and sufficient for q' or 'if p then q, and conversely.' Example: Truth table for p ↔ q: T,T gives T; T,F gives F; F,T gives F; F,F gives T. Example: The statements 'p iff q' and 'p if and only if q' both mean p ↔ q. Watch for Treating a biconditional as a one-direction conditional; p ↔ q requires the relationship in both directions.
Counterexample shortcut One false row proves a proposition is not a tautology. One true row proves it is not a contradiction; a complete truth table is unnecessary when one such row has already been found.
Definition: Two compound propositions are logically equivalent when they have the same truth value for every possible assignment of their variables. Notation: Write s ≡ r to say that s and r are logically equivalent. The order may be reversed: s ≡ r exactly when r ≡ s. Truth-table test: Build both result columns using the same variable rows. The propositions are equivalent only if those columns match row by row. One mismatched row disproves equivalence. Double negation: p and ¬¬p have matching columns p ¬p ¬¬p Columns p and ¬¬p match? T F T Yes F T F Yes Equivalent tautology test The statement s ≡ r holds if and only if the biconditional s ↔ r is a tautology. This works because s ↔ r is true exactly when s and r have matching truth values.
5. Laws of propositional logic Substitution method: To show two propositions are logically equivalent without building a truth table, transform one expression into the other through a sequence of substitutions using known logical equivalences. Good proof habit: Change one relevant subexpression at a time and identify the law that justifies each step.
Purpose: These laws move a negation through a parenthesized conjunction or disjunction. Every component is negated, and the connector switches between ∨ and ∧.
Equivalence: ¬(p ∨ q) ≡ (¬p ∧ ¬q)
Transformation: Push the negation through the parentheses, negate both p and q, and change the disjunction ∨ to the conjunction ∧. Memory cue Negation flips the connector: NOT (p OR q) becomes (NOT p) AND (NOT q). Truth-table verification of De Morgan's first law p q ¬(p ∨ q) ¬p ∧ ¬q Match? T T F F Yes T F F F Yes F T F F Yes F F T T Yes English example: Let p mean 'The patient has migraines' and q mean 'The patient has high blood pressure.' Then 'It is not true that the patient has migraines or high blood pressure' is equivalent to 'The patient does not have migraines and does not have high blood pressure.'
Equivalence: ¬(p ∧ q) ≡ (¬p ∨ ¬q) Transformation: Push the negation through the parentheses, negate both p and q, and change the conjunction ∧ to the disjunction ∨. Memory cue Negation flips the connector: NOT (p AND q) becomes (NOT p) OR (NOT q). Truth-table verification of De Morgan's second law p q ¬(p ∧ q) ¬p ∨ ¬q Match? T T F F Yes T F T T Yes F T T T Yes F F T T Yes English example: Let p mean 'The patient has migraines' and q mean 'The patient has high blood pressure.' Then 'It is not true that the patient has migraines and high blood pressure' is equivalent to 'The patient does not have migraines or does not have high blood pressure.'
Role Notation Meaning Conclusion (^) ∴ c The statement claimed to follow from the hypotheses Valid argument: The conclusion is true for every truth assignment that makes all the hypotheses true. An argument is invalid if there is a truth assignment for which every hypothesis is true but the conclusion is false. Tautology test An argument with hypotheses h₁, h₂, ..., hₙ and conclusion c is valid exactly when (h₁ ∧ h₂ ∧ ... ∧ hₙ) → c is a tautology. Counterexample test: To prove an argument invalid, find one truth assignment that makes every hypothesis true and the conclusion false. A row where any hypothesis is false does not demonstrate invalidity.
Method: Assign a propositional variable to each distinct statement, then preserve the connectives and the division between hypotheses and conclusion. Validity is analyzed from this resulting form, not from the argument's subject matter. Translating a rain-and-bike argument English statement Symbolic statement Role It is raining today. (^) p Hypothesis If it is raining today, I will not ride my bike to school. p → q Hypothesis I will not ride my bike to school. (^) ∴ q Conclusion Argument form With p = 'It is raining today' and q = 'I will not ride my bike to school,' the argument has the form p, p → q ∴ q.
Hypotheses Conclusion Associated conditional p; p → q ∴ q (p ∧ (p → q)) → q p → q; p ∴ q ((p → q) ∧ p) → q Why order does not matter The two forms have the same hypotheses and conclusion. Reordering hypotheses does not change validity because conjunction is commutative. Validity is conditional A valid argument does not claim that its hypotheses are actually true. It says that if all the hypotheses are true, the conclusion cannot be false.
7. Predicates, domains, and quantifiers Connection to earlier laws Predicate logic extends propositional logic with variables and quantifiers. The propositional laws from Section 5 still apply inside a quantified statement, while quantified De Morgan's laws govern how a negation crosses ∀ or ∃.
Scope: The scope of a quantifier is the part of the expression controlled by that quantifier. Identify the scope before moving a negation or applying an equivalence law.
Nested quantifiers: A logical expression has nested quantifiers when more than one quantifier binds different variables in the same predicate. A predicate with multiple variables needs a separate quantifier for each variable that is to be bound. Proposition test: A quantified logical expression is a proposition when all of its variables are bound. If any variable remains free, the expression is still an open statement rather than a proposition. Examples of quantifiers and bound variables Expression Bound variables Free variables Result ∀x ∃y P(x, y) x and y None All variables are bound; this is a proposition ∀x P(x, y) x y y remains free; this is not yet a proposition ∃y ∃z T(x, y, z) y and z x x remains free; this is not yet a proposition Watch for A quantifier binds only its matching variable within its scope. The presence of one quantifier does not automatically bind every variable appearing in the predicate.
Three-variable example: Over the integers, ∀x∀y∃z(x + y = z) is true. Read left to right: after x and y are chosen, z may be chosen as x + y. Why moving ∃ changes the claim: The statement ∃z∀x∀y(x + y = z) is false. It requires one fixed z to equal every possible sum x + y; after z and x are fixed, y can be chosen so that x + y ≠ z. Safe swap rule Adjacent quantifiers of the same type may exchange places: ∀x∀y P(x,y) ≡ ∀y∀x P(x,y), and ∃x∃y P(x,y) ≡ ∃y∃x P(x,y). Swapping adjacent ∀ and ∃ is not generally valid because it changes which choices may depend on earlier ones.
What this is: A quantifier game is a standard two-player interpretation of nested quantifiers. It is an intuition tool, not a separate logical law or operator. How choices work: Read from left to right. Each player chooses the variables controlled by that player's quantifier. Later choices may respond to earlier ones, so quantifier order can change a statement's truth value. The two players in a quantifier game Player Chooses values for Goal Existential player Variables bound by ∃ Make the predicate true Universal player Variables bound by ∀ Make the predicate false Why quantifier order matters (domain: all integers) Statement Order of play Result ∀x ∃y(x + y = 0) The universal player chooses x first. The existential player can respond with y = −x. True: the existential player has a successful response for every x. ∃x ∀y(x + y = 0) The existential player fixes x first. The universal player can respond with y = −x + 1. False: that response makes x + y = 1, not 0. Key takeaway ∀x∃y allows y to depend on x. In ∃x∀y, one fixed x must work for every possible y. These statements use the same predicate but make different claims because the order of information and response is different.
Definition: Quantified De Morgan's laws describe how to negate universal and existential statements. Move the negation through the quantifier, switch ∀ with ∃ or ∃ with ∀, and negate the predicate in the quantifier's scope. Named law Original negation Equivalent statement English meaning Negation of a universal ¬∀x P(x) ∃x ¬P(x) Not every x satisfies P; some x does not Negation of an existential ¬∃x P(x) ∀x ¬P(x) No x satisfies P; every x fails P
Beginning expression: ¬∃x(¬P(x) ∧ Q(x)) Step Equivalent expression Justification 1 ∀x¬(¬P(x) ∧ Q(x)) Quantified De Morgan's law: ¬∃ becomes ∀¬ 2 ∀x(¬¬P(x) ∨ ¬Q(x)) Propositional De Morgan's law: negate both parts and change ∧ to ∨ 3 ∀x(P(x) ∨ ¬Q(x)) Double-negation law: ¬¬P(x) ≡ P(x) Work from the outside inward: Cross the quantifier first with quantified De Morgan's law; then simplify inside its scope.
Statement Value on an empty domain Reason ∀x P(x) True There is no element for which P(x) is false ∃x P(x) False There is no element that can serve as a witness