1. What is a Proof?

A mathematical proof is a logical argument that demonstrates a statement is true. It is a sequence of statements, each one logically following from the previous ones, starting from a set of axioms (assumed truths) and definitions.

2. Validating Statements

To validate a statement of the form p    qp \implies q, we need to show that whenever pp is true, qq must also be true. There are several standard methods to do this.

A. Direct Proof

In a direct proof, we assume that the hypothesis pp is true and use logical deductions, definitions, and previously known facts to show that the conclusion qq must also be true.

  • Structure: Assume pp is true     \implies …logical steps…     \implies Show qq is true.
  • Example: Prove that if nn is an odd integer, then n2n^2 is an odd integer.
  1. Assume pp is true: Let nn be an odd integer.
  2. Use definition: By definition, n=2k+1n = 2k+1 for some integer kk.
  3. Logical deduction: n2=(2k+1)2=4k2+4k+1=2(2k2+2k)+1n^2 = (2k+1)^2 = 4k^2 + 4k + 1 = 2(2k^2+2k) + 1.
  4. Show qq is true: Since 2k2+2k2k^2+2k is an integer, n2n^2 is of the form 2m+12m+1 (where m=2k2+2km=2k^2+2k). Therefore, n2n^2 is an odd integer.

B. Proof by Contrapositive

This method relies on the fact that an implication p    qp \implies q is logically equivalent to its contrapositive, q    p\sim q \implies \sim p. So, to prove p    qp \implies q, we can instead prove its contrapositive.

  • Structure: Assume q\sim q is true     \implies …logical steps…     \implies Show p\sim p is true.
  • Example: Prove that if n2n^2 is an even integer, then nn is an even integer.
  1. Identify Contrapositive: The contrapositive is "If nn is not an even integer (i.e., nn is odd), then n2n^2 is not an even integer (i.e., n2n^2 is odd)."
  2. Prove the contrapositive: This is exactly what we proved in the direct proof example. Since the contrapositive is true, the original statement must also be true.

C. Proof by Contradiction (Reductio ad absurdum)

In this method, we assume that the statement we want to prove is false and then show that this assumption leads to a logical contradiction.

  • Structure: Assume the statement is false (i.e., assume pp and q\sim q are true)     \implies …logical steps…     \implies Arrive at a contradiction (e.g., RRR \land \sim R).
  • Example: Prove that 2\sqrt{2} is an irrational number.
  1. Assume the opposite: Assume 2\sqrt{2} is a rational number.
  2. Use definition: Then 2=a/b\sqrt{2} = a/b where aa and bb are integers with no common factors and b0b \neq 0.
  3. Logical deduction: 2=a2/b2    a2=2b22 = a^2/b^2 \implies a^2 = 2b^2. This means a2a^2 is even, so aa must also be even. Thus a=2ka=2k for some integer kk.
  4. Substitute back: (2k)2=2b2    4k2=2b2    b2=2k2(2k)^2 = 2b^2 \implies 4k^2 = 2b^2 \implies b^2 = 2k^2. This means b2b^2 is even, so bb must also be even.
  5. Find the contradiction: If both aa and bb are even, they have a common factor of 2. This contradicts our initial assumption that aa and bb have no common factors. Therefore, our assumption that 2\sqrt{2} is rational must be false.

D. Proof by Counterexample

To prove that a universally quantified statement (x,P(x)\forall x, P(x)) is false, we only need to find a single instance where it is not true. This single instance is called a counterexample.

  • Example: Disprove the statement "All prime numbers are odd."
  • Counterexample: The number 2 is a prime number, but it is not odd. Therefore, the statement is false.