Wednesday, 11 September 2013

The Monty Hall Problem: Newcastle, 2000, Australia



Prof. Graham Priest gave a talk at the Newcastle University (http://www.newcastle.edu.au/) in 2000 which made us think that the Monty Hall Problem (http://www.nytimes.com/2008/04/08/science/08monty.html) was a problem worth studying because it defied the laws of Mathematics.

The problem appears to be connected to a TV show where a car would be hidden behind a door. The other doors would have something else behind them. The person participating in the game would choose one of the three doors and, if they guessed right, like if they chose the door that had the car behind it, then they would get the car. The presenter would then open one of the two doors that remained (not chosen) after the person made the first choice. That door would never conceal the car. 


It is then said that they have studied the problem from the TV show and if the person changed their choice at that stage, like after the revelation of the contents of one of the two remaining doors, then the person would have more chances of getting the car because studying the history of the show they reached that conclusion, like, statistically, that would be the case.


A fellow from Linkedin listed all possible first choices and then drew a map of possibilities, what we call tree, to prove that truth. 

The problem is that his map is incomplete.

Please notice that we have three choices available the first time the question is asked and therefore one chance in three of finding the car (about 33% or 1/3). 

One of the doors is open and no car appears. 


We are now left with two doors. One of them has the car. 



Has the probability changed? Yes, sure! Now we have 50% or 1/2 of chance of getting the car, like it is more likely that we get it, since one door has been eliminated from the game and did not conceal it. 


What happens if we change our choice? We then have 50% of chance in the same way, is it not?

Notice that the first choice will never have any effect on the second because the presenter always opens a door that does not conceal the car. 


Notice that the door is not closed again and mixed, as we do with the cards game, and we have not eliminated the possibility of getting a non-car by opening that door. 


We then have about 33% of chance with the first choice. If we change the choice after the door is open, then we have 50% of chance of getting it and if we stick to the same door, we also have 50% of chance of getting it. 




Why is it that the history of choices of the show seem to conflict with this conclusion then? As in Brazil, with Silvio Santos, more than likely (same sort of game), we can only assume that people would change doors more rarely and it was then the choice of the production to swap the position of the car so that the person would lose, like that is just a TV show… . 


If we were to write a tree for this problem, it would look like this:

So, this is our complete tree of choices.



Basically, the first balls are the choice of the contestant on the first time and after that choice they will be presented with three doors again, but one will be eliminated, which is the one that appears with the cross.



With that, we have the following couples of results as our possibilities set:


{(D1,D1), (D1,D2),(D1,D1),(D1,D3),(D2,D2),(D2,D3),(D2,D1),(D2,D2),(D3,D1), (D3,D3), (D3,D2), (D3,D3)}


The cardinality of this set is 12. 




Notice that in six of the possibilities there is equality between the first and the second choice, what then gives 50% of the results as possible. If we swap, that is, if the second choice or the second member of the couple changes, then we have the other 50%.
We have then proven, also through tree of possibilities, that the chances are 50% for those who stick to the same door and 50% for those who change on the second opportunity.
We think that this settles the possible problem with the Mathematics involved.



Were the game honest, we probably should notice some similarity of wins between the people who swap and those who stick. Notice however that luck is luck and some numbers get out of the globe/bag more times than others with draws controlled by auditors in the popular games we have, say the game Lotto in Brazil. 


If we could draw a rule that were deterministic, this would be purely mathematical, not also statistical (probability falls to the side of Statistics). Whatever is statistical is not supposed to be deterministic by nature, so that the results are not predictable in terms of real life. The best we get is a percentage in terms of chances of getting it right.

Also, if we could predict results, then we would always win, what would obviously make profit impossible to the side of the organization running the game.

This problem perhaps exists to illustrate the differences between what is statistical and what is mathematical in the same way that The Sorites Paradox exists to illustrate the difference between purely human language and machine or mathematical language (Mathematics is based on a logical system that is very similar to the Classical Logic, which was the first logical system used by machines. The first circuits we had were all based on Classical Logic, and that is why they had only two states: Open or closed. Basically, to have our air-conditioners, the modern ones, we had to use Fuzzy Logic, which is a logical system that accepts more nuances, not only two states: gradations were hot and cold only before they came up with the dial, where we could choose something in between).

______________________________________________________




______________________________________________________

    



Tuesday, 30 July 2013

Negative numbers and basic operations



It may look as if we are over it but the negative numbers still represent a puzzle for many.

Ms. Ruth McNeill[1] found it very counter-intuitive to consider that a negative number times a negative number comes out to a positive number. According to the source we have consulted, this lady claimed that multiplying intensifies something, and thus two negative numbers multiplied together should properly produce a very negative result.

All in human knowledge is obviously convention, for even the most guaranteed of the findings, say a person is definitely with worms in their digestive system, and we should therefore remove those, if we see a roundworm coming out of their body, depends on a set of premises.

So we have a body?

We obviously have a body for as long as our senses tell us that there is a difference between us and the others that is determined by the limits of our skin.

Trivially, if we find out that our eye has a matrix that is not evolved enough, and an animal of some sort has a better matrix for their eye, and we decide to use their matrix and, in doing that, we see no separation between our bodies and the bodies of others, then we will start believing that the worm is not inside of our digestive system: It is inside of our common body instead.

If things get worse and our new eye matrix reveals that we are actually also connected to the land around us with no distinction, then the worm is another being fighting for its life in the only environment that is available to it.

In this case, our worm may become our next Tasmanian Devil, like it may need to be preserved, and perhaps it is then OK if a few pieces of us die in order for it to keep on existing.

If even physical things, which we take for granted, are actually products of our imagination, all founded on a set of premises, or assumptions, imagine the rest… .

Human knowledge is fragile.

Inside of the World of Mathematics, we have the negative numbers, which could be seen as the reflection, in the mirror, of the non-negative and non-null numbers.

We should be able to explain all basic mathematical operations with the negative and non-null numbers in the same way that we explain the basic mathematical operations with the non-negative and non-null numbers.

It could be possible that Ms. Ruth were right and all our conventions, those that have to do with the negative numbers, were actually not logical. If that were true, however, our explanations would have to be odd, unnatural or counter-intuitive, as she said they were.

When we add two non-negative and non-null numbers, we think of two sets of items being merged, then of us counting the items, and coming up with a figure in the end. Some  of us, however, think of the ruler and then imagine a particle moving from the starting point, the 0, over as many units as those we have in the first number, then over as many units as those we have in the second number, and finally stopping. Those would go to the ruler and take note of the number that is found under the particle as they finish doing that.

Well, if we put the ruler in front of a mirror, then we will see its reflection in it. If we now position the ruler in a way to have its zero connected to the surface of the mirror, we will see another ruler in the virtual world that we have just created.  As in Physics, we translate inside of the mirror into a '-' sign. Now, if we forget the '-' sign of the amounts involved and perform the requested mathematical operations in the way we described before, but look at the mirror, at the reflection of the result, we will have our actual result. We will then have both quantities together; therefore a value that represents that, but, this time, this value will appear to the right side of a minus sign.

Now, let’s think of our bank accounts. Let’s think of the minus sign as a synonym for debt. We would then increase our debt as we increase the quantity of numbers with negative signs in our sum, right? Because it would still be a debt, we would have to have the minus sign in front of the result of the sum.

If we had a debt of, say, two dollars, and we wanted to make all our seven friends owe as much as we do, therefore we would like to copy our situation for each one of them or we would like to multiply it, we would have minus fourteen dollars, since that would be two dollars in debt seven times or 7 x (-2).

If our friends then decided that in fact they owe that money but left their seats, and they were sitting at our table before, and they all have put the money they owed us over their seat before they left, we then would have -7x(-2)=14.

We could also think of the situation as being our seven friends who have paid their debts with us, therefore our 7 x (-(-2)), that is, our seven friends that now can have that debt taken away (with a minus) or 14 dollars entering our pocket since it is two for each.

Besides, if we have a positive balance in our bank account, say AU$ 4, and we then acquire a debt of AU$ 10, we know that it is missing AU$ 6 for us to be OK with our bank, that is, we have a -6 result.

If we divide a debt of, say, AU$ 10 by two people who do not exist, we are probably trying to lure the Taxation Office because we actually have a profit that we cannot explain in our result with our business. That means that we actually have a non-negative balance to deal with. A 10-dollar debt that has never existed divided by two people that have never existed ((-10)/(-2)) can only mean an excess of 10 dollars, therefore a +10 or a 10. In this case, we actually have an excess of 5 for each person.

Another situation that could explain the process of division involving two negative quantities is that in which we have the quantity of people we had before owing us minus two. They all owed AU$ 10, therefore had a debt of AU$ 10 (-10 x 2). Now they have paid their debt, so that we have (-10)x(-2), therefore we have a non-negative 20 as an entry in our bank statement… .

On the other hand, we could have AU$10 to explain to the Taxation Office. We would then come up with two people who owed us money, but two people who do not exist, in order to even out all and not pay tax. We would then have a 10-dollar profit to divide by 2 people who do not exist (10/(-2)). Well, the result, in this case, can only be that each one owed us AU$5, therefore each one got a -5 for their account… .

If we had a debt of AU$ 10 to divide by two people that actually exist ((-10)/2), then we know that each one would be getting a debt of 5, that is, a -5.

It then seems to us that Ms. Ruth McNeill could be more accepting of the mathematical rules if she had access to our explanations.

If we could go back in the past, is it not? Only if we could… .









[1] Ruth McNeill, “A Reflection on When I Loved Math and How I Stopped.” Journal of Mathematical Behavior, vol. 7 (1988) pp. 45-50, as mentioned at http://homepages.math.uic.edu/~saunders/MTHT591_F12_crypto/supplements/4gelfand.pdf (Bonnie Saunders, September 2012, as seen by us on the 10th of July of 2013)




_______________________________________________________



______________________________________________________
    


Saturday, 29 June 2013

Compound Interest: Trouble


You will be in shock to notice that things are always made to injure the common people to best that they can in democracy and capitalism (also in the first world nations!). To the least, they are made to confound us all, and therefore leave us with no chance of arguing.

Basically, there is the standard formula, through which common people calculate interest, for instance in loans and applications, and the mathematical theories that should be behind it.


We are talking about the compound interest, which differs from the simple interest because it is calculated over the current value, rather than over the initial value.

With the simple interest, if we invest, say, AU$ 1,000.00 today, at the rate of, say, 5% per annum, and the money remains applied for 12 months, then we get to withdraw, supposing that we take all out, AU$ 1,050.00 at the end of the 12 month period.  

To calculate the amount of the withdrawal, we could have done 1000 x 0.05 + 1000 = 1000 (1+0.05), that is, A = P (1 + r n). 

Most of us, however, would have reasoned that 10% of 1000 would be going back from the end of the 1000 one spot (10/100 = 1/10), so that 10% would be 100. Since 5% is half of 10%, we get half of 100 or simply 50.

If it were compound interest, in this particular case, we would have gotten the same amount of money at the end of the period, and we would have calculated the amount of money to withdraw through the following formula: A = P (1 + r/n)nt
In the just-mentioned formula, we would have made P be equal to AU$ 1,000.00, since that is the money that we have invested, our principal, r = 0.05, since that is the percentage per annum, our interest rate, n = 1, since the frequency of addition of interest per year is one (once a year we have the interest calculated and paid to our account), and t = 1, since the money would have rested in the application for one year. See: A = 1000 (1+0.05/1)1x1= 1000 (1.05) = 1,050.

Now suppose that we duplicate the period of time in both situations (and that is when things are going to start looking really bad for those making the rules in democracy and capitalism). 

We would then get A = 1000 (1+0.05x2) = 1100, therefore AU$ 1,100.00 with simple interest and A = 1000 (1+0.05/1)1x2=1000x1.052=1102.5, therefore AU$ 1,102.50, with compound interest.

So far, no problems, we all think.

Not really.

If we go for the reasoning behind this formula, that of the compound interest, we will actually notice that the formula is not accurate.

Compound interest should be a mathematical calculation made always over the current amount, so that we would do 1000 (1.05) =1,050 to get the first year total and [1000 (1.05)](1.05) =1,102.50 to get the second  year’s total.

Well, you would say, things are still all the same.

Indeed, that is why nobody has ever thought that there could be some mistake with the formula or its application.

However, when you start playing with frequency and duration, things change quite a lot.

Consider, for instance, a rate of 5% per quarter instead of 5% per year, ceteris paribus (other things being equal), and apply the formula. Then calculate it all mathematically and observe the difference in values.

In simple interest, no problems whatsoever: 1000 (1+0.05x4)=1200 (four quarters per year).

The formula we have for compound interest can only be applied when the interest comes measured by the year, so that we have to first convert 5% per quarter into x% per year to then apply our formula.

Mathematically, we will look for an amount x that satisfies the following equation:
(1.05)4=(1+x)1. 

Our x is (1.05)4 -1, therefore 0.21550625.

X would then be 21.55%, that is, 5%, quarterly, of interest is the same as 21.55% per year of interest (compound).

Now, we can use our formula:
1000 (1+0.21550625/4)4x1≈1233.55.

Using mathematical reasoning, we would get 1000 (1.05)4 ≈ 1215.51.

Now our formula does not look that good, is it not?

Indeed.

The higher the frequency in the year, the worse it will look, quite sincerely.

Notice that if we simply multiply 5% by four and plug that into the formula, we get: 1000 (1+0.2/4)4x1 ≈ 1215.51.

Also, if we simplify the ratio 0.21550625/4 through making the division and rounding the result mathematically, we get 1.05 for the sum, therefore we get the same value, 1215.51, in the end.

Notice that Mathematics will tell us to commit the least amount of mistake as possible, therefore to round just the final result, as we have done when we got 1233.55 as an answer.

That means that our financial formula is an approximation to the calculation and only works as in Mathematics under special conditions.

The question that emerges is then why we would not be using the mathematical calculation, which seems to be so clear. 

Notice that we will be losing in our investment if they apply Mathematics but we will be paying less in our loans, unless they round it all still inside of the brackets, before raising to the exponent, when it is then all the same.

__________________________________________



________________________________________________________