this post was submitted on 03 Aug 2023
196 points (95.0% liked)

No Stupid Questions

35893 readers
1288 users here now

No such thing. Ask away!

!nostupidquestions is a community dedicated to being helpful and answering each others' questions on various topics.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must be legitimate questions. All post titles must include a question.

All posts must be legitimate questions, and all post titles must include a question. Questions that are joke or trolling questions, memes, song lyrics as title, etc. are not allowed here. See Rule 6 for all exceptions.



Rule 2- Your question subject cannot be illegal or NSFW material.

Your question subject cannot be illegal or NSFW material. You will be warned first, banned second.



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Questions which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding META posts and joke questions.

Provided it is about the community itself, you may post non-question posts using the [META] tag on your post title.

On fridays, you are allowed to post meme and troll questions, on the condition that it's in text format only, and conforms with our other rules. These posts MUST include the [NSQ Friday] tag in their title.

If you post a serious question on friday and are looking only for legitimate answers, then please include the [Serious] tag on your post. Irrelevant replies will then be removed by moderators.



Rule 7- You can't intentionally annoy, mock, or harass other members.

If you intentionally annoy, mock, harass, or discriminate against any individual member, you will be removed.

Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- Majority of bots aren't allowed to participate here.



Credits

Our breathtaking icon was bestowed upon us by @Cevilia!

The greatest banner of all time: by @TheOneWithTheHair!

founded 1 year ago
MODERATORS
 

What concepts or facts do you know from math that is mind blowing, awesome, or simply fascinating?

Here are some I would like to share:

  • Gödel's incompleteness theorems: There are some problems in math so difficult that it can never be solved no matter how much time you put into it.
  • Halting problem: It is impossible to write a program that can figure out whether or not any input program loops forever or finishes running. (Undecidablity)

The Busy Beaver function

Now this is the mind blowing one. What is the largest non-infinite number you know? Graham's Number? TREE(3)? TREE(TREE(3))? This one will beat it easily.

  • The Busy Beaver function produces the fastest growing number that is theoretically possible. These numbers are so large we don't even know if you can compute the function to get the value even with an infinitely powerful PC.
  • In fact, just the mere act of being able to compute the value would mean solving the hardest problems in mathematics.
  • Σ(1) = 1
  • Σ(4) = 13
  • Σ(6) > 10^10^10^10^10^10^10^10^10^10^10^10^10^10^10 (10s are stacked on each other)
  • Σ(17) > Graham's Number
  • Σ(27) If you can compute this function the Goldbach conjecture is false.
  • Σ(744) If you can compute this function the Riemann hypothesis is false.

Sources:

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 31 points 1 year ago* (last edited 1 year ago) (6 children)

For the uninitiated, the monty Hall problem is a good one.

Start with 3 closed doors, and an announcer who knows what's behind each. The announcer says that behind 2 of the doors is a goat, and behind the third door is ~~a car~~ student debt relief, but doesn't tell you which door leads to which. They then let you pick a door, and you will get what's behind the door. Before you open it, they open a different door than your choice and reveal a goat. Then the announcer says you are allowed to change your choice.

So should you switch?

The answer turns out to be yes. 2/3rds of the time you are better off switching. But even famous mathematicians didn't believe it at first.

[–] [email protected] 12 points 1 year ago (3 children)

I know the problem is easier to visualize if you increase the number of doors. Let's say you start with 1000 doors, you choose one and the announcer opens 998 other doors with goats. In this way is evident you should switch because unless you were incredibly lucky to pick up the initial door with the prize between 1000, the other door will have it.

[–] [email protected] 5 points 1 year ago

This is so mind blowing to me, because I get what you're saying logically, but my gut still tells me it's a 50/50 chance.

But I think the reason it is true is because the other person didn't choose the other 998 doors randomly. So if you chose any of the other 998 doors, it would still be between the door you chose and the winner, other than the 1/1000 chance that you chose right at the beginning.

[–] [email protected] 3 points 1 year ago (5 children)

I don't find this more intuitive. It's still one or the other door.

[–] [email protected] 6 points 1 year ago

The point is, the odds don't get recomputed after the other doors are opened. In effect you were offered two choices at the start: choose one door, or choose all of the other 999 doors.

[–] [email protected] 5 points 1 year ago

I think the problem is worded specifically to hide the fact that you're creating two set of doors by picking a door, and that shrinking a set actually make each individual door in that set more likely to have the prize.

Think of it this way : You have 4 doors, 2 blue doors and 2 red doors. I tell you that there is 50% chance of the prize to be in either a blue or a red door. Now I get to remove a red door that is confirmed to not have the prize. If you had to chose, would you pick a blue door or a red door? Seems obvious now that the remaining red door is somehow a safer pick. This is kind of what is happening in the initial problem, but since the second ensemble is bigger to begin with (the two doors you did not pick), it sort of trick you into ignoring the fact that the ensemble shrank and that it made the remaining door more "valuable".

[–] [email protected] 5 points 1 year ago

The odds you picked the correct door at the start is 1/1000, that means there's a 999/1000 chance it's in one of the other 999 doors. If the man opens 998 doors and leaves one left then that door has 999/1000 chance of having the prize.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

The thing is, you pick the door totally randomly and since there are more goats, the chance to pick a goat is higher. That means there's a 2/3 chance that the door you initially picked is a goat. The announcer picks the other goat with a 100% chance, which means the last remaining door most likely has the prize behind it

Edit: seems like this was already answered by someone else, but I didn't see their comment due to federation delay. Sorry

[–] [email protected] 2 points 1 year ago (1 children)

Same here, even after reading other explanations I don't see how the odds are anything other than 50/50.

[–] [email protected] 1 points 1 year ago (1 children)

read up on the law of total probability. prob(car is behind door #1) = 1/3. monty opens door #3, shows you a goat. prob(car behind door #1) = 1/3, unchanged from before. prob(car is behind door #2) + prob(car behind door #1) = 1. therefore, prob(car is behind door #2) = 2/3.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

Following that cascade, didn't you just change the probability of door 2? It was 1/3 like the other two. Then you opened door three. Why would door two be 2/3 now? Door 2 changes for no disclosed reason, but door 1 doesn't? Why does door 1 have a fixed probability when door 2 doesn't?

[–] [email protected] 1 points 1 year ago

No, you didn’t change the prob of #2. Prob(car behind 2) + prob(car behind 3) = 2/3. Monty shows you that prob(car behind 3) = 0.

This can also be understood through conditional probabilities, if that’s easier for you.

[–] [email protected] 2 points 1 year ago

How do we even come up with such amazing problems right ? It's fascinating.

[–] [email protected] 2 points 1 year ago

But even famous mathematicians didn't believe it at first.

They emphatically did not believe it at first. Marilyn vos Savant was flooded with about 10,000 letters after publishing the famous 1990 article, and had to write two followup articles to clarify the logic involved.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

First, fuck you! I couldn't sleep. The possibility to win the car when you change is the possibility of your first choice to be goat, which is 2/3, because you only win when your first choice is goat when you always change.

x1: you win

x2: you change

x3: you pick goat at first choice

P(x1|x2,x3)=1 P(x1)=1/2 P(x3)=2/3 P(x2)=1/2

P(x1|x2) =?

Chain theory of probability:

P(x1,x2,x3)=P(x3|x1,x2)P(x1|x2)P(x2)=P(x1|x2,x3)P(x2|x3)P(x3)

From Bayes theorem: P(x3|x1,x2)= P(x1|x2,x3)P(x2)/P(x1) =1

x2 and x3 are independent P(x2|x3)=P(x2)

P(x1| x2)=P(x3)=2/3 P(x2|x1)=P(x1|x2)P(x2)/P(X1)=P(x1|x2)

P(x1=1|x2=0) = 1- P(x1=1|x2=1) = 1\3 is the probability to win if u do not change.

[–] [email protected] 2 points 1 year ago (1 children)

Why do you have a P(x1) = 1/2 at the start? I'm not sure what x1 means if we don't specify a strategy.

[–] [email protected] 1 points 1 year ago (1 children)

Just count the number of possibilities. If you change there there two possible first choices to win + if you do not change 1 possible choice to win = 3. If you change there is one possible first choice to lose + if you do not change there two possible first choices to lose=3 P(x1)=P(x1') = 3/6

[–] [email protected] 2 points 1 year ago (1 children)

Ah, so it's the probability you win by playing randomly. Gotcha. That makes sense, it becomes a choice between 2 doors

[–] [email protected] 1 points 1 year ago

Without condition would be more technically correct term but yes

[–] [email protected] 1 points 1 year ago (2 children)

I know it to be true, I've heard it dozens of times, but my dumb brain still refuses to accept the solution everytime. It's kind of crazy really

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago)

Let's name the goats Alice and Bob. You pick at random between Alice, Bob, and the Car, each with 1/3 chance. Let's examine each case.

  • Case 1: You picked Alice. Monty eliminates Bob. Switching wins. (1/3)

  • Case 2: You picked Bob. Monty eliminates Alice. Switching wins. (1/3)

  • Case 3: You picked the Car. Monty eliminates either Alice or Bob. You don't know which, but it doesn't matter-- switching loses. (1/3)

It comes down to the fact that Monty always eliminates a goat, which is why there is only one possibility in each of these (equally probable) cases.

From another point of view: Monty revealing a goat does not provide us any new information, because we know in advance that he must always do so. Hence our original odds of picking correctly (p=1/3) cannot change.


In the variant "Monty Fall" problem, where Monty opens a random door, we perform the same analysis:

  • Case 1: You picked Alice. (1/3)
    • Case 1a: Monty eliminates Bob. Switching wins. (1/2 of case 1, 1/6 overall)
    • Case 1b: Monty eliminates the Car. Game over. (1/2 of case 1, 1/6 overall)
  • Case 2: You picked Bob. (1/3)
    • Case 2a: Monty eliminates Alice. Switching wins. (1/2 of case 2, 1/6 overall)
    • Case 2b: Monty eliminates the Car. Game over. (1/2 of case 2, 1/6 overall)
  • Case 3: You picked the Car. (1/3)
    • Case 3a: Monty eliminates Alice. Switching loses. (1/2 of case 3, 1/6 overall)
    • Case 3b: Monty eliminates Bob. Switching loses. (1/2 of case 3, 1/6 overall)

As you can see, there is now a chance that Monty reveals the car resulting in an instant game over-- a 1/3 chance, to be exact. If Monty just so happens to reveal a goat, we instantly know that cases 1b and 2b are impossible. (In this variant, Monty revealing a goat reveals new information!) Of the remaining (still equally probable!) cases, switching wins half the time.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

To me, it makes sense because there was initially 2 chances out of 3 for the prize to be in the doors you did not pick. Revealing a door, exclusively on doors you did not pick, does not reset the odds of the whole problem, it is still more likely that the prize is in one of the door you did not pick, and a door was removed from that pool.

Imo, the key element here is that your own door cannot be revealed early, or else changing your choice would not matter, so it is never "tested", and this ultimately make the other door more "vouched" for, statistically, and since you know that the door was more likely to be in the other set to begin with, well, might as well switch!