Contrapositive

In predicate logic, the contrapositive (or transposition) of the statement "p implies q" is "not-q implies not-p." A statement and its contrapositive are always logically equivalent, unlike a statement's inverse or its converse.

One can informally convince oneself of this equivalence by examining examples from ordinary English. Consider the statement, "If there is fire here, then there is oxygen here." The contrapositive would be, "If there is no oxygen here, then there is no fire here." If the statement and its contrapositive are indeed logically equivalent, then these sentence should either both be true or both false. But they are indeed both true. (See combustion.) Thus logical equivalence holds, at least in this case.

Note that while a statement is logically equivalent to its contrapositive (where the two statements are both negated and "swapped"), it is not logically equivalent to its converse (with the two statements "swapped", but not negated).

Contents

Proofs of logical equivalence

That a statement and its contrapositive are always logically equivalent can be proven rigorously using formal logic. There are two basic methods for doing this: deriving the equivalence from the axioms of the propositional calculus, or with a truth table.

Via the propositional calculus

The logical equivalence of a statement and its contrapositive is not one of the axioms of the propositional calculus as defined in this work. However, the equivalence can be proved as follows:

First, we can prove that p → q entails ¬q → ¬p:

  1. Suppose p → q. Assuming this, we can reason as follows:
    1. Suppose ¬q. Assuming this, we can reason as follows:
      1. Suppose p. Assuming this, we can reason as follows:
        1. q (Modus ponens, lines 1 and 1.1.1)
        2. ¬q (Copying from above)
        3. q and ¬q (Conjunction introduction)
      2. Since this is a contradiction, then ¬p (Reductio ad absurdum)
    2. Thus ¬q → ¬p (Conditional proof)
  2. Thus (p → q) → (¬q → ¬p) (Conditional proof)

A very similar proof will show that ¬q → ¬p also entails p → q. Combined, these facts show the two statements to be logically equivalent.

Via a truth table

Alternatively, logical equivalence can be proved using the following truth table:

p q pq ¬p ¬q ¬q → ¬p
T T T F F T
T F F F T F
F T T T F T
F F T T T T

The first two columns can be taken as given. The third follows from the first two by the truth table definition of the logical conditional. The fourth and fifth follow from the first two by negation. The sixth follows from the fourth and fifth, again by the definition of the logical conditional.

Since the third and sixth columns have the same truth values for all values of p and q, the two are logically equivalent.

In Aristotelian logic

In Aristotelian logic (or categorical logic), moreover, categorical propositions can have contrapositives.

  • The contrapositive of "All S is P" is "All P is S." (These are "A" propositions.)
  • The contrapositive of "No S is P" is "No P is S." (These are "E" propositions.)
  • The contrapositive of "Some S is P" is "Some P is S." (These are "I" propositions.)
  • The contrapositive of "Some S is not P" is "Some P is not S." (These are "O" propositions.)

So-called "E" and "I" propositions are logically equivalent to their contrapositives. For example, we can always infer from "no bachelors are women" to "no women are bachelors" (as well as the converse inference) and from "some dogs are flea-bitten animals" to "some flea-bitten animals are dogs" (and conversely).

However, so-called "A" and "O" propositions are not logically equivalent to their contrapositives. For example, from "all violins are musical instruments," we cannot infer "all musical instruments are violins." Similarly, from "some plants are not trees," we cannot infer "some trees are not plants."

Navigation

  • Art and Cultures
    • Art (https://academickids.com/encyclopedia/index.php/Art)
    • Architecture (https://academickids.com/encyclopedia/index.php/Architecture)
    • Cultures (https://www.academickids.com/encyclopedia/index.php/Cultures)
    • Music (https://www.academickids.com/encyclopedia/index.php/Music)
    • Musical Instruments (http://academickids.com/encyclopedia/index.php/List_of_musical_instruments)
  • Biographies (http://www.academickids.com/encyclopedia/index.php/Biographies)
  • Clipart (http://www.academickids.com/encyclopedia/index.php/Clipart)
  • Geography (http://www.academickids.com/encyclopedia/index.php/Geography)
    • Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
    • Maps (http://www.academickids.com/encyclopedia/index.php/Maps)
    • Flags (http://www.academickids.com/encyclopedia/index.php/Flags)
    • Continents (http://www.academickids.com/encyclopedia/index.php/Continents)
  • History (http://www.academickids.com/encyclopedia/index.php/History)
    • Ancient Civilizations (http://www.academickids.com/encyclopedia/index.php/Ancient_Civilizations)
    • Industrial Revolution (http://www.academickids.com/encyclopedia/index.php/Industrial_Revolution)
    • Middle Ages (http://www.academickids.com/encyclopedia/index.php/Middle_Ages)
    • Prehistory (http://www.academickids.com/encyclopedia/index.php/Prehistory)
    • Renaissance (http://www.academickids.com/encyclopedia/index.php/Renaissance)
    • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
    • United States (http://www.academickids.com/encyclopedia/index.php/United_States)
    • Wars (http://www.academickids.com/encyclopedia/index.php/Wars)
    • World History (http://www.academickids.com/encyclopedia/index.php/History_of_the_world)
  • Human Body (http://www.academickids.com/encyclopedia/index.php/Human_Body)
  • Mathematics (http://www.academickids.com/encyclopedia/index.php/Mathematics)
  • Reference (http://www.academickids.com/encyclopedia/index.php/Reference)
  • Science (http://www.academickids.com/encyclopedia/index.php/Science)
    • Animals (http://www.academickids.com/encyclopedia/index.php/Animals)
    • Aviation (http://www.academickids.com/encyclopedia/index.php/Aviation)
    • Dinosaurs (http://www.academickids.com/encyclopedia/index.php/Dinosaurs)
    • Earth (http://www.academickids.com/encyclopedia/index.php/Earth)
    • Inventions (http://www.academickids.com/encyclopedia/index.php/Inventions)
    • Physical Science (http://www.academickids.com/encyclopedia/index.php/Physical_Science)
    • Plants (http://www.academickids.com/encyclopedia/index.php/Plants)
    • Scientists (http://www.academickids.com/encyclopedia/index.php/Scientists)
  • Social Studies (http://www.academickids.com/encyclopedia/index.php/Social_Studies)
    • Anthropology (http://www.academickids.com/encyclopedia/index.php/Anthropology)
    • Economics (http://www.academickids.com/encyclopedia/index.php/Economics)
    • Government (http://www.academickids.com/encyclopedia/index.php/Government)
    • Religion (http://www.academickids.com/encyclopedia/index.php/Religion)
    • Holidays (http://www.academickids.com/encyclopedia/index.php/Holidays)
  • Space and Astronomy
    • Solar System (http://www.academickids.com/encyclopedia/index.php/Solar_System)
    • Planets (http://www.academickids.com/encyclopedia/index.php/Planets)
  • Sports (http://www.academickids.com/encyclopedia/index.php/Sports)
  • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
  • Weather (http://www.academickids.com/encyclopedia/index.php/Weather)
  • US States (http://www.academickids.com/encyclopedia/index.php/US_States)

Information

  • Home Page (http://academickids.com/encyclopedia/index.php)
  • Contact Us (http://www.academickids.com/encyclopedia/index.php/Contactus)

  • Clip Art (http://classroomclipart.com)
Toolbox
Personal tools