When trying to prove \(p\rightarrow q\) assume p and prove that q must be true
Theorem: if x is divisible by 4, it must be divisible by 2.
Since x is divisible by 4, it can be written as 4k for some integer k.
Since 4 is equal to 2 times 2, 4k can be written as \(2\times2\times k\) which is clearly divisible by 2.
When trying to prove \(p\rightarrow q\) assume p and \(\neg q\) and prove that there is a contradiction
Theorem: \(\sqrt{2}\) is irrational
Proof: Assume that \(\sqrt{2}\) is rational.
Then it can be written as \(\frac{p}{q}\) for coprime integers \(p,q\in\mathbb{N}\) by definition of a rational number.
Then by squaring both sides we have \(2=\frac{p^2}{q^2}\).
Rearranging, we get that \(2q^2=p^2\). Therefore p must be even (see below). Therefore we can write p=2k for some integer k.
Then we have \(2q^2=(2k)^2=4k^2\) or \(q^2=2k^2\). By similar logic, q must be even. However this means both p and q are divisible by 2, contradicting our assumption that p and q are coprime.
When trying to prove \(p\rightarrow q\) assume \(\not q\) and prove \(\not p\)
Theorem: \(\forall n\in\mathbb{N}\), if \(n^2\) is even, \(n\) must be even (used above)
Proof: Let \(n\) be odd, then \(n=2k+1\) for some integer \(k\).
Then \(n^2=(2k+1)^2=4k^2+4k+1\).
Since \(4k^2+4k=4(k^2+k)\), it is divisible by 2. So \(n^2\) must be odd.
Therefore if \(n\) is odd, \(n^2\) is odd.
Therefore by contrapositive if \(n^2\) is even, \(n\) is even.
To prove the theorem is true for all n.
Note. The above is week induction. In strong induction we assume it is true for all values up to and including k.
Theorem: \(\forall n\in\mathbb{N}\) \(n^3+2n\) is divisible by 3.
Proof:
Base case: \(n=1\). \(n^3+2n=1^3+2(1)=3\) which is divisible by 3.
Inductive hypothesis: For \(n=k\), we have that \(k^3+2k\) is divisible by 3. This means that \(k^3+2k=3m\) for some integer m.
Inductive step: Now we must prove for \(n=k+1\), \(n^3+2n\) is divisible by 3.
Substituting k+1 for n we have that \(n^3+2n=(k+1)^3+2(k+1)=k^3+3k^2+3k+1+2k+2\).
Rearranging, we have that \(k^3+3k^2+3k+1+2k+2=(k^3+2k)+(3k^2+3k+1+2)\).
Combining like terms, we have that \((k^3+2k)+(3k^2+3k+1+2)=(k^3+2k)+(3k^2+3k+3)\).
By the inductive hypothesis, we know that \(k^3+2k=3m\).
Therefore we have that \((k^3+2k)+(3k^2+3k+3)=3m+3k^2+3k+3=3(m+k^2+k+1)\) which is divisible by 3.
To show the theorem must be true, exhaustively demonstrate it is true in all cases
Theorem: \(\forall x\in\mathbb{R}\) if \(x\leq-2\) or \(x\geq2\) then \(\lvert x\rvert\geq 2\)
Proof: x must be either less than or equal to -2 (case 1) or greater than or equal to 2 (case 2)
case 1: If x is less than or equal to -2, then by definition of absolute value, \(\lvert x\rvert=-x\geq2\)
case 2: If x is greater than or equal to 2, then by definition of absolute value, \(\lvert x\rvert=x\geq2\)
Since these cases are exhaustive, and in all cases \(\lvert x\rvert\geq 2\), we have shown that \(\forall x\in\mathbb{R}\) if \(x\leq-2\) or \(x\geq2\) then \(\lvert x\rvert\geq 2\).
To show the theorem is true, build the structure that proves it true.
Theorem: Given 2 L-shaped pieces (\(2\times2\) square with one block removed), one can fill a \(2\times3\) board with no overlap.
Proof: Construction left to the reader
Theorem:
Prove the number of cases through efficient counting techniques.
Theorem: There are 90 2-digit numbers in base 10
Proof: There are 9 possible numbers for the first digit (1-9) and 10 possible numbers for the second digit (0-9) all of which will lead to unique numbers. Therefore there are \(9\times10=90\) 2-digit numbers in base 10.
Prove that the theorem is false by providing a counterexample.
Theorem: All numbers that are divisible by 2 are divisible by 4.
Counterexample: 6 is divisible by 2, but not by 4.