Skip to main content

Points on a Circle

We randomly distribute n points on the circumference of a circle. What is the probability that they will all fall in a common semi-circle?

(read from here)

Comments

  1. Solution here:
    http://mathproblems.info/images/prob1.pdf

    ReplyDelete
  2. Do you have an intuitive solution to Monty Hall problem? Why is the correct answer is correct?

    ReplyDelete
  3. The Monty Hall problem is quite interesting because it makes us confused. I heard of it the first time in the movie "21" and my friend, Ondra, posed the problem again when we were in a train from Bolzano to Innsbruck. We discussed it during that time.

    There are three doors, one door has a car and the other two doors have goats behind them. You choose, let's say "Door 1". The host (who knows where the car is) opens another door, let's say "Door 3", which has a goat behind. Then he asks whether you want to switch your choice or not, i.e., to choose Door 2.

    The answer is yes, switching to another door increases the probability that you would get the car.

    The simplest way of explaining it, as for me, is:
    First, when you choose Door 1, the probability that you would get the car is 1/3. The probability of having the car behind "Door 2" and "Door 3" together is 2/3.

    Then, the host, with his knowledge, reveals one of the door which has a goat behind, hence increase the probability of having the car behind Door 2 to 2/3 (because he has eliminated the possibility that behind Door 3 is the car).

    Hence, switching to Door 2, you will have the possibility of getting the car of 2/3, while if keeping your initial choice, Door 1, you will only have 1/3 possibility.

    What confuses people most is that: When the host opens Door 3, leaving both Door 1 and Door 2 close, then Door 1 and Door 2 should have an equal possibility of 50% chance to have the car. But the fact is that the host opens either Door 2 or Door 3 (but not Door 1) based on his knowledge about where the car is. So the event that the host opens the door doesn't change the possibility of Door 1, but Door 2.

    The most convincing and easy way to see the solution is to draw a table listing all possibilities where the car is and we will see it's clear that P(Door1=car) = 1/3 while P(Door3=goat|Door2=car) = 2/3.

    ReplyDelete
  4. Well done. Interestingly, this problem has confused not only people who normally do not deal with probabilities. Even great mathematicians got trapped by the issue. For instance, Paul Erdos, one of the greatest experts in probability theory could not understand the intuition behind the solution, it puzzled him a lot.

    Here are some quotes:
    ======================
    Vázsonyi told Erdös about the Monty Hall dilemma. “I told Erdös that the answer was to switch,” said Vázsonyi, “and fully expected to move to the next subject. But Erdös, to my surprise, said, ‘No, that is impossible. It should make no difference.’ At this point I was sorry I brought up the problem, because it was my experience that people get excited and emotional about the answer, and I end up with an unpleasant situation. But there was no way to bow out, so I showed him the decision tree solution I used in my undergraduate Quantitive Techniques of Management course.”

    And then.

    “An hour later he came back to me really irritated. “You are not telling me why to switch,” he said. ‘What is the matter with you?’ I said I was sorry, but I didn’t really know why and that only the decision tree analysis convinced me. He got even more upset.” Vázsonyi had seen this reaction before, in his students, but he hardly expected it from the most prolific mathematician of the twentieth century.

    =============================

    You are great, if you understood the solution right at the spot, or even more, was able to solve it yourself. For me it took a while ;)

    Here is another nice exercise on probability, slightly related to the post topic.

    Given an infinite chess board, where one cell is of the size 2*a. On this board a needle is thrown, whose size is 2*r < 2*a. Find the probability of the event that the needle falls entirely within one cell.

    ReplyDelete
  5. Hey, thanks for your interesting question. I'll think about it and come back later :)

    ReplyDelete
  6. The formalization was a bit imprecise. By the size of a cell I mean the length of one side. And of course the size of the needle is also its length.

    ReplyDelete
  7. Seems it takes a while to solve it. Here is a hint: answer is 1-(r*a-r^2)/(pi*a^2).
    But how do we get there?

    ReplyDelete
  8. Hey, thanks for the hint. It was indeed complicated and I've been busy. But I will come back to the problem soon!
    :-)

    ReplyDelete

Post a Comment

Popular posts from this blog

Skip-gram model and negative sampling

In the previous post , we have seen the 3 word2vec models: skip-gram, CBOW and GloVe. Now let's have a look at negative sampling and what it is used to make training skip-gram faster. The idea is originated from this paper: " Distributed Representations of Words and Phrases and their Compositionality ” (Mikolov et al. 2013) In the previous example , we have seen that if we have a vocabulary of size 10K, and we want to train word vectors of size 300. Then the number of parameters we have to estimate in each layer is 10Kx300. This number is big and makes training prone to over-fitting and gives too much focus on words that appear often, and less focus on rare words. Subsampling of frequent words So the idea of subsampling is that: we try to maximize the probability that "real outside word" appears, and minimize the probability that "random words" appear around center word. Real outside words are words that characterize the meaning of the center word, wh

Spam and Bayes' theorem

I divide my email into three categories: A1 = spam. A2 = low priority, A3 = high priority. I find that: P(A1) = .7 P(A2) = .2 P(A3) = .1 Let B be the event that an email contains the word "free". P(B|A1) = .9 P(B|A2) = .01 P(B|A3) = .01 I receive an email with the word "free". What is the probability that it is spam?

Pytorch and Keras cheat sheets