Thursday, October 16, 2008

Post # 8 Test - 1

I think that Test #1 was fair. It did not include anything that had not been covered in lectures. However, I felt that I did not have enough time. Some questions required writing long proofs. I do not intend to say that they were too tough. I just did not have enough time to finish up writing the proofs.  

Post # 7 Problem Set # 2

Well, what can I say... Problem Set # 2 was fairly easy. Since solutions are posted on the course web-cite and my solutions are kind of similar, there is no point to publish them here.

Thursday, October 9, 2008

Post # 6 - Well-ordering Principe & Well-ordering Theorem

You might consider this post kind of irrelevant, since it is not related to the course material directly. I accidentally happened to know that the Well-ordering Principle and Well-ordering theorem are different things, even though they are often taken to be synonymous. 

The Well-ordering Principle states that that every set of natural numbers has its smallest element, while the Well-ordering Theorem states that every set can be well-ordered.  

Monday, October 6, 2008

Post # 5-Problem Set # 1

Well, to begin with, problem set # 1 was easy... I thought that I would need to use one of two famous techniques: wishful thinking or thoughtful wishing. However, it turned out that eaxmples we did in class were in many ways similar to problems included in the problem set. Anyway, since deadline passed long time ago I want to publish my solutions in case if you want to go through.

Q#1

No need to go into details. After going through several cases for n=1, 2, 3, 4 I found that there is a pattern. Each time when we multiply a number by 4, we multiply each digit of that number. For example, if we multiply 45 by 4 we know that the last digit of resulting number must be 0, since 5*4=20. Next step is to write out a proof based on simple induction. So, piece of cake, I would say.

Q#2

Again, I did some scratch work, so see for yourselves:

case1: n=1, {1}, there are 0 pairs

case2: n=2, {1, 2}, there is one pair, 2*(2-1)/2=1

case3: n=3, {1, 2, 3}, possible pairs {1, 2}, {2, 3}, {3, 1}, 3*(3-1)/2=3 pairs

And again, pattern! The great news, sounds like music to my ears, meaning that scratch work had not been done vainly! Any set {1, 2, ..., n-1, n} contains all pairs of different numbers from set {1, 2, ..., n-1}. The rest of the pairs of different numbers are formed just by taking each element of {1, 2, ..., n-1} and adding to it the last element of {1, 2, ..., n-1, n}. So each time when n increases by one, the number of pairs of different numbers increases by n.

n*(n-1)/2+n=n((n-1)/n+1)=n(n+1)/2, simple algebra and simple induction.