Help with permutations and combinations

Ryoukomaru
Messages
55
Reaction score
0
How do u calculate the the total number of combinations, given that you have n number of object and you will choose r of the objects, but x of these objects are mutually exclusive. Let x=2 for your explanations.

I kinda have an idea on how to do this, but i can't frecall an formula for the calculations.

Total number of permutations would be \frac{n!}{(n-r)!r!} And now i have to subtract from this, the number of combinations with one of the mutually exclusive events given that the other has happened.

P.S. Maybe i should post a question to help you understand better ? ..., as my linguistic skills are not top-notch.
 
Last edited:
Physics news on Phys.org
If the objects are mutually exclusive that means you can only select 1 of them. So you choose from n - x + 1 objects, and multiply it by x ways to choose from the x objects.
 
I don't think that's quite right. It ignores the combinations that don't have one of the x objects.
 
A solution for this problem is:

\binom{n}{k}-\sum_{i=2}^{x}\left[\binom{x}{i}\times\binom{n-x}{k-i}\right]

I'm sure there's a more elegant formulation, but this one works.

Of course, for x=2, this simplifies to:

\binom{n}{k}-\binom{n-2}{k-2}
 
Last edited:
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Back
Top