Conditional Statements - PowerPoint PPT Presentation

1 / 9
About This Presentation
Title:

Conditional Statements

Description:

Converse: Inverse: is logically equivalent to its contrapositive ... Converse: If Bobcats are number one. then they won the game. ... – PowerPoint PPT presentation

Number of Views:302
Avg rating:3.0/5.0
Slides: 10
Provided by: vard
Category:

less

Transcript and Presenter's Notes

Title: Conditional Statements


1
Conditional Statements
2
Conditional statements
  • Form of conditional statement
  • If p then q (p implies q)
  • Denote by
  • p is called hypothesis, q is called conclusion
  • Ex If Bobcats win this game,
  • then they will be number one.

3
Truth table for
4
Logical equivalences including
  • Example of the first equivalence
  • Either Jim works hard
  • or he gets F
  • is equivalent to
  • If Jim doesnt work hard
  • then he gets F

5
Variations of a conditional statement
  • Variations of
  • Contrapositive
  • Converse
  • Inverse
  • is logically equivalent to its
    contrapositive
  • Converse is logically equivalent to inverse

6
Examples of variations
  • If Bobcats win this game,
  • then they will be number one.
  • Contrapositive If Bobcats arent 1
  • then they didnt win.
  • Converse If Bobcats are number one
  • then they won the game.
  • Inverse If Bobcats dont win this game
  • then they will not be 1.

7
Other conditional statements
  • q only if p means
  • if not p then not q
  • or, equivalently, if q then p
  • q if and only if p means
  • Other ways to say or to denote it
  • biconditional of p and q,
  • q iff p,

8
Summary of conditional statements
9
Order of operations
Write a Comment
User Comments (0)
About PowerShow.com