Stupid Algebra Help (Read 570 times)

  • Administrator
  • PipPipPipPipPipPipPipPip
  • Group: Premium Member
  • Joined: Oct 30, 2005
  • Posts: 2534
So I have been doing these papers for a few hours now(whole day). And I got stumped by I guess simple algebra stuff.
So my question is say for example I have:

the set:
_, _, _, O, O, X,

and I will compute for the possible combinations.. well, I don't really know how to compute this. For one, order is important, however I don't want the _s and Os to count as different from the other _s and Os. So it's kind of a cross between combination and permutation.

EXAMPLE:
if i solve this by combination:
OOX and OOX would be counted as 2 combinations because it identified the two Os as different from one another.
--EDIT
--or will it???
--

How to do this?  :fogetshrug:
Last Edit: April 21, 2009, 06:56:23 am by Evil Pikachu
  • aye ess dee eff el cay jay ache
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Premium Member
  • Joined: Jun 24, 2005
  • Posts: 5149
what? if the O's and the _'s are the same then you really only have three items, just change the number of possible selections or whatever
I USE Q'S INSTEQD OF Q'S
  • Avatar of Guana
  • PipPipPip
  • Group: Member
  • Joined: Sep 28, 2002
  • Posts: 389
Do you have to use all objects in the permutations (for example _O_O_X)? Or are permutations like OOX and OXO_ allowed?
  • Administrator
  • PipPipPipPipPipPipPipPip
  • Group: Premium Member
  • Joined: Oct 30, 2005
  • Posts: 2534
All of it must be included
  • Avatar of Guana
  • PipPipPip
  • Group: Member
  • Joined: Sep 28, 2002
  • Posts: 389
Then there's a simple formula for this. Suppose you have a total of n objects and k different ones. Now let n_1 be the amount of type 1 objects, n_2 the amount of type 2 objects, etc. Then the amount of permutations is

n! / (n_1! * n_2! * .. * n_k!)

And in this case, (6!) / (3! * 2! * 1!) = 60 since there are three _'s, two O's and one X which makes a total of 6 objects.

Honestly I don't remember why this works so I dunno if you really learn anything from this post!
  • Avatar of JMickle
  • I gots a lego!
  • PipPipPipPipPipPipPip
  • Group: Premium Member
  • Joined: Feb 4, 2007
  • Posts: 1922
i remember working that out in the middle of a test because i forgot it. it would seriously have been quicker to have listed all the combinations and counted them.
www.jmickle.com