Proof by contradiction is a method of mathematical proof in which the negation of a proposed statement is temporarily assumed and shown to lead to a contradiction. In classical logic, this establishes the original statement. The method is widely used in mathematics and formal logic, and is often called reductio ad absurdum or indirect proof, although those expressions can also describe broader forms of reasoning that refute assumptions through impossible consequences. (forallx.openlogicproject.org)
Logical structure
Let be the proposition to be proved, and let represent the accepted premises, such as axioms, definitions, and previously established results. The argument has the following structure:
- Temporarily assume .
- Apply valid rules of inference to and this assumption.
- Derive a contradiction, represented by .
- Discharge the assumption and conclude .
In natural deduction, the classical rule can be expressed as
Here means “is derivable from.” Discharging an assumption means that the final conclusion no longer depends on that temporary assumption, although it may still depend on the premises in . (forallx.openlogicproject.org)
A contradiction may consist of a statement and its negation , or an impossibility such as under ordinary arithmetic assumptions. It need not directly concern : any genuine contradiction derived within the argument suffices. An unexpected or implausible consequence alone is not a logical contradiction. (forallx.openlogicproject.org)
Negation and related proof methods
Correctly negating the target statement is essential. For a conditional theorem , its classical negation is . A contradiction proof therefore assumes both that the hypothesis holds and that the conclusion fails. For a universally quantified statement , the negation is : there is a counterexample. Negating an existence claim gives , equivalently . These distinctions connect the method with first-order logic. (web.stanford.edu)
Proof by contraposition is related but different. To prove , contraposition establishes . A contradiction proof instead assumes and derives impossibility. Some arguments admit either presentation, but their stated goals and temporary assumptions differ. A direct proof proceeds from the hypotheses to the conclusion without assuming the conclusion’s negation. (web.stanford.edu)
Irrationality of the square root of two
A standard example proves that is an irrational number. Suppose instead that it is a rational number. Then
where are positive integers with no common factor greater than one. Squaring gives
Thus is even, so is even: the square of an odd integer is odd. Write . Substitution yields
so is also even. Consequently, and share the factor two, contradicting the choice of a fraction in lowest terms. The rationality assumption is therefore false. The lowest-terms condition is indispensable to this particular proof: merely finding an unreduced fraction would not be contradictory. (web.stanford.edu)
Infinitely many primes
Another familiar example comes from number theory. Suppose there are only finitely many prime numbers, listed as , and form
Because , it has a prime divisor . None of the listed primes divides , since division by any leaves remainder one. Hence is absent from the supposedly complete list, a contradiction. Importantly, the argument does not require itself to be prime. (euclids-elements.org)
This is a contradiction-style presentation of the result associated with Euclid. Proposition IX.20 of Euclid’s Elements establishes that prime numbers exceed any assigned finite collection. Its argument can also be understood constructively as producing a prime outside a given collection, rather than initially assuming that all primes have been listed. (euclids-elements.org)
Classical and intuitionistic foundations
The general classical method involves double-negation elimination. Deriving from first establishes ; classical logic then permits the inference to . Over intuitionistic logic, unrestricted double-negation elimination and the law of excluded middle, , are equivalent as principles governing all propositions. (plato.stanford.edu)
Intuitionistic logic does not accept that final inference unrestrictedly. It nevertheless accepts proving a negation by assuming and deriving a contradiction, thereby establishing . Thus constructive reasoning does not prohibit every argument involving contradiction. The irrationality proof above establishes the negative claim that no rational representation exists and does not require unrestricted elimination of double negation. (plato.stanford.edu)
Formal use and limitations
In formal proofs, assumption scope matters: conclusions obtained inside a temporary subproof cannot simply be carried outside it without an appropriate inference rule. Contradiction rules make this bookkeeping explicit and distinguish a legitimate reductio from an argument that silently retains its rejected assumption. (forallx.openlogicproject.org)
A contradiction also concerns the premises collectively. If the background premises already entail impossibility, deriving a contradiction after adding does not independently establish that the background theory is sound. Classical logic permits arbitrary conclusions from contradictory premises. Paraconsistent logic rejects this unrestricted principle, so classical contradiction rules cannot automatically be transferred unchanged to every logical system. (plato.stanford.edu)