Probability of taking balls without replacement from a bag questionProbability without replacement questionsSuppose 5 red and 7 green balls are in a bag. Three balls are removed without replacement.Probability of selecting balls from Bag BProbability of drawing balls without replacement in first and last drawFrequentist problem about choosing balls without replacementMarble probability without replacement questionProbability problem - Pick up balls from a bagPulling colored balls from a bagProbability that the number of red balls removed from the bag is 4Probability of taking balls from a bag
how to find out if there's files in a folder and exit accordingly (in KSH)
How do I minimise waste on a flight?
How come mathematicians published in Annals of Eugenics?
Is it a good idea to copy a trader when investing?
What's an appropriate age to involve kids in life changing decisions?
Was the Highlands Ranch shooting the 115th mass shooting in the US in 2019
Passport stamps art, can it be done?
Was there a contingency plan in place if Little Boy failed to detonate?
Is every story set in the future "science fiction"?
Why Faces eat each other?
Why use steam instead of just hot air?
if i accidentally leaked my schools ip address and someone d doses my school am i at fault
Program for finding longest run of zeros from a list of 100 random integers which are either 0 or 1
Two (probably) equal real numbers which are not proved to be equal?
Does Thread.yield() do anything if we have enough processors to service all threads?
"Estrontium" on poster
Compactness in normed vector spaces.
Is it a Munchausen Number?
Thawing Glaciers return to hand interaction
Names of the Six Tastes
Integral with DiracDelta. Can Mathematica be made to solve this?
My perfect evil overlord plan... or is it?
How can Sam Wilson fulfill his future role?
Can I bring back Planetary Romance as a genre?
Probability of taking balls without replacement from a bag question
Probability without replacement questionsSuppose 5 red and 7 green balls are in a bag. Three balls are removed without replacement.Probability of selecting balls from Bag BProbability of drawing balls without replacement in first and last drawFrequentist problem about choosing balls without replacementMarble probability without replacement questionProbability problem - Pick up balls from a bagPulling colored balls from a bagProbability that the number of red balls removed from the bag is 4Probability of taking balls from a bag
$begingroup$
A bag contains $N$ balls, $2$ of which are red. Balls are removed, one by one, (without replacement), stopping when both red balls have emerged. Find the probability that exactly $n$ balls are removed.
I'm honestly not sure where to even start. I know it's an intersection of ($1$ Red ball in $n-1$ attempts) and (red on $n$-th attempt).
I think the $Pr(textRed on;ntext-th attempt; | ;1 ; textRed already)$ is $$ frac1N-(n-1) $$ but I'm not sure for the other probability, or whether this one is correct for that matter.
Any help would be appreciated. :)
probability statistics
New contributor
$endgroup$
add a comment |
$begingroup$
A bag contains $N$ balls, $2$ of which are red. Balls are removed, one by one, (without replacement), stopping when both red balls have emerged. Find the probability that exactly $n$ balls are removed.
I'm honestly not sure where to even start. I know it's an intersection of ($1$ Red ball in $n-1$ attempts) and (red on $n$-th attempt).
I think the $Pr(textRed on;ntext-th attempt; | ;1 ; textRed already)$ is $$ frac1N-(n-1) $$ but I'm not sure for the other probability, or whether this one is correct for that matter.
Any help would be appreciated. :)
probability statistics
New contributor
$endgroup$
1
$begingroup$
Please provide some context for this question. What have you tried? Where are you stuck? Just hit the 'edit' button under the problem and add some details that will let us know what sort of response you are looking for.
$endgroup$
– InterstellarProbe
4 hours ago
$begingroup$
Thank you, will do
$endgroup$
– mathshatesme123
4 hours ago
$begingroup$
I guess you are thinking that before the $n$th draw, $n-1$ balls have already been drawn, leaving $N - (n-1)$ in the urn, if if one of the balls drawn was red, exactly one of the balls still in the urn is red. That seems correct to me.
$endgroup$
– David K
3 hours ago
add a comment |
$begingroup$
A bag contains $N$ balls, $2$ of which are red. Balls are removed, one by one, (without replacement), stopping when both red balls have emerged. Find the probability that exactly $n$ balls are removed.
I'm honestly not sure where to even start. I know it's an intersection of ($1$ Red ball in $n-1$ attempts) and (red on $n$-th attempt).
I think the $Pr(textRed on;ntext-th attempt; | ;1 ; textRed already)$ is $$ frac1N-(n-1) $$ but I'm not sure for the other probability, or whether this one is correct for that matter.
Any help would be appreciated. :)
probability statistics
New contributor
$endgroup$
A bag contains $N$ balls, $2$ of which are red. Balls are removed, one by one, (without replacement), stopping when both red balls have emerged. Find the probability that exactly $n$ balls are removed.
I'm honestly not sure where to even start. I know it's an intersection of ($1$ Red ball in $n-1$ attempts) and (red on $n$-th attempt).
I think the $Pr(textRed on;ntext-th attempt; | ;1 ; textRed already)$ is $$ frac1N-(n-1) $$ but I'm not sure for the other probability, or whether this one is correct for that matter.
Any help would be appreciated. :)
probability statistics
probability statistics
New contributor
New contributor
edited 19 mins ago
johnny09
731624
731624
New contributor
asked 4 hours ago
mathshatesme123mathshatesme123
162
162
New contributor
New contributor
1
$begingroup$
Please provide some context for this question. What have you tried? Where are you stuck? Just hit the 'edit' button under the problem and add some details that will let us know what sort of response you are looking for.
$endgroup$
– InterstellarProbe
4 hours ago
$begingroup$
Thank you, will do
$endgroup$
– mathshatesme123
4 hours ago
$begingroup$
I guess you are thinking that before the $n$th draw, $n-1$ balls have already been drawn, leaving $N - (n-1)$ in the urn, if if one of the balls drawn was red, exactly one of the balls still in the urn is red. That seems correct to me.
$endgroup$
– David K
3 hours ago
add a comment |
1
$begingroup$
Please provide some context for this question. What have you tried? Where are you stuck? Just hit the 'edit' button under the problem and add some details that will let us know what sort of response you are looking for.
$endgroup$
– InterstellarProbe
4 hours ago
$begingroup$
Thank you, will do
$endgroup$
– mathshatesme123
4 hours ago
$begingroup$
I guess you are thinking that before the $n$th draw, $n-1$ balls have already been drawn, leaving $N - (n-1)$ in the urn, if if one of the balls drawn was red, exactly one of the balls still in the urn is red. That seems correct to me.
$endgroup$
– David K
3 hours ago
1
1
$begingroup$
Please provide some context for this question. What have you tried? Where are you stuck? Just hit the 'edit' button under the problem and add some details that will let us know what sort of response you are looking for.
$endgroup$
– InterstellarProbe
4 hours ago
$begingroup$
Please provide some context for this question. What have you tried? Where are you stuck? Just hit the 'edit' button under the problem and add some details that will let us know what sort of response you are looking for.
$endgroup$
– InterstellarProbe
4 hours ago
$begingroup$
Thank you, will do
$endgroup$
– mathshatesme123
4 hours ago
$begingroup$
Thank you, will do
$endgroup$
– mathshatesme123
4 hours ago
$begingroup$
I guess you are thinking that before the $n$th draw, $n-1$ balls have already been drawn, leaving $N - (n-1)$ in the urn, if if one of the balls drawn was red, exactly one of the balls still in the urn is red. That seems correct to me.
$endgroup$
– David K
3 hours ago
$begingroup$
I guess you are thinking that before the $n$th draw, $n-1$ balls have already been drawn, leaving $N - (n-1)$ in the urn, if if one of the balls drawn was red, exactly one of the balls still in the urn is red. That seems correct to me.
$endgroup$
– David K
3 hours ago
add a comment |
3 Answers
3
active
oldest
votes
$begingroup$
You are definitely on track. In the first probability, order does not matter. You have drawn $n-1$ balls, and one of them is red. The total number of outcomes is the total number of ways to draw $n-1$ balls from $N$. The number of outcomes you are interested in are given by:
$$dbinom21dbinomN-2n-2$$
So, the probability that you have drawn exactly one red ball in the first $n-1$ draws is:
$$dfracdbinom21dbinomN-2n-2dbinomNn-1$$
Now, multiply by the probability that the last ball is red (you were correct):
$$dfrac1N-(n-1)$$
Final probability:
$$dfrac2(n-1)N(N-1)$$
$endgroup$
$begingroup$
Thank you! Can I just ask, why does order matter? Also, how have you formed the fraction? Is there like a particular formula for doing so?
$endgroup$
– mathshatesme123
3 hours ago
$begingroup$
Order does not matter in the first probability because the result you are looking for is one red ball in $n-1$ picks. You do not care what position it is drawn in, just that it shows up. In general, the probability of an occurrence is given by $$dfractext# of outcomes with desired resulttext# of possible outcomes$$ To get the final probability, it was just multiplying out: $$dfracdbinom21dbinomN-2n-2dbinomNn-1cdot dfrac1N-(n-1) = dfrac2(n-1)N(N-1)$$ I am not going through the steps to simplify, but that's the easy part :)
$endgroup$
– InterstellarProbe
3 hours ago
$begingroup$
Thanks again! :)
$endgroup$
– mathshatesme123
2 hours ago
$begingroup$
Alternatively, you want the probability for placing one red ball among the first $n-1$ positions and one in the next position, when selecting any two positions among $N$ to place the red balls. $$dfracdbinom n-11dbinom 11dbinom N2=dfrac2(n-1)N(N-1)$$
$endgroup$
– Graham Kemp
18 mins ago
add a comment |
$begingroup$
Here's another approach, depicted graphically below for $N = 8$.
We can construct a grid, where the equiprobable slots are represented by squares, indexed by the sequence position of the two red balls. The X's down the diagonal indicate that the two red balls cannot occupy the same sequence position.
The result of the experiment is the maximum of the two positions; for instance, the cases where $n = 5$ are marked by a red $5$. From this it can be seen that there are $2n-2$ different squares where the number of balls drawn is $n$, out of a total of $N^2-N$ possible squares. Thus, the desired probability is
$$
frac2n-2N^2-N = frac2(n-1)N(N-1)
$$
as in InterstellarProbe's answer.
$endgroup$
$begingroup$
Thank you for the alternative approach!
$endgroup$
– mathshatesme123
3 hours ago
add a comment |
$begingroup$
This is a problem where it's easier to condition the other way: compute
$P(Acap B)=P(B)P(Amid B)$, where $B$ is the event that a red ball appears on draw $n$, and $A$ is the event that a red ball appears exactly once in the first $n-1$ draws.
The probability $P(B)$ equals $2/N$, since at any draw there are $2$ red balls out of a total of $N$ balls that could be picked.
The conditional probability $P(Amid B)$ equals $(n-1)/(N-1)$, since this is the same as the unconditional probability that when you line up $N-1$ balls, only one of which is red, the red appears somewhere in the first $n-1$ positions.
$endgroup$
add a comment |
Your Answer
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
);
);
mathshatesme123 is a new contributor. Be nice, and check out our Code of Conduct.
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%2f3218931%2fprobability-of-taking-balls-without-replacement-from-a-bag-question%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
You are definitely on track. In the first probability, order does not matter. You have drawn $n-1$ balls, and one of them is red. The total number of outcomes is the total number of ways to draw $n-1$ balls from $N$. The number of outcomes you are interested in are given by:
$$dbinom21dbinomN-2n-2$$
So, the probability that you have drawn exactly one red ball in the first $n-1$ draws is:
$$dfracdbinom21dbinomN-2n-2dbinomNn-1$$
Now, multiply by the probability that the last ball is red (you were correct):
$$dfrac1N-(n-1)$$
Final probability:
$$dfrac2(n-1)N(N-1)$$
$endgroup$
$begingroup$
Thank you! Can I just ask, why does order matter? Also, how have you formed the fraction? Is there like a particular formula for doing so?
$endgroup$
– mathshatesme123
3 hours ago
$begingroup$
Order does not matter in the first probability because the result you are looking for is one red ball in $n-1$ picks. You do not care what position it is drawn in, just that it shows up. In general, the probability of an occurrence is given by $$dfractext# of outcomes with desired resulttext# of possible outcomes$$ To get the final probability, it was just multiplying out: $$dfracdbinom21dbinomN-2n-2dbinomNn-1cdot dfrac1N-(n-1) = dfrac2(n-1)N(N-1)$$ I am not going through the steps to simplify, but that's the easy part :)
$endgroup$
– InterstellarProbe
3 hours ago
$begingroup$
Thanks again! :)
$endgroup$
– mathshatesme123
2 hours ago
$begingroup$
Alternatively, you want the probability for placing one red ball among the first $n-1$ positions and one in the next position, when selecting any two positions among $N$ to place the red balls. $$dfracdbinom n-11dbinom 11dbinom N2=dfrac2(n-1)N(N-1)$$
$endgroup$
– Graham Kemp
18 mins ago
add a comment |
$begingroup$
You are definitely on track. In the first probability, order does not matter. You have drawn $n-1$ balls, and one of them is red. The total number of outcomes is the total number of ways to draw $n-1$ balls from $N$. The number of outcomes you are interested in are given by:
$$dbinom21dbinomN-2n-2$$
So, the probability that you have drawn exactly one red ball in the first $n-1$ draws is:
$$dfracdbinom21dbinomN-2n-2dbinomNn-1$$
Now, multiply by the probability that the last ball is red (you were correct):
$$dfrac1N-(n-1)$$
Final probability:
$$dfrac2(n-1)N(N-1)$$
$endgroup$
$begingroup$
Thank you! Can I just ask, why does order matter? Also, how have you formed the fraction? Is there like a particular formula for doing so?
$endgroup$
– mathshatesme123
3 hours ago
$begingroup$
Order does not matter in the first probability because the result you are looking for is one red ball in $n-1$ picks. You do not care what position it is drawn in, just that it shows up. In general, the probability of an occurrence is given by $$dfractext# of outcomes with desired resulttext# of possible outcomes$$ To get the final probability, it was just multiplying out: $$dfracdbinom21dbinomN-2n-2dbinomNn-1cdot dfrac1N-(n-1) = dfrac2(n-1)N(N-1)$$ I am not going through the steps to simplify, but that's the easy part :)
$endgroup$
– InterstellarProbe
3 hours ago
$begingroup$
Thanks again! :)
$endgroup$
– mathshatesme123
2 hours ago
$begingroup$
Alternatively, you want the probability for placing one red ball among the first $n-1$ positions and one in the next position, when selecting any two positions among $N$ to place the red balls. $$dfracdbinom n-11dbinom 11dbinom N2=dfrac2(n-1)N(N-1)$$
$endgroup$
– Graham Kemp
18 mins ago
add a comment |
$begingroup$
You are definitely on track. In the first probability, order does not matter. You have drawn $n-1$ balls, and one of them is red. The total number of outcomes is the total number of ways to draw $n-1$ balls from $N$. The number of outcomes you are interested in are given by:
$$dbinom21dbinomN-2n-2$$
So, the probability that you have drawn exactly one red ball in the first $n-1$ draws is:
$$dfracdbinom21dbinomN-2n-2dbinomNn-1$$
Now, multiply by the probability that the last ball is red (you were correct):
$$dfrac1N-(n-1)$$
Final probability:
$$dfrac2(n-1)N(N-1)$$
$endgroup$
You are definitely on track. In the first probability, order does not matter. You have drawn $n-1$ balls, and one of them is red. The total number of outcomes is the total number of ways to draw $n-1$ balls from $N$. The number of outcomes you are interested in are given by:
$$dbinom21dbinomN-2n-2$$
So, the probability that you have drawn exactly one red ball in the first $n-1$ draws is:
$$dfracdbinom21dbinomN-2n-2dbinomNn-1$$
Now, multiply by the probability that the last ball is red (you were correct):
$$dfrac1N-(n-1)$$
Final probability:
$$dfrac2(n-1)N(N-1)$$
answered 3 hours ago
InterstellarProbeInterstellarProbe
3,764831
3,764831
$begingroup$
Thank you! Can I just ask, why does order matter? Also, how have you formed the fraction? Is there like a particular formula for doing so?
$endgroup$
– mathshatesme123
3 hours ago
$begingroup$
Order does not matter in the first probability because the result you are looking for is one red ball in $n-1$ picks. You do not care what position it is drawn in, just that it shows up. In general, the probability of an occurrence is given by $$dfractext# of outcomes with desired resulttext# of possible outcomes$$ To get the final probability, it was just multiplying out: $$dfracdbinom21dbinomN-2n-2dbinomNn-1cdot dfrac1N-(n-1) = dfrac2(n-1)N(N-1)$$ I am not going through the steps to simplify, but that's the easy part :)
$endgroup$
– InterstellarProbe
3 hours ago
$begingroup$
Thanks again! :)
$endgroup$
– mathshatesme123
2 hours ago
$begingroup$
Alternatively, you want the probability for placing one red ball among the first $n-1$ positions and one in the next position, when selecting any two positions among $N$ to place the red balls. $$dfracdbinom n-11dbinom 11dbinom N2=dfrac2(n-1)N(N-1)$$
$endgroup$
– Graham Kemp
18 mins ago
add a comment |
$begingroup$
Thank you! Can I just ask, why does order matter? Also, how have you formed the fraction? Is there like a particular formula for doing so?
$endgroup$
– mathshatesme123
3 hours ago
$begingroup$
Order does not matter in the first probability because the result you are looking for is one red ball in $n-1$ picks. You do not care what position it is drawn in, just that it shows up. In general, the probability of an occurrence is given by $$dfractext# of outcomes with desired resulttext# of possible outcomes$$ To get the final probability, it was just multiplying out: $$dfracdbinom21dbinomN-2n-2dbinomNn-1cdot dfrac1N-(n-1) = dfrac2(n-1)N(N-1)$$ I am not going through the steps to simplify, but that's the easy part :)
$endgroup$
– InterstellarProbe
3 hours ago
$begingroup$
Thanks again! :)
$endgroup$
– mathshatesme123
2 hours ago
$begingroup$
Alternatively, you want the probability for placing one red ball among the first $n-1$ positions and one in the next position, when selecting any two positions among $N$ to place the red balls. $$dfracdbinom n-11dbinom 11dbinom N2=dfrac2(n-1)N(N-1)$$
$endgroup$
– Graham Kemp
18 mins ago
$begingroup$
Thank you! Can I just ask, why does order matter? Also, how have you formed the fraction? Is there like a particular formula for doing so?
$endgroup$
– mathshatesme123
3 hours ago
$begingroup$
Thank you! Can I just ask, why does order matter? Also, how have you formed the fraction? Is there like a particular formula for doing so?
$endgroup$
– mathshatesme123
3 hours ago
$begingroup$
Order does not matter in the first probability because the result you are looking for is one red ball in $n-1$ picks. You do not care what position it is drawn in, just that it shows up. In general, the probability of an occurrence is given by $$dfractext# of outcomes with desired resulttext# of possible outcomes$$ To get the final probability, it was just multiplying out: $$dfracdbinom21dbinomN-2n-2dbinomNn-1cdot dfrac1N-(n-1) = dfrac2(n-1)N(N-1)$$ I am not going through the steps to simplify, but that's the easy part :)
$endgroup$
– InterstellarProbe
3 hours ago
$begingroup$
Order does not matter in the first probability because the result you are looking for is one red ball in $n-1$ picks. You do not care what position it is drawn in, just that it shows up. In general, the probability of an occurrence is given by $$dfractext# of outcomes with desired resulttext# of possible outcomes$$ To get the final probability, it was just multiplying out: $$dfracdbinom21dbinomN-2n-2dbinomNn-1cdot dfrac1N-(n-1) = dfrac2(n-1)N(N-1)$$ I am not going through the steps to simplify, but that's the easy part :)
$endgroup$
– InterstellarProbe
3 hours ago
$begingroup$
Thanks again! :)
$endgroup$
– mathshatesme123
2 hours ago
$begingroup$
Thanks again! :)
$endgroup$
– mathshatesme123
2 hours ago
$begingroup$
Alternatively, you want the probability for placing one red ball among the first $n-1$ positions and one in the next position, when selecting any two positions among $N$ to place the red balls. $$dfracdbinom n-11dbinom 11dbinom N2=dfrac2(n-1)N(N-1)$$
$endgroup$
– Graham Kemp
18 mins ago
$begingroup$
Alternatively, you want the probability for placing one red ball among the first $n-1$ positions and one in the next position, when selecting any two positions among $N$ to place the red balls. $$dfracdbinom n-11dbinom 11dbinom N2=dfrac2(n-1)N(N-1)$$
$endgroup$
– Graham Kemp
18 mins ago
add a comment |
$begingroup$
Here's another approach, depicted graphically below for $N = 8$.
We can construct a grid, where the equiprobable slots are represented by squares, indexed by the sequence position of the two red balls. The X's down the diagonal indicate that the two red balls cannot occupy the same sequence position.
The result of the experiment is the maximum of the two positions; for instance, the cases where $n = 5$ are marked by a red $5$. From this it can be seen that there are $2n-2$ different squares where the number of balls drawn is $n$, out of a total of $N^2-N$ possible squares. Thus, the desired probability is
$$
frac2n-2N^2-N = frac2(n-1)N(N-1)
$$
as in InterstellarProbe's answer.
$endgroup$
$begingroup$
Thank you for the alternative approach!
$endgroup$
– mathshatesme123
3 hours ago
add a comment |
$begingroup$
Here's another approach, depicted graphically below for $N = 8$.
We can construct a grid, where the equiprobable slots are represented by squares, indexed by the sequence position of the two red balls. The X's down the diagonal indicate that the two red balls cannot occupy the same sequence position.
The result of the experiment is the maximum of the two positions; for instance, the cases where $n = 5$ are marked by a red $5$. From this it can be seen that there are $2n-2$ different squares where the number of balls drawn is $n$, out of a total of $N^2-N$ possible squares. Thus, the desired probability is
$$
frac2n-2N^2-N = frac2(n-1)N(N-1)
$$
as in InterstellarProbe's answer.
$endgroup$
$begingroup$
Thank you for the alternative approach!
$endgroup$
– mathshatesme123
3 hours ago
add a comment |
$begingroup$
Here's another approach, depicted graphically below for $N = 8$.
We can construct a grid, where the equiprobable slots are represented by squares, indexed by the sequence position of the two red balls. The X's down the diagonal indicate that the two red balls cannot occupy the same sequence position.
The result of the experiment is the maximum of the two positions; for instance, the cases where $n = 5$ are marked by a red $5$. From this it can be seen that there are $2n-2$ different squares where the number of balls drawn is $n$, out of a total of $N^2-N$ possible squares. Thus, the desired probability is
$$
frac2n-2N^2-N = frac2(n-1)N(N-1)
$$
as in InterstellarProbe's answer.
$endgroup$
Here's another approach, depicted graphically below for $N = 8$.
We can construct a grid, where the equiprobable slots are represented by squares, indexed by the sequence position of the two red balls. The X's down the diagonal indicate that the two red balls cannot occupy the same sequence position.
The result of the experiment is the maximum of the two positions; for instance, the cases where $n = 5$ are marked by a red $5$. From this it can be seen that there are $2n-2$ different squares where the number of balls drawn is $n$, out of a total of $N^2-N$ possible squares. Thus, the desired probability is
$$
frac2n-2N^2-N = frac2(n-1)N(N-1)
$$
as in InterstellarProbe's answer.
answered 3 hours ago
Brian TungBrian Tung
26.5k32656
26.5k32656
$begingroup$
Thank you for the alternative approach!
$endgroup$
– mathshatesme123
3 hours ago
add a comment |
$begingroup$
Thank you for the alternative approach!
$endgroup$
– mathshatesme123
3 hours ago
$begingroup$
Thank you for the alternative approach!
$endgroup$
– mathshatesme123
3 hours ago
$begingroup$
Thank you for the alternative approach!
$endgroup$
– mathshatesme123
3 hours ago
add a comment |
$begingroup$
This is a problem where it's easier to condition the other way: compute
$P(Acap B)=P(B)P(Amid B)$, where $B$ is the event that a red ball appears on draw $n$, and $A$ is the event that a red ball appears exactly once in the first $n-1$ draws.
The probability $P(B)$ equals $2/N$, since at any draw there are $2$ red balls out of a total of $N$ balls that could be picked.
The conditional probability $P(Amid B)$ equals $(n-1)/(N-1)$, since this is the same as the unconditional probability that when you line up $N-1$ balls, only one of which is red, the red appears somewhere in the first $n-1$ positions.
$endgroup$
add a comment |
$begingroup$
This is a problem where it's easier to condition the other way: compute
$P(Acap B)=P(B)P(Amid B)$, where $B$ is the event that a red ball appears on draw $n$, and $A$ is the event that a red ball appears exactly once in the first $n-1$ draws.
The probability $P(B)$ equals $2/N$, since at any draw there are $2$ red balls out of a total of $N$ balls that could be picked.
The conditional probability $P(Amid B)$ equals $(n-1)/(N-1)$, since this is the same as the unconditional probability that when you line up $N-1$ balls, only one of which is red, the red appears somewhere in the first $n-1$ positions.
$endgroup$
add a comment |
$begingroup$
This is a problem where it's easier to condition the other way: compute
$P(Acap B)=P(B)P(Amid B)$, where $B$ is the event that a red ball appears on draw $n$, and $A$ is the event that a red ball appears exactly once in the first $n-1$ draws.
The probability $P(B)$ equals $2/N$, since at any draw there are $2$ red balls out of a total of $N$ balls that could be picked.
The conditional probability $P(Amid B)$ equals $(n-1)/(N-1)$, since this is the same as the unconditional probability that when you line up $N-1$ balls, only one of which is red, the red appears somewhere in the first $n-1$ positions.
$endgroup$
This is a problem where it's easier to condition the other way: compute
$P(Acap B)=P(B)P(Amid B)$, where $B$ is the event that a red ball appears on draw $n$, and $A$ is the event that a red ball appears exactly once in the first $n-1$ draws.
The probability $P(B)$ equals $2/N$, since at any draw there are $2$ red balls out of a total of $N$ balls that could be picked.
The conditional probability $P(Amid B)$ equals $(n-1)/(N-1)$, since this is the same as the unconditional probability that when you line up $N-1$ balls, only one of which is red, the red appears somewhere in the first $n-1$ positions.
answered 58 mins ago
grand_chatgrand_chat
20.6k11328
20.6k11328
add a comment |
add a comment |
mathshatesme123 is a new contributor. Be nice, and check out our Code of Conduct.
mathshatesme123 is a new contributor. Be nice, and check out our Code of Conduct.
mathshatesme123 is a new contributor. Be nice, and check out our Code of Conduct.
mathshatesme123 is a new contributor. Be nice, and check out our Code of Conduct.
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.
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%2f3218931%2fprobability-of-taking-balls-without-replacement-from-a-bag-question%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
1
$begingroup$
Please provide some context for this question. What have you tried? Where are you stuck? Just hit the 'edit' button under the problem and add some details that will let us know what sort of response you are looking for.
$endgroup$
– InterstellarProbe
4 hours ago
$begingroup$
Thank you, will do
$endgroup$
– mathshatesme123
4 hours ago
$begingroup$
I guess you are thinking that before the $n$th draw, $n-1$ balls have already been drawn, leaving $N - (n-1)$ in the urn, if if one of the balls drawn was red, exactly one of the balls still in the urn is red. That seems correct to me.
$endgroup$
– David K
3 hours ago