sana.noor wrote:If x, y, and z are positive integers, and x + y + z = 9. How many combinations of x, y, and z are possible?
A sum of 9 is to be DISTRIBUTED among integers x, y and z.
Since x, y and z must be POSITIVE, each must be greater than or equal to 1.
The problem above is equivalent to the following:
How many ways can 9 identical chocolates to be distributed among 3 people A, B and C, if each person must receive AT LEAST 1 chocolate?
To ensure that each person receives at least 1 chocolate, first give 1 chocolate to each person.
Now we need to count the number of ways to distribute the REMAINING 6 CHOCOLATES among the 3 people.
The following is called the SEPARATOR method.
6 identical chocolates are to be separated into -- at most -- 3 groupings.
Thus, we need 6 chocolates and 2 separators:
OO|OO|OO
Each arrangement of the elements above represents one way to distribute the 6 chocolates among the 3 people A, B and C:
OO|OO|OO = A gets 2 chocolates, B gets 2 chocolates, C gets 2 chocolates.
OO||OOOO = A gets 2 chocolates, B gets 0 chocolates, C gets 4 chocolates.
OOOOOO|| = A gets all 6 chocolates.
And so on.
To count all of the possible distributions, we simply need to count the number of ways to arrange the 8 elements above (the 6 identical chocolates and the 2 identical separators).
The number of ways to arrange 8 elements = 8!.
But when an arrangement includes identical elements, we must divide by the number of ways to arrange the identical elements.
The reason:
When the identical elements swap positions, the arrangement doesn't change, reducing the total number of unique arrangements.
Here, we must divide by the number of ways to arrange the 6 identical chocolates (6!) and the number of ways to arrange the 2 identical separators (2!):
8!/(6!2!) = 28.
Private tutor exclusively for the GMAT and GRE, with over 20 years of experience.
Followed here and elsewhere by over 1900 test-takers.
I have worked with students based in the US, Australia, Taiwan, China, Tajikistan, Kuwait, Saudi Arabia -- a long list of countries.
My students have been admitted to HBS, CBS, Tuck, Yale, Stern, Fuqua -- a long list of top programs.
As a tutor, I don't simply teach you how I would approach problems.
I unlock the best way for YOU to solve problems.
For more information, please email me (Mitch Hunt) at
[email protected].
Student Review #1
Student Review #2
Student Review #3