#COMBINATIONS IN EVERYTHING
101 messages · Page 1 of 1 (latest)
- Wait patiently for a helper to come along.
- Once someone helps you, say thank you and close the thread with:
+close
- Feel free to nominate the person for helper of the week in #helper-nominations
- Do not ping the mods, unless someone is breaking the rules.
- If you're happy with the help you got here, and the server overall, you can contribute financially as well:
first one you take 13 choose 9
basically, 13C9
if you know the notation nCk = n!/k!(n-k)! you are good
yupyup
for 4 of the empty seat next to eachother
you can just make it a sort of block of 4 empty row
wait
you dealing with arrangements
yes
its permutations but i dont want to solve it using that i wanna use C or factorials
well
it is just 9!.13C4
so yeah pretty much
oo
9! for different 9 arrangements and 13C4 for choosing 4 out 13 row to be empty
ooo
the second problem is solved by condensed the empty 4-row into a block of empty row
as you see it have to be next with eachother so might as well make it into a block
oo yesyes
so 10!
so it have 10 choice of row
oo
and 9 permutation for the rest which is 9! which is 10.9! so you are correct
ohh
and since we have the probability problem as last
consider this
the quickest way to do this
i take out the arrangements of when they are not together and divide it by total?
is to take the number of arrangements for 9 cars in any position, and minus the number arrangements where the there is this empty block of row
the reasoning here is that you dont wanna pick the one with a block of empty row
but the other is fine.
that gives me when they are not togetehr right?
so you just subtract the one you dont wanna have to have a set of only the thing that you want.
yeah
oo
like you have 10 balls, 5 blue, 5 red, you want red so you subtract the blue, you now left with 5 balls which is red.
ooo
and so just like the permutation
and we can use our last result to subtract with eachother to have the final answer
which is 9!.13C4 - 10!
divide to 9!.13C4
np
well there are a reason for thing like combinations and permutation, arrangements
permutation is like you have n object
move it around.
you will have n! possible position.
oo
arrangements is like you have n object. But say you just want k of those n object, like you want for example to take 2 balls from a set 4 balls, you pick your first object, then your second, till you are satify.
like i pick one ball then another ball.
for n object first pick you have n choice.
second, one less than that cause one is on your hand.
the third is one less than that again cause now two is on your hand.
and you pick till you are satisfy
So there are n.(n-1).(n-2)...(n-k-1) choice which is n!/(n-k)!
so like permutation, but if you only want a smaller amount of object.
oo
combination is different. as it order dont matter to it.
the permutation and arrangement will count the different position of the object.
so for it abc is different than acb so it will count it as like it is two different object
oo
but combination
dont
they see abc and acb or whatever the next position is they be having is the same
it only counting the elements
oo
abc is the same as acb for the combination
but abc and acd is not.
the way they count combination came from one key insight.
you want to choose k objects, and you didnt care which order they came in.
but for any k object of the same elements
there of course k! possible position it can be in.
but mathematician notice that, "well one only way to fix that, is to make all of it into a single object"
by divide the arrangements of k object to k!
since for example
abc acb cab cba bca bac have 6 as they have 3! = 3.2.1 = 6 way to position themself
to count them as one
we just divide it.
to 6
so now every 6 element of it became one.
ohhhhhhh
generalized this idea give nCk
or nAk/k!
or n!/(n-k)!k!
so permutation for when you want the position of the full thing
arrangement when you just want the every permutation and possible way you can have k object from n object
and combination when you just want the combination of k object, no order.