• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 18:32
CET 00:32
KST 08:32
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
HomeStory Cup 28 - Info & Preview11Rongyi Cup S3 - Preview & Info3herO wins SC2 All-Star Invitational14SC2 All-Star Invitational: Tournament Preview5RSL Revival - 2025 Season Finals Preview8
Community News
Weekly Cups (Jan 26-Feb 1): herO, Clem, ByuN, Classic win0RSL Season 4 announced for March-April5Weekly Cups (Jan 19-25): Bunny, Trigger, MaxPax win3Weekly Cups (Jan 12-18): herO, MaxPax, Solar win0BSL Season 2025 - Full Overview and Conclusion8
StarCraft 2
General
Weekly Cups (Jan 26-Feb 1): herO, Clem, ByuN, Classic win StarCraft 2 Not at the Esports World Cup 2026 HomeStory Cup 28 - Info & Preview Weekly Cups (Jan 19-25): Bunny, Trigger, MaxPax win Oliveira Would Have Returned If EWC Continued
Tourneys
RSL Season 4 announced for March-April HomeStory Cup 28 $21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7) KSL Week 85 OSC Season 13 World Championship
Strategy
Simple Questions Simple Answers
Custom Maps
[A] Starcraft Sound Mod
External Content
Mutation # 511 Temple of Rebirth The PondCast: SC2 News & Results Mutation # 510 Safety Violation Mutation # 509 Doomsday Report
Brood War
General
Can someone share very abbreviated BW cliffnotes? Liquipedia.net NEEDS editors for Brood War BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion [ASL21] Potential Map Candidates
Tourneys
[Megathread] Daily Proleagues Small VOD Thread 2.0 Azhi's Colosseum - Season 2 [BSL21] Non-Korean Championship - Starts Jan 10
Strategy
Zealot bombing is no longer popular? Simple Questions, Simple Answers Current Meta Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Battle Aces/David Kim RTS Megathread Nintendo Switch Thread Path of Exile Mobile Legends: Bang Bang Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas Vanilla Mini Mafia
Community
General
US Politics Mega-thread European Politico-economics QA Mega-thread The Games Industry And ATVI Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread
Fan Clubs
The herO Fan Club! The IdrA Fan Club
Media & Entertainment
[Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Let's Get Creative–Video Gam…
TrAiDoS
My 2025 Magic: The Gathering…
DARKING
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1578 users

Fun probability problem (and your thoughts?) - Page 3

Blogs > Empyrean
Post a Reply
Prev 1 2 3 All
JeeJee
Profile Blog Joined July 2003
Canada5652 Posts
Last Edited: 2009-12-01 20:57:42
December 01 2009 20:57 GMT
#41
On December 02 2009 03:27 Mastermind wrote:


Show nested quote +
On December 02 2009 02:56 JeeJee wrote:
On December 02 2009 02:50 vAltyR wrote:
Ugh, probability. My least favorite area of mathematics.



=( =(
i loooove stats
its by far the most fun and the most USEFUL area of math that i've learned in like 3+ years of uni. unlike, say, calculus where applications of that are limited to pretty much.. more calculus :S
hell, once i get to pick some courses, i'm taking more stats, no questions asked

I guess you have never heard of science or economics.

edit: calculus is also used in probability lol.


yeah yeah and you can trace it all back to addition
bdares bottleabuser got it right.

oops, namechange
(\o/)  If you want it, you find a way. Otherwise you find excuses. No exceptions.
 /_\   aka Shinbi (requesting a name change since 27/05/09 ☺)
Meta
Profile Blog Joined June 2003
United States6225 Posts
December 01 2009 21:13 GMT
#42
On December 02 2009 02:56 JeeJee wrote:
Show nested quote +
On December 02 2009 02:50 vAltyR wrote:
Ugh, probability. My least favorite area of mathematics.



=( =(
i loooove stats
its by far the most fun and the most USEFUL area of math that i've learned in like 3+ years of uni. unlike, say, calculus where applications of that are limited to pretty much.. more calculus :S
hell, once i get to pick some courses, i'm taking more stats, no questions asked


Try studying engineering. It's pure calculus applications... pretty much every machine or structure made for general public use in the past hundred years has been a product of the application of calculus.
good vibes only
Freaky[x]
Profile Blog Joined August 2005
Canada995 Posts
December 01 2009 21:42 GMT
#43
actually meta.... communication engineering or anything as a matter of fact, you need to have some random variables involved in it
BlackJack
Profile Blog Joined June 2003
United States10574 Posts
December 01 2009 21:53 GMT
#44
I think the problem in layman terms is this:

There are two envelopes of money with one envelope having exactly twice as much money as the other. You choose one envelope and then decide if you want to switch envelopes and keep what is in the other envelope.

The "trick" is that most people will always want to switch because they think they stand to gain more than they stand to lose.

For example, you open the first envelope and it has $100 in it. You know the second envelope either has $200 or $50, since one envelope is double the other. So if you switch you risk to gain $100 or lose $50 which seems like a nice risk.
Slithe
Profile Blog Joined February 2007
United States985 Posts
Last Edited: 2009-12-01 21:54:47
December 01 2009 21:53 GMT
#45
It's very clear that both probability and calculus are absolutely fundamental areas of math that are absolutely indispensable. However, for the average man I would say that probability is a somewhat more useful thing to know than calculus


Here's what I've done with the problem. I really don't know if I'm correct or not though.
+ Show Spoiler +

Given that grandma put X in one envelope and 2X in another envelope:

v = quantity that we observed in envelope 1
p1 = probability that v=X given envelope 1 has v, i.e. P(v=X | e1=v)

EV[keep] = x
EV[trade] = p1*0.5*x + (1 - p1)*2*x

trade if :
x < p1*2*x + (1 - p1)*0.5*x
x < 1.5*p1*x + 0.5*x
0.5*x < 1.5*p1*x
p1 > 1/3


Now to determine p1:

q(x) = the probability distribution from which Grandma decides X

Using Bayes' Theorem:
P(v=X | e1=v) = P(v=X, e1=v) / P(e1=v)

Solving for P(e1=v):
P(e1=v) = 1/2 * q(v) + 1/2 * q(v/2)

Solving for P(v=X, e1=v)
P(v=X, e1=v) = 1/2 * P(v=X)
P(v=X) = q(v)
P(v=X, e1=v) = 1/2 * q(v)

Putting it all together:
P(v=X | e1=v) = P(v=X, e1=v) / P(e1=v)
P(v=X | e1=v) = 1/2 * q(v) / (1/2 * q(v) + 1/2 * q(v/2))
p1 = 1/2 * q(v) / (1/2 * q(v) + 1/2 * q(v/2))


Going back to the original inequality:

p1 > 1/3
1/2 * q(v) / (1/2 * q(v) + 1/2 * q(v/2)) > 1/3
3/2 * q(v) > 1/2 * q(v) + 1/2 * q(v/2)
2 * q(v) > q(v/2)


This means that when we observe the amount v in envelope 1, we should switch if 2*q(v) > q(v/2), where q(x) is the probability distribution that grandma uses.


I don't know what's being asked with the second bullet point.
Empyrean
Profile Blog Joined September 2004
17045 Posts
December 01 2009 21:56 GMT
#46
On December 02 2009 06:53 BlackJack wrote:
I think the problem in layman terms is this:

There are two envelopes of money with one envelope having exactly twice as much money as the other. You choose one envelope and then decide if you want to switch envelopes and keep what is in the other envelope.

The "trick" is that most people will always want to switch because they think they stand to gain more than they stand to lose.

For example, you open the first envelope and it has $100 in it. You know the second envelope either has $200 or $50, since one envelope is double the other. So if you switch you risk to gain $100 or lose $50 which seems like a nice risk.


Actually that's just the two envelopes problem.

The major way in which this problem differs is that the amount X is generated by a probability distribution. It changes the problem completely.

And as for applications, there's so much calculus in statistics you wouldn't even believe it. Calculus is such a useful field of mathematics and finds itself in every day life. For example, you could use calculus to argue that if it rains at a constant rate, you'll get the same amount of wet no matter what speed you move through it (though you'll probably end up colder if you walk leisurely). The argument can basically be summed up as the fact that you're displacing the same amount of water, but it takes some calculus to show exactly why.
Moderator
538
Profile Blog Joined November 2008
Hungary3932 Posts
December 01 2009 22:55 GMT
#47
Realistic approach: Granny being a cheapskate who has a strange kick out of such silly games, X probably has a normal distribution with a mean of 2 bucks and a high deviation, like 40 or 50 cents.
It should be easy from this on.
BW fighting!
Black Gun
Profile Blog Joined July 2009
Germany4482 Posts
December 01 2009 23:01 GMT
#48
i could definitely solve it, but i agree that its a bit challenging for an introducing question of a first course on probability. (im a statistics major currently writing my m.sc. thesis^^)
"What am I supposed to do against this?" - "Lose!" :-]
Empyrean
Profile Blog Joined September 2004
17045 Posts
December 01 2009 23:02 GMT
#49
On December 02 2009 08:01 Black Gun wrote:
i could definitely solve it, but i agree that its a bit challenging for an introducing question of a first course on probability. (im a statistics major currently writing my m.sc. thesis^^)


What's your thesis about? If you don't mind my asking :D

What was your experience as an undergraduate statistics major like? I find it really interesting.
Moderator
Black Gun
Profile Blog Joined July 2009
Germany4482 Posts
Last Edited: 2009-12-01 23:17:11
December 01 2009 23:13 GMT
#50
On December 02 2009 08:02 Empyrean wrote:
Show nested quote +
On December 02 2009 08:01 Black Gun wrote:
i could definitely solve it, but i agree that its a bit challenging for an introducing question of a first course on probability. (im a statistics major currently writing my m.sc. thesis^^)


What's your thesis about? If you don't mind my asking :D

What was your experience as an undergraduate statistics major like? I find it really interesting.



well, its a really cool subject, but the part of statistics which is taught to non-majors is rather boring.

here in germany, we start with these "ordinary statistics topics" in the first 2 semesters, which include only the basic results of probability, and only in the 3rd and 4th we are taught the rigorous foundations of probability, measure theory, and so on.

the really problematic courses are analysis I and II and linear algebra which are hold during the first 2 semesters. there, about 50% of all freshmen fail already, and about half of them (25% of the freshmens) fail so hard that they give it up already. (the math basics are taught on a really high lvl here...)
basically, they intentionally want to purge the weak by these math courses. therefore the introduction into statistics and probability is rather easy and practically-oriented during the first 2 semesters.



edit: whats ur major btw?^^



i havent started yet with my master´s thesis, but im currently getting into the literature and finding a topic. i plan to write about the estimation of response densities in regression settings via boosting techniques. if that tells u anything


"What am I supposed to do against this?" - "Lose!" :-]
Empyrean
Profile Blog Joined September 2004
17045 Posts
December 01 2009 23:23 GMT
#51
I'm a statistics major here.

For my school, you aren't even allowed to become a statistics major until you pass multivariate calculus and linear algebra. My path through the major looks like

1st semester:
Probability, Regression Analysis

2nd semester:
Statistics, Bayesian/Modern Statistics, Survey Methodology

3rd semester:
Statistical Decision Analysis, Design and Analysis of Causal Studies

4th semester:
Independent Study, Computational Data Analysis

5th semester:
Independent Study (continued).

After your independent study (a year long project), if you still have time, you can take some higher level electives. Some examples are Probability/Measure Theory, Applied Stochastic Processes, Generalized Linear Models, Data Mining, Spatial Statistics, etc., it really depends on what they feel like teaching.
Moderator
nttea
Profile Blog Joined July 2008
Sweden4353 Posts
December 02 2009 02:10 GMT
#52
* Under what conditions should you trade, after knowing how much money your envelope contains?
* For the naive estimate of 1/2 to be correct for that probability, what would Granny's distribution p(x) have to be? Any problems with that?
* If Granny used an exponential distribution with mean $100, what strategy optimizes the expected value of the amount of money you keep?
sorry, i don't understand most of this since i've had no formal edumication.
However to me it seems like it always makes sense to always swap the envelope. Since you have 50% chance of gaining double the amount of your current envelope, and 50% chance of gaining only half. I'm not sure if this is the only thing you ask for though (:
JeeJee
Profile Blog Joined July 2003
Canada5652 Posts
December 02 2009 02:38 GMT
#53
On December 02 2009 06:56 Empyrean wrote:

And as for applications, there's so much calculus in statistics you wouldn't even believe it. Calculus is such a useful field of mathematics and finds itself in every day life. For example, you could use calculus to argue that if it rains at a constant rate, you'll get the same amount of wet no matter what speed you move through it (though you'll probably end up colder if you walk leisurely). The argument can basically be summed up as the fact that you're displacing the same amount of water, but it takes some calculus to show exactly why.


is that actually true? doesn't make intuitive sense to me.. lets say its raining out, and you have to walk from your car door to apartment door (say 5 meters). you can sprint that, and you'll get some raindrops but you won't be soaked

otoh, walk very slowly (say 3 hours for those 5m..) and you'll def. be soaked (and probably suffering from extreme hypothermia)

or am i misunderstanding what you mean? (the "same amount of wet" seems .. ambiguous)
(\o/)  If you want it, you find a way. Otherwise you find excuses. No exceptions.
 /_\   aka Shinbi (requesting a name change since 27/05/09 ☺)
Fontong
Profile Blog Joined December 2007
United States6454 Posts
December 02 2009 03:11 GMT
#54
On December 02 2009 11:38 JeeJee wrote:
Show nested quote +
On December 02 2009 06:56 Empyrean wrote:

And as for applications, there's so much calculus in statistics you wouldn't even believe it. Calculus is such a useful field of mathematics and finds itself in every day life. For example, you could use calculus to argue that if it rains at a constant rate, you'll get the same amount of wet no matter what speed you move through it (though you'll probably end up colder if you walk leisurely). The argument can basically be summed up as the fact that you're displacing the same amount of water, but it takes some calculus to show exactly why.


is that actually true? doesn't make intuitive sense to me.. lets say its raining out, and you have to walk from your car door to apartment door (say 5 meters). you can sprint that, and you'll get some raindrops but you won't be soaked

Yeah this doesn't really make any sense to me either. The way empyrean explained it only makes sense if the raindrops were stationary, and there were a constant amount of raindrops per volume of air.

In the real world situation, taking 5 hours to walk 5 meters would end up with a lot more rain landing on your head than taking 5 seconds to walk 5 meters. The amount of rain landing on your head would be constant no matter what speed you are moving at though, it just matters how much time you are in the rain.

Not really important though, most likely just a mistake from empyrean
[SECRET FONT] "Dragoon bunker"
Black Gun
Profile Blog Joined July 2009
Germany4482 Posts
Last Edited: 2009-12-02 05:06:35
December 02 2009 05:05 GMT
#55
ur own velocity changes the effective angle in which the raindrops hit u, the faster u are the more skewed the angle is. therefore a greater percentage of ur total body surface gets directly hit by raindrops when running through the rain instead of walking.


imagine 2 extreme cases: u stand still, ie zero velocity. only ur head and ur shoulders get wet. (and ur belly, depending on how fat u are ).
the other extreme would be moving so fast that the velocity of the raindrops is negligible compared to it, in this case ur whole front would get wet while the back half of ur head and shoulders wouldnt.



empyrean is right though that the amount of raindrops per exposed area is unaffected by ur velocity.


edit: omfg, whats going on? my english is so horrible and full of mistakes today. wtf!
"What am I supposed to do against this?" - "Lose!" :-]
Empyrean
Profile Blog Joined September 2004
17045 Posts
December 02 2009 06:12 GMT
#56
Haha, don't worry about it, you're very understandable. Your English is much better than my German
Moderator
JeeJee
Profile Blog Joined July 2003
Canada5652 Posts
Last Edited: 2009-12-02 06:19:34
December 02 2009 06:15 GMT
#57
On December 02 2009 14:05 Black Gun wrote:
ur own velocity changes the effective angle in which the raindrops hit u, the faster u are the more skewed the angle is. therefore a greater percentage of ur total body surface gets directly hit by raindrops when running through the rain instead of walking.


imagine 2 extreme cases: u stand still, ie zero velocity. only ur head and ur shoulders get wet.


that's not true, consider the rain at a slight angle. it still falls under empyrean's assumptions of constant rate yet renders this argument moot
and even if it's purely vertical, it'll still trickle down and you get completely soaked if you just stand there ^_^

edit:

empyrean is right though that the amount of raindrops per exposed area is unaffected by ur velocity.


ok, this i could see as being true
not the original "same wetness" claim though

and yes your english is very good :O i don't know what you're complaining about :p
(\o/)  If you want it, you find a way. Otherwise you find excuses. No exceptions.
 /_\   aka Shinbi (requesting a name change since 27/05/09 ☺)
50bani
Profile Blog Joined June 2009
Romania480 Posts
December 02 2009 09:20 GMT
#58
On December 02 2009 11:10 nttea wrote:
* Under what conditions should you trade, after knowing how much money your envelope contains?
* For the naive estimate of 1/2 to be correct for that probability, what would Granny's distribution p(x) have to be? Any problems with that?
* If Granny used an exponential distribution with mean $100, what strategy optimizes the expected value of the amount of money you keep?
sorry, i don't understand most of this since i've had no formal edumication.
However to me it seems like it always makes sense to always swap the envelope. Since you have 50% chance of gaining double the amount of your current envelope, and 50% chance of gaining only half. I'm not sure if this is the only thing you ask for though (:


No. Granny has either 3Y or 1.5Y between the two envelopes. The thing is one value is more likely than the other. If you work out how more likely one is than the other you can make a decision.

Has been solved in a previous post I think. 1.5Y has to be less than 2 times as likely as 3Y for the switch to be profitable.
I'm posting on twoplustwo because I have always been amazed at the level of talent that populates this site --- it's almost unparalleled on the Internet.
gyth
Profile Blog Joined September 2009
657 Posts
December 02 2009 15:18 GMT
#59
For example, you could use calculus to argue that if it rains at a constant rate, you'll get the same amount of wet no matter what speed you move through it (though you'll probably end up colder if you walk leisurely). The argument can basically be summed up as the fact that you're displacing the same amount of water, but it takes some calculus to show exactly why.

The amount of water that hits your front (assuming vertical rain and stomach) is always the same.
But the amount that hits your top depends on how long you're in the rain.
The plural of anecdote is not data.
Prev 1 2 3 All
Please log in or register to reply.
Live Events Refresh
Next event in 28m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft386
Temp0 106
Nathanias 102
StarCraft: Brood War
Shuttle 80
NaDa 23
yabsab 8
Dota 2
syndereN355
League of Legends
C9.Mang0188
Counter-Strike
kRYSTAL_36
Super Smash Bros
PPMD37
Other Games
summit1g9354
Grubby3497
ToD208
Liquid`Hasu154
ArmadaUGS108
Harstem108
Maynarde85
ZombieGrub53
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 20 non-featured ]
StarCraft 2
• Hupsaiya 62
• davetesta45
• musti20045 32
• Kozan
• IndyKCrew
• sooper7s
• AfreecaTV YouTube
• Migwel
• intothetv
• LaughNgamezSOOP
StarCraft: Brood War
• HerbMon 45
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota2992
• Noizen26
League of Legends
• TFBlade1253
• Stunt148
Other Games
• imaqtpie1889
• Shiphtur233
Upcoming Events
Replay Cast
28m
Wardi Open
12h 28m
PiGosaur Cup
1d 1h
WardiTV Invitational
1d 12h
Replay Cast
2 days
The PondCast
2 days
WardiTV Invitational
2 days
Replay Cast
3 days
RongYI Cup
4 days
uThermal 2v2 Circuit
5 days
[ Show More ]
Replay Cast
6 days
Wardi Open
6 days
Monday Night Weeklies
6 days
Liquipedia Results

Completed

Proleague 2026-02-01
HSC XXVIII
Underdog Cup #3

Ongoing

CSL 2025 WINTER (S19)
KCM Race Survival 2026 Season 1
Acropolis #4 - TS4
Proleague 2026-02-02
Rongyi Cup S3
Nations Cup 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8

Upcoming

Escore Tournament S1: W7
Escore Tournament S1: W8
Acropolis #4
IPSL Spring 2026
HSC XXIX
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
RSL Revival: Season 4
LiuLi Cup: 2025 Grand Finals
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.