• Congratulations to the Class of 2024 on your results!
    Let us know how you went here
    Got a question about your uni preferences? Ask us here

Combination (1 Viewer)

HeroWise

Active Member
Joined
Dec 8, 2017
Messages
353
Gender
Male
HSC
2020
THis is from the 2015 perms thread
A zoo keeper wants to place 6 tigers in 4 cages, each can fit a maximum of two tigers.
In how many ways can he place the tigers if no cage to be left empty?


I got

4! x (6C2 x 4C2 x 2C1 x 1C1) = 4320

Because: First Cage: 6C2
Second Cage: 4C2
Third Cage: 2C1
Fourth Cage: 1C1
4! ways to arrange these

Some people got 2160 which is 4320/2
some also got 1080 which is 4320/4

IM confused to what is the right answer. If so why am I wrong
 

fan96

617 pages
Joined
May 25, 2017
Messages
543
Location
NSW
Gender
Male
HSC
2018
Uni Grad
2024
Are these four cages distinct or identical?

Are the tigers distinct or identical?
 
Last edited:

fan96

617 pages
Joined
May 25, 2017
Messages
543
Location
NSW
Gender
Male
HSC
2018
Uni Grad
2024
Assuming the tigers and cages are identical and arranged in a straight line:

If no cage is to be empty and each cage can fit a maximum of two tigers, then there must be either one or two tigers in each cage.

Also, there must be exactly 6 tigers.

The only way to make 6 from adding 1 or 2, four times, is in any order (that sentence is a bit botched but hopefully you get what I mean).

So assuming the cages are identical and they're not arranged in a circle, the problem can be reduced to "How many ways can you arrange two 2's and two 1's?"



Another way to solve the problem is to consider each case by making something similar to a tree diagram.



If the tigers are distinct, multiply the answer by .

If the cages are distinct, multiply the answer by .

Your answer should be correct if the tigers are distinct but the cages are not ().
 
Last edited:

Paradoxica

-insert title here-
Joined
Jun 19, 2014
Messages
2,556
Location
Outside reality
Gender
Male
HSC
2016
THis is from the 2015 perms thread
A zoo keeper wants to place 6 tigers in 4 cages, each can fit a maximum of two tigers.
In how many ways can he place the tigers if no cage to be left empty?


I got

4! x (6C2 x 4C2 x 2C1 x 1C1) = 4320

Because: First Cage: 6C2
Second Cage: 4C2
Third Cage: 2C1
Fourth Cage: 1C1
4! ways to arrange these

Some people got 2160 which is 4320/2
some also got 1080 which is 4320/4

IM confused to what is the right answer. If so why am I wrong
Have you tried the Stars and Bars method?
 

HeroWise

Active Member
Joined
Dec 8, 2017
Messages
353
Gender
Male
HSC
2020
No I have not

I have heard of it and have seen @fan96 post something about it before,
 

fan96

617 pages
Joined
May 25, 2017
Messages
543
Location
NSW
Gender
Male
HSC
2018
Uni Grad
2024
https://en.wikipedia.org/wiki/Stars_and_bars_(combinatorics)

Basically if you want to place objects in boxes you can model it using something like



Where the stars are the objects and the bars represent the dividers between boxes. So in the above case you would be placing 6 objects in 3 boxes.

By using the formula for permutations with repetition you can count the number of ways to distribute 6 objects across 3 boxes with no restriction:

,

since there are 6 stars and 2 bars.

It's pretty useful to know but for this question, since the numbers are small and there are quite a few restrictions (no more than 2 tigers in a cage, no cage empty), I don't think it's as useful here. You'd have to subtract the cases where two dividers are together (representing an empty box) and when there are more than two stars next to each other (i.e. more than two lions in a cage).
 
Last edited:

HeroWise

Active Member
Joined
Dec 8, 2017
Messages
353
Gender
Male
HSC
2020
Can you give me a good question and can you please work it out with this method?
 

fan96

617 pages
Joined
May 25, 2017
Messages
543
Location
NSW
Gender
Male
HSC
2018
Uni Grad
2024
Here's an easier question from one of my school's 4U Task 1 papers:

In how many ways can nine identical rings be placed on the four fingers of the left hand, excluding the thumb, if:
  • there are no restrictions?
  • there must be at least one ring on each finger?
  • there are no restrictions and the rings are all different?

Is that a past HSC question?
 

HeroWise

Active Member
Joined
Dec 8, 2017
Messages
353
Gender
Male
HSC
2020
fan when there are no restrictions its 220 right?

I used the stars and bars method for it

9 stars 3 bars

12C3

for ii) it is 220 - cases with a finger or till 4 having no rings.

but how do i do it?
 

fan96

617 pages
Joined
May 25, 2017
Messages
543
Location
NSW
Gender
Male
HSC
2018
Uni Grad
2024
fan when there are no restrictions its 220 right?

I used the stars and bars method for it

9 stars 3 bars

12C3

for ii) it is 220 - cases with a finger or till 4 having no rings.

but how do i do it?
Yep it's 220.

For the second question, the marker's answer sets up the rings as such:

R_R_R_R_R_R_R_R_R

Where the eight "_" characters represent possible spaces for a divider, of which there must be three. Thus the answer is simply .
 

InteGrand

Well-Known Member
Joined
Dec 11, 2014
Messages
6,109
Gender
Male
HSC
N/A
Here's an easier question from one of my school's 4U Task 1 papers:

In how many ways can nine identical rings be placed on the four fingers of the left hand, excluding the thumb, if:
  • there are no restrictions?
  • there must be at least one ring on each finger?
  • there are no restrictions and the rings are all different?



Is that a past HSC question?
I doubt it. If it is, it would be from a long time ago and would be coincidence (I didn't pick that question out of a past HSC paper). I included it since it's a nice application of Stars and Bars.
 

Roy G Biv

Member
Joined
Oct 23, 2011
Messages
85
Gender
Male
HSC
N/A
Thanks for the link to the stripes and bars, the wiki article is way too complicated for me, but I think I get the gist of it.
In how many ways can nine identical rings be placed on the four fingers of the left hand, excluding the thumb, if:
  • a) there are no restrictions?
  • b) there must be at least one ring on each finger?
  • c) there are no restrictions and the rings are all different?
a) 9 stripes (identical) + (4-1) bars (identical), so: 12! / 9!3! <- dividing out the identical elements)
b) I didn't get this initially, but the explanation above made al ot of sense, so I get it now.
c) 9 stripes (each different) + 3 bars, so: 12! / 3! = 79833600 <-- dividing out the identical elements - the stripes are not identical, so not divided.
is that correct?
 

HeroWise

Active Member
Joined
Dec 8, 2017
Messages
353
Gender
Male
HSC
2020
i didnt understand b

If going via Stars and Bars how does one accomplish it?
 

InteGrand

Well-Known Member
Joined
Dec 11, 2014
Messages
6,109
Gender
Male
HSC
N/A
nfi about the second question, but the first one:

13! / 10!3!

is that right?

and if she absolutely wanted one of each lollipop, it'd be:
9C3
For the first one, we have 4 different lollipop types and want to buy a total of 10 lollipops. So we use 3 bars and 10 stars. Something like this:

*** | ** | **** | *.

That above pattern would represent buying 3 of the first lollipop type, and 2, 4, 1 of the second, third and fourth lollipop types respectively.

The total number of ways to buy the lollipops is the total number of ways to arrange the objects in the above picture, which is (13!)/((3!) (10!)).

In other words, your answer is correct.
 

HeroWise

Active Member
Joined
Dec 8, 2017
Messages
353
Gender
Male
HSC
2020
btw why do u divide by 3! isnt that representing distinct lollipops? and How did u solve fan96's qtn b Roy G Biv?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top