Symbolic Logic The Following slide were written using materials from the Book: Discrete mathematics With Applications Third Edition By Susanna S. Epp Symbolic Logic The main purpose of logic is to build the thinking methods. Provide rules,techniques, for making decision in an argument, validating a deduction. In classical logic, only phrases , assertions with one truth value are allowed: TRUE or FALSE, without ambiguity Such boolean assertions are called propositions. Symbolic Logic A proposition is a statement that is either true or false. The purpose of propositional logic is to provide complex construction of rules, from anonymous propositions called propositional variables If p is a proposition ,the negation of p, denoted by ¬p, is a proposition which means " it is false that". Then if p is true , ¬p is false, and if p is false , ¬p is true. Symbolic Logic A proposition consisting of only a single propositional variable or single constant (true or false) is called an atomic proposition. All nonatomic propositions are called compound propositions. All compound propositions contain at least one logical connective. Symbolic Logic If p and q are propositions, the conjunction of p and q is the proposition " p and q” denoted by pq. The proposition pq is true if p and q are both true, and false otherwise; this is describe by the following truth table: p q pq 0 0 0 0 1 0 1 0 0 1 1 1 Symbolic Logic The disjunction of p and q is the proposition " p or q” denoted by pq. The proposition pq is true if at least one of the two propositions p and p is true, and false when p and q are both false; this is described by the following truth table: p q pq 0 0 0 0 1 1 1 0 1 1 1 1 Symbolic Logic By combining,¬,, we can build compound propositions and construct their truth tables. Truth table for: (p q ) ¬r (p q ) ¬r p 1 1 1 1 0 0 0 0 q 1 1 0 0 1 1 0 0 r 1 0 1 0 1 0 1 0 pq 1 1 0 0 0 0 0 0 ¬r 0 1 0 1 0 1 0 1 (p q ) ¬r 1 1 0 1 0 1 0 1 Logical equivalence Two statements are logically equivalent if they have equivalent truth tables. The symbol for Logical equivalence is Example: p q q p 1 p q 1 q p 1 1 0 0 0 0 1 0 0 0 0 0 0 P Q 1 Double negative property The negation of the negation of a statement is logically equivalent to the statement ¬(¬p) p p ¬p ¬(¬p) 1 0 1 0 1 0 Showing nonequivalence Show that the statement forms ¬(pq) and ¬p¬q are not logically equivalent. p q ¬p ¬q pq ¬(pq) ¬p¬q 1 1 0 0 1 0 0 1 0 0 1 0 1 0 0 1 1 0 0 1 0 0 0 1 1 0 1 1 De Morgan’s laws The negation of a conjunction of two statements is logically equivalent to the disjunction of their negations. ¬(pq) ¬p ¬q The negation of the disjunction of two statements is logically equivalent to the conjunction of their negation. ¬(p q) ¬p ¬q De Morgan’s laws p q ¬p ¬q pq ¬(pq) ¬p ¬q 1 1 0 0 1 0 0 1 0 0 1 0 1 1 0 1 1 0 0 1 1 0 0 1 1 0 1 1 De Morgan’s laws p q ¬p ¬q pq ¬(pq) ¬p¬q 1 1 0 0 1 0 0 1 0 0 1 1 0 0 0 1 1 0 1 0 0 0 0 1 1 0 1 1 Tautologies and Contradiction A tautology is a statement form that is always true regardless of the truth values of individual statements substituted for its statement variables. A contradiction is a statement form that is always false regardless of the truth values of individual statements substituted for its statement variables. Tautologies and Contradiction p ¬p p¬p p¬p 1 0 1 0 0 1 1 0 Tautology Contradiction Logical Equivalences Given any statement variables p, q, and r, a tautology t and a contradiction c the following logical equivalences hold. 1. Commutative law pq qp p q q p 2. Associative law (pq)r p (qr ) (pq)r p(qr ) 3. Distributive law p(qr)(pq)(pr ) p(q r)(pq) (pr ) 4. Identity ptp pcp Logical Equivalences Negation laws p¬p t p ¬p c 6. Double negative law ¬ (¬ p)p 7. Idempotent pp p pp p 8. Universal bounds laws pt t pc c 9. De Morgan’s laws 5. ¬(pq) ¬p ¬q ¬(p q) ¬p ¬q Logical Equivalences 10. Absorption laws p(pq) p p (pq) p 11. Negations of t and c ¬t c ¬c t Simplifying statements Verify the equivalence ¬(¬pq)(p q) p By De Morgan’s (¬(¬p)¬q)(p q) By double negative law (p¬q)(p q) By distributive law p(¬qq) By negation law pc By identity law p Simplifying statements Verify the equivalence ¬(p¬q)(¬p¬ q) ¬p Simplify the following expressions. State the rule you are using at each stage. ((pq) (pq))(pq) ( (pq) (pq))(pq) De Morgan’s law ( ()pq)( ()p()q))(pq) De Morgan’s law (pq)(pq)(pq) Double negative law p (qq)(pq) Distributive laws (p t )(pq) Negation laws p(pq) Universal bounds laws pq
© Copyright 2026 Paperzz