1. Home
  2. Explore
  3. Mathematics
  4. Introduction to Proofs

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Introduction to Proofs

Introduction to Mathematical Proofs

A proof is a logically connected argument showing that a mathematical statement follows from accepted facts, definitions, and previously established results. Proofs are used to establish the truth of theorems, not merely to provide evidence that a statement is true in a few examples.

A proof may use definitions, axioms, known theorems, and valid rules of logic. Examples can help reveal patterns or suggest a conjecture, but checking several cases does not prove a statement about every case.


Statements, Theorems, and Proofs

A statement is a declarative sentence that is either true or false. A theorem is an important mathematical statement that has been proved. Less prominent proved statements may be called propositions, lemmas, or corollaries:

  • A lemma is a result proved mainly to help establish another result.

  • A corollary follows readily from a theorem.

  • A conjecture is a statement believed to be true but not yet proved.

Many theorems are conditional statements of the form:

If the hypothesis is true, then the conclusion is true.

Symbolically, this has the form P→QP \to QP→Q, where PPP is the hypothesis and QQQ is the conclusion.

For example:

If an integer nnn is even, then n2n^2n2 is even.

Here, “nnn is even” is the hypothesis, and “n2n^2n2 is even” is the conclusion.

A theorem may also include quantifiers:

  • “For every” or “for all” is written ∀\forall∀.

  • “There exists” is written ∃\exists∃.

For example, “For every integer nnn, if nnn is even, then n2n^2n2 is even” can be represented as ∀n∈Z,  (n even→n2 even)\forall n \in \mathbb{Z},\; (n \text{ even} \to n^2 \text{ even})∀n∈Z,(n even→n2 even).

The quantifiers and the domain matter. A statement about every integer is different from one about every real number, because the allowed values may affect whether the statement is true.


How Theorems Are Stated

A theorem should clearly identify:

  • The domain: what kinds of objects are being considered, such as integers, real numbers, or sets.

  • The assumptions: what is given or required to be true.

  • The conclusion: what must be established.

  • Definitions: the meanings of any important terms.

For instance, the statement “If nnn is even, then n2n^2n2 is even” concerns an integer nnn. By definition, an integer is even if it can be written as n=2kn=2kn=2k for some integer kkk. Making the domain and definition explicit gives the proof a precise starting point.

When a theorem has the form P→QP \to QP→Q, the proof must show that whenever PPP holds, QQQ follows. It does not need to show that PPP is always true.


Direct Proofs

A direct proof begins with the hypothesis and uses definitions, algebra, and known facts to reach the conclusion.

Example: The square of an even integer is even

Suppose nnn is an even integer. By the definition of evenness, n=2kn=2kn=2k for some integer kkk. Then

n2=(2k)2=4k2=2(2k2).n^2=(2k)^2=4k^2=2(2k^2).n2=(2k)2=4k2=2(2k2).

Since 2k22k^22k2 is an integer, n2n^2n2 is twice an integer. Therefore, n2n^2n2 is even.

The structure is:

  1. Assume the hypothesis.

  2. Translate definitions into useful mathematical form.

  3. Apply valid algebraic or logical steps.

  4. Show that the conclusion follows.

Direct proofs are often effective when the hypothesis can be directly converted into a form that produces the desired conclusion.


Indirect Proofs

An indirect proof establishes a statement by proving a logically equivalent statement or by showing that denying the conclusion leads to a contradiction. Two important indirect methods are proof by contraposition and proof by contradiction.

Indirect methods are useful when the conclusion is difficult to derive directly, but its negation or an equivalent statement is easier to handle.


Proofs by Contraposition

The contrapositive of a conditional statement P→QP \to QP→Q is ¬Q→¬P\neg Q \to \neg P¬Q→¬P. A statement and its contrapositive are logically equivalent: they are always true or false together.

Therefore, to prove “if PPP, then Q,”itisvalidtoprove“ifnotQ,” it is valid to prove “if notQ,”itisvalidtoprove“ifnotQ,thennot, then not,thennotP.”

Example: If n2n^2n2 is odd, then nnn is odd

For an integer nnn, consider the contrapositive:

If nnn is not odd, then n2n^2n2 is not odd.

Every integer that is not odd is even. Write n=2kn=2kn=2k for some integer kkk. Then

n2=(2k)2=4k2=2(2k2),n^2=(2k)^2=4k^2=2(2k^2),n2=(2k)2=4k2=2(2k2),

so n2n^2n2 is even and therefore not odd. This proves the contrapositive, and hence proves the original statement.

Contraposition is especially useful when the negation of the conclusion has a simple definition or leads to convenient algebra.


Vacuous and Trivial Proofs

Some conditional statements can be proved without a lengthy argument because of the relationship between their hypothesis and conclusion.

Vacuous proof

A conditional statement P→QP \to QP→Q is vacuously true when its hypothesis PPP is false. A conditional with a false hypothesis is true regardless of the conclusion.

For example, over the integers:

If n2<0n^2<0n2<0, then nnn is even.

No integer satisfies $n^2<0`, because the square of every integer is nonnegative. Thus, there is no integer for which the hypothesis holds, and the conditional is vacuously true.

A vacuous proof must still establish that the hypothesis cannot occur in the stated domain. It is not enough simply to ignore the hypothesis.

Trivial proof

A conditional statement is trivially true when its conclusion is true independently of the hypothesis.

For example, over the integers:

If nnn is even, then n2≥0n^2\geq 0n2≥0.

The conclusion is true for every integer because the square of any integer is nonnegative. Thus, it is true whenever the hypothesis holds.

Vacuous and trivial proofs are legitimate logical proofs, but their validity depends on clearly identifying the domain and the truth of the relevant condition.


Proofs by Contradiction

A proof by contradiction begins by assuming that the statement to be proved is false. The argument then derives a contradiction: an impossibility, or a result conflicting with an established fact. Since the assumption of falsity leads to a contradiction, the original statement must be true.

Example: 2\sqrt{2}2​ is irrational

Assume, for contradiction, that 2\sqrt{2}2​ is rational. Then it can be written as a fraction in lowest terms:

2=ab,\sqrt{2}=\frac{a}{b},2​=ba​,

where aaa and bbb are integers, b≠0b\neq 0b=0, and the fraction has no common factor greater than 111.

Squaring both sides gives

2=a2b2,2=\frac{a^2}{b^2},2=b2a2​,

so a2=2b2a^2=2b^2a2=2b2. Therefore, a2a^2a2 is even, which implies that aaa is even. Write a=2ka=2ka=2k for an integer kkk. Substituting gives

(2k)2=2b2,(2k)^2=2b^2,(2k)2=2b2,

and therefore b2=2k2b^2=2k^2b2=2k2. Thus, b2b^2b2 is even, so bbb is even as well.

Both aaa and bbb are even, meaning they have a common factor of 222. This contradicts the assumption that ab\frac{a}{b}ba​ was in lowest terms. Therefore, 2\sqrt{2}2​ is irrational.

Proof by contradiction is particularly useful when assuming the opposite of the desired result creates strong constraints or an impossibility.


Proofs of Equivalence

To prove that two statements are equivalent, both must imply each other. If the statements are PPP and QQQ, equivalence is written P↔QP \leftrightarrow QP↔Q and means that both P→QP \to QP→Q and Q→PQ \to PQ→P are true.

A typical proof has two parts:

  1. Prove P→QP \to QP→Q.

  2. Prove Q→PQ \to PQ→P.

Proving only one direction is not enough to establish equivalence.

Example: An integer is even if and only if its square is even

The claim is:

An integer nnn is even exactly when n2n^2n2 is even.

Forward direction: If nnn is even, then n=2kn=2kn=2k for some integer kkk. Hence

n2=4k2=2(2k2),n^2=4k^2=2(2k^2),n2=4k2=2(2k2),

so n2n^2n2 is even.

Reverse direction: If n2n^2n2 is even, then nnn is even. This follows from the contrapositive proof of “if nnn is odd, then n2n^2n2 is odd,” or equivalently from the result that an odd integer has an odd square.

Since both directions hold, nnn is even if and only if n2n^2n2 is even.

Expressions such as “if and only if” and “exactly when” signal that both directions need to be proved.


Common Mistakes in Proofs

A proof must establish the conclusion for every case allowed by the hypothesis. A pattern supported by examples is not enough, and an invalid logical inference cannot be repaired by correct algebra elsewhere.

Using examples as proof

Checking several integers may suggest that a claim is true, but it does not establish a universal statement.

For example, checking that 121^212, 222^222, and 323^232 are positive does not prove that every nonzero integer has a positive square. A proof must account for an arbitrary integer satisfying the assumptions.

A single counterexample, however, is enough to disprove a universal claim. For example, the claim “every prime number is odd” is false because 222 is prime and even.

Confusing a statement with its converse

The converse of P→QP \to QP→Q is Q→PQ \to PQ→P. A conditional and its converse are not generally equivalent.

For example:

  • True: If an integer is divisible by 444, then it is even.

  • False converse: If an integer is even, then it is divisible by 444; the integer 222 is a counterexample.

A proof of one direction does not automatically prove the converse.

Affirming the consequent

The inference from P→QP \to QP→Q and QQQ to PPP is invalid. The conclusion QQQ might be true for reasons other than PPP.

For example, “If a number is divisible by 444, then it is even” and “the number is even” do not imply that the number is divisible by 444.

Denying the antecedent

The inference from P→QP \to QP→Q and ¬P\neg P¬P to ¬Q\neg Q¬Q is also invalid. The conclusion QQQ could still be true even when PPP is false.

For example, from “if an integer is divisible by 444, then it is even” and “the integer is not divisible by 4,”itdoesnotfollowthattheintegerisodd.Theinteger4,” it does not follow that the integer is odd. The integer4,”itdoesnotfollowthattheintegerisodd.Theinteger6isevenbutnotdivisiblebyis even but not divisible byisevenbutnotdivisibleby4$.

Misusing definitions or assumptions

A proof may fail if it uses a definition incorrectly, silently changes the domain, divides by a quantity that could be zero, or assumes a fact that has not been established. Every step should be justified by the hypotheses, definitions, or valid prior results.


Circular Reasoning

Circular reasoning occurs when a proof assumes, directly or indirectly, the statement it is supposed to prove. This may happen explicitly or through an earlier result whose proof depends on the same unproved claim.

For example, a proof of a theorem is circular if it says that the claim follows from a lemma, while the lemma was established using that theorem. The argument has not provided an independent justification.

To avoid circular reasoning:

  • Identify exactly what the theorem assumes and what it must prove.

  • Use only definitions, accepted facts, and results that have already been established independently.

  • Check that no step relies on the desired conclusion in another form.

A sound proof moves from accepted starting points to the conclusion through valid reasoning, without assuming the conclusion along the way.


Key Takeaways

  • A direct proof derives the conclusion from the hypothesis.

  • A proof by contraposition proves ¬Q→¬P\neg Q \to \neg P¬Q→¬P to establish P→QP \to QP→Q.

  • A proof by contradiction assumes the desired statement is false and derives an impossibility.

  • A vacuous proof works because the hypothesis cannot be true; a trivial proof works because the conclusion is true independently of the hypothesis.

  • An equivalence requires proofs in both directions.

  • Examples can illustrate or disprove claims, but they do not prove a general statement.

  • Every step of a proof must be logically valid and must not depend on circular reasoning.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent