

































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!


































Example: Using Laws of Logic, verify the logical equivalence ~ (~ p ∧ q) ∧ (p ∨ q) ≡ p Solution: ~(~p ∧ q) ∧ (p∨q) ≡ (~(~p) ∨ ~q) ∧(p ∨ q) DeMorgan’s Law ≡ (p ∨ ~q) ∧ (p∨q) Double Negative Law ≡ p ∨ (~q ∧ q) Distributive Law ≡ p ∨ c Negation Law ≡ p Identity Law
“You will get an A if you are hardworking and the sun shines, or you are hardworking and it rains.” Rephrase the condition more simply. Solution: Let p = “You are hardworking’ q = “The sun shines” r = “It rains”. The condition is (p ∧ q) ∨ (p ∧ r) Using distributive law in reverse, (p ∧ q) ∨ (p ∧ r) ≡ p ∧ (q ∨ r) Putting p ∧ (q ∨ r) back into English, we can rephrase the given sentence as “You will get an A if you are hardworking and the sun shines or it rains.
CONDITIONAL STATEMENTS OR IMPLICATIONS If p and q are statement variables, the conditional of q by p is “If p then q” or “p implies q” and is denoted p → q. p → q is false when p is true and q is false; otherwise it is true. The arrow "→ " is the conditional operator. In p → q, the statement p is called the hypothesis (or antecedent) and q is called the conclusion (or consequent ).
ALTERNATIVE WAYS OF EXPRESSING IMPLICATIONS
Write the following statements in the form “if p, then q” in English. a)Your guarantee is good only if you bought your CD less than 90 days ago. If your guarantee is good, then you must have bought your CD player less than 90 days ago. b)To get tenure as a professor, it is sufficient to be world-famous. If you are world-famous, then you will get tenure as a professor. c)That you get the job implies that you have the best credentials. If you get the job, then you have the best credentials. d)It is necessary to walk 8 miles to get to the top of the Peak. If you get to the top of the peak, then you must have walked 8 miles.
TRANSLATING SYMBOLIC PROPOSITIONS TO ENGLISH Let p , q , and r be the propositions: p = “you have the flu” q = “you miss the final exam” r = “you pass the course” Express the following propositions as an English sentence.
1. p → q If you have flu, then you will miss the final exam. 2. ~q → r If you don’t miss the final exam, you will pass the course. 3. ~p ∧ ~q → r If you neither have flu nor miss the final exam, then you will pass the course.
HIERARCHY OF OPERATIONS FOR LOGICAL CONNECTIVES
Example: Construct a truth table for the statement form (p → q) ∧ (~ p → r)
LOGICAL EQUIVALENCE INVOLVING IMPLICATION
Hence the given two expressions are equivalent.
NEGATION OF A CONDITIONAL STATEMENT
Thus the negation of “ if p then q ” is logically equivalent to “ p and not q ”. Accordingly, the negation of an if-then statement does not start with the word if.
Write negations of each of the following statements: 1.If Ali lives in Pakistan then he lives in Lahore. 2.If my car is in the repair shop, then I cannot get to class. 3.If x is prime then x is odd or x is 2. 4.If n is divisible by 6, then n is divisible by 2 and n is divisible by 3.