Docsity

Assignment Solutions - Algebraic Combinatorics | N 1, Assignments of Health sciences

Toggle sidebar
bg1
M325K - Proofs
There are as many different methods of proof as there are ideas, but there are a handful
of logical structures that I use all the time. This worksheet will give careful examples of these
and help you practice one of the more complicated ones, induction.
1 Direct Proof
As the name might suggest, the method of Direct Proof is pretty straight forward. In this proof
style, the conclusion is derived from the hypotheses and definitions by logically combining them
with previous theorems. For example:
Theorem 1.1. The sum of two even numbers is even.
Proof. Let aand bbe even numbers. This means that a= 2αand b= 2β, where αand βare
integers. Then a+b= 2α+ 2β= 2(α+β). This realizes a+bas 2 times an integer, so it is
also even.
For a harder example, closer to your heart:
Theorem 1.2. Let G= (V, E)be a graph containing a circuit C, and let ebe an edge that
appears in the circuit. Let Sbe the subgraph of Gcontaining all the vertices in Cand all of the
edges in Cexcept e. Then Sis still connected.
Proof. Let vand wbe arbitrary vertices on C. First notice that by Rebecca’s lemma from
class, there exists another circuit with exactly the same edges and vertices as Cthat starts and
ends at v, which we call C′. We will need names for the edges and vertices of C′, so I label
them as follows.
C′:v, e1, v1, e2,...,ek, vk=w, ek+1,...,en, vn=v
Because C′is a circuit, the eiare all distinct. In other words ei6=ejif i6=jwhere
1≤i, j ≤n. Notice that there is exactly one integer m, 1 ≤m≤nsuch that the edge efrom
above is then equal to em.
Case 1: If 1 ≤m≤k, then I claim that W1:v , en, vn−1,...,ek+1, w is a walk in the
subgraph without efrom vto w. First of all, because e6=ejfor k+ 1 ≤j≤n, the edges used
are certainly in S. And secondly, each edge used is clearly still between the vertices it connects
because it inherits this property from the original circuit.
Case 2: If k+ 1 ≤m≤n, then W2:v , e1, v1,...,ek, w is a path in Sfor the same reasons
as W1is the desired path in Case 1.
As mentioned above, emust appear in one of these two cases, so there exists a walk between
any two vertices in S, so the subgraph S(of circuit vertices and edges without e) is connected.
2 Contrapositive
The statement {Aimplies B}is logically equivalent to the statement {not Bimplies not A}.
For example, {I wear goulashes when it rains.}is equivalent to {If I am not wearing goulashes, it
is not raining.}. Exchanging two such equivalent statements is called using the Contrapositive.
pf3
pf4
pf5

Partial preview of the text

Download Assignment Solutions - Algebraic Combinatorics | N 1 and more Assignments Health sciences in PDF only on Docsity!

M325K - Proofs

There are as many different methods of proof as there are ideas, but there are a handful of logical structures that I use all the time. This worksheet will give careful examples of these and help you practice one of the more complicated ones, induction.

1 Direct Proof

As the name might suggest, the method of Direct Proof is pretty straight forward. In this proof style, the conclusion is derived from the hypotheses and definitions by logically combining them with previous theorems. For example:

Theorem 1.1. The sum of two even numbers is even.

Proof. Let a and b be even numbers. This means that a = 2α and b = 2β, where α and β are integers. Then a + b = 2α + 2β = 2(α + β). This realizes a + b as 2 times an integer, so it is also even.

For a harder example, closer to your heart:

Theorem 1.2. Let G = (V, E) be a graph containing a circuit C, and let e be an edge that appears in the circuit. Let S be the subgraph of G containing all the vertices in C and all of the edges in C except e. Then S is still connected.

Proof. Let v and w be arbitrary vertices on C. First notice that by Rebecca’s lemma from class, there exists another circuit with exactly the same edges and vertices as C that starts and ends at v, which we call C′. We will need names for the edges and vertices of C′, so I label them as follows.

C′^ : v, e 1 , v 1 , e 2 ,... , ek, vk = w, ek+1,... , en, vn = v Because C′^ is a circuit, the ei are all distinct. In other words ei 6 = ej if i 6 = j where 1 ≤ i, j ≤ n. Notice that there is exactly one integer m, 1 ≤ m ≤ n such that the edge e from above is then equal to em. Case 1: If 1 ≤ m ≤ k, then I claim that W 1 : v, en, vn− 1 ,... , ek+1, w is a walk in the subgraph without e from v to w. First of all, because e 6 = ej for k + 1 ≤ j ≤ n, the edges used are certainly in S. And secondly, each edge used is clearly still between the vertices it connects because it inherits this property from the original circuit. Case 2: If k + 1 ≤ m ≤ n, then W 2 : v, e 1 , v 1 ,... , ek, w is a path in S for the same reasons as W 1 is the desired path in Case 1. As mentioned above, e must appear in one of these two cases, so there exists a walk between any two vertices in S, so the subgraph S (of circuit vertices and edges without e) is connected.

2 Contrapositive

The statement {A implies B} is logically equivalent to the statement {not B implies not A}. For example, {I wear goulashes when it rains.} is equivalent to {If I am not wearing goulashes, it is not raining.}. Exchanging two such equivalent statements is called using the Contrapositive.

This is not actually a proof technique, but it often reduces your problem to proving something simpler. For an example from the Graph Theory packet, when we proved that the data for Exercise 2 .12 could not represent a graph, we saw that the total degree would be odd. Then we said that {If the total degree is not even, a graph cannot exist.}, which is the contrapositive of our theorem {If G is a graph, its total degree is even.}.

3 Contradiction

My favorite technique is Proof by Contradiction. In this technique, you assume the fact that you are trying to disprove and then work towards showing an absurdity (or contradiction).

Theorem 3.1. The number

2 is not rational. (That means that it is not equal to p q for integers p and q.

Proof. Suppose that

2 = p q is rational. By cancelling any common factors, we may take p and

q that share no common factors. Well then 2 = (

2)^2 = (p q )^2 , which is equivalent to 2q^2 = p^2 as products of integers. But 2 divides the left side, so it must divide the right. Because 2 is prime, if it divides p^2 , it must divide p. Hence 2^2 divides the right side. Now our equation has become 2q^2 = 2^2 (p′)^2 , where p′^ = p/2 is still an integer. By similar reasoning as the above, this means that there is a second factor of 2 on the left, which in turn means that 2 divides q. We have shown that 2 divides both p and q, which contradicts the fact that they had no common factors. Hence our original assumption, the rationality of

2, is false and

2 is irrational.

4 Proof by Induction

The technique of Proof by Induction is used to simultaneously prove an infinite number of related statements. Informally, to induct, you prove a base case of your fact and then use that case to show that the next is also true. This has been likened to setting up dominoes: once set up, you need only knock the first domino into the second and they will all eventually fall over. More formally, for every natural number n, let Pn be a statement. Then to prove that Pn is true for every n, you prove:

  1. P 1 is true.

  2. For any natural number k, {Pk implies Pk+1}.

Once you’ve proven that P 1 is true, then fact 2) implies P 2 is true, by letting k = 1. Similarly this implies that P 3 is true, and so on, so Pn is true for all n. For example, notice:

Also, if we assume that 1 + 2 + · · · + 17 = (17)(18) 2 , then

It looks promising that we’d be able to write down a formula for the sum of the first n natural numbers, which is actually an infinite number of formulae. So we use induction to prove:

Exercise 4.7. Critique the following attempted use of induction.

Theorem 4.8. I can design a backpack that will hold an infinite number of books.

Proof. Well, I have a backpack that can hold a book; I bought it from Timbuk2. Now suppose that I have the design for a backpack that can hold n books. Well, if I just make it twice as big, clearly it will be able to hold at least one more book. So now I have a design for a backpack that holds n + 1 books. By induction, I have a design for a backpack that can hold as many books as I want.

Exercise 4.9. The queen of the island nation of Puzzalia had a vision from the gods one night, so in the morning she assembled her people to tell them the news. The gods had decided that it was time for them to explore the rest of the world, and the gods would indicate who should leave to explore. As she spoke, the gods put a mark on every Puzzalian’s forehead, either a circle or a triangle. The queen explained that circles should stay on the island to uphold the traditions, while triangles should meet at the boats at high noon to depart on the day they were sure that they had been chosen to explore. The queen also told them that she did not know how many people would be leaving, but the gods had told her that at least one explorer would depart. Communication from the gods was, however, sacred. Speaking about the symbol on your forehead was totally anathema, and trying to see its reflection was tantamount to demanding that the gods speak directly to you, which is heretical. But the Puzzalians wer all very good at puzzles, so they all figured out which shape they were, and thus began the Puzzalian Empire. How did the Puzzalians know if they are a triangle, and when will the triangles leave the island?

Exercise 4.10 (Binomial Expansion Theorem). For any natural number n:

(x + y)n^ =

∑^ n

k=

n k

)xn−kyk.

If you’re unfamiliar with this notation, ask one of us about it. And finally, one from your current course work.

Exercise 4.11. Every tree with at least 2 vertices has at least two vertices of degree 1.

5 Subtleties of Induction

Now that we’ve started to understand infinity through cardinalities, a subtlety of induction has reared its ugly head. The problem arises not from the application of induction, but from its interpretation. Recall the structure of induction. A statment, called “P 1 ” is proven true. Then the state- ment “Pr implies Pr+1” is proven for any natural number r. The principle of induction then imples that Pn is true for any n ∈ N. It’s a way to simultaneously prove an infinite number of theorems. For example, let Pn be the statement “The union of n finite sets is finite.” What is P 1? It is the statement that “the union of one finite set is finite.” Well, that’s certainly true, a finite set is finite. Continuing on, we need to check that “The union of r finite sets is finite implies that the union of r + 1 finite sets is finite.” If our sets are labelled {S 1 ,... , Sr, Sr+1}, then

r⋃+

i=

Si = (

⋃^ r

i=

Si) ∪ (Sr+1).

But our inductive hypothesis tells us that this first union is the union of r finite sets, call it U , hence finite. We’re left with the union of two finite sets. Well, there is a bijection φ : { 1 , 2 ,... , m} → U for some m ∈ N and a bijection μ : { 1 , 2 ,... , m′} → Sr+1 for some m′^ ∈ N. (Suppose that U and Sr+1 are disjoint, otherwise their union is strictly smaller, which is fine for our porposes.) Then define Φ : { 1 , 2 ,... , m + m′} → U ∪ Sr+1 by

Φ(a) =

{ (^) φ(a) a ≤ m μ(a − m) a > m

This new function Φ is then a bijection of the union with the set { 1 , 2 ,... , m + m′}, hence the union is finite. What have we proven? Clearly, since it’s true for every natural number, what we’ve proven is that a countable union of finite sets is finite. Wait a second, that’s ridiculous. The natural numbers can be written as the union of it’s (countably many) one point subsets

N =

⋃^ ∞

i=

{i},

but N is definitely NOT finite. What we’ve actually proven is that “Pn is true for all n.” In other words:

Theorem 5.1. The union of ANY FINITE NUMBER of finite sets is finite.

In some sense, the other, false fact that we thought we’d proven was P∞ or the limit of the true theorems, limn→∞ Pn. It’s enticing to think that it works that way, but luckily it does not. Put this way, it sounds silly. But this is the proof that many of you gave me of the theorem:

Theorem 5.2. A countable union of countable sets is countable.

Although this thoerem is true, the same proof by induction still does not show it. You must use one of the clever tricks we heard in class to do it instead. The moral is that induction can prove statements that start “For any finite number of things...” not “Countably many things...”. If you’re ever confused about whether you’re interpreting an inductive proof correctly, simply carefully write out Pn so that it obviously depends on n, and then replace the n with “any finite number”. For example, in this last theorem, Pn should read: “I can design a book that holds n books.” Then what the induction really proves is that “I can design a backpack that holds any finite number of books.”

6 Neither Proof nor Disproof

One (narrow) way to look at mathematics is as the study of facts that can be deduced from a fixed set of axioms, facts that are declared to be true. Curiously, in such a concrete, explicit world there are some strange philosophical quandaries. For example there are facts that can neither be proven nor disproven. The simplest example is the statement {This sentence is false.}. If you proved it false, then suddenly it would become true, and similarly if you could prove it true there’d be trouble. This quandary follows from the self-refferencial quality of some logical systems and was investigated by G¨odel, who proved several Incompleteness Theorems. There are a few famous mathematical ideas that are not provable under the standard axioms of mathematics. One states that you can choose elements from an infinite number of barrels,