#COMBINATIONS IN EVERYTHING

101 messages · Page 1 of 1 (latest)

old garnet
#

@warped stone i wanna learn combinations so i can use them in anything. can u teach me the logic

lusty sunBOT
#
  1. Wait patiently for a helper to come along.
  2. Once someone helps you, say thank you and close the thread with:
+close
  1. Feel free to nominate the person for helper of the week in #helper-nominations
  2. Do not ping the mods, unless someone is breaking the rules.
  3. If you're happy with the help you got here, and the server overall, you can contribute financially as well:
warped stone
#

first one you take 13 choose 9

#

basically, 13C9

#

if you know the notation nCk = n!/k!(n-k)! you are good

old garnet
#

yupyup

warped stone
#

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

old garnet
#

yes

warped stone
#

which is nAk or n!/(n-k)!

#

now

old garnet
#

its permutations but i dont want to solve it using that i wanna use C or factorials

warped stone
#

it is just 9!.13C4

#

so yeah pretty much

old garnet
#

oo

warped stone
#

9! for different 9 arrangements and 13C4 for choosing 4 out 13 row to be empty

old garnet
#

ooo

warped stone
#

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

old garnet
#

oo yesyes

warped stone
#

the you be having 10 row

#

with one of them is the empty block

old garnet
#

so 10!

warped stone
#

so it have 10 choice of row

old garnet
#

oo

warped stone
#

and 9 permutation for the rest which is 9! which is 10.9! so you are correct

old garnet
#

ohh

warped stone
#

and since we have the probability problem as last

#

consider this

#

the quickest way to do this

old garnet
#

i take out the arrangements of when they are not together and divide it by total?

warped stone
#

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.

old garnet
#

that gives me when they are not togetehr right?

warped stone
#

so you just subtract the one you dont wanna have to have a set of only the thing that you want.

#

yeah

old garnet
#

oo

warped stone
#

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.

old garnet
#

ooo

warped stone
#

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

old garnet
#

ooo

#

thanku!

warped stone
#

np

old garnet
#

and 1 more question

#

when and why do we divide by number of repititions

warped stone
#

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.

old garnet
#

oo

warped stone
#

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.

old garnet
#

oo

warped stone
#

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

old garnet
#

oo

warped stone
#

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

old garnet
#

oo

warped stone
#

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.

old garnet
#

ohhhhhhh

warped stone
#

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.

old garnet
#

BRO thanku so much

#

i have been confused for weeks now this clears everything up

#

+clos

#

+close