Loading [MathJax]/jax/element/mml/optable/MathOperators.js

Contrapositive, contradiction and construction: common proof methods



In this post we will talk about three different, all very common, ways of making proofs: contrapositive, contradiction and construction.

Construction:
(jump to the contrapositive or to the contradiction)
Proofs by construction are probably the proofs that make more sense or are more intuitive in nature. When you prove something by construction, you explicitly build the thing that you described to exist, or give an explicit way of verifying what you described. This is very important because more often than not, mathematics can prove things like "an object X satisfying this and that property exists", but without providing means to find such object.

A good example of a proof by construction is the proof that every function f:RR can be decomposed into a sum f(x)=O(x)+E(x) where O(x) is an odd function and E(x) is an even function, i.e.

{O(x)=O(x)E(x)=E(x) xR

To prove this statement, we will build O and E directly from the function f and then we show that O is odd, E is even, and that f(x)=O(x)+E(x). For this matter, define

{E(x)=f(x)+f(x)2O(x)=f(x)f(x)2

We start by showing that they sum up to f:

O(x)+E(x)=f(x)f(x)2+f(x)+f(x)2=f(x)f(x)+f(x)+f(x)2=2f(x)2=f(x)

We are now left with showing that O is odd and E is even... In fact,

O(x)=f(x)f((x))2=f(x)f(x)2=f(x)f(x)2=O(x)

and

E(x)=f(x)+f((x))2=f(x)+f(x)2=f(x)+f(x)2=E(x)

Proofs by construction are my favourites and whenever I can I try to follow this proof method, as I find it very rewarding to build the object(s) described by a theorem or proposition or whatnot, instead of just proving they exist.

Another example of a proof by construction is this: prove that given pairs {(x1,y1),(x2,y2),,(xn+1,yn+1)} where xixj ij there exists a polynomial p(x) of degree at most n such that p(xi)=yi 1in+1. To prove this we will show something easier: for the same set of points, we can find a set {l1,l2,,ln+1} of polynomials of degrees at most n such that

li(xj)={1,i=j0 otherwise

If we can find that set of polynomials, then we just need to set

p(x)=y1l1(x)+y2l2(x)++yn+1ln+1(x)

We prove the existence of that set of polynomials by providing a way of building them. Notice how l1 is supposed to be 0 at x2. So (xx2) should definitely be part of the factorization of l1(x); following the same reasoning, so should (xx3),,(xxn+1). Let us try setting

l1(x)=(xx2)×(xx3)××(xxn+1)=j1(xxj)

It is already true that l1(xj)=0 if j1. But as of now,

l1(x1)=j1(x1xj)1

We can fix that easily by dividing l1 by that number! Hence

l1(x)=(j1(xxj))/(j1(x1xj))=j1xxjx1xj

satisfies the required property of being 1 at x1 and 0 at any other xi from the list.

We can do a similar construction for any other li, where the general expression becomes

li(x)=jixxjxixj

and thus we have showed that we can build the required polynomials. Because each li is the product of n factors, each of degree 1, it follows that each li has degree n. The weighted sum

p(x)=y1l1(x)+y2l2(x)++yn+1ln+1(x)

has therefore degree n or less.

The two other methods we will see are indirect methods, in the sense that they prove statements but they do not provide a direct way of building the objects described.

Contrapositive:
(jump to the construction or to the contradiction)
The first indirect method I want to describe is when you prove an implication by proving its contrapositive. You can apply this method when you want to prove that some conditions C imply a result R. That is, you want to show that whenever all conditions in C are met, then you can observe result R; in symbols, CR. The contrapositive of CR is ¬R¬C. In words, if you didn't observe result R then not all conditions were met.

If you think about it for a second, it is intuitive that CR and ¬R¬C are the same... Meeting the conditions gives you R (CR) so if you didn't get the result you surely didn't have the conditions (¬R¬C)! Because if you had had them, then you would also have the result... But you don't!

Let us now prove something by proving its contrapositive instead. We will show that if s is the sum of two consecutive integers, then s is odd. To prove the contrapositive we need to show that if s is even, s can't be the sum of two consecutive integers. This statement is fairly trivial, but we will do it anyway:

Let a,b be integers with a+b=s. Because s is even, there is another integer k with 2k=s and so we get:

{a+b=2kb=2kaab=a(2ka)=2a2k=2(ak)

which means the difference between a and b is also even. But if a,b were consecutive integers we would have ab=±1, which is odd whether we have +1 or 1. Hence it cannot be the case that  a,b are consecutive integers.

As another example, we will show that if A,BZ are finite subsets of the integers and if AB, then maxAmaxB. To prove this, we will show that maxA>maxBA. In fact, let a = \max A > \max B = b and we show that a \not \in B. If a \in B, then b \geq a because b = \max B, but we know that a > b so a \not \in B.

Contradiction:
(jump to the construction or to the contrapositive)
When you wish to prove something by contradiction, all you have to do is assume the contrary to what you want to prove, and then build some train of thought that eventually leads you to an absurd conclusion!

If your train of thought isn't flawed, then the error must have been in your assumption.

As an example, let us prove that if you pick 11 integers from \{1, 2, 3, \cdots, 30\}, there are at least two of them, call them x and y, with |x - y| \leq 2. To prove this, we will start by assuming that we picked 11 integers and no two of them are sufficiently close, and we will proceed to reach a contradiction:

Imagine ordering the 11 integers we picked and writing them down in this way:

a_0, a_1, a_2, a_3, a_4, a_5, a_6, a_7, a_8, a_9, a_{10}

Where a_0 is the smallest integer we picked and a_{10} is the biggest. Now we replace each a_i with a_i - a_{i-1},\ \forall i > 0, ending up with this:

a_0, a_1-a_0, a_2-a_1, a_3-a_2, a_4-a_3, a_5-a_4,\\ a_6-a_5, a_7-a_6, a_8-a_7, a_9-a_8, a_{10}-a_9

Now we have a_{10} = a_0 + \sum_{i=1}^{10}(a_i - a_{i-1}) and \sum_{i=1}^{10} a_i - a_{i-1} \geq 30, meaning that a_{10} \geq a_0 + 30 \implies a_{10} \geq 31 because a_0 \geq 1 which contradicts the fact that a_{10} was picked from within the set \{1, 2, 3, \cdots, 30\}, hence we were wrong in supposing said thing was possible.

Another good example is a proof that \sqrt{2} is irrational. To show that, suppose \sqrt2 was rational and set \sqrt2 = \frac{m}{n}, where \frac{m}{n} has been reduced to its lowest terms, i.e. m and n share no divisors. Now consider

\sqrt{2} = \frac{m}{n} \iff \sqrt{2}^2  = \left(\frac{m}{n}\right)^2 \iff 2 = \frac{m^2}{n^2}

From this, one concludes that 2 divides m so we actually have \sqrt{2} = \frac{m}{n} = \frac{2m'}{n} \iff \frac{\sqrt{2}}{2} = \frac{m'}{n}. Now we square both sides again:

\left(\frac{\sqrt2}{2}\right)^2 = \left(\frac{m'}{n}\right)^2 \iff \frac{1}{2} = \frac{m'^2}{n^2}

From this we conclude that 2 divides n, and so actually we have \sqrt{2} = \frac{m}{n} = \frac{2m'}{2n'} = \frac{m'}{n'} that contradicts our hypothesis that \frac{m}{n} was already in its lowest terms, hence it is false that \sqrt{2} is rational.

Let me know what you think!

-RGS
Contrapositive, contradiction and construction: common proof methods Contrapositive, contradiction and construction: common proof methods Reviewed by Unknown on January 28, 2018 Rating: 5

No comments:

Powered by Blogger.