{{ tocSubheader }}
| {{ 'ml-lesson-number-slides' | message : article.intro.bblockCount }} |
| {{ 'ml-lesson-number-exercises' | message : article.intro.exerciseCount }} |
| {{ 'ml-lesson-time-estimation' | message }} |
Interchanging the hypothesis and the conclusion of the inverse statement can also form the contrapositive of the conditional. Consider the following conditional statement and its related conditionals.
Example | Symbols | |
---|---|---|
Conditional | If pa figure is a square,then qit has four sides. | p⇒q |
Converse | If qa figure has four sides,then pit is a square. | q⇒p |
Inverse | If ¬pa figure is not a square,then ¬qit does not have four sides. | ¬p⇒¬q |
Contrapositive | If ¬qa figure does not have four sides,then ¬pit is not a square. | ¬q⇒¬p |
The truth table of a contrapositive statement is made using the truth values for its hypothesis ¬ q and conclusion ¬p.
The contrapositive of a conditional statement has the same truth table as the conditional statement. In other words, a conditional and and its contrapositive are either both true or both false. Therefore, they are equivalent statements.