Is there an efficient way to think of this combinatorial problem?

  • Thread starter Thread starter jdinatale
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around a combinatorial problem involving the distribution of distinct cards into envelopes. Participants explore the complexity of counting the different arrangements and the implications of card order within the envelopes.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Some participants outline specific cases for distributing the cards, questioning the efficiency of their approaches. Others suggest a general multiplication rule for counting arrangements. There is also a reference to a standard combinatorial formula related to distributing items into boxes.

Discussion Status

The discussion is active, with participants providing various perspectives on the problem. Some have offered alternative methods for considering the distribution, while others are questioning the assumptions about the order of cards within the envelopes and how that affects the counting.

Contextual Notes

Participants note the need for clarification on what constitutes "different ways" of arranging the cards, particularly regarding whether the order of cards within an envelope matters.

jdinatale
Messages
153
Reaction score
0

Homework Statement


prob-1.png


Part (a). If the cards are distinct, I see an astronomical number of cases possible.

Case 1. All 28 cards in one envelope. There are 9 envelopes. So 9 ways.

Case 2. 27 of the 28 cards in one envelope. There are (28 choose 27) ways of selecting the 27 cards for one envelope. There are 9 envelopes possible. So (28 choose 27)*9. But then there's the one extra card to place in one of the eight other envelopes. There are 8 remaining envelopes. So in case 2, we have (28 choose 27)*9*8 ways.

Case 3 gets REALLY complicated because you can have 26 cards in one envelope and 2 in a second envelope or 26 cards in one envelope, 1 in a second envelope, and 1 in a third envelope.

So...(28 choose 26)*8 + (28 choose 26)*(2 choose 1)*(1 choose 1)*8*7


See why I'm wondering if there's a more efficient way to do this?
 
Physics news on Phys.org
Pick card 1. How many ways can you choose an envelope for it?
After that is done, how many ways can you choose an envelope for card 2?
etc...
 
For the case (a) , I think this is your standard balls-in-boxes type of problem:

The number of solutions to x1+x2+...+xn=k is :

(n+k-1)C(k-1) if you allow for empty enveloppes (" n-1 choose k-1 ")

or (n-1)C(k-1).
 
You are right about the astronomical number of cases possible. However, just because it is astronomical doesn't mean you can't evaluate it.

There is no limit on how many cards you can put in an envelope, so think this way: How many envelopes can you put the first card in? The second? The third? Then, you can use the general multiplication rule to multiply all those numbers to end up with the solution.
 
jdinatale said:

Homework Statement


prob-1.png


Part (a). If the cards are distinct, I see an astronomical number of cases possible.

Case 1. All 28 cards in one envelope. There are 9 envelopes. So 9 ways.

Case 2. 27 of the 28 cards in one envelope. There are (28 choose 27) ways of selecting the 27 cards for one envelope. There are 9 envelopes possible. So (28 choose 27)*9. But then there's the one extra card to place in one of the eight other envelopes. There are 8 remaining envelopes. So in case 2, we have (28 choose 27)*9*8 ways.

Case 3 gets REALLY complicated because you can have 26 cards in one envelope and 2 in a second envelope or 26 cards in one envelope, 1 in a second envelope, and 1 in a third envelope.

So...(28 choose 26)*8 + (28 choose 26)*(2 choose 1)*(1 choose 1)*8*7


See why I'm wondering if there's a more efficient way to do this?

In part (a) you need to clarify what constitutes "different ways". For example, if envelope 1 contains cards 1, 2 and 3, do you count 123 (in that order) as different from 321, etc? (Perhaps you look at the cards from front to back or something similar, so you can tell the difference between 123 and 321.) If you do count them as different, then: the first card to be placed can be any of the 28, and it can go into any of the 9 envelopes. Then the second card to be placed can be any of the remaining 27, and it can go into any of the 9 envelopes, etc. On the other hand, if the order within an envelope does not matter, the number of ways is the same whether or not the cards are distinct or identical. (If you don't believe this, compute both answers.)

RGV
 

Similar threads

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