Sunday, September 28, 2014

WEEK 2


Hello everyone, this post will be dedicated to the second week of class, a lot of material was covered. Also, we had our first tutorial followed by the quiz. So, let’s start with the class.

CLASS

The material covered was:
- Quantifiers, verify/falsify
- Sentences vs statements
- Predicates
- Implications and equivalence

In my opinion, the most relevant content was Quantifiers, Predicates and Implications, those were the keys to understand the content of week 3 (…shush, no spoilers).

At the beginning I was really scared about that math language, all those symbols and I never thought I could make sense of what it was trying to tell me, but now it is some how easy, but don’t be fooled, it is not easy, and also is really helpful if you have some understanding about set notation. The image below was used to demonstrate how the math language looks like.


The quantifiers are divided into Universal and Existential, and they were putted together in a really helpful table with how to verify and falsify, and the table is some how self explained.



A really amazing tool to not get lost when trying to verify or falsify is the Venn Diagram, where you can represent the sets and graphically shows what is empty or not.

Right after, the battle between what is a sentence and what is statement begun, it is quite easy to mix both because a statement is a sentence, but the opposite is not always true, but in the end it is very simple. In a statement, the object of the sentence is quantified, that is all. For example, if I say “The planet is beautiful” is planet quantified?! yes…no?! If you compare to that another sentence it gets easier to know which one is sentence or statement, and the another sentence that is a statement can be “All birds can fly”, just remember that what is being analyzed is which one is a statement and not if it is true.

The Predicate is something a little bit complex, but can be explained using very simple examples, using the bird example I can say the P = “The birds that can fly”, so “Bird x can fly”, then P(x), and “P(x)” is a predicate. So it is a full sentence compressed in two letter, it can save a lot of paper, can’t it?!
If I would like to negate it, just use that symbol “¬”. Now, you can easily know what I want to say with that “¬P(x)”. It can get a lot more complex, and sometimes more information about the sets should be provided.

Implication is the base to construct more complex thoughts mathematically speaking, and to anyone familiar with any computer language it should be easy peasy. Basically, “IF P, THEN Q” or “P => Q”, so P implies Q. But, be careful, since it does not mean that P causes Q, and some weird sentences can come out, like the one presented in the class “If it rains yesterday, then the sun rose today.”, and it is true. Also, some interesting rules came out, converse and contrapositive. So, tons of everyday sentences can be translated just with the symbol “=>”.

Following implication we were presented to Equivalence, that in my opinion is just a special case of Implication, it simply is an implication that works both ways, so “P => Q” and “Q => P” merged into “P <=> Q” or “P iff Q”, in english you read “if and only if”. Back into the bird example, bird P and fly Q, “P <=> Q” if it is a bird, it can fly, and if can fly, it is a bird, so it can fly if and only if it is a bird. (I know, it is getting complex, I thought the same, but it needs some time and thinking to get into my mind.)

TUTORIAL

The tutorial was all about the Venn Diagram, and how to verify and falsify. Nothing I could not handle, but surprisingly during the quiz, that was composed by two questions I didn’t answer the first one correctly, and that is the warning, it can be very simple, but we are dealing with small letters and simple graphics that can represent a whole world, so it should be treated very carefully. I will show the question below and say exactly what happened, so everyone can be aware.

I will write just the key sentences of the question one:


  • U is the set of all students currently enrolled at UofT;
  • P is the set of all students enrolled in a programming course;
  • L is the set of all students enrolled in a linguistic course;
  • Claim: “all students enrolled in a programming course at UofT are also enrolled in a linguistics course at UofT”.

-> Prove the claim is correct.

Well, in a really fast thought I answered that “To prove it is correct, all students should be enrolled in both courses.”.
When I walking back home after the quiz I realized how wrong I was. Basically, the statement was a simple “P => L”, and not “P <=> L”, and just some time after the quiz I knew that my first question was wrong, mainly because of impatience, but most of all, due to the inability I had to transform a statement and detect what I was dealing with, if it was a “if P, then L” or “P if and only if L”. Sadly, it was too late.

#I hope you liked, and don’t forget to check the week 3 (soon), 
#I am actually late with my week post, so I hope I can finish week 3 by the end of monday, 29 Sept.
#Questions, comments, suggestion?! Write it below, I will answer as soon as possible.
#Thank you.

No comments:

Post a Comment