Proof by contrapositive

In logic, the contrapositive of a conditional statement is formed by negating both terms and reversing the direction of inference. More specifically, the contrapositive of the statement "if A, then B" is "if not B, then not A." A statement and its contrapositive are logically equivalent, in the sense that if the statement is true, then its contrapositive is true and vice versa.[1]

In mathematics, proof by contrapositive, or proof by contraposition, is a rule of inference used in proofs, where one infers a conditional statement from its contrapositive.[2] In other words, the conclusion "if A, then B" is inferred by constructing a proof of the claim "if not B, then not A" instead. More often than not, this approach is preferred if the contrapositive is easier to prove than the original conditional statement itself.[3]

Logically, the validity of proof by contrapositive can be demonstrated by the use of the following truth table, where it is shown that pq and qp share the same truth values in all scenarios:

p q p q pq qp
TTFFTT
TFFTFF
FTTFTT
FFTTTT

Example

Let x be an integer.

To prove: If x2 is even, then x is even.

Although a direct proof can be given, we choose to prove this statement by contraposition. The contrapositive of the above statement is:

If x is not even, then x2 is not even.

This latter statement can be proven as follows: suppose that x is not even, then x is odd. The product of two odd numbers is odd, hence x2 = x·x is odd. Thus x2 is not even.

Having proved the contrapositive, we can then infer that the original statement is true.[4]

See also

References

  1. Sheldon, Frederick. "Conditional Statement Forms". www.csm.ornl.gov. Retrieved 2019-10-26.
  2. Cusick, Larry. "Proofs by Contrapositive". zimmer.csufresno.edu. Retrieved 2019-10-26.
  3. "The Definitive Glossary of Higher Mathematical Jargon — Contrapositive". Math Vault. 2019-08-01. Retrieved 2019-10-26.
  4. Franklin, J.; A. Daoud (2011). Proof in Mathematics: An Introduction. Sydney: Kew Books. ISBN 0-646-54509-4. (p. 50).
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.