{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/resolving-the-two-envelope-paradox","title":"Resolving the two envelope paradox","arxiv_id":"2101.03484","date":"2021-01-10","proceeding":null,"authors":["Nemo Semret"],"abstract":"Consider the following game: You are given two indistinguishable envelopes, each containing money. One contains twice as much as the other. You may pick one envelope and keep the money it contains. Having chosen an envelope, you are given the chance to switch envelopes. Should you switch? The intuitive answer is that it makes no difference, since you are equally likely to have picked the envelope with the higher or the lower amount. However, a naive expected value calculation implies you gain by switching, since you have $ 50\\% $ chance of doubling and $ 50\\% $ chance of halving your current winnings, and so if the first chosen envelope contains X, then switching gives an expected final value of $ (X/2 + 2X)/2 > X $. That seems like a paradox. We prove that the former is the correct answer, and show how the apparent \"paradox\" can be resolved.","url_abs":"https://arxiv.org/abs/2101.03484v2","url_pdf":"https://arxiv.org/pdf/2101.03484v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"resolving-the-two-envelope-paradox","repo_url":"https://github.com/nemozen/math/blob/master/envelope_paradox.ipynb","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"none","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":null,"mcp":null,"developers":"https://syntology.ai/developers"},"arxiv_metadata":null,"syntology_extracted_results":null}