Optimal strategy to a card game
There are $3$ face down cards in front of you. On the side facing the table (you cannot see this), there are labels on each of the three cards. They are $n$, $n + 1$, and $n + 2$. You are not told what $n$ is.
You get to flip a card at random. After flipping the first card, you can either stay or choose another card at random. Then, you again have the option to stay or flip the last card.
Once you flip one card, you cannot go back to the previous card's value.
How can you maximize the value of the card you choose to stop flipping on?
My thoughts:
You can achieve an expected value of $n + 1$ by just stopping on the first card every time.
If you flip another card and it is one less than the first one you flipped over, the last card is $n + 1$ with probability $frac{1}{2}$ (this occurs when the first card you flipped was $n$), and the last card is $n$ with probability $frac{1}{2}$. So, I think that the expectation of the last card given the second card you flipped is one less than the first one is equal to $n + frac{1}{2}$.
If you flip another card and it is one more than the first one you flipped over, again, I think that the expected value of the last card is $n + frac{1}{2}$
Anyone have an optimal strategy?
probability probability-theory game-theory
|
show 7 more comments
There are $3$ face down cards in front of you. On the side facing the table (you cannot see this), there are labels on each of the three cards. They are $n$, $n + 1$, and $n + 2$. You are not told what $n$ is.
You get to flip a card at random. After flipping the first card, you can either stay or choose another card at random. Then, you again have the option to stay or flip the last card.
Once you flip one card, you cannot go back to the previous card's value.
How can you maximize the value of the card you choose to stop flipping on?
My thoughts:
You can achieve an expected value of $n + 1$ by just stopping on the first card every time.
If you flip another card and it is one less than the first one you flipped over, the last card is $n + 1$ with probability $frac{1}{2}$ (this occurs when the first card you flipped was $n$), and the last card is $n$ with probability $frac{1}{2}$. So, I think that the expectation of the last card given the second card you flipped is one less than the first one is equal to $n + frac{1}{2}$.
If you flip another card and it is one more than the first one you flipped over, again, I think that the expected value of the last card is $n + frac{1}{2}$
Anyone have an optimal strategy?
probability probability-theory game-theory
I don't fully understand the game. So, let's say I first choose card $A$. Then, if I decide to switch to card $B$, then is $A$ then flipped to show its value and I can no longer go back to $A$?
– Batominovski
Nov 21 '18 at 0:39
Both cards are flipped upwards then. You cannot go back to $A$, but it remains facing upwards.
– joseph
Nov 21 '18 at 0:40
My question is this: "is the card $A$ then flipped before I can make a decision whether to stay at $B$, or to leave $B$?"
– Batominovski
Nov 21 '18 at 0:41
Sorry, I don't think I understand your question. Once the card is flipped for the first time, it remains flipped (so you can see it) for the rest of the game.
– joseph
Nov 21 '18 at 0:43
The question concerns when exactly the flipping happens. Does "choosing" mean "flipping" in your question?
– Batominovski
Nov 21 '18 at 0:45
|
show 7 more comments
There are $3$ face down cards in front of you. On the side facing the table (you cannot see this), there are labels on each of the three cards. They are $n$, $n + 1$, and $n + 2$. You are not told what $n$ is.
You get to flip a card at random. After flipping the first card, you can either stay or choose another card at random. Then, you again have the option to stay or flip the last card.
Once you flip one card, you cannot go back to the previous card's value.
How can you maximize the value of the card you choose to stop flipping on?
My thoughts:
You can achieve an expected value of $n + 1$ by just stopping on the first card every time.
If you flip another card and it is one less than the first one you flipped over, the last card is $n + 1$ with probability $frac{1}{2}$ (this occurs when the first card you flipped was $n$), and the last card is $n$ with probability $frac{1}{2}$. So, I think that the expectation of the last card given the second card you flipped is one less than the first one is equal to $n + frac{1}{2}$.
If you flip another card and it is one more than the first one you flipped over, again, I think that the expected value of the last card is $n + frac{1}{2}$
Anyone have an optimal strategy?
probability probability-theory game-theory
There are $3$ face down cards in front of you. On the side facing the table (you cannot see this), there are labels on each of the three cards. They are $n$, $n + 1$, and $n + 2$. You are not told what $n$ is.
You get to flip a card at random. After flipping the first card, you can either stay or choose another card at random. Then, you again have the option to stay or flip the last card.
Once you flip one card, you cannot go back to the previous card's value.
How can you maximize the value of the card you choose to stop flipping on?
My thoughts:
You can achieve an expected value of $n + 1$ by just stopping on the first card every time.
If you flip another card and it is one less than the first one you flipped over, the last card is $n + 1$ with probability $frac{1}{2}$ (this occurs when the first card you flipped was $n$), and the last card is $n$ with probability $frac{1}{2}$. So, I think that the expectation of the last card given the second card you flipped is one less than the first one is equal to $n + frac{1}{2}$.
If you flip another card and it is one more than the first one you flipped over, again, I think that the expected value of the last card is $n + frac{1}{2}$
Anyone have an optimal strategy?
probability probability-theory game-theory
probability probability-theory game-theory
edited Nov 21 '18 at 0:47
asked Nov 21 '18 at 0:33
joseph
4329
4329
I don't fully understand the game. So, let's say I first choose card $A$. Then, if I decide to switch to card $B$, then is $A$ then flipped to show its value and I can no longer go back to $A$?
– Batominovski
Nov 21 '18 at 0:39
Both cards are flipped upwards then. You cannot go back to $A$, but it remains facing upwards.
– joseph
Nov 21 '18 at 0:40
My question is this: "is the card $A$ then flipped before I can make a decision whether to stay at $B$, or to leave $B$?"
– Batominovski
Nov 21 '18 at 0:41
Sorry, I don't think I understand your question. Once the card is flipped for the first time, it remains flipped (so you can see it) for the rest of the game.
– joseph
Nov 21 '18 at 0:43
The question concerns when exactly the flipping happens. Does "choosing" mean "flipping" in your question?
– Batominovski
Nov 21 '18 at 0:45
|
show 7 more comments
I don't fully understand the game. So, let's say I first choose card $A$. Then, if I decide to switch to card $B$, then is $A$ then flipped to show its value and I can no longer go back to $A$?
– Batominovski
Nov 21 '18 at 0:39
Both cards are flipped upwards then. You cannot go back to $A$, but it remains facing upwards.
– joseph
Nov 21 '18 at 0:40
My question is this: "is the card $A$ then flipped before I can make a decision whether to stay at $B$, or to leave $B$?"
– Batominovski
Nov 21 '18 at 0:41
Sorry, I don't think I understand your question. Once the card is flipped for the first time, it remains flipped (so you can see it) for the rest of the game.
– joseph
Nov 21 '18 at 0:43
The question concerns when exactly the flipping happens. Does "choosing" mean "flipping" in your question?
– Batominovski
Nov 21 '18 at 0:45
I don't fully understand the game. So, let's say I first choose card $A$. Then, if I decide to switch to card $B$, then is $A$ then flipped to show its value and I can no longer go back to $A$?
– Batominovski
Nov 21 '18 at 0:39
I don't fully understand the game. So, let's say I first choose card $A$. Then, if I decide to switch to card $B$, then is $A$ then flipped to show its value and I can no longer go back to $A$?
– Batominovski
Nov 21 '18 at 0:39
Both cards are flipped upwards then. You cannot go back to $A$, but it remains facing upwards.
– joseph
Nov 21 '18 at 0:40
Both cards are flipped upwards then. You cannot go back to $A$, but it remains facing upwards.
– joseph
Nov 21 '18 at 0:40
My question is this: "is the card $A$ then flipped before I can make a decision whether to stay at $B$, or to leave $B$?"
– Batominovski
Nov 21 '18 at 0:41
My question is this: "is the card $A$ then flipped before I can make a decision whether to stay at $B$, or to leave $B$?"
– Batominovski
Nov 21 '18 at 0:41
Sorry, I don't think I understand your question. Once the card is flipped for the first time, it remains flipped (so you can see it) for the rest of the game.
– joseph
Nov 21 '18 at 0:43
Sorry, I don't think I understand your question. Once the card is flipped for the first time, it remains flipped (so you can see it) for the rest of the game.
– joseph
Nov 21 '18 at 0:43
The question concerns when exactly the flipping happens. Does "choosing" mean "flipping" in your question?
– Batominovski
Nov 21 '18 at 0:45
The question concerns when exactly the flipping happens. Does "choosing" mean "flipping" in your question?
– Batominovski
Nov 21 '18 at 0:45
|
show 7 more comments
1 Answer
1
active
oldest
votes
Here is a basic strategy that should do better than just flipping one card and staying with it:
Always flip a second card after the first. If the second card has a higher value than the first, stick with the second card, otherwise flip the third card.
Why does this better than staying with just the one first card?
Well, as you say, just flipping one card has an expected value of $n+1$
But for the other strategy:
There are 6 cases to consider, each of which is equally likely:
First card is $n$, second is $n+1$. The strategy says to stick with the second card, so outcome is $n+1$
First card is $n$, second is $n+2$. Stick with card. Outcome is $n+2$
$n+1$ followed by $n$. Strategy says to flip third card. Outcome $n+2$
$n+1$ followed by $n+2$. Stick with card: $n+2$
$n+2$ then $n$. Flip third card: outcome is $n+1$
$n+2$ then $n+1$. Flip third card: $n$
Since each of these events is equally likely, the expected outcome of this stratey is just the average of these outcomes, which is $n+frac{4}{3}$
OK, so that's indeed a better strategy. Is it optimal? I don't know.
hello, it is optimal. thanks
– joseph
Nov 21 '18 at 1:16
@joseph Ok, I figured it would be optimal, but wasn't sure.
– Bram28
Nov 21 '18 at 1:18
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3007098%2foptimal-strategy-to-a-card-game%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Here is a basic strategy that should do better than just flipping one card and staying with it:
Always flip a second card after the first. If the second card has a higher value than the first, stick with the second card, otherwise flip the third card.
Why does this better than staying with just the one first card?
Well, as you say, just flipping one card has an expected value of $n+1$
But for the other strategy:
There are 6 cases to consider, each of which is equally likely:
First card is $n$, second is $n+1$. The strategy says to stick with the second card, so outcome is $n+1$
First card is $n$, second is $n+2$. Stick with card. Outcome is $n+2$
$n+1$ followed by $n$. Strategy says to flip third card. Outcome $n+2$
$n+1$ followed by $n+2$. Stick with card: $n+2$
$n+2$ then $n$. Flip third card: outcome is $n+1$
$n+2$ then $n+1$. Flip third card: $n$
Since each of these events is equally likely, the expected outcome of this stratey is just the average of these outcomes, which is $n+frac{4}{3}$
OK, so that's indeed a better strategy. Is it optimal? I don't know.
hello, it is optimal. thanks
– joseph
Nov 21 '18 at 1:16
@joseph Ok, I figured it would be optimal, but wasn't sure.
– Bram28
Nov 21 '18 at 1:18
add a comment |
Here is a basic strategy that should do better than just flipping one card and staying with it:
Always flip a second card after the first. If the second card has a higher value than the first, stick with the second card, otherwise flip the third card.
Why does this better than staying with just the one first card?
Well, as you say, just flipping one card has an expected value of $n+1$
But for the other strategy:
There are 6 cases to consider, each of which is equally likely:
First card is $n$, second is $n+1$. The strategy says to stick with the second card, so outcome is $n+1$
First card is $n$, second is $n+2$. Stick with card. Outcome is $n+2$
$n+1$ followed by $n$. Strategy says to flip third card. Outcome $n+2$
$n+1$ followed by $n+2$. Stick with card: $n+2$
$n+2$ then $n$. Flip third card: outcome is $n+1$
$n+2$ then $n+1$. Flip third card: $n$
Since each of these events is equally likely, the expected outcome of this stratey is just the average of these outcomes, which is $n+frac{4}{3}$
OK, so that's indeed a better strategy. Is it optimal? I don't know.
hello, it is optimal. thanks
– joseph
Nov 21 '18 at 1:16
@joseph Ok, I figured it would be optimal, but wasn't sure.
– Bram28
Nov 21 '18 at 1:18
add a comment |
Here is a basic strategy that should do better than just flipping one card and staying with it:
Always flip a second card after the first. If the second card has a higher value than the first, stick with the second card, otherwise flip the third card.
Why does this better than staying with just the one first card?
Well, as you say, just flipping one card has an expected value of $n+1$
But for the other strategy:
There are 6 cases to consider, each of which is equally likely:
First card is $n$, second is $n+1$. The strategy says to stick with the second card, so outcome is $n+1$
First card is $n$, second is $n+2$. Stick with card. Outcome is $n+2$
$n+1$ followed by $n$. Strategy says to flip third card. Outcome $n+2$
$n+1$ followed by $n+2$. Stick with card: $n+2$
$n+2$ then $n$. Flip third card: outcome is $n+1$
$n+2$ then $n+1$. Flip third card: $n$
Since each of these events is equally likely, the expected outcome of this stratey is just the average of these outcomes, which is $n+frac{4}{3}$
OK, so that's indeed a better strategy. Is it optimal? I don't know.
Here is a basic strategy that should do better than just flipping one card and staying with it:
Always flip a second card after the first. If the second card has a higher value than the first, stick with the second card, otherwise flip the third card.
Why does this better than staying with just the one first card?
Well, as you say, just flipping one card has an expected value of $n+1$
But for the other strategy:
There are 6 cases to consider, each of which is equally likely:
First card is $n$, second is $n+1$. The strategy says to stick with the second card, so outcome is $n+1$
First card is $n$, second is $n+2$. Stick with card. Outcome is $n+2$
$n+1$ followed by $n$. Strategy says to flip third card. Outcome $n+2$
$n+1$ followed by $n+2$. Stick with card: $n+2$
$n+2$ then $n$. Flip third card: outcome is $n+1$
$n+2$ then $n+1$. Flip third card: $n$
Since each of these events is equally likely, the expected outcome of this stratey is just the average of these outcomes, which is $n+frac{4}{3}$
OK, so that's indeed a better strategy. Is it optimal? I don't know.
answered Nov 21 '18 at 1:13
Bram28
60.3k44590
60.3k44590
hello, it is optimal. thanks
– joseph
Nov 21 '18 at 1:16
@joseph Ok, I figured it would be optimal, but wasn't sure.
– Bram28
Nov 21 '18 at 1:18
add a comment |
hello, it is optimal. thanks
– joseph
Nov 21 '18 at 1:16
@joseph Ok, I figured it would be optimal, but wasn't sure.
– Bram28
Nov 21 '18 at 1:18
hello, it is optimal. thanks
– joseph
Nov 21 '18 at 1:16
hello, it is optimal. thanks
– joseph
Nov 21 '18 at 1:16
@joseph Ok, I figured it would be optimal, but wasn't sure.
– Bram28
Nov 21 '18 at 1:18
@joseph Ok, I figured it would be optimal, but wasn't sure.
– Bram28
Nov 21 '18 at 1:18
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3007098%2foptimal-strategy-to-a-card-game%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I don't fully understand the game. So, let's say I first choose card $A$. Then, if I decide to switch to card $B$, then is $A$ then flipped to show its value and I can no longer go back to $A$?
– Batominovski
Nov 21 '18 at 0:39
Both cards are flipped upwards then. You cannot go back to $A$, but it remains facing upwards.
– joseph
Nov 21 '18 at 0:40
My question is this: "is the card $A$ then flipped before I can make a decision whether to stay at $B$, or to leave $B$?"
– Batominovski
Nov 21 '18 at 0:41
Sorry, I don't think I understand your question. Once the card is flipped for the first time, it remains flipped (so you can see it) for the rest of the game.
– joseph
Nov 21 '18 at 0:43
The question concerns when exactly the flipping happens. Does "choosing" mean "flipping" in your question?
– Batominovski
Nov 21 '18 at 0:45