1 / 20

2.2 Conditional Statements

2.2 Conditional Statements. Goals. Identify statements which are conditional Identify the antecedent and consequent of a conditional statement Negate conditional statements Write the Inverse, converse, and contrapositive of a conditional statement

sheryl
Download Presentation

2.2 Conditional Statements

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 2.2 Conditional Statements

  2. Goals • Identify statements which are conditional • Identify the antecedent and consequent of a conditional statement • Negate conditional statements • Write the Inverse, converse, and contrapositive of a conditional statement • Bi-conditional statements and equivalence with conditional statements

  3. Let p and q be statements. A sentence of the form “Ifpthenq” is called CONDITIONAL . It isdenoted symbolically by “p → q” pis called the hypothesis and q is called the conclusion. Such a sentence is called conditional because the truth of statement q is conditioned on the truth of statement p.

  4. Truth Table for conditional propositions A conditional statement that is true by virtue of the fact that its hypothesis is false is often called vacuously true or true by default. The statement “If you show up for work Monday morning, then you will get the job” It is vacuously true if you do not show up for work Monday morning. In general, when the “if” part of an if-then statement is false, the statement as a whole is said to be true, regardless of whether the conclusion is true or false.

  5. A word on order of Operations In expressions that include → as well as other logical operators such as ∧, ∨, and ∼, the order of operations is that → is performed last Construct a truth table for the statement form p ∨∼q → ∼p. Solution By the order of operations given above, the following two expressions are equivalent: p ∨ ∼q → ∼p and (p ∨(∼q)) →(∼p),and this order governs the construction of the truth table. Construct it !!!!

  6. The phrases necessary condition and sufficient condition, as used in formal English, correspond exactly to their definitions in logic. In other words, to say “r is a sufficient condition for s” means that the occurrence of r is sufficient to guarantee the occurrence of s.

  7. Consider the statement “If John is eligible to vote, then he is at least 18 years old.” • The truth of the condition “John is eligible to vote” is sufficient to ensure the truth of the condition “John is at least 18 years old.” • In addition, the condition “John is at least 18 years old” is necessary for the condition “John is eligible to vote” to be true.

  8. If-then Or The statements ∼p ∨ q and p → q are equivalent Rewrite the following statement in if-then form. Either you get to work on time or you are fired. Solution 1Let ∼p be You get to work on time. and q be You are fired The equivalent if-then version, p → q, is If you do not get to work on time, then you are fired.

  9. If-then Or The statements ∼p ∨ q and p → q are equivalent Rewrite the following statement in if-then form. Either you get to work on time or you are fired. Solution 2 (or is commutative ) Let ∼p be You are fired and q be Youget to work on time. The equivalent if-then version, p → q, is If you are not fired, then you get to work on time.

  10. Negation of If-then EXERCISE Use truth tables to show this equivalence

  11. Practicing negation implications Write the negation for each of the following statements a. If my car is in the repair shop, then I cannot get to class. My car is in the repair shop and I got to class b. If Sara lives in Athens, then she lives in Greece. Sara lives in Athens but not in Greece

  12. Practice Write each of the following statements in its equivalent contrapositive form • If Howard can swim across the lake, then Howard can swim to the island. Solution If Howard cannot swim to the island, then Howard cannot swim across the lake. b. If today is Easter, then tomorrow is Monday. Solution If tomorrow is not Monday, then today is not Easter.

  13. The Converse and Inverse of a Conditional Statement

  14. Practice For each of the following statements write its negation, its contrapositive, converse, and inverse • If Howard can swim across the lake, then Howard can swim to the island. b. If today is Easter, then tomorrow is Monday.

  15. UNDERSTAND THESE CLAIMS • A conditional statement and its contrapositive are logically equivalent • A conditional statement and its converse are not logically equivalent. • A conditional statement and its inverse are not logically equivalent. • The converse and the inverse of a conditional statement are logically equivalent to each other.

  16. P only if Q

  17. The biconditional of p and q

  18. “p if and only if q” should mean the same as “p if q” and “p only if q.” p ↔ q ≡(p → q)∧(q → p)

More Related