this post was submitted on 03 Aug 2023
623 points (97.4% liked)

No Stupid Questions

35913 readers
1007 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
[–] Artisian@lemmy.world 113 points 1 year ago* (last edited 1 year ago) (8 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.

[–] Evirisu@kbin.social 89 points 1 year ago (5 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.

[–] Artisian@lemmy.world 23 points 1 year ago (1 children)

I now recall there was a numberphile with exactly that visualisation! It's a clever visual

It really is, it's how my probability class finally got me to understand why this solution is true.

[–] dandroid@dandroid.app 16 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.

[–] Kissaki@feddit.de 11 points 1 year ago (5 children)

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

[–] crate_of_mice@lemmy.world 17 points 1 year ago (1 children)

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.

[–] Not_Alec_Baldwin@lemmy.world 4 points 1 year ago

This is the way to think about it.

[–] moreeni@lemm.ee 16 points 1 year ago* (last edited 1 year ago) (1 children)

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

[–] SgtAStrawberry@lemmy.world 6 points 1 year ago

Don't be sorry, your comment was the first time I actually understood how it works. Like I understand the numbers, but I still didn't get the problem, even when increasing the amount of doors. It was your explanation that made it actually click.

[–] Elderos@lemmings.world 9 points 1 year ago* (last edited 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", since the two ensembles are now of equal size, but only one ensemble shrank, and it was always at 2/3 odds of containing the prize.

[–] SnowmenMelt@lemmy.world 7 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.

[–] UntouchedWagons@lemmy.ca 3 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.

[–] eran_morad@lemmy.world 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.

[–] Kissaki@feddit.de 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?

[–] eran_morad@lemmy.world 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.

[–] clumsyninza@lemmy.world 2 points 1 year ago

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

[–] Sharkwellington@lemmy.one 2 points 1 year ago

This is fantastic, thank you.

[–] Ethalis@jlai.lu 12 points 1 year ago (4 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

[–] Elderos@lemmings.world 5 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!

[–] kogasa@programming.dev 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.

[–] Num10ck@lemmy.world 3 points 1 year ago (2 children)

like on paper the odds on your original door was 1/3 and the option door is 1/2, but in reality with the original information both doors were 1/3 and now with the new information both doors are 1/2.

[–] kogasa@programming.dev 1 points 1 year ago

Your original odds were 1/3, and this never changes since you don't get any new information.

The key is that Monty always reveals a goat. No matter what you choose, even before you make your choice, you know Monty will reveal a goat. Therefore, when he does so, you learn nothing you didn't already know.

[–] Marvin42@feddit.nl -3 points 1 year ago (1 children)

Yes, you don't actually have to switch. You could also throw a coin to decide to stay at the current door or to switch. By throwing a coin, you actually improved your chances of winning the price.

[–] Aosih@lemm.ee 3 points 1 year ago

This is incorrect. The way the Monty Hall problem is formulated means staying at the current door has 1/3 chance of winning, and switching gives you 2/3 chance. Flipping a coin doesn't change anything. I'm not going to give a long explanation on why this is true since there are plenty other explanations in other comments already.

This is a common misconception that switching is better because it improves your chances from 1/3 to 1/2, whereas it actually increases to 2/3.

[–] emokidforever@lemmy.world 1 points 1 year ago

This explanation really helped me make sense of it: Monty Hall Problem (best explanation) - Numberphile

[–] Sharkwellington@lemmy.one 12 points 1 year ago (1 children)

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.

[–] Artisian@lemmy.world 1 points 1 year ago (1 children)

Oh that's cool - I had heard one or two examples only. Is there some popular writeup of the story from Savant's view?

[–] Sharkwellington@lemmy.one 3 points 1 year ago* (last edited 1 year ago)

I couldn't tell you - I used the Wikipedia article to reference the specifics and I'm not sure where I first heard about the story. I just remember that the mathematics community dogpiled on her hard for some time and has since completely turned around to accept her answer as correct.

Also relevant - she did not invent the problem, but her article is considered by some to have been what popularized it.

[–] clumsyninza@lemmy.world 2 points 1 year ago

It's a good one.

[–] jscari@lemmy.world 2 points 1 year ago (1 children)

It took me a while to wrap my head around this, but here’s how I finally got it:

There are three doors and one prize, so the odds of the prize being behind any particular door are 1/3. So let’s say you choose door #1. There’s a 1/3 chance that the prize is behind door #1 and, therefore, a 2/3 chance that the prize is behind either door #2 OR door #3.

Now here’s the catch. Monty opens door #2 and reveals that it does not contain the prize. The odds are the same as before – a 1/3 chance that the prize is behind door #1, and a 2/3 chance that the prize is behind either door #2 or door #3 – but now you know definitively that the prize isn’t behind door #2, so you can rule it out. Therefore, there’s a 1/3 chance that the prize is behind door #1, and a 2/3 chance that the prize is behind door #3. So you’ll be twice as likely to win the prize if you switch your choice from door #1 to door #3.

[–] kernelPanic@lemmy.ml 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.

[–] Artisian@lemmy.world 1 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.

[–] kernelPanic@lemmy.ml 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

[–] Artisian@lemmy.world 1 points 1 year ago

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