Contrapositive

In logic and mathematics, contraposition refers to the inference of going from a conditional statement into its logically equivalent contrapositive, and an associated proof method known as proof by contraposition. The contrapositive of a statement has its antecedent and consequent inverted and flipped. For instance, the contrapositive of the conditional statement "If it is raining, then I wear my coat" is the statement "If I don't wear my coat, then it isn't raining." In formulas: the contrapositive of



P

Q


{\displaystyle P\rightarrow Q}
is



¬
Q

¬
P


{\displaystyle \neg Q\rightarrow \neg P}
. The law of contraposition says that a conditional statement is true if, and only if, its contrapositive is true.The contrapositive can be compared with three other conditional statements related to



P

Q


{\displaystyle P\rightarrow Q}
:

Inversion (the inverse),



¬
P

¬
Q


{\displaystyle \neg P\rightarrow \neg Q}

"If it is not raining, then I don't wear my coat." Unlike the contrapositive, the inverse's truth value is not at all dependent on whether or not the original proposition was true, as evidenced here.
Conversion (the converse),



Q

P


{\displaystyle Q\rightarrow P}

"If I wear my coat, then it is raining." The converse is actually the contrapositive of the inverse, and so always has the same truth value as the inverse (which as stated earlier does not always share the same truth value as that of the original proposition).
Negation,



¬
(
P

Q
)


{\displaystyle \neg (P\rightarrow Q)}

"It is not the case that if it is raining then I wear my coat.", or equivalently, "Sometimes, when it is raining, I don't wear my coat. " If the negation is true, then the original proposition (and by extension the contrapositive) is false.Note that if



P

Q


{\displaystyle P\rightarrow Q}
is true and one is given that



Q


{\displaystyle Q}
is false (i.e.,



¬
Q


{\displaystyle \neg Q}
), then it can logically be concluded that



P


{\displaystyle P}
must be also false (i.e.,



¬
P


{\displaystyle \neg P}
). This is often called the law of contrapositive, or the modus tollens rule of inference.

View More On Wikipedia.org
Back
Top