Saturday, October 25, 2014

Penny Piles (Problem Solving)

Understand the problem: 
There are two drawers. The left drawer contains 64 pennies, and the right drawer is empty. With the following two operations:

L: if the left pile has an even number of pennies, transfer half of them to the right pile. If the left pile has an odd number of pennies, operation L is disallowed.

R: if the right pile has an even number of pennies, transfer half of them to the left pile. If the right pile has an odd number of pennies, operation R is disallowed.

Devise a plan:
To find out if it is possible to have 48 pennies in a drawer, we can carry out the two operations and see if we can make 48.
To try out if other numbers in the range of [0,64] are possible, we can draw a tree diagram to investigate all the different possibilities. Once an operation is carried out, it opens up two new possibilities. This kind of branching is perfect for a tree diagram. 

Carry out the plan: 
How to make 48:
Carry out L: 32  32
Carry out L again: 16  48 or Carry out R: 48  16

Other numbers in the range of [0,64]"
Note: I accidentally started the tree diagram off with no pennies in the left and 64 in the right instead of the other way around as presented in the problem. This does not affect the result because either way, the same numbers will be made. 
To check if all the numbers in the range of [0,64] are included, we only have to go through and check that the numbers in the range [0,32] are present in the tree diagram, as these numbers will pair up with a number in the range [32,64] because the total number of pennies in the drawer is always 64.

Conclusion:
It is possible to make 48, and all the other numbers in the range of [0,64].

Sunday, October 19, 2014

Week 6

So last week we learned how to break down statements with universal and existential quantifiers and structure proofs for them. When there is a universal quantifier, we write 'Assume that *insert universal quantifier part here*' and when there is an existential quantifier, we try to assign a value to the variable, although sometimes we may have to think through the proof contents before we can go back and assign the value.

This week, we learnt more types of proof. We learned how to prove something false, first by negating the statement, and then proving that the negation is false. We also learned how to structure proofs by cases. An example we worked on in class was to prove that n^2 + n is even. The first step is to figure out all the possible cases. For the example I just mentioned, there are two cases: n is even , and n is odd. Then we have to prove the statement for each case.

Like I said in my blog post for last week, everything is pretty straightforward. Lectures have been quite dull and because we've just been working through specific proof examples in class. Everything has just blurred and mixed together in my head, which is why I wrote the above two paragraphs to summarize things so they can get filed away neatly in my brain rather than float around in a huge scattered mess.

I think proofs are fun in a way, because a lot of the time, it requires you to be creative and approach a proof from different angles in order to figure out a functional, clear way to show something, but it can also be quite annoying sometimes for the same reason.

Sunday, October 12, 2014

Week 5

In lectures, we are still going through different types of proofs. Everything is pretty straightforward and there isn't very much to say about it.
We had our test this week. I prepared for the test by looking through old lecture slides, notes that I have made, assignment 1 and tutorial exercise. I also looked at the old test paper that was posted on the course website. However, the answers on the paper were very vague and although I knew how to determine whether each one would be True or False, I was not entirely confident with my explanations as to why they were True or False, and the answers on the sample test did not really help. But overall, for the actual test, I felt that I did okay and there weren't any questions that I had trouble with.

Monday, October 6, 2014

Week 4

From doing the assignment, I was stuck on question 2d) for a while, because I could not identify if the statement was the converse, contrapositive or negation of the original statement. It looked like the contrapositive of the converse. However, after a while I remembered that the contrapositive is equivalent to the original statement, so the contrapositive of the converse is equivalent to the converse. This is something I will keep in mind for future use.

In class, we have started learning about proofs. I have done some mathematical proofs during high school, but those were more focused on the content of the proof, and we were never taught proper structure. So learning to structure proofs was something new to me. I can see how the structure can help you find a starting point and directions to work in, and also make it clear and easy for somebody else to understand your proof.

Overall, I'm feeling quite comfortable with material that was covered this week and am still finding the course rather enjoyable.