It's just after midterm and one lecture from last post, so leaving me no choice but talk about them.
So it's after the midterm, which I find fairly easy. The first question and third question are pretty similar, as they can both be solved using the same technique, by pulling out the (n+1) term out of the sum, and leaves the rest as the same format as the hypothesis. The second question was a bit harder than the other two, in my opinion, since I had a little trouble explaining it using symbols and words. I got the idea of how to use complete induction to solve the problem, but along the way, I find it really hard to explain to the reader my way of thinking and logic. I even invented some function to help me do it better, such as edge(n) = all the edges in the tree with n nodes, because to me, pure words can't really explain much, but if I write down the math equations to show that it follows, it's more convincing.
Then, after one hour of midterm, we had more lecture, which was hard to listen to as my mind was still all over the midterm questions. I copied down some notes, but they were merely useless since I didn't copy down loop, but just the proof parts. Luckily, I could find the notes on the course website. After reading some notes, I think I get the proof, but I think I would use the csc165 way to do it, more familiar. Anyways, I think I will get used to the new way too.
Tuesday, 16 October 2012
Monday, 8 October 2012
First Post
Since this is the first post, I am going to talk about what I learned in the first few weeks. First lecture was about the mathematical induction, nothing too difficult. It is pretty much the same thing as what I learnt in CSC165. Then we learnt about the complete induction, which was a new thing to me. At first I don't really get it, how by proving just the base case, and assume everything up to n-1 is true, then prove n is true, the statement will be true. However, after Danny do a few examples, I kind of get the hang of it. It is not much of a difference than the mathematical induction. Since the base case is true, so if the next one can be broken into the composition of the base case, it must be true. Then just like dominoes, if n can be broken into the composition of smaller ones, it must be true also.
However, there is a little something confused me. It was the question about the postage of 3 and 5 cents that can make up every number after the the first few. What solution I would come up with would be proving 8 9 10 are true, and since adding 3s to each one, I can make up everything after. Another solution Danny suggested was to prove 8 is right, then assume everything up to n-1 is true, and assume every number (after the first few) have at least one 5 or three 3s, then prove n is true would complete the solution. This seems strange to me, since we assume that the numbers have at least one 5 or three 3s. Then what I have proved is that every number has one 5 or three 3s works. But what if the ones that do not have one 5 or three 3s, although there are none, but we didn't prove it.
Anyway, after that we have well ordering, then structural induction, which are the proofs I have learnt in math courses, so not so big of a problem to me. Lastly, the Fibonacci sequence, which is something I am not so familiar with, but still manageable, just need to be careful of the base cases, as it only works for n greater than two. And this ends my first post of CSC236 blog.
However, there is a little something confused me. It was the question about the postage of 3 and 5 cents that can make up every number after the the first few. What solution I would come up with would be proving 8 9 10 are true, and since adding 3s to each one, I can make up everything after. Another solution Danny suggested was to prove 8 is right, then assume everything up to n-1 is true, and assume every number (after the first few) have at least one 5 or three 3s, then prove n is true would complete the solution. This seems strange to me, since we assume that the numbers have at least one 5 or three 3s. Then what I have proved is that every number has one 5 or three 3s works. But what if the ones that do not have one 5 or three 3s, although there are none, but we didn't prove it.
Anyway, after that we have well ordering, then structural induction, which are the proofs I have learnt in math courses, so not so big of a problem to me. Lastly, the Fibonacci sequence, which is something I am not so familiar with, but still manageable, just need to be careful of the base cases, as it only works for n greater than two. And this ends my first post of CSC236 blog.
Subscribe to:
Posts (Atom)