Probability/Combinatorial Question

  • Thread starter Thread starter Rellek
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on calculating the probability of selecting exactly n red marbles and 1 blue marble from a total of n red and m blue marbles. The solution involves using the hypergeometric distribution, which accounts for drawing without replacement. The probability is derived by considering the arrangement of marbles and calculating the likelihood of each configuration, ultimately leading to a general formula for organizing n red and k blue marbles in n+k slots.

PREREQUISITES
  • Understanding of hypergeometric distribution
  • Basic combinatorial principles
  • Probability theory fundamentals
  • Familiarity with drawing without replacement
NEXT STEPS
  • Study the hypergeometric distribution in detail
  • Learn about combinatorial arrangements and permutations
  • Explore probability calculations involving drawing without replacement
  • Investigate examples of probability problems involving multiple types of objects
USEFUL FOR

Students and educators in mathematics, statisticians, and anyone interested in probability theory and combinatorial analysis.

Rellek
Messages
107
Reaction score
13

Homework Statement


[/B]
Now, this problem is not the typical stars and bars problem. I'm actually trying to solve for this:
If I had n red marbles and m blue marble, I want the probability that I pick n red marbles and only 1 blue marble. The order is irrelevant, meaning, the only thing that is required is that after I have picked n+1 marbles, I had exactly n red marbles and 1 blue marble. How do I do this?

Homework Equations



(Number of possibilities for picking 1 marble and n red marbles)/(Total number of possiblities) = the probability

The Attempt at a Solution



So, I thought of it like this.

I have n+1 open little crates (distinct boxes), and n indistinct objects (my red marbles). I am looking for the amount of ways to organize my n red marbles into n+1 crates, with the restriction that none of the crates can have more than one marble in it. By doing this, I can find the ways that I can pick exactly n marbles and leave one empty crate. This is basically the same thing as finding the ways that I can pick n marbles and 1 blue marble, although I am not really taking into account the amount of ways I can choose from the m blue marbles.

I'm actually looking for a general way to find the amount of ways that I could organize n red marbles and k blue marbles in n+k slots, where each slot has exactly one item. Is there already a general formula for this? Thanks!
 
Physics news on Phys.org
Rellek said:

Homework Statement


[/B]
Now, this problem is not the typical stars and bars problem. I'm actually trying to solve for this:
If I had n red marbles and m blue marble, I want the probability that I pick n red marbles and only 1 blue marble. The order is irrelevant, meaning, the only thing that is required is that after I have picked n+1 marbles, I had exactly n red marbles and 1 blue marble. How do I do this?

Homework Equations



(Number of possibilities for picking 1 marble and n red marbles)/(Total number of possiblities) = the probability

The Attempt at a Solution



So, I thought of it like this.

I have n+1 open little crates (distinct boxes), and n indistinct objects (my red marbles). I am looking for the amount of ways to organize my n red marbles into n+1 crates, with the restriction that none of the crates can have more than one marble in it. By doing this, I can find the ways that I can pick exactly n marbles and leave one empty crate. This is basically the same thing as finding the ways that I can pick n marbles and 1 blue marble, although I am not really taking into account the amount of ways I can choose from the m blue marbles.

I'm actually looking for a general way to find the amount of ways that I could organize n red marbles and k blue marbles in n+k slots, where each slot has exactly one item. Is there already a general formula for this? Thanks!

Yes, there is a formula for P(exactly k blue marbles chosen); it is given by the so-called hypergeometric distribution; see, eg.,
http://en.wikipedia.org/wiki/Hypergeometric_distribution
http://stattrek.com/probability-distributions/hypergeometric.aspx
In your case you have N = n+m objects, m of type I and n of type II. You draw n+1 items without replacement, and you want the probability of getting exactly k = 1 type I in your sample.

Basically, you can have RRR...RB or RR...RBR or... or BRR...RR, each of which (you can show) has the same probability. How many of these are there? What is the probability of anyone of them, say P(RRR...RB)? Here is a hint to get you started: the first R has probability n/(n+m); that leaves n+m-1 balls, of which n-1 are red and m are blue. So, the probability of the second R is (n-1)/(n+m-1). Therefore, the probability that the first two are red is n*(n-1)/[(n+m)*(n+m-1)]. Keep going like that. Finally, what about that final B? Before picking the B there remain n+m-n = m balls, of which all are blue, so the probability of that final B is m/m = 1. To focus your understanding, look an another outcome, such as BRRR...R, and compute a formula for its probability; you will see that it gives the same final result as for RR...RB.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
Replies
8
Views
8K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 10 ·
Replies
10
Views
6K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 10 ·
Replies
10
Views
1K
Replies
4
Views
2K
Replies
6
Views
4K