MATH 302 Lecture 6

From Notes
Jump to navigation Jump to search

« previous | Wednesday, September 14, 2011 | next »


Proofs

Know terminology on pages 81 and 82

Main goal is to support the claim

Three main methods of proofs:

  1. Direct: assume is true and show that is also true
  2. Proof by Contraposition: assume is false and show that must be false.
  3. Proof by Contradiction: assume that ( is true and is false) and try to arrive at a conflict (contradiction)

Examples

Definitions

  • is even:
  • is odd:
  • is rational: for some

Example 1

Proposition. If is odd, then is odd.

Proof. Let be an odd integer. By definition, there exists some integer such that . Then , where is an integer. Hence by definition, is odd.

Q.E.D.

Example 2

Proposition. If is even, then is odd.

Proof. Let be an even integer. By definition, for some integer , is an even number. must be an odd number by definition, where is an integer. Therefore is odd for an even integer .

Q.E.D.

Example 3

Proposition. If and are rational, then is rational.

Proof. Let and be rational numbers. Then and for some integers ,

Example 4

Proposition. If is odd, then is odd.

Proof by contraposition. Let be even. Then for some integer , so , which is even.

Q.E.D.

Example 5

Proposition. If is odd, then is even.

Proof by contraposition. Assume is odd. Then for some integer .

Hence is even.

Q.E.D.

Example 6

Proposition. is irrational

Proof by contradiction. Assume is rational. Therefore, for some integers and , where . We will assume without loss of generality that and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle q} have no common factors (are coprime). Thus we have Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{p^2}{q^2} = 2} , giving Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle p^2=2q^2. <math>p^2} is even, so Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle p} must be even: Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle p=2k} for some integer Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle k} . Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle p^2 = (2k)^2 = 4k^2 = 2q^2} , then Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 2k^2=q^2} , so —and therefore Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle q} —must be even. Since and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle q} are even, they would have a common factor of 2, which contradicts our generality that Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle p} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle q} are coprime.

Q.E.D.

Example 7

Proposition. If Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x > 0} , then Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x + \frac{1}{x} \ge 2}

Scratch sheet. (Working backwards) Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x^2+1 \ge 2x} , so Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x^2-2x+1 = (x-1)^2 \ge 2x} , which is true.

Proof. Assume Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x>0} . We also have Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (x-1)^2 \ge 0} . Then Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x^2-2x+1 \ge 0} by expansion, and can be simplified to Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x + \frac{1}{x} \ge 2}

Q.E.D.

Methods and Strategies of Proofs

proof by exhaustion (proof by cases)
given a finite number of possibilities, just check the proof's validity by checking all of the possibilities
existence proofs
construct an example of a case that satisfies the proposition
uniqueness proofs