Divisibility
An integer divides an integer if and only if there exists an integer such that . Written as (a divides b). In logical notation, this is written as if such that . For example, because . Conversely, because such that .
Direct Proofs
Demonstrating a one statement’s truth implies another statement’s truth. For example, for and and and , it logically follows that .
A Simple Direct Proof
An integer is even if and only if . A non-even integer is said to be odd. We can prove directly that implies , that is a square of an even number is also even.
Let . This gives us that such that and hence . The same reasoning can be provided that or that .
Example of a Direct Proof not working
“Show that is an integer, such that is even, then is also even”, ie we want to prove . A similar argument tells us that so such that . Although this shows that , this doesn’t lead to a statement in the form of for some integer .
Contrapositives
Where: if every time is true, is also true, then every time is false, must also be false. For example, the statement “I have no brothers and sisters” implies “I have no brothers”. The contrapositive of this is that “I have a brother” implies “I have a brother or sister”. Contrapositives do not change the truth of an original statement. If true, the contrapositive is true and if false, the contrapositive is false.
Proof by Contrapositive
Relies on negating both statements and reversing the direction of implication. When seeking to prove that if we have an integer such that is even, then must also be even. Here, we also then seek to prove that if is not even, is certainly not even. Let be an odd number. This tells us that such that . We have , so n^2 is therefore 1 larger than an even number so is odd. We have shown that and hence that . If is even and is an integer, is even.
Proof by Contradiction
This proofs makes an assumption which is the negation of what we wish to prove, and then constructing a logical argument that leads to a statement which is clearly false. Formally, this consists of starting with a statement (assumed to be true) and showing that . Since no statement can be true and not true, the initial assumption of being true must be incorrect.
Example Proofs
Prime Numbers
A prime number is an integer greater than 1 which is divisible only by 1 and itself. That is, is prime if and only if . Rather than proving that , we can instead show that . This is trivial to prove, since if 2 divides , such that . If this is the case, then is not prime since it has 2 and as divisors. When writing out all primes, we observe that they appear to be less and less frequent. The question is if there are a finite or infinite number of prime numbers. We can show that there are infinitely many by first assuming that there are not infinitely many, leading to a contradiction. If we assume that there are a finite number of primes, there is a list of distinct primes (any number not in this list is not prime). Consider the number . It is easy to see that N is not divisible by any of the primes, but is not itself a prime. This is a contradiction, since N should’ve been in the original list, hence our initial assumption that there are a finite number of primes must be false.
Irrational Numbers
To prove that is irrational, we can prove by contradiction. Assume that is rational, and that its simplest form is for the integers and . This means that , which tells us that is even, which implies that is even. If is even, such that . This gives , hence . , which contradicts the original assumption that is the simplest form.
Rational Numbers
We can directly prove that between any two distinct rational numbers, there exists another rational number. Let our two distinct rational numbers be and , such that . These can be expressed in their simplest forms . The value is midway between and and is also rational (since are integers).