In discrete mathematics, rigorous proof is essential for establishing the validity of mathematical statements. Todays lecture will introduce several fundamental proof techniques commonly used in discrete mathematics.

Composition of Implications

This theorem, demonstrating the principle of transitivity of implication, provides a fundamental tool for constructing proofs in discrete mathematics.

Theorem: If and , then .

Proof by Truth Table:

TTTTTTT
TTFTFFF
TFTFTFT
TFFFTFF
FTTTTTT
FTFTFFT
FFTTTFT
FFFTTFT

As shown in the truth table, whenever and are both true, then is also true. Therefore, we have proven that if and , then .

As shown in the truth table, whenever and are both true, then is also true. Therefore, we have proven that if and , then .

Theorem: If and , then .

Proof by Truth Table:

ABC
TTTTTTT
TTFTFFF
TFTFTFF
TFFFFFF
FTTTTTT
FTFTTFT
FFTTFFT
FFFTTFT

As shown in the truth table, whenever and are both true, then is also true. Therefore, we have proven that if and , then .

Proof of Implications

A fundamental task in discrete mathematics is proving implications. An implication, represented as , states that if is true, then must also be true. It’s important to note that an implication doesn’t necessarily state anything about the truth value of when is false.

Direct Proof of

Definition: A direct proof starts by assuming the hypothesis () to be true and then logically deduces the conclusion ().

Example: If a and b are square numbers, then a x b is also a square number.

Contrapositive Proof

A contrapositive proof is a powerful technique in logic. Instead of directly proving an implication , we prove its logically equivalent contrapositive: .

Since these statements always have the same truth value, proving the contrapositive is equivalent to proving the original implication.

Proof of equivalency:

Let us show:

TTFFTT
TFTFFF
FTFTTT
FFTTTT

As you can see, the columns for and have identical truth values in every row. This demonstrates that the original implication and its contrapositive are indeed logically equivalent.

Example: Root of irrational number (>0) is irrational.

Modus Ponens

(Latin for “Mode of Affirming”) is a fundamental rule of inference in logic. It allows us to draw a conclusion from two given premises:

  1. Premise 1: If , then
  2. Premise 2:
  3. Conclusion: Therefore,

If we know that “if A happens, then B happens,” and we also know that A does happen, then we can confidently conclude that B must happen.

Proof: The truth table is left as an exercise for the reader

Example: for some

To solve this, we’ll use a proof (which we haven’t done yet):

This means if:

This means we only need to prove 3001 is a prime. This would mean we’d have to test all numbers until as divisors.

Proof by Case Distinction

Proof by Case Distinction (or Exhaustive Consideration) is a technique used when we need to prove something about a general case. The strategy involves:

  1. Identify Distinct Cases: Break down the overall problem or statement into smaller, mutually exclusive cases.
  2. Prove Each Case Individually: Show that the desired conclusion holds true for each individual case separately.
  3. Combine Results: Since the cases cover all possibilities, and we’ve proven the conclusion for each case, we can confidently conclude that the statement is true in general.

For we would be looking at a Modus Ponens type proof.

Example:

Let’s say we want to prove that for any integer n, the expression is even.

  1. Case Distinction:

    • Case 1: n is even
    • Case 2: n is odd
  2. Prove Each Case:

    • Case 1 (n even): If n is even, we can write it as where k is an integer. Then . Since is an integer, is even.
    • Case 2 (n odd): If n is odd, we can write it as where j is an integer. Then . Since is an integer, is even.
  3. Combine Results: Since we’ve shown that is even in both cases (even n and odd n), it must be even for all integers n.

Proof by Contradiction

Alternative Step 3: Prove that .

Proof by contradiction is a proof technique rooted in the principle of non-contradiction. It leverages the inherent logical inconsistency arising when an assumption leads to a demonstrably false conclusion.

Mathematically, we aim to prove a proposition . The strategy involves:

  1. Negation: Assuming the negation of , denoted as .
  2. Deduction: Deriving a logical consequence from the assumption . This deduction is conducted within the framework of established axioms and previously proven theorems.
  3. Contradiction: Demonstrating that contradicts a known fact or a previously derived result, establishing an inherent inconsistency in our initial assumption.
  4. Conclusion: Since the negation leads to a logical contradiction, it must be false. Therefore, by the principle of non-contradiction, the original proposition is true.

Example: Irrationality of

To demonstrate the power of this technique, consider the classic proof that is irrational.

  1. Assumption: Assume, for the sake of contradiction, that is rational. This implies we can express it as a fraction in its simplest form: , where and are integers with no common factors.
  2. Deduction: Squaring both sides of the equation yields , which simplifies to . This implies that is an even number, and therefore, ‘a’ itself must be even.
  3. Contradiction: Let , where is an integer. Substituting this into the equation yields , which simplifies to . This implies that is also even, and consequently, ‘b’ must be even.

Our assumption that can be expressed as a fraction with coprime numerator and denominator leads to the contradiction that both ‘a’ and ‘b’ are even.

  1. Conclusion: Therefore, our initial assumption that is rational must be false, proving that is irrational.

Existence Proofs

Demonstrating “Something Exists”

Existence proofs are a type of proof dedicated to showcasing that something exists – a solution to an equation, a specific object with certain properties, or even a mathematical concept itself. Unlike proofs demonstrating a statement’s truth for all cases (like a universal proof), existence proofs simply establish the “being” without necessarily detailing its complete nature or exploring all its properties.

Constructive vs. Non-constructive:

  • Constructive existence proofs: Actively construct the desired object or provide a method for generating it. i.e showing a specific example or way to get an example.
  • Non-constructive existence proofs: Prove existence without explicitly constructing the object. These often rely on logical arguments and showing that if an object didn’t exist, we’d arrive at a contradiction.

Strategies:

  1. Direct Construction: Explicitly build the desired object step-by-step, demonstrating its existence and verifying it satisfies the required properties.
  2. Existence by Contradiction: Assume the opposite – that the object doesn’t exist – and derive a contradiction. This contradiction forces us to accept the initial assumption (that the object exists) as true.
  3. Pigeonhole Principle: Useful for proving existence when dealing with finite sets and mappings. If you have more pigeons than pigeonholes, at least one pigeonhole must contain more than one pigeon.

Proof by Counterexample

Proof by counterexample is a straightforward yet powerful technique used to disprove universal statements – those claiming something holds true for all cases.

The Core Principle: If you can find just one instance where a universal statement is false, the entire statement is proven incorrect. This single counterexample effectively “breaks” the claim of universality.

Proof by Induction

Proof by induction is a powerful technique for proving statements that hold true for all countable elements of a universe (example ).

The Strategy:

  1. Base Case: Show the statement holds for the smallest natural number (usually 1).
  2. Inductive Hypothesis: Assume the statement is true for some arbitrary natural number k.
  3. Inductive Step: Prove that if the statement is true for k, it must also be true for k+1.

Why It Works: If the base case holds and each step guarantees truth for the next number, then the statement holds for all natural numbers. It’s like building a chain – each link depends on the previous one, creating an unbroken sequence.

Continue here: 06 Set Theory and Russels Paradox