13.2 Deductive Logic, Inductive Reasoning, Counterexamples & Proof by Contradiction

Key Takeaways

  • Inductive reasoning generalizes from specific empirical cases to formulate conjectures, but empirical observations alone never constitute formal mathematical proof.

  • Deductive reasoning establishes incontrovertible mathematical truths by deriving conclusions through valid logical rules (such as Modus Ponens and Syllogism) applied to accepted axioms, definitions, and proven theorems.

  • A single valid counterexample is mathematically sufficient to disprove a universal statement (e.g., ∀x, P(x)), whereas confirming millions of positive examples cannot prove it.

  • For any conditional statement p → q, the contrapositive (~q → ~p) is logically equivalent and always shares its truth value, while the converse (q → p) and inverse (~p → ~q) are logically equivalent to each other but not to the original statement.

  • Proof by contradiction (reductio ad absurdum) establishes the truth of proposition P by assuming its negation ~P and deductively deriving a logical impossibility or contradiction with established mathematical axioms.

Last updated: September 2026

13.2 Deductive Logic, Inductive Reasoning, Counterexamples & Proof by Contradiction

Mathematical reasoning forms the structural foundation of all quantitative knowledge. In middle-school education (Grades 4–8), students transition from empirical observations and pattern exploration to formal deductive logic and justification. The Texas Essential Knowledge and Skills (TEKS) require students to analyze mathematical relationships to connect and communicate mathematical ideas, display, explain, and justify mathematical ideas and arguments using precise mathematical language in written or oral communication.


Inductive Reasoning: Discovery, Conjectures, and Inherent Limitations

Inductive reasoning is the cognitive process of observing specific empirical instances, identifying underlying regularities or patterns, and formulating a generalized statement or conjecture.

The Role of Induction in Middle School

Inductive exploration is often the starting point for mathematical discovery in grades 4–8. For example, students investigating the sum of consecutive odd integers may calculate:

  • 1=1=121 = 1 = 1^2
  • 1+3=4=221 + 3 = 4 = 2^2
  • 1+3+5=9=321 + 3 + 5 = 9 = 3^2
  • 1+3+5+7=16=421 + 3 + 5 + 7 = 16 = 4^2

From these specific cases, students inductively formulate the conjecture: The sum of the first nn positive odd integers is equal to n2n^2.

The Fundamental Limitation of Inductive Reasoning

While induction is essential for generating hypotheses, empirical observation alone never constitutes mathematical proof. A conjecture may hold true for millions of consecutive cases, yet fail catastrophically for subsequent values. In mathematics, validity is not probabilistic; an assertion must hold across the entire infinite domain.

Classical Historical Failures of Pure Induction

  1. Fermat's Conjecture on Primes:
    Pierre de Fermat examined the sequence of numbers Fn=22n+1F_n = 2^{2^n} + 1. He observed:

    • F0=21+1=3F_0 = 2^1 + 1 = 3 (prime)
    • F1=22+1=5F_1 = 2^2 + 1 = 5 (prime)
    • F2=24+1=17F_2 = 2^4 + 1 = 17 (prime)
    • F3=28+1=257F_3 = 2^8 + 1 = 257 (prime)
    • F4=216+1=65,537F_4 = 2^{16} + 1 = 65,537 (prime)

    Fermat conjectured that FnF_n is prime for all non-negative integers nn. However, in 1732, Leonhard Euler proved that for n=5n = 5:

    F5=232+1=4,294,967,297=641×6,700,417F_5 = 2^{32} + 1 = 4,294,967,297 = 641 \times 6,700,417

    The conjecture was completely false; F5F_5 is composite.

  2. Euler's Polynomial Generating Primes:
    The polynomial P(n)=n2+n+41P(n) = n^2 + n + 41 produces prime numbers for every integer from n=0n = 0 through n=39n = 39 (forty consecutive primes). Inductive observation might lead a student to assert that P(n)P(n) always yields primes. However, evaluating at n=40n = 40 gives:

    P(40)=402+40+41=40(40+1)+41=40(41)+41=41(40+1)=412=1,681P(40) = 40^2 + 40 + 41 = 40(40 + 1) + 41 = 40(41) + 41 = 41(40 + 1) = 41^2 = 1,681

    Since 1,6811,681 is divisible by 4141, the universal claim collapses.


The Decisive Power of Counterexamples

In formal logic, a universal proposition claims that a property P(x)P(x) holds for all elements xx in a set SS:

∀x∈S,P(x)\forall x \in S, \quad P(x)

To prove a universal statement true, one must demonstrate that it holds for every single element in the domain—an impossible task via direct testing when the domain is infinite. However, disproving a universal statement requires only an existential negation:

∃x∈Ssuch that∼P(x)\exists x \in S \quad \text{such that} \quad \sim P(x)

A single specific instance where the hypothesis is satisfied but the conclusion is false is called a counterexample. A single valid counterexample completely refutes a universal claim.

Common Middle-School Mathematical Misconceptions & Counterexamples

Universal Claim / Student MisconceptionMathematical RealityDecisive Counterexample
"All prime numbers are odd."The definition of a prime requires exactly two distinct positive divisors: 11 and itself.The number 22 is prime (2=1×22 = 1 \times 2) and even.
"Multiplication always results in a product larger than both factors."True for integers >1> 1, but fails for zero, proper fractions, and negative numbers.8×12=48 \times \frac{1}{2} = 4, where 4<84 < 8. Alternatively, 5×0=0<55 \times 0 = 0 < 5.
"If a quadrilateral has four congruent sides, it must be a square."A quadrilateral with four congruent sides is equilateral, which defines a rhombus.A rhombus with interior angles of 60∘60^\circ and 120∘120^\circ has four congruent sides but is not a square.
"Increasing the perimeter of a rectangle always increases its area."Perimeter and area represent distinct geometric dimensional measures.Rectangle A (4×44 \times 4): P=16P = 16, A=16A = 16. Rectangle B (1×81 \times 8): P=18P = 18, A=8A = 8. Perimeter increased from 1616 to 1818, but area decreased from 1616 to 88.
"Squaring any real number produces a number strictly greater than the original number."Holds for numbers >1> 1 and for all negative numbers, but fails on the interval [0,1][0, 1].Let x=0.5x = 0.5. Then x2=0.25x^2 = 0.25, and 0.25<0.50.25 < 0.5. Alternatively, 02=00^2 = 0 and 12=11^2 = 1.

Deductive Reasoning & Formal Logical Arguments

Deductive reasoning is the process of deriving logically necessary conclusions from accepted premises, axioms, definitions, and previously established theorems. Unlike inductive reasoning, deductive reasoning guarantees absolute truth: if the premises are true and the rules of logical inference are valid, the conclusion must be true.

The Axiomatic Architecture of Mathematics

  • Undefined Terms: Foundational concepts accepted intuitively without formal definition (e.g., point, line, plane, set).
  • Definitions: Precise statements explaining the exact mathematical meaning of a term (e.g., a prime number is an integer greater than 1 whose only positive factors are 1 and itself).
  • Axioms / Postulates: Foundational mathematical propositions accepted as universally true without proof (e.g., through any two points there exists exactly one straight line; the reflexive property a=aa = a).
  • Theorems: Mathematical statements whose truth has been rigorously established via deductive proof from axioms and definitions.

Fundamental Rules of Logical Inference

  1. Law of Detachment (Modus Ponens): If a conditional statement p→qp \to q is true, and the hypothesis pp is true, then the conclusion qq is logically necessary.

    • Premise 1: p→qp \to q
    • Premise 2: pp
    • Conclusion: Therefore, qq Example: Premise 1: If a polygon is a regular hexagon, then the sum of its interior angles is 720∘720^\circ. Premise 2: Figure GG is a regular hexagon. Conclusion: The sum of the interior angles of Figure GG is 720∘720^\circ.
  2. Law of Syllogism (Hypothetical Syllogism): Allows chaining two conditional statements when the conclusion of the first matches the hypothesis of the second.

    • Premise 1: p→qp \to q
    • Premise 2: q→rq \to r
    • Conclusion: Therefore, p→rp \to r Example: If a triangle is equilateral, then it is equiangular (p→qp \to q). If a triangle is equiangular, then each interior angle measures 60∘60^\circ (q→rq \to r). Therefore, if a triangle is equilateral, then each interior angle measures 60∘60^\circ (p→rp \to r).
  3. Law of Contraposition (Modus Tollens): If a conditional statement p→qp \to q is true, and the conclusion is false (∼q\sim q), then the hypothesis must be false (∼p\sim p).

    • Premise 1: p→qp \to q
    • Premise 2: ∼q\sim q
    • Conclusion: Therefore, ∼p\sim p

Formal Logical Fallacies to Avoid

  • Affirming the Consequent: Invalidly concluding pp from p→qp \to q and qq. (e.g., "If it is raining, the grass is wet. The grass is wet; therefore, it is raining." This is invalid because sprinklers could have caused the wet grass).
  • Denying the Antecedent: Invalidly concluding ∼q\sim q from p→qp \to q and ∼p\sim p. (e.g., "If a figure is a square, it has four sides. Figure TT is not a square; therefore, Figure TT does not have four sides." This is invalid because a rectangle or trapezoid has four sides).

Conditional Statements: Converse, Inverse, and Contrapositive

A conditional statement (implication) is a proposition of the form "If pp, then qq", symbolized as p→qp \to q.

  • Hypothesis (pp): The premise or antecedent condition.
  • Conclusion (qq): The consequent outcome.

From the primary conditional statement p→qp \to q, three related conditional statements are formed:

  1. Converse (q→pq \to p): Swaps the hypothesis and the conclusion ("If qq, then pp").
  2. Inverse (∼p→∼q\sim p \to \sim q): Negates both the hypothesis and the conclusion ("If not pp, then not qq").
  3. Contrapositive (∼q→∼p\sim q \to \sim p): Swaps and negates both components ("If not qq, then not pp").

Truth Values and Logical Equivalence

Two statements are logically equivalent if and only if they produce identical truth values in every possible scenario.

ppqqConditional: p→qp \to qConverse: q→pq \to pInverse: ∼p→∼q\sim p \to \sim qContrapositive: ∼q→∼p\sim q \to \sim p
TTTTTT
TFFTTF
FTTFFT
FFTTTT

Critical Truth Equivalence Principles

  • The Conditional and Contrapositive are Logically Equivalent:

    p→q≡∼q→∼pp \to q \equiv \sim q \to \sim p

    If a conditional statement is mathematically true, its contrapositive is guaranteed to be true. If the conditional statement is false, its contrapositive is false.

  • The Converse and Inverse are Logically Equivalent to Each Other:

    q→p≡∼p→∼qq \to p \equiv \sim p \to \sim q

    The inverse is simply the contrapositive of the converse.

  • The Converse is NOT Logically Equivalent to the Original Statement:

    p→q≢q→pp \to q \not\equiv q \to p

    A true conditional statement does not imply that its converse is true! Concrete Example: Let p→qp \to q be: "If a polygon is a square (pp), then it is a rectangle (qq)". This statement is True.

    • Converse (q→pq \to p): "If a polygon is a rectangle (qq), then it is a square (pp)". This statement is False (a 2×52 \times 5 rectangle is not a square).
    • Inverse (∼p→∼q\sim p \to \sim q): "If a polygon is not a square (∼p\sim p), then it is not a rectangle (∼q\sim q)". This statement is False (a rectangle that is not a square is still a rectangle).
    • Contrapositive (∼q→∼p\sim q \to \sim p): "If a polygon is not a rectangle (∼q\sim q), then it is not a square (∼p\sim p)". This statement is True.
  • Biconditional Statements (p↔qp \leftrightarrow q):
    When both a conditional statement p→qp \to q and its converse q→pq \to p are true simultaneously, they form a biconditional statement: "pp if and only if qq" (p  ⟺  qp \iff q). All valid mathematical definitions are reversible biconditionals.


Direct vs. Indirect Proof (Proof by Contradiction)

1. Direct Proof

A direct proof begins with the known hypothesis pp, assumed to be true, and uses a sequential chain of definitions, axioms, and previously proven theorems to arrive at the desired conclusion qq.

Direct Proof Example: Sum of Two Odd Integers

  • Theorem: If xx and yy are odd integers, then their sum x+yx + y is an even integer.
  • Deductive Proof:
    1. By definition, an integer xx is odd if there exists an integer kk such that x=2k+1x = 2k + 1.
    2. Let x=2m+1x = 2m + 1 and y=2n+1y = 2n + 1 for some integers m,n∈Zm, n \in \mathbb{Z}.
    3. Sum the expressions: x+y=(2m+1)+(2n+1)=2m+2n+2x + y = (2m + 1) + (2n + 1) = 2m + 2n + 2
    4. Factor out a 2 using the distributive property: x+y=2(m+n+1)x + y = 2(m + n + 1)
    5. Since the set of integers is closed under addition, m+n+1m + n + 1 is an integer. Let p=m+n+1p = m + n + 1, where p∈Zp \in \mathbb{Z}.
    6. Thus, x+y=2px + y = 2p. By definition, any integer that can be expressed as 2 times an integer is even.
    7. Therefore, the sum of two odd integers is always even. Q.E.D.

2. Indirect Proof (Proof by Contradiction / Reductio Ad Absurdum)

An indirect proof by contradiction rests upon the fundamental logical principle of the Law of the Excluded Middle: any mathematical proposition is either true or false; it cannot be both, and it cannot be neither.

Procedural Structure of Proof by Contradiction:

  1. To prove that a proposition PP is true, begin by assuming that its negation ∼P\sim P is true.
  2. Proceed through rigorous deductive steps, treating ∼P\sim P as a valid premise.
  3. Arrive at a logical contradiction—a statement that directly contradicts an established mathematical axiom, a known theorem, or the initial premise itself (e.g., deriving 0=10 = 1, or demonstrating that an integer is simultaneously even and odd).
  4. Conclude that because deductive reasoning preserves truth, the contradiction must stem from the flawed assumption ∼P\sim P.
  5. Therefore, ∼P\sim P is false, which proves that the original proposition PP must be true.

Classical Proof: The Irrationality of 2\sqrt{2}

  • Theorem: The number 2\sqrt{2} is irrational.
  • Proof by Contradiction:
    1. Assume the negation is true: suppose 2\sqrt{2} is a rational number.
    2. By definition of rational numbers, 2\sqrt{2} can be written as the ratio of two integers in simplest form: 2=abwhere a,b∈Z+,b≠0,and gcd⁡(a,b)=1\sqrt{2} = \frac{a}{b} \quad \text{where } a, b \in \mathbb{Z}^+, \quad b \ne 0, \quad \text{and } \gcd(a, b) = 1 (That is, the fraction ab\frac{a}{b} is fully reduced, sharing no common factors other than 1).
    3. Square both sides of the equation: 2=a2b2  ⟹  a2=2b22 = \frac{a^2}{b^2} \implies a^2 = 2b^2
    4. Because a2=2b2a^2 = 2b^2, a2a^2 is a multiple of 2, meaning a2a^2 is an even integer. A known theorem of number theory dictates that if a2a^2 is even, then aa must also be even (since the square of an odd integer is always odd).
    5. Because aa is even, it can be written as a=2ka = 2k for some integer kk.
    6. Substitute a=2ka = 2k back into the equation a2=2b2a^2 = 2b^2: (2k)2=2b2  ⟹  4k2=2b2  ⟹  2k2=b2(2k)^2 = 2b^2 \implies 4k^2 = 2b^2 \implies 2k^2 = b^2
    7. Because b2=2k2b^2 = 2k^2, b2b^2 is an even integer, which implies that bb must also be an even integer.
    8. The Contradiction: In step 4, we proved that aa is even (divisible by 2). In step 7, we proved that bb is even (divisible by 2). Therefore, both aa and bb share a common factor of 2. However, this directly contradicts our initial condition in step 2 that gcd⁡(a,b)=1\gcd(a, b) = 1 (that ab\frac{a}{b} was in simplest form).
    9. Because our assumption that 2\sqrt{2} is rational leads to an unavoidable contradiction, that assumption must be false.
    10. Therefore, 2\sqrt{2} is irrational. Q.E.D.

Reference Summary: Conditional Statement Relationships

Form NameSymbolic RepresentationNatural Language FormulationLogical Equivalence
Conditional Statementp→qp \to q"If a figure is a square, then it is a polygon."Equivalent to Contrapositive (p→q≡∼q→∼pp \to q \equiv \sim q \to \sim p)
Converseq→pq \to p"If a figure is a polygon, then it is a square."Equivalent to Inverse (q→p≡∼p→∼qq \to p \equiv \sim p \to \sim q)
Inverse∼p→∼q\sim p \to \sim q"If a figure is not a square, then it is not a polygon."Equivalent to Converse (∼p→∼q≡q→p\sim p \to \sim q \equiv q \to p)
Contrapositive∼q→∼p\sim q \to \sim p"If a figure is not a polygon, then it is not a square."Equivalent to Conditional (∼q→∼p≡p→q\sim q \to \sim p \equiv p \to q)
Biconditionalp↔qp \leftrightarrow q"A figure is a square if and only if it is a regular four-sided polygon."True only when p→qp \to q and q→pq \to p are both true
Loading diagram...
Logical Equivalence Architecture of Conditional Statements and Proof Pathways
Test Your Knowledge

Consider the following true geometric conditional proposition: 'If two distinct coplanar lines are perpendicular to the same line, then they are parallel to each other.' Which statement represents the contrapositive of this proposition, and what is its truth value?

A

'If two distinct coplanar lines are parallel to each other, then they are perpendicular to the same line'; and its truth value is true.

B

'If two distinct coplanar lines are not parallel to each other, then they are not perpendicular to the same line'; and its truth value is true.

C

'If two distinct coplanar lines are not perpendicular to the same line, then they are not parallel to each other'; and its truth value is false.

D

'If two distinct coplanar lines are parallel to each other, then they are not perpendicular to the same line'; and its truth value is false.

Test Your Knowledge

A middle school mathematics student makes the following assertion: 'Every polygon that has four congruent sides must have four right angles.' Which pedagogical approach most decisively addresses the mathematical validity of this assertion?

A

Guide the student to prove the statement deductively using the Law of Syllogism.

B

Ask the student to draw 10 different squares to inductively confirm the property.

C

Have the student calculate the sum of the interior angles of a quadrilateral using the formula (n - 2) × 180°.

D

Prompt the student to construct a rhombus with acute and obtuse interior angles as a counterexample disproving the universal claim.

Test Your Knowledge

A teacher is introducing students to indirect mathematical proofs. Which sequence of deductive steps correctly reflects the structural logic of a proof by contradiction (reductio ad absurdum)?

A

Assume the negation of the proposition is true; deduce mathematical consequences until a contradiction with an established axiom or theorem is reached; conclude the assumption is false and the original proposition is true.

B

Test multiple numerical cases to find a pattern; formulate a general algebraic conjecture; confirm the conjecture by demonstrating it works for three consecutive integers.

C

Assume the original proposition is true; apply the Law of Detachment to reach a true conclusion; conclude the converse is also true.

D

Assume both the conditional statement and its converse are true; demonstrate that the inverse is logically equivalent; combine both into a biconditional statement.

Sections you finish are checked off in the contents.